:root {
    --bg-color: #050505;
    --text-color: #f0f0f0;
    --accent-color: #ffd700;
    /* Gold */
    --secondary-accent: #00ffff;
    /* Cyan */
    --overlay-color: rgba(0, 0, 0, 0.75);
    --card-bg: rgba(255, 255, 255, 0.05);
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Zen Kaku Gothic New', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Video */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

#bg-video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-color);
    backdrop-filter: blur(3px);
}

/* Content Wrapper */
/* Content Wrapper Style Removed */

/* Header styles removed as requested */

/* Sections General */
section {
    margin-bottom: 200px;
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 40px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

/* Parallax Layer */
.hero-parallax-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    /* Ensure it covers at least the viewport */
    height: auto;
    /* Allow it to grow based on image height */
    z-index: 0;
    overflow: visible;
    /* Don't clip the image */
    will-change: transform;
    pointer-events: none;
}

.hero-background-image {
    width: 100%;
    height: auto;
    /* Maintain aspect ratio */
    min-height: 100vh;
    object-fit: cover;
    display: block;
    filter: brightness(0.7);
}

/* Content Scroller */
.content-scroller {
    position: relative;
    z-index: 10;
    width: 100%;
}

/* Hero Content Section (Invisible container for layout) */
.hero-content-section {
    height: 80vh;
    /* Match parallax layer height to push content down */
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.hero-overlay {
    text-align: center;
    padding: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.hero-logo {
    max-width: 80%;
    width: 650px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.4));
    margin-bottom: 10px;
}

/* Wrapper for main content sections */
.intro-section,
.features-section,
.upgrade-section,
.reincarnation-section,
.community-section,
.site-footer {
    position: relative;
    z-index: 10;
    /* Background color removed */
    max-width: 1200px;
    /* Reverted to 1200px */
    margin: 0 auto 200px auto;
    /* Centered with bottom margin */
    padding: 0 20px;
}

/* Footer needs specific handling */
.site-footer {
    margin-bottom: 0;
    padding-bottom: 50px;
}

.hero-catchphrase {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.5), transparent);
    padding: 5px 20px;
    border-radius: 5px;
}

.hero-release-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.hero-action-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.action-btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.action-btn.steam-btn {
    background: #171a21;
    color: #fff;
    border-color: #66c0f4;
}

.action-btn.steam-btn:hover {
    background: #66c0f4;
    color: #171a21;
    box-shadow: 0 0 20px rgba(102, 192, 244, 0.5);
}

.action-btn.presskit-btn {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.action-btn.presskit-btn:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.release-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--accent-color);
    letter-spacing: 0.05em;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* Intro Section */
.intro-section {
    padding: 60px 20px;
    margin-top: 80vh;
    /* Push down below the fold */
    text-align: center;
}

.intro-text {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 2;
    background: linear-gradient(90deg, #fff, #bbb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Features Grid (Used in Upgrade Section) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Explicitly 2 columns */
    gap: 50px;
    align-items: stretch;
    /* Align heights */
    max-width: 1000px;
    /* Restrict width for better margins */
    margin: 0 auto;
    /* Center the grid */
}

/* Features Section Layout */
.feature-item {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
    text-align: left;
}

.feature-item.reverse {
    flex-direction: row-reverse;
}

.feature-image-container {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    /* border removed */
}

.feature-img {
    width: 100%;
    height: auto;
    display: block;
    /* transition removed */
}

/* Hover effect removed */

.feature-text-container {
    flex: 1;
}

.feature-heading {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--secondary-accent);
    border-left: 5px solid var(--accent-color);
    padding-left: 20px;
}

/* Upgrade & Reincarnation Sections */
.sub-section-title {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #ccc;
    font-weight: 400;
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 20px;
    /* Changed from margin-bottom to margin-top */
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Border restored */
}

.reincarnation-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.reincarnation-section .feature-image-container {
    box-shadow: none;
}

/* Community Section */
.community-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    display: inline-block;
    padding: 15px 40px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    border: 1px solid #fff;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.social-link.steam-link {
    border-color: #66c0f4;
}

.social-link.steam-link:hover {
    background: #66c0f4;
    color: #171a21;
    box-shadow: 0 0 20px rgba(102, 192, 244, 0.5);
}

/* Footer */
.site-footer {
    padding: 50px 0;
    opacity: 0.6;
    font-size: 0.9rem;
    text-align: center;
}

/* Animations */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-logo {
        width: 280px;
    }

    .hero-catchphrase {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .release-text {
        font-size: 1.2rem;
    }

    .action-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .hero-action-links {
        gap: 10px;
    }

    .hero-section {
        margin-bottom: 60px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        /* Stack vertically on mobile */
    }

    .feature-item,
    .feature-item.reverse {
        flex-direction: column;
        gap: 20px;
    }

    .feature-text-container {
        text-align: left;
    }

    .feature-heading {
        font-size: 1.5rem;
    }

    .intro-text {
        font-size: 1.1rem;
    }

    /* Adjust padding for mobile */
    .intro-section,
    .features-section,
    .upgrade-section,
    .reincarnation-section,
    .community-section,
    .site-footer {
        padding: 0 20px;
    }
}