/* ============================================
   Urban Sprawl - Game Landing Page Styles
   ============================================ */

:root {
    /* Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --bg-card: #15151f;

    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #606070;

    --accent-primary: #00d4ff;
    --accent-secondary: #7c3aed;
    --accent-gradient: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);

    /* Retro colors */
    --retro-amber: #ffb000;
    --retro-green: #33ff33;
    --retro-cyan: #00ffff;

    --success: #22c55e;
    --warning: #f59e0b;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;

    /* Typography */
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-retro: 'VT323', monospace;

    /* Effects */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
    --shadow-retro: 0 0 10px rgba(255, 176, 0, 0.4);

    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* ============================================
   Base Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

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

/* Subtle scanline overlay for retro CRT effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 9999;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
}

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

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--text-primary);
}

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

/* ============================================
   Navigation
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-sm) var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 1.5rem;
    font-family: var(--font-retro);
    color: var(--retro-amber);
    text-shadow: 0 0 8px rgba(255, 176, 0, 0.6);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.nav-cta {
    background: var(--accent-gradient);
    padding: var(--space-xs) var(--space-md);
    border-radius: 6px;
    color: var(--text-primary) !important;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: var(--space-2xl) var(--space-md);
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 40%),
        var(--bg-primary);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 12vw, 7rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.title-line {
    display: block;
}

.title-line.accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: var(--space-lg);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-icon {
    font-family: var(--font-retro);
    font-size: 1.2rem;
    color: var(--retro-amber);
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--text-primary);
    box-shadow: var(--shadow-glow);
}

.btn-primary .btn-icon {
    color: inherit;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    background: rgba(0, 212, 255, 0.1);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   Section Styles
   ============================================ */

section {
    padding: var(--space-2xl) 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
}

/* ============================================
   Features Section
   ============================================ */

.features {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.feature-card {
    background: var(--bg-card);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 176, 0, 0.4);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(255, 176, 0, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.feature-icon.retro-icon {
    font-family: var(--font-retro);
    font-size: 2rem;
    color: var(--retro-amber);
    text-shadow: 0 0 10px rgba(255, 176, 0, 0.5);
    letter-spacing: 0.1em;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ============================================
   Gallery Section
   ============================================ */

.gallery {
    background: var(--bg-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: var(--space-md);
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--bg-tertiary);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-sm);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    font-size: 0.875rem;
    color: var(--text-secondary);
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* ============================================
   Tech Specs Section
   ============================================ */

.tech-specs {
    background: var(--bg-secondary);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.tech-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.tech-icon {
    font-size: 1.5rem;
}

.tech-icon.retro-icon {
    font-family: var(--font-retro);
    font-size: 1.5rem;
    color: var(--retro-cyan);
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

.tech-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tech-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ============================================
   Architecture Section
   ============================================ */

.architecture {
    background: var(--bg-primary);
}

.architecture-content {
    max-width: 900px;
    margin: 0 auto;
}

.arch-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.arch-column {
    background: var(--bg-card);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.arch-column.traditional {
    border-color: rgba(255, 100, 100, 0.2);
}

.arch-column.modern {
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
}

.arch-column h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
    text-align: center;
}

.arch-column.traditional h3 {
    color: var(--text-muted);
}

.arch-column.modern h3 {
    color: var(--accent-primary);
}

.arch-column ul {
    list-style: none;
}

.arch-column li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.arch-icon {
    font-family: var(--font-retro);
    font-size: 0.9rem;
    min-width: 50px;
}

.arch-column.traditional .arch-icon {
    color: var(--text-muted);
}

.arch-column.modern .arch-icon {
    color: var(--retro-cyan);
    text-shadow: 0 0 6px rgba(0, 255, 255, 0.4);
}

.arch-detail {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: var(--space-md);
}

.arch-detail h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
    color: var(--retro-amber);
}

.arch-detail p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.arch-detail strong {
    color: var(--text-primary);
}

/* ============================================
   Endgame Vision Section
   ============================================ */

.endgame {
    background: var(--bg-secondary);
}

.endgame-content {
    max-width: 900px;
    margin: 0 auto;
}

.endgame-intro {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.endgame-intro p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.megastructure-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.mega-card {
    background: var(--bg-card);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    border: 2px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.mega-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.mega-card.residential {
    border-color: rgba(255, 176, 0, 0.3);
}

.mega-card.residential:hover {
    box-shadow: 0 0 30px rgba(255, 176, 0, 0.2);
}

.mega-card.industrial {
    border-color: rgba(124, 58, 237, 0.3);
}

.mega-card.industrial:hover {
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.2);
}

.mega-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
}

.mega-card.residential h3 {
    color: var(--retro-amber);
}

.mega-card.industrial h3 {
    color: var(--accent-secondary);
}

.mega-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    font-style: italic;
}

.mega-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-retro);
    font-size: 1rem;
}

.mega-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mega-table tr:last-child {
    border-bottom: none;
}

.mega-table td {
    padding: var(--space-xs) 0;
    color: var(--text-secondary);
}

.mega-table td:first-child {
    color: var(--retro-green);
    text-shadow: 0 0 6px rgba(51, 255, 51, 0.3);
}

.mega-table td:last-child {
    text-align: right;
    color: var(--retro-cyan);
    text-shadow: 0 0 6px rgba(0, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .arch-comparison {
        grid-template-columns: 1fr;
    }

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

/* ============================================
   Roadmap Section
   ============================================ */

.roadmap {
    background: var(--bg-primary);
}

.roadmap-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding-left: var(--space-xl);
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.roadmap-item {
    position: relative;
    padding-bottom: var(--space-xl);
}

.roadmap-marker {
    position: absolute;
    left: calc(-1 * var(--space-xl) + 1px);
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.roadmap-item.completed .roadmap-marker {
    background: var(--success);
    border-color: var(--success);
}

.roadmap-item.current .roadmap-marker {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
}

.roadmap-content {
    background: var(--bg-card);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.roadmap-item.current .roadmap-content {
    border-color: rgba(0, 212, 255, 0.3);
}

.roadmap-version {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.roadmap-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.roadmap-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
}

.roadmap-status {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-retro);
}

.roadmap-item.completed .roadmap-status {
    color: var(--retro-green);
    text-shadow: 0 0 6px rgba(51, 255, 51, 0.4);
}

.roadmap-item.current .roadmap-status {
    color: var(--retro-amber);
    text-shadow: 0 0 6px rgba(255, 176, 0, 0.4);
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-bottom: var(--space-sm);
    overflow: hidden;
    border: 1px solid rgba(255, 176, 0, 0.3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--retro-amber) 0%, var(--retro-green) 100%);
    border-radius: 1px;
    transition: width 1s ease;
    box-shadow: 0 0 8px rgba(255, 176, 0, 0.5);
}

/* ============================================
   Download Section
   ============================================ */

.download {
    background: var(--bg-secondary);
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.download-card {
    background: var(--bg-card);
    padding: var(--space-xl) var(--space-lg);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.download-icon {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.download-icon.platform-icon {
    font-family: var(--font-retro);
    font-size: 2rem;
    color: var(--retro-green);
    text-shadow: 0 0 10px rgba(51, 255, 51, 0.5);
    background: rgba(51, 255, 51, 0.1);
    border: 1px solid rgba(51, 255, 51, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    letter-spacing: 0.15em;
}

.coming-soon-banner {
    font-family: var(--font-retro);
    font-size: 1.5rem;
    color: var(--retro-amber);
    text-shadow: 0 0 15px rgba(255, 176, 0, 0.6);
    text-align: center;
    padding: var(--space-md);
    margin-bottom: var(--space-xl);
    border: 2px solid var(--retro-amber);
    border-radius: 4px;
    background: rgba(255, 176, 0, 0.05);
    letter-spacing: 0.2em;
}

.blink {
    animation: blink-animation 1s steps(2, start) infinite;
}

@keyframes blink-animation {
    to {
        visibility: hidden;
    }
}

.soon-label {
    font-family: var(--font-retro);
    font-size: 1rem;
    letter-spacing: 0.1em;
}

.download-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.download-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}

.btn-download {
    width: 100%;
    justify-content: center;
    background: var(--accent-gradient);
    color: var(--text-primary);
}

.btn-download.disabled {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    cursor: not-allowed;
}

.system-requirements {
    background: var(--bg-card);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
}

.system-requirements h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-sm);
}

.requirement {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.requirement strong {
    color: var(--text-primary);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--bg-tertiary);
    padding: var(--space-xl) 0 var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-brand .logo-icon {
    font-size: 2rem;
    font-family: var(--font-retro);
    color: var(--retro-amber);
    text-shadow: 0 0 8px rgba(255, 176, 0, 0.6);
}

.footer-brand .logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--space-xs);
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Would need a hamburger menu for mobile */
    }

    .hero-stats {
        gap: var(--space-lg);
    }

    .stat-value {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }
}

/* ============================================
   Changelog Terminal Modal
   ============================================ */

.terminal-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    padding: var(--space-md);
}

.terminal-modal.active {
    display: flex;
}

.terminal-window {
    background: #0d0d0d;
    border: 2px solid var(--retro-amber);
    border-radius: 8px;
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow:
        0 0 30px rgba(255, 176, 0, 0.3),
        inset 0 0 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.terminal-header {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    border-bottom: 1px solid rgba(255, 176, 0, 0.3);
}

.terminal-buttons {
    display: flex;
    gap: 6px;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-btn.red { background: #ff5f56; }
.terminal-btn.yellow { background: #ffbd2e; }
.terminal-btn.green { background: #27ca40; }

.terminal-title {
    flex: 1;
    text-align: center;
    font-family: var(--font-retro);
    font-size: 1rem;
    color: var(--retro-amber);
    text-shadow: 0 0 8px rgba(255, 176, 0, 0.5);
    letter-spacing: 0.1em;
}

.terminal-close {
    background: none;
    border: 1px solid rgba(255, 176, 0, 0.5);
    color: var(--retro-amber);
    font-family: var(--font-retro);
    font-size: 1rem;
    padding: 2px 8px;
    cursor: pointer;
    transition: var(--transition);
}

.terminal-close:hover {
    background: var(--retro-amber);
    color: #000;
}

.terminal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 0, 0.03) 2px,
            rgba(0, 255, 0, 0.03) 4px
        ),
        #0a0a0a;
}

.terminal-content {
    position: relative;
}

.changelog-text {
    font-family: var(--font-retro);
    font-size: 0.95rem;
    line-height: 1.4;
    color: #888;
    white-space: pre;
    margin: 0;
}

/* Terminal text colors */
.term-amber { color: var(--retro-amber); text-shadow: 0 0 6px rgba(255, 176, 0, 0.4); }
.term-green { color: var(--retro-green); text-shadow: 0 0 6px rgba(51, 255, 51, 0.4); }
.term-cyan { color: var(--retro-cyan); text-shadow: 0 0 6px rgba(0, 255, 255, 0.3); }
.term-yellow { color: #ffff00; text-shadow: 0 0 6px rgba(255, 255, 0, 0.4); }
.term-white { color: #ffffff; }
.term-red { color: #ff4444; text-shadow: 0 0 6px rgba(255, 68, 68, 0.4); }

/* Scrollbar styling for terminal */
.terminal-body::-webkit-scrollbar {
    width: 12px;
}

.terminal-body::-webkit-scrollbar-track {
    background: #0a0a0a;
    border-left: 1px solid rgba(255, 176, 0, 0.2);
}

.terminal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 176, 0, 0.3);
    border: 2px solid #0a0a0a;
}

.terminal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 176, 0, 0.5);
}

/* Nav changelog link styling */
.changelog-link {
    font-family: var(--font-retro) !important;
    color: var(--retro-amber) !important;
    text-shadow: 0 0 6px rgba(255, 176, 0, 0.4);
}

.changelog-link:hover {
    color: var(--retro-green) !important;
    text-shadow: 0 0 8px rgba(51, 255, 51, 0.5);
}

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

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

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

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

    .gallery-item.large {
        grid-column: span 1;
    }
}
