/* ==========================================================================
   LOCAL FONT DECLARATIONS (Self-Hosted)
   ========================================================================== */

/* Orbitron Fonts */
@font-face {
    font-family: 'Orbitron';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('WebpageAssets/fonts/orbitron-v35-latin-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Orbitron';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('WebpageAssets/fonts/orbitron-v35-latin-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Orbitron';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('WebpageAssets/fonts/orbitron-v35-latin-800.woff2') format('woff2');
}

@font-face {
    font-family: 'Orbitron';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('WebpageAssets/fonts/orbitron-v35-latin-900.woff2') format('woff2');
}

/* Rajdhani Fonts */
@font-face {
    font-family: 'Rajdhani';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('WebpageAssets/fonts/rajdhani-v17-latin-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Rajdhani';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('WebpageAssets/fonts/rajdhani-v17-latin-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Rajdhani';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('WebpageAssets/fonts/rajdhani-v17-latin-700.woff2') format('woff2');
}


/* ==========================================================================
   MAIN SITE STYLES
   ========================================================================== */

:root {
    --bg-color: #010101;
    --text-color: #f3f4f6;
    --logo-burnt-red: #b31b1b;
    --alien-neon-green: #39ff14;
    --muted-color: #9ca3af;
    --card-bg: rgba(10, 10, 10, 0.75);
    --card-border: rgba(57, 255, 20, 0.15);
}

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

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(20px, 5vw, 40px) 20px;
    position: relative;
    overflow-x: hidden;
    width: 100%;
}

body::before {
    content: '';
    position: absolute;
    width: min(700px, 100vw);
    height: min(700px, 100vw);
    background: radial-gradient(
        circle,
        rgba(179, 27, 27, 0.03) 0%,
        rgba(0, 0, 0, 0) 70%
    );
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.container {
    max-width: 650px;
    width: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ==========================================================================
   SUBPAGE RETURN NAVIGATION (Unobtrusive Top Link)
   ========================================================================== */

.subpage-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.nav-back-link {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--logo-burnt-red);
    text-decoration: none;
    padding: 6px 14px;
    border: 1px solid rgba(179, 27, 27, 0.3);
    border-radius: 4px;
    background-color: rgba(10, 10, 10, 0.6);
    text-shadow: 0 0 10px rgba(179, 27, 27, 0.2);
    transition: all 0.25s ease-in-out;
}

.nav-back-link:hover,
.nav-back-link:focus-visible {
    color: #ff3b3b;
    border-color: var(--logo-burnt-red);
    box-shadow: 0 0 12px rgba(179, 27, 27, 0.35);
    text-shadow:
    0 0 6px rgba(255, 59, 59, 0.9),
    0 0 15px rgba(179, 27, 27, 0.8);
    transform: translateY(-1px);
}

.logo-image {
    max-width: 420px;
    width: 100%;
    height: auto;
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

.studio-intro {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: #d1d5db;
    line-height: 1.6;
    font-weight: 500;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.section-header {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--logo-burnt-red);
    margin-bottom: 1.5rem;
    width: 100%;
    text-align: center;
    text-shadow: 0 0 10px rgba(179, 27, 27, 0.2);
}


/* ==========================================================================
   TERMINAL EVACUATION CONTENT CARD
   ========================================================================== */

.content-card {
    container-type: inline-size;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: clamp(20px, 5cqw, 32px);
    width: 100%;
    text-align: left;
    backdrop-filter: blur(6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.9);
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 1.25rem;
    width: 100%;
}

.game-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.3rem, 4vw, 1.6rem);
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--alien-neon-green);
    text-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
}

.content-card p {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: #e5e7eb;
    line-height: 1.6;
    font-weight: 500;
}

.badge {
    font-family: 'Orbitron', sans-serif;
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(57, 255, 20, 0.03);
    border: 1px solid rgba(57, 255, 20, 0.3);
    color: var(--alien-neon-green);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: 4px;
    animation: heavyGlowPulse 3s infinite ease-in-out;
    white-space: nowrap;
}


/* ==========================================================================
   ACTIVE DEVELOPMENT BADGE ANIMATION
   ========================================================================== */

@keyframes heavyGlowPulse {
    0% {
        opacity: 0.6;
        border-color: rgba(57, 255, 20, 0.25);
        box-shadow: 0 0 4px rgba(57, 255, 20, 0.1);
        text-shadow: 0 0 4px rgba(57, 255, 20, 0.2);
    }

    50% {
        opacity: 1;
        border-color: rgba(57, 255, 20, 0.8);
        box-shadow:
            0 0 16px rgba(57, 255, 20, 0.4),
            inset 0 0 6px rgba(57, 255, 20, 0.2);
        text-shadow:
            0 0 12px rgba(57, 255, 20, 0.8),
            0 0 4px rgba(255, 255, 255, 0.5);
    }

    100% {
        opacity: 0.6;
        border-color: rgba(57, 255, 20, 0.25);
        box-shadow: 0 0 4px rgba(57, 255, 20, 0.1);
        text-shadow: 0 0 4px rgba(57, 255, 20, 0.2);
    }
}


/* ==========================================================================
   STUDIO CONTACT LINK AND FOOTER
   ========================================================================== */

.contact-container {
    margin-top: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.contact-link {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    color: var(--logo-burnt-red);
    font-size: 1.1rem;
    text-decoration: none;
    letter-spacing: 0.06em;
    text-shadow: 0 0 10px rgba(179, 27, 27, 0.1);
    transition: all 0.3s ease-in-out;
}

.contact-link:hover {
    color: #ff3b3b;
    text-shadow: 0 0 15px rgba(179, 27, 27, 0.8);
    transform: translateY(-1px);
}

.studio-location {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.8rem;
    color: #4b5563;
    letter-spacing: 0.05em;
    text-align: center;
    margin-bottom: 0.25rem;
}

footer {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: #4b5563;
    letter-spacing: 0.05em;
    width: 100%;
    text-align: center;
}


/* ==========================================================================
   MOBILE TERMINAL EVACUATION CARD LAYOUT

   On phone-sized screens, the game title and development badge form a
   centered vertical stack. The game-description paragraph remains
   left-aligned for readability.
   ========================================================================== */

@media (max-width: 600px) {
    .card-header-row {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
    }

    .game-title {
        width: 100%;
        text-align: center;
        line-height: 1.2;
    }

    .badge {
        align-self: center;
    }
}
