/* ===== ROOT VARIABLES ===== */
:root {
    --primary-color: #00d9ff;
    --secondary-color: #ff00ff;
    --accent-color: #7b2ff7;
    --success-color: #00ff88;
    --danger-color: #ff3366;
    --background-dark: #0a0a1a;
    --background-secondary: #1a1a2e;
    --background-card: #16213e;
    --text-light: #ffffff;
    --text-gray: #a0a0b0;
    --border-color: #2a2a3e;
    --glow-color: rgba(0, 217, 255, 0.5);
    --glow-secondary: rgba(255, 0, 255, 0.5);
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--background-dark);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Prevent images from causing horizontal scroll */
img, video, iframe, embed, object {
    max-width: 100% !important;
    height: auto !important;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ===== HEADER ===== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-color);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 0 20px var(--glow-color);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-icon {
    font-size: 2rem;
    animation: pulse-glow 2s infinite;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.free-badge {
    background: var(--success-color);
    color: var(--background-dark);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    animation: bounce 3s infinite;
}

.burger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: rgba(0, 217, 255, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    position: relative;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.burger-btn:hover {
    background: rgba(0, 217, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.5);
}

.burger-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
    box-shadow: 0 0 5px rgba(0, 217, 255, 0.5);
}

.burger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
}

.burger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.burger-btn.active {
    background: rgba(0, 217, 255, 0.25) !important;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.6) !important;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    box-shadow: 0 0 20px var(--glow-color);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--glow-color);
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-secondary) 50%, var(--background-dark) 100%);
    background-attachment: scroll;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, var(--glow-color) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, var(--glow-secondary) 0%, transparent 50%);
    opacity: 0.3;
    animation: pulse 4s ease-in-out infinite;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--success-color), var(--primary-color));
    color: var(--background-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 2rem;
    animation: bounce 3s infinite;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--text-gray);
    margin-bottom: 3rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--background-dark);
    box-shadow: 0 0 30px var(--glow-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px var(--glow-color);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--background-dark);
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: 80px 20px;
    background: var(--background-secondary);
}

.features-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background: var(--background-card);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px var(--glow-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
}

/* ===== GAMES SECTION ===== */
.games-section {
    padding: 80px 20px;
    background: var(--background-dark);
}

.games-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.game-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background: var(--background-card);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px var(--glow-color);
}

.game-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--background-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-info {
    padding: 1.5rem;
}

.game-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.game-info p {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.game-rating {
    color: var(--accent-color);
    font-weight: bold;
    margin-bottom: 1rem;
}

.btn-play {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--background-dark);
    border-radius: 15px;
    text-align: center;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--glow-color);
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 80px 20px;
    background: var(--background-secondary);
}

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

.faq-item {
    background: var(--background-card);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1.5rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 80px 20px;
    background: var(--background-dark);
}

.testimonials-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.testimonial-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background: var(--background-card);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px var(--glow-color);
}

.testimonial-rating {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: var(--primary-color);
}

.testimonial-author span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ===== LEADERBOARD SECTION ===== */
.leaderboard-section {
    padding: 80px 20px;
    background: var(--background-secondary);
}

.leaderboard-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.leader-card {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
    background: var(--background-card);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px var(--glow-color);
}

.leader-rank {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    min-width: 50px;
    text-align: center;
}

.leader-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.leader-info strong {
    font-size: 1.2rem;
    color: var(--text-light);
}

.leader-info span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ===== DISCLAIMER SECTION ===== */
.disclaimer-section {
    background: linear-gradient(135deg, var(--danger-color), var(--accent-color));
    padding: 60px 20px;
    margin-top: 80px;
}

.disclaimer-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.disclaimer-content h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.disclaimer-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.disclaimer-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.badge {
    background: var(--background-dark);
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9rem;
    border: 2px solid var(--text-light);
}

.support-resources {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.support-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.support-logo-link {
    transition: transform 0.3s ease;
}

.support-logo-link:hover {
    transform: translateY(-5px);
}

.compliance-logo {
    height: 50px;
    width: auto;
    background: var(--text-light);
    padding: 10px;
    border-radius: 10px;
    opacity: 0.9;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.compliance-logo:hover {
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.support-phone {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    color: var(--text-light);
}

/* ===== FOOTER ===== */
.main-footer {
    background: var(--background-secondary);
    padding: 60px 20px 20px;
    border-top: 2px solid var(--primary-color);
}

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

.footer-col h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-free-badge {
    display: inline-block;
    background: var(--success-color);
    color: var(--background-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-gray);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-compliance {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-compliance .compliance-logo {
    height: 40px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
}

/* ===== POPUPS ===== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none; /* Скрыт по умолчанию */
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.popup-overlay[style*="flex"] {
    display: flex !important; /* Показываем только когда явно установлено display: flex */
}

.popup-content {
    background: var(--background-card);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
    animation: popup-appear 0.3s ease;
}

.popup-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.popup-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.popup-content p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.popup-small {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.popup-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 400px;
    background: linear-gradient(135deg, var(--background-card) 0%, var(--background-secondary) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 1.5rem;
    z-index: 9999;
    display: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.cookie-banner h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cookie-banner p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cookie-banner a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ===== ANIMATIONS ===== */
@keyframes pulse-glow {
    0%, 100% {
        filter: drop-shadow(0 0 5px var(--primary-color));
    }
    50% {
        filter: drop-shadow(0 0 20px var(--primary-color));
    }
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes popup-appear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 900px) {
    .header-container {
        gap: 1rem;
        padding: 0 15px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .free-badge {
        font-size: 0.6rem;
        padding: 3px 6px;
    }

    .burger-btn {
        display: flex !important;
        z-index: 1001;
        background: rgba(0, 217, 255, 0.15) !important;
        border: 2px solid var(--primary-color) !important;
        box-shadow: 0 0 10px rgba(0, 217, 255, 0.3) !important;
    }
    
    .burger-btn span {
        background: var(--primary-color) !important;
        box-shadow: 0 0 8px rgba(0, 217, 255, 0.6) !important;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 26, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        display: none;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        border-bottom: 2px solid var(--primary-color);
        z-index: 999;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.75rem 0;
        width: 100%;
        text-align: left;
    }

    .nav-link::after {
        display: none;
    }

    .nav-cta {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1.5rem;
    }

    .hero-section {
        padding: 100px 15px 40px;
        min-height: calc(100vh - 60px);
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-title {
        font-size: clamp(1.75rem, 6vw, 3rem);
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: clamp(0.9rem, 3vw, 1.2rem);
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .container {
        padding: 0 15px;
    }

    .features-section,
    .games-section,
    .faq-section,
    .testimonials-section,
    .leaderboard-section {
        padding: 60px 15px;
    }

    .features-grid,
    .games-grid,
    .testimonials-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }

    .feature-card,
    .game-card,
    .testimonial-card {
        max-width: 100%;
        min-width: 100%;
        padding: 1.5rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .game-image {
        height: 200px;
    }

    .game-info {
        padding: 1.25rem;
    }

    .game-info h3 {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }

    .section-subtitle {
        font-size: clamp(1rem, 3vw, 1.2rem);
    }

    .faq-question {
        font-size: 1rem;
        padding: 1.25rem;
    }

    .faq-answer {
        padding: 0 1.25rem 1.25rem;
    }

    .leaderboard-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .leader-card {
        max-width: 100%;
        padding: 1.25rem;
    }

    .leader-rank {
        font-size: 1.5rem;
        min-width: 40px;
    }

    .disclaimer-section {
        padding: 40px 15px;
        margin-top: 60px;
    }

    .disclaimer-content h3 {
        font-size: clamp(1.25rem, 4vw, 2rem);
    }

    .disclaimer-content p {
        font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    }

    .disclaimer-badges {
        gap: 0.75rem;
        margin: 1.5rem 0;
    }

    .badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .support-links {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .support-phone {
        font-size: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-col {
        text-align: center;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-compliance {
        justify-content: center;
    }

    .cookie-banner {
        left: 15px;
        right: 15px;
        bottom: 15px;
        max-width: none;
        padding: 1.25rem;
    }

    .cookie-banner h4 {
        font-size: 1.1rem;
    }

    .cookie-banner p {
        font-size: 0.9rem;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-buttons .btn {
        width: 100%;
    }

    .popup-content {
        padding: 2rem 1.5rem;
        margin: 20px;
        max-width: calc(100% - 40px);
    }

    .popup-content h2 {
        font-size: 1.5rem;
    }

    .popup-icon {
        font-size: 3rem;
    }

    .popup-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .popup-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 10px;
    }

    .logo {
        font-size: 1rem;
    }

    .logo-text {
        font-size: 1rem;
    }

    .logo-icon {
        font-size: 1.5rem;
    }

    .free-badge {
        font-size: 0.55rem;
        padding: 2px 5px;
    }

    .hero-section {
        padding: 90px 10px 30px;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .features-section,
    .games-section,
    .faq-section,
    .testimonials-section,
    .leaderboard-section {
        padding: 50px 10px;
    }

    .feature-card,
    .game-card,
    .testimonial-card {
        padding: 1.25rem;
    }

    .feature-card h3,
    .game-info h3 {
        font-size: 1.2rem;
    }

    .game-image {
        height: 180px;
    }

    .compliance-logo {
        height: 35px;
        padding: 6px;
        max-width: 100px !important;
    }

    .support-links {
        gap: 0.75rem;
    }

    .disclaimer-section {
        padding: 30px 10px;
    }

    .disclaimer-content h3 {
        font-size: 1.25rem;
    }

    .disclaimer-content p {
        font-size: 0.9rem;
    }

    .badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 1rem;
    }

    .popup-content {
        padding: 1.5rem 1rem;
        margin: 15px;
        max-width: calc(100% - 30px);
    }

    .popup-content h2 {
        font-size: 1.25rem;
    }

    .popup-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .feature-card,
    .game-card,
    .testimonial-card {
        padding: 1rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        min-height: 44px; /* Minimum touch target size */
    }

    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .burger-btn {
        min-width: 44px !important;
        min-height: 44px !important;
        display: flex !important;
        background: rgba(0, 217, 255, 0.2) !important;
        border: 2px solid var(--primary-color) !important;
        box-shadow: 0 0 12px rgba(0, 217, 255, 0.4) !important;
    }
    
    .burger-btn span {
        background: var(--primary-color) !important;
        box-shadow: 0 0 10px rgba(0, 217, 255, 0.7) !important;
    }
}

/* ===== TOUCH TARGETS ===== */
@media (max-width: 900px) {
    /* Ensure all interactive elements are at least 44x44px for touch */
    .btn,
    .nav-link,
    .burger-btn,
    .faq-question,
    .tab-btn,
    .submit-btn {
        min-height: 44px;
        min-width: 44px;
    }

    /* Improve text readability */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    /* Prevent text from being too small */
    p, li, span, a {
        font-size: clamp(0.875rem, 2.5vw, 1rem);
    }
}

/* ===== PREVENT HORIZONTAL SCROLL ===== */
* {
    max-width: 100%;
}

.container,
section,
article,
div {
    max-width: 100%;
    overflow-x: hidden;
}

/* ===== SMOOTH SCROLLING ===== */
@media (max-width: 900px) {
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
}

