/* Base Reset & Variables */
:root {
    --color-bg: #0a0a0a;
    --color-text: #f0f0f0;
    --color-primary: #ff9f1c;
    /* Orange */
    --color-secondary: #cbf078;
    /* Pear/Green */
    --color-accent: #e71d36;
    /* Dark Lanterns Red */
    --color-surface: #1a1a1a;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

/* Header & Nav */
#main-header {
    background-color: var(--color-bg);
    /* Opaque for now, can be semi-transparent */
    padding: var(--spacing-sm) 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#main-header.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--spacing-xs) 0;
}

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

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

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.8;
}

.nav-links a:hover {
    color: var(--color-primary);
    opacity: 1;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(45deg, var(--color-primary), #ffb74d);
    color: var(--color-bg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 159, 28, 0.4);
}

.btn-secondary {
    background: linear-gradient(45deg, var(--color-secondary), #e0f7fa);
    color: var(--color-bg);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(203, 240, 120, 0.4);
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

/* Animations */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 60px;
    /* Offset for fixed header */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(to right, #ffffff, #a0a0a0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    /* Fallback */
}

.hero p {
    font-size: 1.5rem;
    color: #cccccc;
    margin-bottom: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
}

.playtest-promo {
    margin-top: var(--spacing-xl);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 159, 28, 0.15), transparent 40%),
        radial-gradient(circle at bottom left, rgba(203, 240, 120, 0.1), transparent 40%);
    pointer-events: none;
}

/* Delays */
.dl-delay-1 {
    transition-delay: 0.1s;
}

.dl-delay-2 {
    transition-delay: 0.2s;
}

/* Section Header */
.section-header {
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xs);
}

.line {
    width: 60px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 2px;
}

/* Games Section */
.game-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.game-info h3 {
    font-size: 3rem;
    color: var(--color-accent);
    /* Dark Lanterns Red */
    margin-bottom: var(--spacing-sm);
    font-family: 'Outfit', sans-serif;
    /* Maybe custom font for game title later */
}

.tags {
    display: flex;
    gap: 10px;
    margin-bottom: var(--spacing-md);
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.game-visual {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-art {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.game-visual:hover .game-art {
    transform: scale(1.05);
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.about-card {
    background: var(--color-surface);
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-secondary);
}

.about-card h4 {
    color: var(--color-secondary);
    margin-bottom: var(--spacing-xs);
    font-size: 1.2rem;
}

/* Contact */
.content-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-center p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    color: #bbb;
}

/* Footer */
footer {
    padding: var(--spacing-md) 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: var(--spacing-lg);
    color: #666;
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .game-showcase {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .hero h1 {
        font-size: 3rem;
    }

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

    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: var(--color-surface);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        padding-top: var(--spacing-lg);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .nav-links li {
        opacity: 0;
    }

    .hamburger {
        display: block;
    }
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--color-text);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Toggle Animation */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}