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

/* Root Variables - Lunora Brand Colors */
:root {
    --primary-color: #6B46C1;
    --primary-dark: #553C9A;
    --primary-light: #8B5CF6;
    --accent-color: #F59E0B;
    --accent-dark: #D97706;
    --accent-light: #FCD34D;
    --dark-navy: #1E293B;
    --dark-slate: #334155;
    --silver: #94A3B8;
    --light-gray: #F1F5F9;
    --white: #FFFFFF;
    --black: #0F172A;
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --text-light: #94A3B8;
}

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--dark-navy) 0%, var(--primary-dark) 100%);
    min-height: 100vh;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--white);
}

.btn-accent:hover {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent-color));
    transform: translateY(-2px);
}

.btn-confirm {
    background: var(--success);
    color: var(--white);
}

.btn-confirm:hover {
    background: #059669;
}

.btn-deny {
    background: var(--error);
    color: var(--white);
}

.btn-deny:hover {
    background: #DC2626;
}

.btn-accept {
    background: var(--primary-color);
    color: var(--white);
}

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

.btn-reject {
    background: transparent;
    color: var(--error);
    border: 1px solid var(--error);
}

.btn-reject:hover {
    background: var(--error);
    color: var(--white);
}

/* Age Verification Banner */
.age-verification-banner {
    background: linear-gradient(135deg, var(--error), #DC2626);
    color: var(--white);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: none;
}

.age-verification-banner.show {
    display: block;
}

.age-verification-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.age-verification-text strong {
    font-weight: 600;
    margin-right: 10px;
}

.age-verification-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Cookies Banner */
.cookies-banner {
    background: var(--dark-navy);
    color: var(--white);
    padding: 15px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    border-top: 1px solid var(--primary-color);
    display: none;
}

.cookies-banner.show {
    display: block;
}

.cookies-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookies-text p {
    margin: 0;
    font-size: 14px;
}

.cookies-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cookies-link {
    color: var(--accent-light);
    text-decoration: none;
    font-size: 14px;
}

.cookies-link:hover {
    text-decoration: underline;
}

/* Header */
.main-header {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: 1rem 0;
}

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

.brand-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-image {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(139, 92, 246, 0.3));
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--silver);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(139, 92, 246, 0.2);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--silver);
    transition: 0.3s;
}

/* Main Content */
.main-content {
    min-height: 80vh;
    padding-top: 2rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(107, 70, 193, 0.8));
    padding: 4rem 0;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--white), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--silver);
}

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

/* Games Grid */
.games-section {
    padding: 4rem 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.game-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(107, 70, 193, 0.2);
    border-color: var(--primary-light);
}

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

.game-info {
    padding: 1.5rem;
}

.game-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.game-play-btn {
    width: 100%;
    margin-top: 1rem;
}

/* Disclaimer Section */
.disclaimer-section {
    background: var(--light-gray);
    padding: 3rem 0;
}

.disclaimer-content {
    text-align: center;
}

.disclaimer-title {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.disclaimer-text p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-badge {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Footer */
.main-footer {
    background: var(--dark-navy);
    color: var(--silver);
    padding: 3rem 0 1rem;
}

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

.footer-brand {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 1rem;
}

.footer-brand .brand-text {
    font-size: 1.75rem;
}

.footer-brand .brand-subtitle {
    font-size: 1rem;
}

.footer-description {
    color: var(--silver);
    line-height: 1.6;
}

.footer-title {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

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

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

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

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

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

.footer-bottom-content p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.disclaimer-text {
    color: var(--text-light);
    font-style: italic;
}

/* Game Page */
.game-container {
    background: var(--white);
    min-height: 80vh;
    padding: 2rem 0;
}

.game-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.game-iframe-container {
    position: relative;
    width: 100%;
    height: 600px;
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.game-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-navy);
        border-top: 1px solid var(--primary-color);
    }

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

    .nav-list {
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
    }

    .nav-toggle {
        display: flex;
    }

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

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .age-verification-content,
    .cookies-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .disclaimer-features {
        flex-direction: column;
        align-items: center;
    }
}

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

    .logo-image {
        height: 40px;
    }

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

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

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
}
