/* ===== RESET & VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Modern Dark Theme */
    --primary: #FF3366;
    --primary-hover: #FF1A4D;
    --secondary: #6C5CE7;
    --accent: #00D9FF;
    --bg-dark: #0A0E27;
    --bg-card: #151932;
    --bg-light: #1E2440;
    --text-primary: #FFFFFF;
    --text-secondary: #A0A6C5;
    --text-muted: #6B7299;
    --border: rgba(255, 255, 255, 0.1);
    --shadow: rgba(0, 0, 0, 0.3);
    --gradient-1: linear-gradient(135deg, #FF3366 0%, #FF1A4D 100%);
    --gradient-2: linear-gradient(135deg, #6C5CE7 0%, #A855F7 100%);
    --gradient-3: linear-gradient(135deg, #00D9FF 0%, #0099FF 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
    box-sizing: border-box;
}

a {
    text-decoration: none;  
}

/* ===== BUTTONS ===== */
.btn-primary,
.btn-secondary {
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--text-primary);
    box-shadow: 0 4px 16px rgba(255, 51, 102, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 51, 102, 0.4);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--primary);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.btn-small {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    font-size: 2rem;
}

.nav {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.nav.mobile-active {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
    z-index: 1000;
    padding: var(--spacing-xxl);
    animation: slideIn 0.3s ease-out;
    height: 100vh;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav.mobile-active .nav-link {
    font-size: 1.5rem;
    padding: var(--spacing-md);
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.nav.mobile-active .nav-link:hover {
    background: rgba(255, 51, 102, 0.1);
    color: var(--primary);
}

.nav.mobile-active .nav-link.active {
    color: var(--primary);
    background: rgba(255, 51, 102, 0.15);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 51, 102, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 60%, rgba(108, 92, 231, 0.15) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xxl);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-lg);
    max-width: 700px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* ===== CERTIFIED SECTION ===== */
.certified-section {
    padding: var(--spacing-xxl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(255, 51, 102, 0.2);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== GAMES SECTION ===== */
.games-section {
    padding: var(--spacing-xxl) 0;
}


.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.games-grid-single {
    grid-template-columns: 1fr;
    max-width: 880px;
    margin: 0 auto;
}

.games-grid-single .game-card {
    max-width: 100%;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.game-card[data-state="playing"] {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--primary);
}

.game-default {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.game-image {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: linear-gradient(135deg, #1E2440 0%, #2A3150 100%);
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.play-btn {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border: none;
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(255, 51, 102, 0.4);
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(255, 51, 102, 0.6);
}

.game-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gradient-1);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.875rem;
    z-index: 2;
}

.badge-new {
    background: var(--gradient-3);
}

.game-info {
    padding: var(--spacing-md);
}

.game-card-actions {
    margin: 0 var(--spacing-md) var(--spacing-md);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.game-embed {
    display: none;
    flex-direction: column;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
}

.game-card[data-state="playing"] .game-default {
    display: none;
}

.game-card[data-state="playing"] .game-embed {
    display: flex;
}

.game-embed-frame {
    position: relative;
    width: 100%;
    padding-top: 70%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.game-embed-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.close-game-inline {
    align-self: center;
    padding: 0.75rem 2.25rem;
}

.close-game-inline svg {
    margin-right: 0.5rem;
}

@media (max-width: 600px) {
    .game-image {
        height: 240px;
    }

    .game-embed-frame {
        padding-top: 82%;
    }

    .close-game-inline {
        width: 100%;
        justify-content: center;
    }
}

.game-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.game-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.game-rating {
    color: var(--accent);
    font-weight: 600;
}

.load-more {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* ===== STATISTICS SECTION ===== */
.stats-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-card);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.stat-box {
    text-align: center;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.stat-title {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* ===== WHY SECTION ===== */
.why-section {
    padding: var(--spacing-xxl) 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(255, 51, 102, 0.2);
}

.why-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.why-card h3 {
    font-size: 1.375rem;
    margin-bottom: var(--spacing-sm);
}

.why-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== FEATURED GAME ===== */
.featured-game {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-card);
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.featured-label {
    display: inline-block;
    background: var(--gradient-1);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: var(--spacing-md);
}

.featured-text h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.featured-text p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.featured-stats {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.featured-stat {
    text-align: center;
}

.featured-stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.featured-stat span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.featured-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== REVIEWS SECTION ===== */
.reviews-section {
    padding: var(--spacing-xxl) 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.review-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.reviewer-info h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.review-rating {
    font-size: 0.875rem;
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.review-date {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-card);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) var(--spacing-lg);
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: var(--spacing-xxl) 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-xxl);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
}

.contact-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.contact-icon {
    font-size: 2rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-secondary);
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 51, 102, 0.1);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.footer-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-1);
    border-color: transparent;
    transform: translateY(-2px);
}

.footer-section h4 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.newsletter-form input {
    flex: 1;
    padding: 0.875rem;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

.footer-disclaimer {
    margin-top: var(--spacing-sm);
    font-size: 0.875rem;
}

/* ===== POPUPS ===== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.popup-overlay.active {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.popup-content {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xxl);
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.popup-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
}

.popup-content h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.popup-content p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
}

.popup-subtext {
    font-size: 1rem;
    margin-bottom: var(--spacing-xl);
}

.popup-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 2px solid var(--border);
    padding: var(--spacing-lg);
    z-index: 9999;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-banner.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    max-width: 1280px;
    margin: 0 auto;
}

.cookie-icon {
    font-size: 3rem;
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    margin-bottom: 0.5rem;
}

.cookie-text strong {
    font-size: 1.125rem;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: none;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

/* ===== GAME OVERLAY ===== */
.game-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
}

.game-overlay.active {
    display: flex;
}


.game-container {
    width: 90%;
    height: 90%;
    max-width: 1400px;
    background: var(--bg-dark);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.game-frame-wrapper {
    flex: 1;
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.close-game {
    align-self: center;
    background: var(--gradient-1);
    color: var(--text-primary);
    border: none;
    padding: 0.875rem 2.5rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(255, 51, 102, 0.4);
}

.close-game:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(255, 51, 102, 0.6);
}

#gameFrame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .game-container {
        width: 95%;
        height: 85%;
        padding: var(--spacing-md);
        gap: var(--spacing-md);
    }

    .close-game {
        width: 100%;
        justify-content: center;
    }
}

/* ===== LEGAL PAGES ===== */
.legal-page {
    padding: 140px 0 80px;
    min-height: 100vh;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--border);
}

.legal-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    color: var(--text-muted);
    font-size: 1rem;
}

.legal-section {
    margin-bottom: var(--spacing-xxl);
}

.legal-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--primary);
}

.legal-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.legal-section ul {
    list-style-position: inside;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-md);
}

.legal-section ul li {
    margin-bottom: var(--spacing-xs);
    padding-left: var(--spacing-sm);
}

.legal-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.legal-section a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.legal-section a:hover {
    text-decoration: underline;
    color: var(--primary-hover);
}

.contact-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.contact-box p {
    margin-bottom: var(--spacing-sm);
}

.back-button-container {
    text-align: center;
    margin-top: var(--spacing-xxl);
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--border);
}

/* Cookie Tables */
.cookie-table {
    margin: var(--spacing-lg) 0;
    overflow-x: auto;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.cookie-table thead {
    background: var(--bg-light);
}

.cookie-table th {
    padding: var(--spacing-md);
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border);
}

.cookie-table td {
    padding: var(--spacing-md);
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.cookie-table tbody tr:last-child td {
    border-bottom: none;
}

.cookie-table tbody tr:hover {
    background: var(--bg-light);
}

/* ===== RESPONSIVE ===== */

/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    
    .featured-content {
        gap: var(--spacing-lg);
    }
    
    .featured-text h2 {
        font-size: 2.5rem;
    }
    
    .contact-container {
        gap: var(--spacing-lg);
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .features-grid,
    .why-grid,
    .reviews-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Mobile Styles (max-width: 768px) */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-content {
        padding: var(--spacing-sm) 0;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .logo-icon {
        font-size: 1.75rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 100px 0 60px;
        margin-top: 100px;
    }

    .legal-page {
        margin-top: 40px;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: var(--spacing-lg);
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
        width: 100%;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    /* Section Headers */
    .section-header h2 {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* Certified Section */
    .certified-section {
        padding: var(--spacing-xl) 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .feature-card {
        padding: var(--spacing-lg);
    }
    
    /* Games Section */
    .games-section {
        padding: var(--spacing-xl) 0;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .game-card {
        max-width: 100%;
    }
    
    .game-image {
        height: 200px;
    }
    
    /* Statistics Section */
    .stats-section {
        padding: var(--spacing-xl) 0;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    /* Why Section */
    .why-section {
        padding: var(--spacing-xl) 0;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .why-card {
        padding: var(--spacing-lg);
    }
    
    /* Featured Game */
    .featured-game {
        padding: var(--spacing-xl) 0;
    }
    
    .featured-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .featured-text h2 {
        font-size: 2rem;
    }
    
    .featured-stats {
        flex-wrap: wrap;
        gap: var(--spacing-md);
    }
    
    .featured-image {
        order: -1;
    }
    
    /* Reviews Section */
    .reviews-section {
        padding: var(--spacing-xl) 0;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .review-card {
        padding: var(--spacing-lg);
    }
    
    /* FAQ Section */
    .faq-section {
        padding: var(--spacing-xl) 0;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    /* Contact Section */
    .contact-section {
        padding: var(--spacing-xl) 0;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .contact-form {
        padding: var(--spacing-lg);
    }
    
    /* Footer */
    .footer {
        padding: var(--spacing-xl) 0 var(--spacing-md);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        width: 100%;
    }
    
    /* Cookie Banner */
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }
    
    .cookie-icon {
        font-size: 2rem;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
    
    /* Popups */
    .popup-content {
        padding: var(--spacing-lg);
        max-width: 90%;
    }
    
    .popup-icon {
        font-size: 3rem;
    }
    
    .popup-content h2 {
        font-size: 1.5rem;
    }
    
    .popup-buttons {
        flex-direction: column;
    }
    
    .popup-buttons button {
        width: 100%;
    }
    
    /* Game Overlay */
    .game-container {
        width: 95%;
        height: 95%;
        border-radius: var(--radius-md);
    }
    
    .close-game {
        top: 10px;
        right: 10px;
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    /* Legal Pages */
    .legal-page {
        padding: 100px 0 60px;
    }
    
    .legal-header h1 {
        font-size: clamp(2rem, 5vw, 2.5rem);
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.25rem;
    }
    
    .cookie-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .cookie-table table {
        min-width: 500px;
        font-size: 0.875rem;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: var(--spacing-sm);
    }
    
    /* Prevent horizontal scroll */
    img,
    video,
    iframe {
        max-width: 100%;
        height: auto;
    }
    
    table {
        max-width: 100%;
        overflow-x: auto;
        display: block;
    }
}

/* Small Mobile Styles (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-xs);
    }
    
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .feature-card,
    .why-card,
    .review-card {
        padding: var(--spacing-md);
    }
    
    .feature-icon,
    .why-icon {
        font-size: 2.5rem;
    }
    
    .stat-value {
        font-size: 2.5rem;
    }
    
    .featured-text h2 {
        font-size: 1.75rem;
    }
    
    .featured-stats {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        font-size: 1.5rem;
    }
    
    .footer-logo {
        font-size: 1.25rem;
    }
    
    .popup-content {
        padding: var(--spacing-md);
    }
    
    .popup-icon {
        font-size: 2.5rem;
    }
    
    .popup-content h2 {
        font-size: 1.25rem;
    }
    
    .legal-page {
        padding: 80px 0 40px;
    }
    
    .legal-header h1 {
        font-size: 1.75rem;
    }
    
    .legal-section {
        margin-bottom: var(--spacing-lg);
    }
    
    .legal-section h2 {
        font-size: 1.25rem;
    }
    
    .legal-section h3 {
        font-size: 1.125rem;
    }
    
    .back-button-container {
        margin-top: var(--spacing-lg);
    }
}

