* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background: #1A2526;
    color: #F5F5F5;
    position: relative;
    overflow-x: hidden;
}


.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(245, 245, 245, 0.7);
    border-radius: 50%;
    transition: transform 0.2s ease;
    animation: fall linear infinite;
}

@keyframes fall {
    0% { transform: translateY(-100vh); opacity: 0.7; }
    100% { transform: translateY(100vh); opacity: 0; }
}


header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 37, 38, 0.8);
    padding: 15px 0;
    z-index: 1000;
    transition: background 0.3s ease;
}

header.scrolled {
    background: rgba(26, 37, 38, 0.95);
}

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

header img.logo {
    max-width: 150px;
}

nav a {
    position: relative;
    color: #FFC107;
    text-decoration: none;
    margin: 0 20px;
    font-size: 16px;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    transition: color 0.3s ease;
    font-weight: 600;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #E8B923;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: #E8B923;
    text-shadow: 0 0 10px rgba(232, 185, 35, 0.7);
}


#age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 37, 38, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

#age-gate::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 5px solid #FFC107;
    border-top: 5px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.age-gate-content {
    background: rgba(26, 37, 38, 0.9);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 450px;
    border: 2px solid #FFC107;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
    z-index: 2001;
    position: relative;
}

.age-gate-content h2 {
    margin-bottom: 20px;
    color: #FFC107;
    font-family: 'Cinzel', serif;
    font-size: 28px;
}

.age-gate-content p {
    margin-bottom: 30px;
    font-size: 16px;
}

.age-gate-content button {
    position: relative;
    overflow: hidden;
    background: #D68A1A;
    color: #F5F5F5;
    border: none;
    padding: 12px 30px;
    margin: 10px;
    cursor: pointer;
    border-radius: 5px;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.age-gate-content button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.age-gate-content button:hover {
    background: #BF7A17;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(214, 138, 26, 0.5);
}

.age-gate-content button:hover::before {
    left: 100%;
}
#get-game .container {
    text-align: center;
}

#get-game .button {
    margin: 10px;
}


#home {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 37, 38, 0.6);
    z-index: 1;
}

#home .background-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#home .background-slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
    animation: zoom 10s ease-in-out infinite;
}

#home .background-slideshow img.active {
    opacity: 1;
    box-shadow: 0 0 30px rgba(255, 193, 7, 0.5);
}

@keyframes zoom {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

#home .hero-content {
    position: relative;
    z-index: 2;
    color: #F5F5F5;
}

#home h1 {
    font-size: 64px;
    font-family: 'Cinzel', serif;
    color: #FFC107;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(255, 193, 7, 0.7);
    animation: fadeIn 2s ease;
}

#home p {
    font-size: 24px;
    margin: 20px 0;
    max-width: 600px;
    animation: fadeIn 2s ease 0.5s;
}

#home .button {
    display: inline-block;
    background: #D68A1A;
    color: #F5F5F5;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    transition: all 0.3s ease;
    animation: fadeIn 2s ease 1s;
    animation: pulse 2s infinite ease-in-out;
}

#home .button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

#home .button:hover {
    background: #BF7A17;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(214, 138, 26, 0.5);
}

#home .button:hover::before {
    left: 100%;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(214, 138, 26, 0.7); }
    50% { box-shadow: 0 0 0 15px rgba(214, 138, 26, 0); }
    100% { box-shadow: 0 0 0 0 rgba(214, 138, 26, 0); }
}

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


section {
    padding: 80px 20px;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

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

section h2 {
    font-size: 36px;
    font-family: 'Cinzel', serif;
    color: #FFC107;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
}

section p {
    font-size: 18px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
}


#synopsis, #world, #environments {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

#synopsis {
    background-image: url('synopsis-bg.jpg');
}

#world {
    background-image: url('world-bg.jpg');
}

#environments {
    background-image: url('environments-bg.jpg');
}

.section-overlay {
    background: rgba(26, 37, 38, 0.8);
    padding: 60px 20px;
    border-radius: 15px;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.screenshots-grid img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border: 2px solid #FFC107;
    transition: all 0.3s ease;
    position: relative;
}

.screenshots-grid img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
    border-color: #E8B923;
}

.button {
    display: inline-block;
    background: #D68A1A;
    color: #F5F5F5;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.button:hover {
    background: #BF7A17;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(214, 138, 26, 0.5);
}

.button:hover::before {
    left: 100%;
}


footer {
    background: rgba(26, 37, 38, 0.9);
    padding: 40px 20px;
    text-align: center;
    border-top: 2px solid #FFC107;
}

footer p {
    font-size: 14px;
    margin-bottom: 10px;
}

footer a {
    color: #FFC107;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    color: #E8B923;
}

.social-links a {
    font-size: 24px;
    margin: 0 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: #E8B923;
    transform: rotate(360deg);
}


@media (max-width: 768px) {
    #home h1 {
        font-size: 48px;
    }

    #home p {
        font-size: 18px;
    }

    section h2 {
        font-size: 28px;
    }

    section p {
        font-size: 16px;
    }

    nav a {
        display: block;
        margin: 10px 0;
    }

    .age-gate-content {
        width: 90%;
    }
}


.button, .age-gate-content button {
    position: relative;
    overflow: hidden;
    background: #D68A1A;
    color: #F5F5F5;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.button::before, .age-gate-content button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
    z-index: 0;
}

.button:hover, .age-gate-content button:hover {
    background: #BF7A17;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(214, 138, 26, 0.5);
}

.button:hover::before, .age-gate-content button:hover::before {
    left: 100%;
}


.button span, .age-gate-content button span {
    position: relative;
    z-index: 1;
}


#home .button {
    display: inline-block;
    background: #D68A1A;
    color: #F5F5F5;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    transition: all 0.3s ease;
    animation: pulse 2s infinite ease-in-out;
}

#home .button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
    z-index: 0;
}

#home .button:hover {
    background: #BF7A17;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(214, 138, 26, 0.5);
}

#home .button:hover::before {
    left: 100%;
}


#home .button span {
    position: relative;
    z-index: 1;
}



.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 37, 38, 0.95);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.lightbox.active {
    display: flex;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
}

.lightbox.active .lightbox-image {
    transform: scale(1);
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #FFC107;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #E8B923;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: #FFC107;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: #E8B923;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}


.screenshots-grid img {
    cursor: pointer;
}