/* ===== CSS Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Alegreya Sans', sans-serif;
    background: #120C08;
    color: #F6F1EA;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #120C08 0%, #0F0A07 100%);
    z-index: -1;
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Alegreya', serif;
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    font-family: 'Alegreya Sans', sans-serif;
    cursor: pointer;
    border: none;
    outline: none;
}

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

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

/* ===== Cookie Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(32, 22, 15, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    color: #F6F1EA;
    flex: 1;
    min-width: 280px;
}

.cookie-banner-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.cookie-accept-btn {
    background: linear-gradient(135deg, #F0A84A, #D66A3C);
    color: #120C08;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-accept-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(240, 168, 74, 0.4);
}

.cookie-policy-link {
    color: #F0A84A;
    font-weight: 500;
}

.cookie-policy-link:hover {
    color: #FFD27A;
}

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(18, 12, 8, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 100;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(18, 12, 8, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 40px;
    height: 40px;
    position: relative;
}

.logo-icon::after {
    content: '';
    position: absolute;
    inset: -5px;
    background: radial-gradient(circle, rgba(240, 168, 74, 0.3), transparent 70%);
    border-radius: 50%;
    animation: logoGlow 3s ease-in-out infinite;
}

.logo-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

@keyframes logoGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.logo-text {
    font-family: 'Alegreya', serif;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #F6F1EA, #F0A84A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: #D8C9B6;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #F0A84A, #FFD27A);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #F6F1EA;
}

.nav-link:hover::after {
    width: 60%;
}

.nav-link-active {
    color: #F0A84A;
}

.nav-link-active::after {
    width: 60%;
}

.nav-btn-primary {
    background: linear-gradient(135deg, #F0A84A, #D66A3C);
    color: #120C08;
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(240, 168, 74, 0.25);
}

.nav-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(240, 168, 74, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: #F0A84A;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(800px 500px at 20% 10%, rgba(240,168,74,.22), transparent 60%),
        radial-gradient(700px 480px at 80% 20%, rgba(214,106,60,.18), transparent 60%),
        linear-gradient(180deg, #120C08 0%, #0F0A07 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F0A84A' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #FFD27A;
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { opacity: 0; transform: translateY(-100px) scale(1); }
}

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

.hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #F6F1EA 0%, #F0A84A 50%, #FFD27A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleFade 1s ease-out;
}

@keyframes titleFade {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: #D8C9B6;
    margin-bottom: 40px;
    line-height: 1.7;
    animation: titleFade 1s ease-out 0.2s backwards;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: titleFade 1s ease-out 0.4s backwards;
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #F0A84A, #D66A3C);
    color: #120C08;
    padding: 16px 36px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(240, 168, 74, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(240, 168, 74, 0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #F0A84A;
    padding: 16px 36px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid #F0A84A;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(240, 168, 74, 0.1);
    border-color: #FFD27A;
    color: #FFD27A;
}

.btn-large {
    padding: 18px 42px;
    font-size: 18px;
}

.btn-game {
    align-self: flex-start;
}

/* ===== Section Titles ===== */
.section-title {
    font-size: clamp(28px, 4vw, 42px);
    text-align: center;
    margin-bottom: 50px;
    color: #F6F1EA;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #F0A84A, #D66A3C);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ===== About Section ===== */
.about-section {
    padding: 80px 20px;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100px;
    background: linear-gradient(180deg, transparent, #F0A84A, transparent);
}

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

.about-text {
    color: #D8C9B6;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.age-disclaimer {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(240, 168, 74, 0.1);
    border: 1px solid rgba(240, 168, 74, 0.3);
    padding: 12px 24px;
    border-radius: 8px;
    color: #F0A84A;
    font-weight: 500;
    margin-top: 30px;
}

/* ===== Stats Section ===== */
.stats-section {
    padding: 80px 20px;
    background: rgba(26, 18, 13, 0.5);
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px 500px at 50% 50%, rgba(240,168,74,.08), transparent 60%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    position: relative;
}

.stat-card {
    background: rgba(32, 22, 15, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(240, 168, 74, 0.3);
    box-shadow: 0 10px 40px rgba(240, 168, 74, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(240, 168, 74, 0.1);
    border-radius: 12px;
}

.stat-number {
    font-family: 'Alegreya', serif;
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #F0A84A, #FFD27A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    color: #D8C9B6;
    font-size: 16px;
    font-weight: 500;
}

/* ===== Features Section ===== */
.features-section {
    padding: 100px 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(32, 22, 15, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 35px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #F0A84A, #D66A3C);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    border-color: rgba(240, 168, 74, 0.2);
    background: rgba(32, 22, 15, 0.7);
    transform: translateY(-5px);
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(240, 168, 74, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(240, 168, 74, 0.2);
    transform: scale(1.05);
}

.feature-title {
    font-size: 22px;
    color: #F6F1EA;
    margin-bottom: 12px;
}

.feature-desc {
    color: #D8C9B6;
    line-height: 1.7;
}

/* ===== Games Section ===== */
.games-section {
    padding: 100px 20px;
    background: rgba(26, 18, 13, 0.4);
}

.game-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.game-visual {
    position: relative;
}

.game-thumbnail {
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    aspect-ratio: 4/2;
    transition: all 0.3s ease;
}

.game-thumbnail:hover {
    border-color: rgba(240, 168, 74, 0.4);
    box-shadow: 0 20px 50px rgba(240, 168, 74, 0.2);
}

.game-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #F0A84A, #D66A3C);
    color: #120C08;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.game-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.game-category {
    color: #F0A84A;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-title {
    font-size: 32px;
    color: #F6F1EA;
}

.game-desc {
    color: #D8C9B6;
    line-height: 1.7;
}

.game-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.game-features li {
    color: #D8C9B6;
    padding-left: 25px;
    position: relative;
}

.game-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: #F0A84A;
    border-radius: 50%;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(800px 500px at 30% 50%, rgba(240,168,74,.15), transparent 60%),
        radial-gradient(700px 480px at 70% 50%, rgba(214,106,60,.12), transparent 60%);
}

.cta-content {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 20px;
}

.cta-text {
    color: #D8C9B6;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 35px;
}

.cta-actions {
    margin-bottom: 20px;
}

.cta-note {
    color: #D8C9B6;
    font-size: 14px;
    opacity: 0.8;
}

/* ===== Footer ===== */
.site-footer {
    background: rgba(26, 18, 13, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 20px 30px;
}

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

.footer-title {
    font-size: 18px;
    color: #F6F1EA;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #D8C9B6;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #F0A84A;
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #D8C9B6;
}

.footer-contact li {
    padding-left: 20px;
    position: relative;
}

.footer-contact li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    background: #F0A84A;
    border-radius: 50%;
}

.footer-text {
    color: #D8C9B6;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-responsible {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-responsible a {
    color: #F0A84A;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-responsible a:hover {
    color: #FFD27A;
}

.footer-disclaimer {
    background: rgba(214, 106, 60, 0.1);
    border: 1px solid rgba(214, 106, 60, 0.2);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.disclaimer-18 {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.disclaimer-18 svg {
    flex-shrink: 0;
}

.disclaimer-18 p {
    color: #F6F1EA;
    font-weight: 500;
}

.disclaimer-text {
    color: #D8C9B6;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #D8C9B6;
    font-size: 14px;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .game-card {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(18, 12, 8, 0.98);
        padding: 20px;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        gap: 10px;
    }

    .header-nav.show {
        transform: translateY(0);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-link, .nav-btn-primary {
        width: 100%;
        text-align: center;
    }

    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .disclaimer-18 {
        flex-direction: column;
        text-align: center;
    }

    .stat-card {
        padding: 25px 20px;
    }

    .stat-number {
        font-size: 36px;
    }
}

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

    .section-title {
        font-size: 26px;
    }

    .feature-card {
        padding: 25px;
    }

    .game-title {
        font-size: 24px;
    }
}
