:root {
    --primary-dark: #0F0F0F;
    --secondary-dark: #1A1A1A;
    --accent-purple: #6B46C1;
    --accent-gold: #F59E0B;
    --accent-emerald: #10B981;
    --frost-blue: #3B82F6;
    --text-light: #F8FAFC;
    --text-gray: #CBD5E1;
    --border-glow: #374151;
    --gradient-primary: linear-gradient(135deg, #6B46C1, #3B82F6);
    --gradient-secondary: linear-gradient(135deg, #10B981, #F59E0B);
    --heading-font: 'Segoe UI', system-ui, sans-serif;
    --body-font: 'Inter', system-ui, sans-serif;
    --border-radius: 16px;
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    color: var(--text-light);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(107, 70, 193, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

a {
    color: var(--frost-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-gold);
    text-shadow: 0 0 8px rgba(245, 158, 11, 0.3);
}

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

/* Floating Header */
.site-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1160px;
    background: rgba(15, 15, 15, 0.9);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glow);
    border-radius: var(--border-radius);
    padding: 16px 32px;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.6);
}

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

.logo {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 8px;
    margin: 0;
}

.nav-links a {
    color: var(--frost-blue);
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: rgba(59, 130, 246, 0.1);
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--frost-blue);
    transition: left 0.3s ease;
    z-index: -1;
    opacity: 0.1;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--text-light);
    transform: translateY(-2px);
    background: var(--frost-blue);
}

.nav-links a.active::before,
.nav-links a:hover::before {
    left: 0;
}

/* Main Content Spacing */
main {
    margin-top: 120px;
    margin-bottom: 120px;
}

/* Hero Section */
.hero-area {
    text-align: center;
    padding: 80px 24px;
    position: relative;
    margin-bottom: 60px;
    background-image: url('herobg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.6);
}

.hero-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 15, 0.85);
    border-radius: var(--border-radius);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-area h1 {
    font-family: var(--heading-font);
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 24px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-area p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.action-btn {
    background: var(--gradient-secondary);
    color: var(--primary-dark);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    border: none;
    cursor: pointer;
}

.action-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    color: var(--primary-dark);
}

/* Content Sections */
.content-section {
    margin: 80px 0;
}

.floating-card {
    background: rgba(26, 26, 26, 0.8);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.7);
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glow);
    border-radius: var(--border-radius);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.floating-card.about-section {
background-image: url('about.jpg');
filter: brightness(0.7);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    filter: brightness(0.7);
}

.floating-card.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.92);
    z-index: 1;
}

.floating-card.about-section > * {
    position: relative;
    z-index: 2;
}

/* Disclaimer Alert */
.alert-box {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(239, 68, 68, 0.1));
    border-left: 4px solid var(--accent-gold);
    color: var(--text-light);
    padding: 32px;
    margin: 48px auto;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.alert-box .btn-secondary {
    display: block;
    margin: 24px auto 0 auto;
}


.alert-box h3 {
    font-family: var(--heading-font);
    margin-bottom: 16px;
    color: var(--accent-gold);
    font-size: 1.5rem;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--frost-blue);
    color: var(--frost-blue);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 16px;
}

.btn-secondary:hover {
    background: var(--frost-blue);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

/* Game Area */
.game-area {
    text-align: center;
}

.game-area h2 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    margin-bottom: 32px;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.games-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.game-item {
    width: 100%;
    margin-bottom: 20px;
}

.game-title {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--accent-gold);
    text-align: left;
}

.game-frame {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    border: 2px solid var(--border-glow);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    background: var(--secondary-dark);
    margin: 0 auto;
    height: auto;
}

.game-area.play-page {
    margin-top: 40px;
}

@media (max-width: 768px) {
    .game-title {
        font-size: 1.5rem;
        text-align: center;
    }

    .game-frame {
        height: 280px;
        width: 100%;
        max-width: none;
    }

    .games-container {
        gap: 32px;
    }

    .floating-card {
        padding: 16px;
        border-radius: 12px;
    }

    .game-item {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .game-frame {
        height: 240px;
    }

    .game-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .floating-card {
        padding: 12px;
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.feature-card {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glow);
    border-radius: var(--border-radius);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card h3 {
    font-family: var(--heading-font);
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--accent-gold);
}

/* Reviews Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.review-card {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glow);
    border-radius: var(--border-radius);
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    left: 24px;
    font-size: 3rem;
    color: var(--accent-purple);
    opacity: 0.3;
    font-family: serif;
}

.review-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-emerald);
    box-shadow: var(--shadow-lg);
}

.review-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-gray);
    position: relative;
    z-index: 2;
}

.review-card .author {
    font-weight: 700;
    text-align: right;
    color: var(--accent-gold);
}

/* Legal & Contact Pages */
.legal-page, .contact-page {
    padding: 40px 0;
}

.legal-page .container, .contact-page .container {
    max-width: 900px;
}

.legal-page h1, .contact-page h1 {
    font-family: var(--heading-font);
    margin-bottom: 32px;
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 1.5rem;
    color: var(--accent-gold);
    border-bottom: 2px solid var(--border-glow);
    padding-bottom: 12px;
    margin-bottom: 20px;
    font-family: var(--heading-font);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.input-field {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-glow);
    border-radius: 12px;
    background: rgba(26, 26, 26, 0.8);
    color: var(--text-light);
    font-family: var(--body-font);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.1);
}

.input-field::placeholder {
    color: var(--text-gray);
}

/* Footer */
.bottom-footer {
    width: calc(100% - 40px);
    max-width: 1160px;
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glow);
    border-radius: var(--border-radius);
    padding: 24px 32px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    margin: 20px auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
}

.footer-info {
    text-align: left;
}

.footer-logo {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    display: block;
}

.footer-disclaimer {
    font-size: 0.85rem;
    color: var(--text-gray);
    max-width: 500px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-gray);
    opacity: 0.7;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.footer-links a {
    color: var(--text-gray);
    padding: 8px 12px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.footer-links a.active {
    color: var(--text-light);
}

/* Age Verification Modal */
.verification-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--secondary-dark);
    border: 1px solid var(--border-glow);
    padding: 48px;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 500px;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.modal-content h2 {
    font-family: var(--heading-font);
    margin-bottom: 24px;
    color: var(--text-light);
    font-size: 2rem;
}

.modal-buttons {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Scroll to Top Button */
#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 120px;
    right: 32px;
    z-index: 100;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

#scrollTopBtn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--text-light);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-header {
        width: calc(100% - 20px);
        padding: 12px 20px;
        top: 10px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        max-width: 300px;
        background: rgba(15, 15, 15, 0.95);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        padding: 80px 40px;
        flex-direction: column;
        gap: 20px;
        transition: right 0.3s ease;
    }

    .nav-links.active {
        display: flex;
        right: 0;
    }

    .nav-links a {
        padding: 12px;
        font-size: 1.1rem;
        width: 100%;
        text-align: left;
    }

    .hero-area h1 {
        font-size: 2.5rem;
    }

    .hero-area {
        padding: 60px 20px;
    }

    .floating-card {
        padding: 32px 24px;
    }

    .bottom-footer {
        width: calc(100% - 20px);
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    main {
        margin-top: 100px;
        margin-bottom: 40px;
    }

    #scrollTopBtn {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-area h1 {
        font-size: 2rem;
    }

    .modal-content {
        margin: 20px;
        padding: 32px 24px;
    }

    .game-frame {
        height: 400px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }
}