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

html, body {
    width: 100%;
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #1e293b;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

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

img {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

/* Allow video controls */
video {
    pointer-events: auto;
}

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

/* ============================================
   HEADER - LOGO ONLY
============================================ */
.header {
    background: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #dc2626;
}

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

.logo-box {
    height: 50px;
    display: flex;
    align-items: center;
}

.main-logo {
    height: 100%;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

/* ACTION BUTTONS */
.action-buttons {
    display: flex;
    gap: 12px;
}

.action-btn {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-action {
    background: #f8fafc;
    color: #475569;
    border-color: #cbd5e1;
}

.login-action:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.register-action {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
}

.register-action:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.action-icon {
    font-weight: 900;
}

/* ============================================
   HERO SECTION
============================================ */
.hero-section {
    position: relative;
    padding: 60px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid #e2e8f0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0,0 L100,0 L50,100 Z" fill="%23fbbf24" opacity="0.05"/></svg>');
    background-size: 200px 200px;
    opacity: 0.5;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

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

.hero-content {
    padding: 20px;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #78350f;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 800;
    border-radius: 4px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #f59e0b;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1e293b;
}

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

.highlight {
    color: #dc2626;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(251, 191, 36, 0.3);
    z-index: -1;
}

.hero-subtitle {
    font-size: 18px;
    color: #475569;
    margin-bottom: 40px;
    font-weight: 500;
    max-width: 600px;
}

/* PREMIUM DOWNLOAD SECTION */
.premium-download-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid #e2e8f0;
    margin-bottom: 30px;
}

.download-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.download-icon {
    font-size: 24px;
    background: #f0f9ff;
    padding: 10px;
    border-radius: 8px;
    color: #0369a1;
}

.download-title {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

/* PREMIUM DOWNLOAD BUTTONS */
.premium-download-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

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

.premium-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.premium-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
}

.premium-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Android Button */
.android-premium {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-color: #10b981;
}

.android-premium:hover {
    border-color: #059669;
}

/* iOS Button */
.ios-premium {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border-color: #3b82f6;
}

.ios-premium:hover {
    border-color: #1d4ed8;
}

/* Button Logo Container */
.btn-logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.platform-logo {
    font-size: 36px;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 10px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

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

.platform-name {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
}

.platform-version {
    font-size: 12px;
    opacity: 0.9;
    font-weight: 500;
}

/* Button Content */
.btn-content {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
}

.btn-main-text {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

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

.download-arrow {
    font-size: 24px;
    font-weight: 900;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Download Features */
.download-features {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #475569;
    font-weight: 500;
}

.feature-dot {
    color: #10b981;
    font-weight: 900;
    font-size: 20px;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.winning-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 12px;
    padding: 25px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 2px solid #475569;
    color: white;
}

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

.card-badge {
    background: #dc2626;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

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

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

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

.number-block {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    font-family: 'Courier New', monospace;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 3px;
    border-radius: 8px;
    border: 2px solid #fbbf24;
    color: #fbbf24;
}

.winning-amount {
    font-size: 32px;
    font-weight: 900;
    color: #10b981;
    text-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

/* ============================================
   TOP GAMES SECTION - PERFECT DESIGN
============================================ */
.games-section {
    padding: 80px 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 15px;
}

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

.section-subtitle {
    font-size: 18px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* GAMES GRID */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.game-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: #dc2626;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.game-card.featured {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #fbbf24;
}

.game-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.game-name {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-desc {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.5;
}

.game-odds {
    display: inline-block;
    background: #dc2626;
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1px;
}

.play-now-btn {
    display: inline-block;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 10px;
    border: 2px solid #dc2626;
    cursor: pointer;
}

/* ============================================
   HOW TO PLAY SECTION
============================================ */
.how-to-section {
    padding: 80px 0;
    background: #f8fafc;
}

.steps-container {
    max-width: 1000px;
    margin: 0 auto;
}

.step-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.step-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.step-box:hover {
    border-color: #10b981;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.step-number {
    font-size: 48px;
    font-weight: 900;
    color: #dc2626;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.guide-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    border-left: 5px solid #fbbf24;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.guide-content p {
    font-size: 16px;
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.7;
}

.guide-content p:last-child {
    margin-bottom: 0;
}

/* ============================================
   MOBILE APP SECTION
============================================ */
.mobile-app-section {
    padding: 80px 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.app-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

@media (min-width: 992px) {
    .app-container {
        grid-template-columns: 1fr 1fr;
    }
}

.app-preview {
    display: flex;
    justify-content: center;
}

.phone-frame {
    background: #1e293b;
    padding: 20px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 5px solid #475569;
    max-width: 300px;
    width: 100%;
}

.app-screen {
    width: 100%;
    height: auto;
    border-radius: 15px;
    display: block;
}

.app-features {
    padding: 20px;
}

.app-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 15px;
}

.app-subtitle {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 40px;
}

.features-list {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}

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

.feature-icon {
    font-size: 24px;
    background: #f0f9ff;
    padding: 12px;
    border-radius: 8px;
    color: #0369a1;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-text {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

/* Secondary Download Buttons */
.secondary-download {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.sec-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.android-sec {
    background: #f0f9ff;
    color: #0369a1;
    border-color: #bae6fd;
}

.android-sec:hover {
    background: #e0f2fe;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(3, 105, 161, 0.1);
}

.ios-sec {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}

.ios-sec:hover {
    background: #fee2e2;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.1);
}

.sec-icon {
    font-size: 24px;
}

.sec-text {
    font-size: 16px;
    font-weight: 700;
}

/* ============================================
   VIDEO SECTION
============================================ */
.video-section {
    padding: 80px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-wrapper {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
}

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

.video-info {
    padding: 25px;
    background: #f8fafc;
    border-top: 2px solid #e2e8f0;
}

.video-duration {
    display: inline-block;
    background: #dc2626;
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
}

.video-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
}

.video-note {
    font-size: 14px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ============================================
   PREMIUM FOOTER IN FRAME
============================================ */
.premium-footer {
    background: #1e293b;
    padding: 60px 0 0;
    color: white;
}

.footer-frame {
    background: #ffffff;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.1);
}

.footer-content {
    padding: 50px 0;
}

/* Logo Section */
.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e2e8f0;
}

.footer-logo {
    height: 70px;
    width: auto;
}

.footer-tagline h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 5px;
}

.footer-tagline p {
    color: #64748b;
    font-size: 16px;
}

/* Links Grid */
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

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

.link-title {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.link-column a {
    color: #64748b;
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.link-column a:hover {
    color: #dc2626;
    transform: translateX(5px);
}

.contact-column .link-title {
    color: #dc2626;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #64748b;
}

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

.contact-icon {
    font-size: 18px;
    color: #dc2626;
}

.contact-text {
    font-size: 15px;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
    text-align: center;
}

.warning-note {
    font-size: 14px;
    color: #dc2626;
    margin-bottom: 15px;
    font-weight: 600;
}

.copyright {
    font-size: 14px;
    color: #94a3b8;
}

/* ============================================
   FLOATING BUTTONS
============================================ */
.float-telegram {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
    color: white;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    border-radius: 8px;
    border: 2px solid white;
    box-shadow: 0 5px 20px rgba(0, 136, 204, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.float-telegram:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.4);
}

.float-icon {
    font-size: 20px;
}

.float-text {
    font-size: 12px;
}

.float-top {
    position: fixed;
    bottom: 85px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 24px;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.float-top:hover {
    transform: translateY(-3px) scale(1.1);
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .action-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .premium-download-buttons {
        grid-template-columns: 1fr;
    }
    
    .btn-content {
        padding: 0 10px;
    }
    
    .btn-main-text {
        font-size: 14px;
    }
    
    .btn-sub-text {
        font-size: 11px;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .step-row {
        grid-template-columns: 1fr;
    }
    
    .float-telegram {
        bottom: 20px;
        right: 20px;
        padding: 12px 15px;
        font-size: 12px;
    }
    
    .float-top {
        bottom: 75px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .footer-logo-section {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .action-btn {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .premium-download-section {
        padding: 20px;
    }
    
    .download-title {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .game-card {
        padding: 20px 15px;
    }
    
    .game-name {
        font-size: 18px;
    }
}