/* ============================================
   RESET & BASE STYLES
============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0F5F5C 0%, #7A7D2E 100%);
    color: #333333;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* ZOOM PROTECTION */
html {
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ============================================
   MATKA QUEEN LOGO STYLES
============================================ */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 28px;
    color: #E59B2D;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.matka-text {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #0F5F5C;
    letter-spacing: 1px;
}

.queen-text {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #E59B2D;
    letter-spacing: 1px;
}

/* Footer logo */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo-icon {
    font-size: 24px;
    color: #E59B2D;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.footer-matka {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: white;
    letter-spacing: 1px;
}

.footer-queen {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #E59B2D;
    letter-spacing: 1px;
}

/* ============================================
   HEADER
============================================ */
.header {
    background: #FFFFFF;
    padding: 15px 0;
    border-bottom: 3px solid #0F5F5C;
    margin-bottom: 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.btn-header {
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.btn-login {
    background: #FFFFFF;
    color: #0F5F5C;
    border-color: #0F5F5C;
}

.btn-login:hover {
    background: #0F5F5C;
    color: #FFFFFF;
}

.btn-register {
    background: #2BBF5A;
    color: #FFFFFF;
    border-color: #2BBF5A;
}

.btn-register:hover {
    background: #229E47;
    border-color: #229E47;
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (min-width: 992px) {
    .hero {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.hero-content {
    background: #FFFFFF;
    padding: 25px;
    border: 2px solid #0F5F5C;
}

.hero-badge {
    display: inline-block;
    background: #E59B2D;
    color: #FFFFFF;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    color: #0F5F5C;
    margin-bottom: 15px;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 24px;
    }
}

.text-highlight {
    color: #E59B2D;
}

.hero-subtitle {
    font-size: 15px;
    color: #666666;
    margin-bottom: 25px;
    font-weight: 500;
}

/* Download Section */
.download-section {
    background: #F8F9FA;
    padding: 20px;
    border: 1px solid #E0E0E0;
    margin-bottom: 25px;
}

.download-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.download-icon {
    font-size: 20px;
    color: #0F5F5C;
}

.download-title {
    font-size: 18px;
    color: #0F5F5C;
    font-weight: 700;
}

.download-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 576px) {
    .download-buttons {
        grid-template-columns: 1fr 1fr;
    }
}

.download-btn {
    display: flex;
    align-items: center;
    padding: 15px;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.android-btn {
    background: #2BBF5A;
    color: #FFFFFF;
    border-color: #2BBF5A;
}

.android-btn:hover {
    background: #229E47;
    border-color: #229E47;
}

.ios-btn {
    background: #0F5F5C;
    color: #FFFFFF;
    border-color: #0F5F5C;
}

.ios-btn:hover {
    background: #0C4C49;
    border-color: #0C4C49;
}

.btn-platform {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    min-width: 70px;
}

.platform-icon {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 5px;
}

.platform-name {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-details {
    flex: 1;
    padding-left: 15px;
    display: flex;
    flex-direction: column;
}

.btn-main {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-sub {
    font-size: 11px;
    opacity: 0.9;
    font-weight: 500;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #E0E0E0;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #0F5F5C;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 11px;
    color: #666666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Winning Display */
.winning-display {
    background: #FFFFFF;
    padding: 25px;
    border: 2px solid #0F5F5C;
}

.winning-card {
    text-align: center;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #E0E0E0;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #0F5F5C;
}

.card-badge {
    background: #F04438;
    color: #FFFFFF;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.winning-numbers {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.number {
    background: #0F5F5C;
    color: #FFFFFF;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    border: 2px solid #7A7D2E;
}

.winning-amount {
    font-size: 32px;
    font-weight: 900;
    color: #2BBF5A;
    text-shadow: 0 2px 5px rgba(43, 191, 90, 0.3);
    margin-bottom: 10px;
}

.winning-time {
    font-size: 12px;
    color: #666666;
    font-weight: 500;
}

/* ============================================
   SECTION STYLES
============================================ */
.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    color: #FFFFFF;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 22px;
    }
}

.section-subtitle {
    font-size: 15px;
    color: #E0E0E0;
    font-weight: 500;
}

/* ============================================
   GAMES SECTION
============================================ */
.games-section {
    margin-bottom: 40px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
}

.game-card {
    background: #FFFFFF;
    padding: 20px;
    border: 2px solid #0F5F5C;
    text-align: center;
    transition: all 0.2s ease;
}

.game-card:hover {
    border-color: #E59B2D;
    transform: translateY(-3px);
}

.game-card.featured {
    background: linear-gradient(135deg, #0F5F5C 0%, #7A7D2E 100%);
    border-color: #E59B2D;
}

.game-card.featured .game-name,
.game-card.featured .game-desc,
.game-card.featured .game-odds,
.game-card.featured .game-icon {
    color: #FFFFFF;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.game-icon {
    width: 40px;
    height: 40px;
    background: #0F5F5C;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
}

.game-odds {
    font-size: 13px;
    font-weight: 800;
    color: #2BBF5A;
    background: rgba(43, 191, 90, 0.1);
    padding: 5px 10px;
}

.game-name {
    font-size: 18px;
    color: #0F5F5C;
    margin-bottom: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-desc {
    font-size: 12px;
    color: #666666;
    margin-bottom: 15px;
    line-height: 1.4;
}

.game-play {
    display: inline-block;
    width: 100%;
    padding: 10px;
    background: #2BBF5A;
    color: #FFFFFF;
    border: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
}

.game-play:hover {
    background: #229E47;
}

.featured-play {
    background: #E59B2D;
}

.featured-play:hover {
    background: #CC8826;
}

/* ============================================
   HOW TO PLAY SECTION
============================================ */
.how-to-section {
    margin-bottom: 40px;
}

.steps-container {
    background: #FFFFFF;
    padding: 25px;
    border: 2px solid #0F5F5C;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.step-card {
    text-align: center;
    padding: 20px;
    border: 1px solid #E0E0E0;
    transition: all 0.2s ease;
}

.step-card:hover {
    border-color: #0F5F5C;
    background: #F8F9FA;
}

.step-number {
    font-size: 36px;
    font-weight: 900;
    color: #E59B2D;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.step-title {
    font-size: 16px;
    color: #0F5F5C;
    margin-bottom: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-desc {
    font-size: 12px;
    color: #666666;
    line-height: 1.4;
}

/* ============================================
   VIDEO SECTION
============================================ */
.video-section {
    margin-bottom: 40px;
}

.video-container {
    background: #FFFFFF;
    padding: 25px;
    border: 2px solid #0F5F5C;
}

.video-wrapper {
    border: 2px solid #0F5F5C;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

.video-info {
    padding: 20px;
    background: #F8F9FA;
    border-top: 1px solid #E0E0E0;
}

.video-title {
    font-size: 18px;
    color: #0F5F5C;
    margin-bottom: 10px;
    font-weight: 700;
}

.video-desc {
    font-size: 14px;
    color: #666666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.video-note {
    font-size: 13px;
    color: #0F5F5C;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ============================================
   FEATURES SECTION
============================================ */
.features-section {
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.feature-card {
    background: #FFFFFF;
    padding: 25px;
    border: 2px solid #0F5F5C;
    text-align: center;
    transition: all 0.2s ease;
}

.feature-card:hover {
    border-color: #E59B2D;
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 15px;
    color: #0F5F5C;
}

.feature-title {
    font-size: 16px;
    color: #0F5F5C;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-desc {
    font-size: 13px;
    color: #666666;
    line-height: 1.4;
}

/* ============================================
   CTA SECTION
============================================ */
.cta-section {
    margin-bottom: 40px;
}

.cta-container {
    background: #FFFFFF;
    padding: 40px 25px;
    border: 2px solid #0F5F5C;
    text-align: center;
}

.cta-title {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    color: #0F5F5C;
    margin-bottom: 10px;
}

.cta-subtitle {
    font-size: 16px;
    color: #666666;
    margin-bottom: 30px;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 15px 30px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    font-family: 'Poppins', sans-serif;
}

.primary-cta {
    background: #2BBF5A;
    color: #FFFFFF;
    border-color: #2BBF5A;
}

.primary-cta:hover {
    background: #229E47;
    border-color: #229E47;
}

.secondary-cta {
    background: #0F5F5C;
    color: #FFFFFF;
    border-color: #0F5F5C;
}

.secondary-cta:hover {
    background: #0C4C49;
    border-color: #0C4C49;
}

.cta-contact {
    padding-top: 20px;
    border-top: 1px solid #E0E0E0;
}

.contact-line {
    margin-bottom: 10px;
}

.contact-line:last-child {
    margin-bottom: 0;
}

.contact-label {
    color: #0F5F5C;
    font-weight: 600;
    margin-right: 10px;
}

.contact-value {
    color: #666666;
    font-weight: 500;
}

/* ============================================
   SUPPORT SECTION
============================================ */
.support-section {
    margin-bottom: 30px;
}

.support-container {
    background: #FFFFFF;
    padding: 25px;
    border: 2px solid #0F5F5C;
}

.support-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-icon {
    font-size: 18px;
    color: #0F5F5C;
}

.info-text {
    font-size: 15px;
    color: #666666;
    font-weight: 500;
}

/* ============================================
   FOOTER
============================================ */
.footer {
    background: #0F5F5C;
    padding: 30px 0 20px;
    border-top: 3px solid #E59B2D;
    margin-top: 40px;
    color: white;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-logo-section {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-tagline {
    font-size: 14px;
    color: #E0E0E0;
    font-weight: 500;
    margin-top: 10px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.link-column {
    display: flex;
    flex-direction: column;
}

.link-title {
    font-size: 14px;
    font-weight: 800;
    color: #E59B2D;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 8px;
    border-bottom: 2px solid #E59B2D;
}

.footer-link {
    color: #E0E0E0;
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #E59B2D;
    font-weight: 600;
}

.footer-contact {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    font-size: 16px;
    color: #E59B2D;
    width: 20px;
}

.contact-text {
    font-size: 13px;
    color: #E0E0E0;
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.warning {
    font-size: 12px;
    color: #FFCACA;
    margin-bottom: 10px;
    font-weight: 600;
}

.copyright {
    font-size: 12px;
    color: #AAAAAA;
}

/* ============================================
   FLOATING BUTTONS
============================================ */
.float-btn {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid #FFFFFF;
    z-index: 1000;
    transition: all 0.2s ease;
    font-family: 'Poppins', sans-serif;
}

.telegram-float {
    bottom: 20px;
    right: 20px;
    background: #0F5F5C;
    color: #FFFFFF;
    padding: 12px 20px;
    font-size: 12px;
    gap: 8px;
}

.telegram-float:hover {
    background: #0C4C49;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(15, 95, 92, 0.3);
}

.top-float {
    bottom: 70px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: #F04438;
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    font-size: 20px;
    font-weight: 900;
}

.top-float:hover {
    background: #D63A2F;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(240, 68, 56, 0.3);
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-actions {
        width: 100%;
        justify-content: center;
    }
    
    .btn-header {
        flex: 1;
        text-align: center;
        max-width: 120px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .download-buttons {
        grid-template-columns: 1fr;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .float-btn {
        display: none; /* Hide on mobile for cleaner interface */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .btn-header {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .hero-title {
        font-size: 20px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}