:root {
    --color-bg-dark: #07101b;
    --color-primary: #56e4d8;
    --color-primary-glow: rgba(86, 228, 216, 0.4);
    --color-secondary: #47aceb;
    --color-text: #ffffff;
    --color-text-muted: #9a9fa4;
    --color-glass: rgba(12, 22, 33, 0.55);
    --color-glass-border: rgba(122, 233, 224, 0.08);
    --color-glass-hover: rgba(14, 25, 37, 0.7);
    --font-main: 'Outfit', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: #07101b;
}

body {
    font-family: var(--font-main);
    background-color: transparent;
    color: var(--color-text);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-red {
    color: var(--color-primary) !important; /* Neon Mars Red #56e4d8 */
}

.text-light {
    color: #ffffff !important; /* Pure Stellar White */
}

.text-orange {
    color: var(--color-secondary) !important; /* Solar Orange #47aceb */
}

/* Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Sticky Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(7, 16, 27, 0.4);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(122, 233, 224, 0.05);
    transition: var(--transition-smooth);
}

.header-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0.45rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
    flex-shrink: 0;
}

.brand-logo {
    max-height: 52px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.02);
}

.fallback-logo-text {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-item, .nav-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    white-space: nowrap;
}

.nav-item:hover, .nav-link:hover,
.nav-item.active, .nav-link.active {
    color: var(--color-text);
}

.nav-item::after, .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-smooth);
}

.nav-item:hover::after, .nav-link:hover::after,
.nav-item.active::after, .nav-link.active::after {
    width: 100%;
}

.cyber-dropdown-menu a::after {
    display: none !important;
}

/* Sci-Fi Cockpit HUD Controls Group */
.nav-hud-group {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 3px 6px;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    flex-shrink: 0;
}

.nav-hud-group .cmd-palette-trigger,
.nav-hud-group .desktop-sfx-btn,
.nav-hud-group .xenotech-btn {
    border: 1px solid transparent;
    background: transparent;
    padding: 0.36rem 0.65rem;
    font-size: 0.74rem;
}

.nav-hud-group .cmd-palette-trigger:hover {
    background: rgba(86, 228, 216, 0.18);
    border-color: rgba(86, 228, 216, 0.4);
    color: #ffffff;
}

.nav-hud-group .desktop-sfx-btn:hover {
    background: rgba(0, 243, 255, 0.15);
    border-color: rgba(0, 243, 255, 0.4);
}

.nav-hud-group .xenotech-btn:hover,
.nav-hud-group .xenotech-btn.active {
    background: rgba(0, 243, 255, 0.22) !important;
    border-color: #00f3ff !important;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-glass-border);
    color: var(--color-text);
    text-decoration: none;
    padding: 0.55rem 1.15rem;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 0 15px var(--color-primary-glow);
    transform: translateY(-1px);
}

/* Main Container */
.container {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 7rem 2rem 3rem 2rem; /* padding-top accounts for fixed header */
    display: flex;
    flex-direction: column;
    gap: 6rem;
    box-sizing: border-box;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--color-glass);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid var(--color-glass-border);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(8, 15, 22, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    transition: var(--transition-smooth);
    animation: pulse-glow 6s infinite ease-in-out;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 20px 50px rgba(8, 15, 22, 0.4), 0 0 15px rgba(86, 228, 216, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
        border-color: var(--color-glass-border);
    }
    50% {
        box-shadow: 0 20px 60px rgba(8, 15, 22, 0.5), 0 0 30px rgba(86, 228, 216, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
        border-color: rgba(122, 233, 224, 0.18);
    }
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 1rem 1rem 1rem;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
}

.title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
}

.title span {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--color-text-muted);
    font-weight: 300;
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    margin-top: 1rem;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), #33beb2);
    color: white;
    border: none;
    border-radius: 40px;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--color-primary-glow);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

/* Section Title */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-primary);
    margin: 0.75rem auto 0 auto;
    border-radius: 2px;
}

/* Portfolio Section */
.portfolio-section {
    width: 100%;
    box-sizing: border-box;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem;
    width: 100%;
    box-sizing: border-box;
}

.portfolio-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-align: left;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    transition: var(--transition-smooth);
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(86, 228, 216, 0.08), 0 20px 40px rgba(8, 15, 22, 0.5);
    border-color: rgba(122, 233, 224, 0.15);
}

.card-status {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 10;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.status-launched {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.status-upcoming {
    background: rgba(71, 172, 235, 0.15);
    color: var(--color-secondary);
    border: 1px solid rgba(71, 172, 235, 0.3);
}

.card-image-wrapper {
    width: 100%;
    aspect-ratio: 1024 / 500;
    height: auto;
    overflow: hidden;
    border-bottom: 1px solid var(--color-glass-border);
    position: relative;
    background: #0d0b14;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .card-image {
    transform: scale(1.05);
}

.card-content {
    padding: clamp(1.6rem, 2.4vw, 2.5rem);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    box-sizing: border-box;
}

.card-title {
    font-size: clamp(1.5rem, 2.2vw, 2.05rem);
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.25;
}

.card-description {
    color: var(--color-text-muted);
    font-size: clamp(0.95rem, 1.15vw, 1.05rem);
    line-height: 1.58;
    margin-bottom: 1.75rem;
    font-weight: 300;
    flex-grow: 1;
}

.card-cta {
    align-self: flex-start;
}

/* Card Theme Helpers */
.card-holiday-paths {
    border-color: rgba(61, 155, 213, 0.4);
    box-shadow: 0 15px 35px rgba(8, 15, 22, 0.6), 0 0 25px rgba(61, 155, 213, 0.2);
}
.status-holiday-paths {
    background: rgba(61, 155, 213, 0.2);
    border: 1px solid rgba(61, 155, 213, 0.45);
    color: #47aceb;
}
.cta-holiday-paths {
    background: linear-gradient(135deg, #3d9bd5, #1f6a99) !important;
}
.card-family-recipe {
    border-color: rgba(34, 150, 222, 0.4);
    box-shadow: 0 15px 35px rgba(8, 15, 22, 0.6), 0 0 25px rgba(34, 150, 222, 0.2);
}
.status-thanksgiving {
    background: rgba(34, 150, 222, 0.2);
    border: 1px solid rgba(34, 150, 222, 0.45);
    color: #fbbf24;
}
.cta-thanksgiving {
    background: linear-gradient(135deg, #1b83c4, #1b5c85) !important;
    border-color: rgba(251, 191, 36, 0.5) !important;
}
.border-thanksgiving {
    border-color: rgba(34, 150, 222, 0.4) !important;
}
.text-amber {
    color: #fbbf24 !important;
}
.card-holiday-anthology {
    border-color: rgba(61, 155, 213, 0.5);
    box-shadow: 0 15px 35px rgba(8, 15, 22, 0.6), 0 0 30px rgba(61, 155, 213, 0.25);
}
.status-anthology {
    background: rgba(61, 155, 213, 0.25);
    border: 1px solid rgba(61, 155, 213, 0.5);
    color: #5fb7ed;
}
.card-winterfell-lodge {
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 15px 35px rgba(8, 15, 22, 0.6), 0 0 25px rgba(56, 189, 248, 0.2);
}
.status-winterfell {
    background: rgba(56, 189, 248, 0.2);
    border: 1px solid rgba(56, 189, 248, 0.45);
    color: #38bdf8;
}
.cta-winterfell {
    background: linear-gradient(135deg, #0284c7, #0369a1) !important;
    border-color: rgba(56, 189, 248, 0.5) !important;
}
.border-winterfell {
    border-color: rgba(56, 189, 248, 0.4) !important;
}
.text-sky {
    color: #38bdf8 !important;
}
.card-header-flex {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.card-app-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
}
.m-0 {
    margin: 0 !important;
}
.border-holiday-paths {
    border-color: rgba(61, 155, 213, 0.4) !important;
}
.btn-nav-holiday {
    background: linear-gradient(135deg, #3d9bd5, #1f6a99) !important;
}
.badge-holiday-launch {
    background: rgba(61, 155, 213, 0.15) !important;
    border-color: rgba(61, 155, 213, 0.4) !important;
    color: #47aceb !important;
}
.btn-launch-orange {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: linear-gradient(135deg, #3d9bd5, #1f6a99) !important;
    color: #ffffff !important;
    padding: 12px 24px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 18px rgba(61, 155, 213, 0.35) !important;
}
.badge-dot-orange {
    background: #3d9bd5 !important;
    box-shadow: 0 0 10px #47aceb !important;
}
.text-holiday-orange {
    color: #3d9bd5 !important;
}

.card-action-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: stretch;
    margin-top: auto;
    width: 100%;
}

.card-action-group .btn-primary,
.card-action-group .btn-secondary {
    flex: 1 1 calc(50% - 0.375rem);
    min-width: 140px;
    text-align: center;
    padding: 0.9rem 1rem;
    box-sizing: border-box;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}

.sfx-teaser-btn {
    cursor: pointer;
    border-color: rgba(59, 166, 233, 0.35);
    transition: all 0.25s ease;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
}

.sfx-teaser-btn:hover {
    border-color: rgba(59, 166, 233, 0.75);
    box-shadow: 0 0 16px rgba(59, 166, 233, 0.3);
    transform: translateY(-2px);
}

.sfx-teaser-btn.is-playing {
    border-color: #00f0ff !important;
    background: rgba(0, 240, 255, 0.14) !important;
    color: #00f0ff !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.45) !important;
    animation: teaser-glow-pulse 1.2s infinite alternate ease-in-out;
}

@keyframes teaser-glow-pulse {
    0% {
        box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
        border-color: rgba(0, 240, 255, 0.6);
    }
    100% {
        box-shadow: 0 0 24px rgba(0, 240, 255, 0.65);
        border-color: #00f0ff;
    }
}

.teaser-equalizer {
    display: inline-flex;
    align-items: flex-end;
    gap: 2.5px;
    height: 12px;
    margin-right: 7px;
    vertical-align: middle;
}

.teaser-equalizer .eq-bar {
    width: 2.5px;
    background: #00f0ff;
    border-radius: 1px;
    animation: eq-pulse 0.6s infinite alternate ease-in-out;
}

.teaser-equalizer .eq-bar:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.teaser-equalizer .eq-bar:nth-child(2) { height: 100%; animation-delay: 0.25s; }
.teaser-equalizer .eq-bar:nth-child(3) { height: 60%; animation-delay: 0.4s; }

@keyframes eq-pulse {
    0% { height: 25%; }
    100% { height: 100%; }
}

/* Countdown Timer layout */
.countdown-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(8, 15, 22, 0.2);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    max-width: 420px;
}

.countdown-wrapper .time-block {
    position: relative;
    width: 75px;
    height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.countdown-wrapper .time-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-wrapper .time-block .number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.1;
}

.countdown-wrapper .time-block .label {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
    margin-top: 0.1rem;
    font-weight: 600;
}

.countdown-wrapper .colon {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-top: -0.8rem;
}

.countdown-wrapper .progress-ring {
    width: 100%;
    height: 100%;
}

/* Our Philosophy Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 3rem 2rem;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(122, 233, 224, 0.15);
    background: var(--color-glass-hover);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.icon-glow {
    filter: drop-shadow(0 0 10px var(--color-primary-glow));
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
}

/* Subscribe Section */
.subscribe-section {
    padding: 3.5rem 3rem;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.subscribe-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.subscribe-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.5;
}

.form-wrapper {
    width: 100%;
}

.input-group {
    display: flex;
    background: rgba(8, 15, 22, 0.4);
    border: 1px solid var(--color-glass-border);
    border-radius: 50px;
    padding: 0.4rem;
    transition: var(--transition-smooth);
}

.input-group:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 15px var(--color-primary-glow);
}

input[type="email"] {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.8rem 1.5rem;
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
    border-radius: 50px;
}

input[type="email"]:-webkit-autofill,
input[type="email"]:-webkit-autofill:hover, 
input[type="email"]:-webkit-autofill:focus, 
input[type="email"]:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: var(--color-text) !important;
}

input[type="email"]::placeholder {
    color: #666666;
}

#form-message {
    margin-top: 1rem;
    font-size: 0.95rem;
    font-weight: 400;
}

.hidden {
    display: none;
}

.contact-text {
    margin-top: 1.8rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.contact-text a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.contact-text a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Social Media Section */
.social-section {
    text-align: center;
    width: 100%;
}

.social-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    font-weight: 300;
    margin-top: -1.8rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.25rem 1.4rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 20px;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    transform: skewX(-20deg);
    transition: left 0.75s ease;
}

.social-card:hover::before {
    left: 140%;
}

.social-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.social-svg {
    transition: var(--transition-smooth);
}

.social-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex-grow: 1;
}

.social-platform {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
    transition: var(--transition-smooth);
}

.social-handle {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 400;
    margin-top: 0.15rem;
    transition: var(--transition-smooth);
}

.social-arrow {
    color: rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.social-card:hover .social-arrow {
    color: var(--color-text);
    transform: translateX(4px);
}

.social-card:hover {
    transform: translateY(-5px);
}

/* YouTube Custom Glow */
.social-youtube:hover {
    border-color: rgba(86, 228, 216, 0.4);
    box-shadow: 0 15px 35px rgba(86, 228, 216, 0.2), 0 0 25px rgba(86, 228, 216, 0.15);
}
.social-youtube:hover .social-icon-wrapper {
    background: rgba(36, 219, 204, 0.12);
    border-color: rgba(36, 219, 204, 0.4);
    color: #56e4d8;
    box-shadow: 0 0 15px rgba(36, 219, 204, 0.3);
}

/* LinkedIn Custom Glow */
.social-linkedin:hover {
    border-color: rgba(10, 102, 194, 0.4);
    box-shadow: 0 15px 35px rgba(10, 102, 194, 0.25), 0 0 25px rgba(86, 228, 216, 0.1);
}
.social-linkedin:hover .social-icon-wrapper {
    background: rgba(10, 102, 194, 0.15);
    border-color: rgba(10, 102, 194, 0.5);
    color: #0088ff;
    box-shadow: 0 0 15px rgba(10, 102, 194, 0.4);
}

/* X (Twitter) Custom Glow */
.social-x:hover {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.15), 0 0 25px rgba(86, 228, 216, 0.1);
}
.social-x:hover .social-icon-wrapper {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Instagram Custom Glow */
.social-instagram:hover {
    border-color: rgba(73, 200, 190, 0.4);
    box-shadow: 0 15px 35px rgba(73, 200, 190, 0.25), 0 0 25px rgba(86, 228, 216, 0.1);
}
.social-instagram:hover .social-icon-wrapper {
    background: linear-gradient(135deg, rgba(70, 163, 221, 0.2), rgba(73, 200, 190, 0.2));
    border-color: rgba(73, 200, 190, 0.5);
    color: #46a3dd;
    box-shadow: 0 0 15px rgba(73, 200, 190, 0.35);
}

/* Facebook Custom Glow */
.social-facebook:hover {
    border-color: rgba(24, 119, 242, 0.4);
    box-shadow: 0 15px 35px rgba(24, 119, 242, 0.25), 0 0 25px rgba(86, 228, 216, 0.1);
}
.social-facebook:hover .social-icon-wrapper {
    background: rgba(24, 119, 242, 0.15);
    border-color: rgba(24, 119, 242, 0.5);
    color: #1877f2;
    box-shadow: 0 0 15px rgba(24, 119, 242, 0.4);
}

/* Pinterest Custom Glow */
.social-pinterest:hover {
    border-color: rgba(32, 198, 184, 0.45);
    box-shadow: 0 15px 35px rgba(32, 198, 184, 0.25), 0 0 25px rgba(86, 228, 216, 0.15);
}
.social-pinterest:hover .social-icon-wrapper {
    background: rgba(32, 198, 184, 0.15);
    border-color: rgba(32, 198, 184, 0.5);
    color: #20c6b8;
    box-shadow: 0 0 15px rgba(32, 198, 184, 0.4);
}

/* Reddit Custom Glow */
.social-reddit:hover {
    border-color: rgba(36, 219, 204, 0.4);
    box-shadow: 0 15px 35px rgba(36, 219, 204, 0.25), 0 0 25px rgba(86, 228, 216, 0.1);
}
.social-reddit:hover .social-icon-wrapper {
    background: rgba(36, 219, 204, 0.15);
    border-color: rgba(36, 219, 204, 0.5);
    color: #24dbcc;
    box-shadow: 0 0 15px rgba(36, 219, 204, 0.4);
}

/* Discord Custom Glow */
.social-discord:hover {
    border-color: rgba(88, 101, 242, 0.4);
    box-shadow: 0 15px 35px rgba(88, 101, 242, 0.25), 0 0 25px rgba(86, 228, 216, 0.1);
}
.social-discord:hover .social-icon-wrapper {
    background: rgba(88, 101, 242, 0.15);
    border-color: rgba(88, 101, 242, 0.5);
    color: #5865f2;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.4);
}

/* Threads Custom Glow */
.social-threads:hover {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.15), 0 0 25px rgba(86, 228, 216, 0.1);
}
.social-threads:hover .social-icon-wrapper {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.35);
}

/* Bluesky Custom Glow */
.social-bluesky:hover {
    border-color: rgba(0, 133, 255, 0.45);
    box-shadow: 0 15px 35px rgba(0, 133, 255, 0.25), 0 0 25px rgba(86, 228, 216, 0.1);
}
.social-bluesky:hover .social-icon-wrapper {
    background: rgba(0, 133, 255, 0.15);
    border-color: rgba(0, 133, 255, 0.5);
    color: #0085ff;
    box-shadow: 0 0 15px rgba(0, 133, 255, 0.4);
}

/* TikTok Custom Glow */
.social-tiktok:hover {
    border-color: rgba(0, 242, 254, 0.4);
    box-shadow: 0 15px 35px rgba(73, 225, 212, 0.2), 0 0 25px rgba(0, 242, 254, 0.15);
}
.social-tiktok:hover .social-icon-wrapper {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(73, 225, 212, 0.15));
    border-color: rgba(0, 242, 254, 0.5);
    color: #00f2fe;
    box-shadow: 0 0 15px rgba(73, 225, 212, 0.4);
}

/* itch.io Custom Glow */
.social-itchio:hover {
    border-color: rgba(114, 228, 218, 0.45);
    box-shadow: 0 15px 35px rgba(114, 228, 218, 0.25), 0 0 25px rgba(86, 228, 216, 0.1);
}
.social-itchio:hover .social-icon-wrapper {
    background: rgba(114, 228, 218, 0.15);
    border-color: rgba(114, 228, 218, 0.5);
    color: #72e4da;
    box-shadow: 0 0 15px rgba(114, 228, 218, 0.4);
}

/* Game Jolt Custom Glow */
.social-gamejolt:hover {
    border-color: rgba(204, 255, 0, 0.4);
    box-shadow: 0 15px 35px rgba(204, 255, 0, 0.2), 0 0 25px rgba(86, 228, 216, 0.1);
}
.social-gamejolt:hover .social-icon-wrapper {
    background: rgba(204, 255, 0, 0.12);
    border-color: rgba(204, 255, 0, 0.5);
    color: #ccff00;
    box-shadow: 0 0 15px rgba(204, 255, 0, 0.35);
}

/* IFDB Custom Glow */
.social-ifdb:hover {
    border-color: rgba(255, 179, 0, 0.45);
    box-shadow: 0 15px 35px rgba(255, 179, 0, 0.25), 0 0 25px rgba(86, 228, 216, 0.1);
}
.social-ifdb:hover .social-icon-wrapper {
    background: rgba(255, 179, 0, 0.15);
    border-color: rgba(255, 179, 0, 0.5);
    color: #ffb300;
    box-shadow: 0 0 15px rgba(255, 179, 0, 0.4);
}

/* Footer */
/* Master Sci-Fi Cyberpunk Footer System */
.footer {
    width: 100%;
    padding: 3.5rem 2rem 2rem 2rem;
    border-top: 1px solid rgba(86, 228, 216, 0.25);
    background: linear-gradient(180deg, rgba(7, 17, 29, 0.88) 0%, rgba(4, 1, 3, 0.98) 100%);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 10;
    box-sizing: border-box;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 2.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-brand .brand-link {
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.footer-tagline {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    max-width: 290px;
    margin: 0;
}

.footer-node-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(86, 228, 216, 0.08);
    border: 1px solid rgba(86, 228, 216, 0.2);
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-family: monospace;
    color: #47aceb;
    width: fit-content;
    margin-top: 0.2rem;
}

.footer-nav-group {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-heading {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    font-family: var(--font-main);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.footer-heading::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--color-primary);
}

.footer-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-link:hover {
    color: #ffffff;
    transform: translateX(4px);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.footer-bottom {
    max-width: 1200px;
    margin: 2.5rem auto 0 auto;
    padding-top: 1.5rem;
    padding-right: 90px; /* Ample right clearance so floating back-to-top button never covers social icons */
    box-sizing: border-box;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.copyright {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin: 0;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem 1.2rem;
    font-size: 0.85rem;
}

.footer-legal-link {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-legal-link:hover {
    color: var(--color-primary);
}

.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.footer-social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-glass-border);
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-social-link:hover {
    transform: translateY(-3px);
}

.footer-social-link.link-youtube:hover {
    color: #56e4d8;
    border-color: rgba(36, 219, 204, 0.5);
    box-shadow: 0 0 15px rgba(36, 219, 204, 0.4);
    background: rgba(36, 219, 204, 0.1);
}

.footer-social-link.link-reddit:hover {
    color: #24dbcc;
    border-color: rgba(36, 219, 204, 0.5);
    box-shadow: 0 0 15px rgba(36, 219, 204, 0.4);
    background: rgba(36, 219, 204, 0.1);
}

.footer-social-link.link-discord:hover {
    color: #5865f2;
    border-color: rgba(88, 101, 242, 0.5);
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.4);
    background: rgba(88, 101, 242, 0.1);
}

.footer-social-link.link-linkedin:hover {
    color: #0088ff;
    border-color: rgba(10, 102, 194, 0.5);
    box-shadow: 0 0 15px rgba(10, 102, 194, 0.4);
    background: rgba(10, 102, 194, 0.1);
}

.footer-social-link.link-x:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
}

.footer-social-link.link-instagram:hover {
    color: #49c8be;
    border-color: rgba(73, 200, 190, 0.5);
    box-shadow: 0 0 15px rgba(73, 200, 190, 0.4);
    background: rgba(73, 200, 190, 0.1);
}

.footer-social-link.link-facebook:hover {
    color: #1877f2;
    border-color: rgba(24, 119, 242, 0.5);
    box-shadow: 0 0 15px rgba(24, 119, 242, 0.4);
    background: rgba(24, 119, 242, 0.1);
}

.footer-social-link.link-pinterest:hover {
    color: #20c6b8;
    border-color: rgba(32, 198, 184, 0.5);
    box-shadow: 0 0 15px rgba(32, 198, 184, 0.4);
    background: rgba(32, 198, 184, 0.1);
}

.footer-social-link.link-threads:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

.footer-social-link.link-bluesky:hover {
    color: #0085ff;
    border-color: rgba(0, 133, 255, 0.5);
    box-shadow: 0 0 15px rgba(0, 133, 255, 0.4);
    background: rgba(0, 133, 255, 0.12);
}

.footer-social-link.link-tiktok:hover {
    color: #00f2fe;
    border-color: rgba(0, 242, 254, 0.5);
    box-shadow: 0 0 15px rgba(73, 225, 212, 0.4);
    background: rgba(0, 242, 254, 0.1);
}

.footer-social-link.link-itchio:hover {
    color: #72e4da;
    border-color: rgba(114, 228, 218, 0.5);
    box-shadow: 0 0 15px rgba(114, 228, 218, 0.4);
    background: rgba(114, 228, 218, 0.12);
}

.footer-social-link.link-gamejolt:hover {
    color: #ccff00;
    border-color: rgba(204, 255, 0, 0.5);
    box-shadow: 0 0 15px rgba(204, 255, 0, 0.4);
    background: rgba(204, 255, 0, 0.12);
}

.footer-social-link.link-ifdb:hover {
    color: #ffb300;
    border-color: rgba(255, 179, 0, 0.5);
    box-shadow: 0 0 15px rgba(255, 179, 0, 0.4);
    background: rgba(255, 179, 0, 0.12);
}

/* Footer Responsive Layout */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .footer {
        padding: 2.5rem 1.25rem 1.5rem 1.25rem;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-right: 0;
        gap: 1.2rem;
    }
    .footer-social-icons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.65rem;
    }
}

/* 3D Digit Flip Animation */
.number.flipping {
    animation: flip-digit 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes flip-digit {
    0% {
        transform: rotateX(0deg);
        opacity: 1;
    }
    45% {
        transform: rotateX(-90deg);
        opacity: 0;
    }
    55% {
        transform: rotateX(90deg);
        opacity: 0;
    }
    100% {
        transform: rotateX(0deg);
        opacity: 1;
    }
}

/* Responsive Design & Mobile Menu Breakpoints */
@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        gap: 2rem;
        margin: 0;
    }
    
    .container {
        gap: 4.5rem;
        padding: 6.5rem 1.5rem 3rem 1.5rem;
    }
}

/* Compact desktop refinement (1101px - 1280px): keep everything effortlessly on one line */
@media (min-width: 1101px) and (max-width: 1280px) {
    .header-container {
        padding: 0.45rem 1.25rem;
        gap: 1rem;
    }
    .nav-menu {
        gap: 0.95rem;
    }
    .nav-item, .nav-link {
        font-size: 0.88rem;
    }
    .sfx-btn-text, .xeno-btn-text {
        display: none !important;
    }
    .cmd-palette-trigger kbd {
        display: none !important;
    }
    .nav-btn {
        padding: 0.5rem 0.95rem;
        font-size: 0.84rem;
    }
}

/* Hide desktop menu on mobile & tablet (<= 1100px) and show Futuristic Mobile Burger */
@media (max-width: 1100px) {
    .nav-menu {
        display: none !important;
    }
    
    .cyber-burger {
        display: flex !important;
    }
}

@media (max-width: 600px) {
    .header-container {
        padding: 0.75rem 1.25rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }
    
    .brand-logo {
        max-height: 48px;
    }
    
    .container {
        padding: 5.5rem 0.85rem 2.5rem 0.85rem;
        gap: 3rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        gap: 1.5rem;
    }

    .portfolio-card {
        border-radius: 20px;
    }

    .card-content {
        padding: 1.35rem 1.15rem;
    }

    .card-title {
        font-size: 1.45rem;
        margin-bottom: 0.65rem;
    }

    .card-description {
        font-size: 0.92rem;
        line-height: 1.52;
        margin-bottom: 1.35rem;
    }

    .card-action-group, .card-action-bar {
        gap: 0.6rem;
        width: 100%;
        margin-top: auto;
    }

    .card-action-group .btn-primary,
    .card-action-group .btn-secondary,
    .card-action-bar .btn-primary,
    .card-action-bar .btn-secondary {
        flex: 1 1 calc(50% - 0.3rem);
        min-width: 125px;
        padding: 0.75rem 0.6rem;
        font-size: 0.82rem;
        box-sizing: border-box;
    }

    .card-status {
        top: 0.75rem;
        right: 0.75rem;
        font-size: 0.68rem;
        padding: 0.3rem 0.65rem;
        letter-spacing: 0.3px;
    }
    
    .portfolio-card .countdown-wrapper {
        gap: 0.25rem;
    }
    
    .portfolio-card .time-block {
        width: 60px;
        height: 60px;
    }
    
    .portfolio-card .time-block .number {
        font-size: 1.2rem;
    }
    
    .portfolio-card .time-block .label {
        font-size: 0.45rem;
    }
    
    .portfolio-card .flex-seconds {
        display: none; /* Hide seconds on mobile to save space */
    }
    
    .portfolio-card .colon:nth-last-of-type(1) {
        display: none; /* Hide second colon too */
    }

    .input-group {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
    }

    input[type="email"] {
        background: rgba(8, 15, 22, 0.4);
        border: 1px solid var(--color-glass-border);
        border-radius: 50px;
        margin-bottom: 0.8rem;
        text-align: center;
        width: 100%;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
    }
    
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .card-action-group .btn-primary,
    .card-action-group .btn-secondary,
    .card-action-bar .btn-primary,
    .card-action-bar .btn-secondary {
        width: auto;
        flex: 1 1 calc(50% - 0.35rem);
        min-width: 120px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }
    
    .social-card {
        padding: 1.1rem 1.25rem;
    }
}

/* Tablet & Medium Viewports */
@media (max-width: 1024px) and (min-width: 601px) {
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
}

/* Mobile Landscape (Horizontal) Optimization */
@media (max-height: 520px) and (orientation: landscape) {
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
    }
    .social-card {
        padding: 0.85rem 1rem;
        border-radius: 14px;
    }
    .social-icon-wrapper {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }
    .social-platform {
        font-size: 0.95rem;
    }
    .social-handle {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   ULTRA FUTURISTIC SCI-FI MOBILE MENU SYSTEM
   ========================================================================== */

/* Cyber Hamburger Toggle Button */
.cyber-burger {
    display: none; /* Shown via media query @ <= 900px */
    position: relative;
    width: 48px;
    height: 48px;
    background: rgba(9, 21, 34, 0.7);
    border: 1px solid rgba(86, 228, 216, 0.35);
    border-radius: 12px;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
    outline: none;
    z-index: 1001;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(8, 15, 22, 0.5), inset 0 0 10px rgba(86, 228, 216, 0.1);
}

.cyber-burger:hover, .cyber-burger:focus-visible {
    border-color: rgba(71, 172, 235, 0.8);
    box-shadow: 0 0 20px rgba(86, 228, 216, 0.4), inset 0 0 15px rgba(71, 172, 235, 0.2);
    transform: scale(1.04);
}

.cyber-burger:active {
    transform: scale(0.95);
}

.cyber-burger-bar {
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.68, -0.6, 0.32, 1.6), opacity 0.25s ease, background-color 0.3s ease;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}

.cyber-burger-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 8px #4ade80;
    animation: cyber-dot-pulse 2s infinite ease-in-out;
}

@keyframes cyber-dot-pulse {
    0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 8px #4ade80; }
    50% { transform: scale(1.4); opacity: 0.5; box-shadow: 0 0 14px #4ade80; }
}

/* Morph burger bars to X when menu is active */
.cyber-burger.is-active {
    background: rgba(86, 228, 216, 0.15);
    border-color: rgba(86, 228, 216, 0.7);
    box-shadow: 0 0 25px rgba(86, 228, 216, 0.5);
}

.cyber-burger.is-active .cyber-burger-dot {
    background: #56e4d8;
    box-shadow: 0 0 10px #56e4d8;
}

.cyber-burger.is-active .cyber-burger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: #47aceb;
}

.cyber-burger.is-active .cyber-burger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.cyber-burger.is-active .cyber-burger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: #47aceb;
}

/* Body Scroll Lock */
body.mobile-menu-open {
    overflow: hidden !important;
    overscroll-behavior: none;
}

/* Fullscreen Futuristic Drawer Overlay */
.futuristic-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 1000;
    background: rgba(4, 1, 3, 0.94);
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

/* Scanlines Grid Overlay Effect */
.futuristic-mobile-menu::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 50%,
        rgba(8, 15, 22, 0.25) 50%
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
}

/* Ambient Cyber Orbs in Background */
.futuristic-mobile-menu .ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
    animation: orb-float 10s ease-in-out infinite alternate;
}

.futuristic-mobile-menu .orb-1 {
    top: 10%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #56e4d8 0%, transparent 70%);
}

.futuristic-mobile-menu .orb-2 {
    bottom: 5%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #47aceb 0%, transparent 70%);
    animation-delay: -5s;
}

@keyframes orb-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 40px) scale(1.15); }
}

/* Active State for Drawer Overlay */
.futuristic-mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

/* Menu Inner Scrollable Container */
.mobile-menu-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100%;
    height: 100%;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: 0 1.5rem calc(env(safe-area-inset-bottom, 0px) + 2rem) 1.5rem;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #50e2d6 rgba(255, 255, 255, 0.04);
    box-sizing: border-box;
}

/* Scrollbar styling for drawer */
.mobile-menu-container::-webkit-scrollbar {
    width: 5px;
}
.mobile-menu-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}
.mobile-menu-container::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-primary, #56e4d8), #47aceb);
    border-radius: 6px;
    box-shadow: 0 0 6px rgba(86, 228, 216, 0.4);
}

/* HUD Top Header inside Menu - Sticky Pinning */
.mobile-menu-hud-top {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(4, 1, 3, 0.96);
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: calc(env(safe-area-inset-top, 0px) + 1.2rem);
    padding-bottom: 1.1rem;
    margin: 0 -1.5rem 1.5rem -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border-bottom: 1px solid rgba(122, 233, 224, 0.2);
    box-shadow: 0 4px 20px rgba(8, 15, 22, 0.5);
}

.hud-sys-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(86, 228, 216, 0.1);
    border: 1px solid rgba(86, 228, 216, 0.25);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #47aceb;
    font-family: monospace;
    text-transform: uppercase;
}

.hud-sys-dot {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 8px #4ade80;
}

.hud-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hud-clock {
    font-family: monospace;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
    background: rgba(8, 15, 22, 0.4);
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sfx-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.2s ease;
}

.sfx-toggle:hover {
    background: rgba(86, 228, 216, 0.2);
    border-color: rgba(86, 228, 216, 0.4);
    color: #ffffff;
}

.cyber-menu-close {
    background: rgba(86, 228, 216, 0.15);
    border: 1px solid rgba(86, 228, 216, 0.4);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.cyber-menu-close:hover {
    background: #56e4d8;
    box-shadow: 0 0 15px rgba(86, 228, 216, 0.6);
    transform: rotate(90deg);
}

/* Holographic Nav Cards */
.mobile-menu-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.mobile-nav-card {
    position: relative;
    background: rgba(12, 22, 33, 0.6);
    border: 1px solid rgba(122, 233, 224, 0.14);
    border-radius: 16px;
    padding: 1.1rem 1.25rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(20px) scale(0.97);
    overflow: hidden;
}

/* Stagger Animation on Open */
.futuristic-mobile-menu.is-open .mobile-nav-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.futuristic-mobile-menu.is-open .mobile-nav-card:nth-child(1) { transition-delay: 0.1s; }
.futuristic-mobile-menu.is-open .mobile-nav-card:nth-child(2) { transition-delay: 0.16s; }
.futuristic-mobile-menu.is-open .mobile-nav-card:nth-child(3) { transition-delay: 0.22s; }
.futuristic-mobile-menu.is-open .mobile-nav-card:nth-child(4) { transition-delay: 0.28s; }

.mobile-nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(71, 172, 235, 0.15), transparent);
    transition: left 0.5s ease;
}

.mobile-nav-card:hover::before, .mobile-nav-card:active::before {
    left: 100%;
}

.mobile-nav-card:hover, .mobile-nav-card:focus-visible, .mobile-nav-card:active {
    background: linear-gradient(135deg, rgba(86, 228, 216, 0.18), rgba(71, 172, 235, 0.1));
    border-color: rgba(71, 172, 235, 0.6);
    box-shadow: 0 10px 30px rgba(8, 15, 22, 0.6), 0 0 20px rgba(86, 228, 216, 0.25);
    transform: translateY(-2px);
}

.card-left-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.card-code-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-code {
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 1px;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.3px;
}

.card-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
}

.card-arrow {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.mobile-nav-card:hover .card-arrow {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
    transform: translateX(4px);
    box-shadow: 0 0 12px var(--color-primary-glow);
}

/* Sci-Fi Telemetry Panel */
.mobile-menu-telemetry {
    background: rgba(8, 15, 22, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: monospace;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.telemetry-item {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.telemetry-label {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
}

.telemetry-val {
    color: var(--color-secondary);
    font-weight: 600;
}

/* Direct Action Launchpad Grid */
.mobile-menu-launchpad {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(122, 233, 224, 0.15);
}

.contact-quick-grid {
    display: flex;
    flex-direction: row;
    gap: 0.6rem;
}

@media (max-width: 640px) {
    .contact-quick-grid {
        flex-direction: column;
    }
}

.quick-contact-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    white-space: nowrap;
    word-break: keep-all;
    overflow: hidden;
    transition: all 0.2s ease;
}

.quick-contact-btn:hover {
    background: rgba(86, 228, 216, 0.2);
    border-color: rgba(86, 228, 216, 0.4);
}

.drawer-social-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

.drawer-social-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.drawer-social-icon:hover, .drawer-social-icon:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
}

.drawer-social-icon.link-youtube:hover {
    color: #56e4d8;
    border-color: rgba(86, 228, 216, 0.5);
    box-shadow: 0 0 12px rgba(86, 228, 216, 0.4);
    background: rgba(86, 228, 216, 0.12);
}
.drawer-social-icon.link-linkedin:hover {
    color: #0088ff;
    border-color: rgba(0, 136, 255, 0.5);
    box-shadow: 0 0 12px rgba(0, 136, 255, 0.4);
    background: rgba(0, 136, 255, 0.12);
}
.drawer-social-icon.link-x:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
}
.drawer-social-icon.link-instagram:hover {
    color: #49c8be;
    border-color: rgba(73, 200, 190, 0.5);
    box-shadow: 0 0 12px rgba(73, 200, 190, 0.4);
    background: rgba(73, 200, 190, 0.12);
}
.drawer-social-icon.link-facebook:hover {
    color: #1877f2;
    border-color: rgba(24, 119, 242, 0.5);
    box-shadow: 0 0 12px rgba(24, 119, 242, 0.4);
    background: rgba(24, 119, 242, 0.12);
}
.drawer-social-icon.link-pinterest:hover {
    color: #20c6b8;
    border-color: rgba(32, 198, 184, 0.5);
    box-shadow: 0 0 12px rgba(32, 198, 184, 0.4);
    background: rgba(32, 198, 184, 0.12);
}
.drawer-social-icon.link-reddit:hover {
    color: #24dbcc;
    border-color: rgba(36, 219, 204, 0.5);
    box-shadow: 0 0 12px rgba(36, 219, 204, 0.4);
    background: rgba(36, 219, 204, 0.12);
}
.drawer-social-icon.link-discord:hover {
    color: #5865f2;
    border-color: rgba(88, 101, 242, 0.5);
    box-shadow: 0 0 12px rgba(88, 101, 242, 0.4);
    background: rgba(88, 101, 242, 0.12);
}
.drawer-social-icon.link-threads:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.15);
}
.drawer-social-icon.link-bluesky:hover {
    color: #0085ff;
    border-color: rgba(0, 133, 255, 0.5);
    box-shadow: 0 0 12px rgba(0, 133, 255, 0.4);
    background: rgba(0, 133, 255, 0.12);
}
.drawer-social-icon.link-tiktok:hover {
    color: #00f2fe;
    border-color: rgba(0, 242, 254, 0.5);
    box-shadow: 0 0 12px rgba(73, 225, 212, 0.4);
    background: rgba(0, 242, 254, 0.12);
}
.drawer-social-icon.link-itchio:hover {
    color: #72e4da;
    border-color: rgba(114, 228, 218, 0.5);
    box-shadow: 0 0 12px rgba(114, 228, 218, 0.4);
    background: rgba(114, 228, 218, 0.12);
}
.drawer-social-icon.link-gamejolt:hover {
    color: #ccff00;
    border-color: rgba(204, 255, 0, 0.5);
    box-shadow: 0 0 12px rgba(204, 255, 0, 0.4);
    background: rgba(204, 255, 0, 0.12);
}
.drawer-social-icon.link-ifdb:hover {
    color: #ffb300;
    border-color: rgba(255, 179, 0, 0.5);
    box-shadow: 0 0 12px rgba(255, 179, 0, 0.4);
    background: rgba(255, 179, 0, 0.12);
}

.contact-link {
    white-space: nowrap !important;
    display: inline-block;
}

.contact-text {
    word-break: keep-all;
}

/* ==========================================================================
   App Landing Page & Portfolio Hub System
   ========================================================================== */
.app-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.app-breadcrumbs a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}
.app-breadcrumbs a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px var(--color-primary);
}

.app-hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: 24px;
    padding: 3rem;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
}

.app-hero-meta {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.app-hero-banner {
    grid-column: 1 / -1;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(8, 15, 22, 0.4);
}

.app-hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.app-hero-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    box-shadow: 0 0 24px rgba(86, 228, 216, 0.35), 0 4px 12px rgba(8, 15, 22, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.app-header-badge-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.app-icon-mini {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(86, 228, 216, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.app-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    background: linear-gradient(135deg, #ffffff 0%, #47aceb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.app-hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.app-badge.status-launched {
    background: rgba(0, 243, 255, 0.12);
    border: 1px solid rgba(0, 243, 255, 0.4);
    color: #00f3ff;
}
.app-badge.status-upcoming {
    background: rgba(86, 228, 216, 0.12);
    border: 1px solid rgba(86, 228, 216, 0.4);
    color: #56e4d8;
}

.app-action-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.app-feature-graphic-wrapper {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0, 243, 255, 0.3);
    box-shadow: 0 0 35px rgba(8, 15, 22, 0.8), 0 0 25px rgba(0, 243, 255, 0.2);
}

.app-feature-graphic-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-feature-graphic-wrapper:hover img {
    transform: scale(1.03);
}

/* Sci-Fi Floating Pill Badge Overlay */
.cyber-floating-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    max-width: calc(100% - 2rem);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.95rem;
    background: rgba(4, 10, 20, 0.88);
    border: 1px solid rgba(0, 243, 255, 0.6);
    border-radius: 30px;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 25px rgba(8, 15, 22, 0.8), 0 0 20px rgba(0, 243, 255, 0.35);
    z-index: 5;
    white-space: nowrap;
    animation: hud-badge-float 4s ease-in-out infinite alternate;
}

.badge-pulse-dot {
    width: 7px;
    height: 7px;
    background: #00f3ff;
    border-radius: 50%;
    box-shadow: 0 0 10px #00f3ff;
    animation: cyber-dot-pulse 1.8s infinite ease-in-out;
    flex-shrink: 0;
}

.badge-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.badge-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: #00f3ff;
    font-weight: 600;
    white-space: nowrap;
}

@keyframes hud-badge-float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

@media (max-width: 900px) {
    .cyber-floating-badge {
        top: 0.75rem;
        left: 0.75rem;
        max-width: calc(100% - 1.5rem);
        padding: 0.35rem 0.75rem;
        gap: 0.4rem;
    }
    .badge-text {
        font-size: 0.72rem;
        letter-spacing: 0.5px;
    }
    .badge-code {
        font-size: 0.65rem;
    }
}

@media (max-width: 600px) {
    .cyber-floating-badge {
        top: 0.5rem;
        left: 0.5rem;
        max-width: calc(100% - 1rem);
        padding: 0.3rem 0.65rem;
        gap: 0.35rem;
    }
    .badge-pulse-dot {
        width: 6px;
        height: 6px;
    }
    .badge-text {
        font-size: 0.65rem;
        letter-spacing: 0.4px;
    }
    .badge-code {
        display: none;
    }
}

@media (max-width: 400px) {
    .cyber-floating-badge {
        top: 0.4rem;
        left: 0.4rem;
        padding: 0.25rem 0.55rem;
        gap: 0.3rem;
    }
    .badge-text {
        font-size: 0.58rem;
        letter-spacing: 0.3px;
    }
}

.app-section {
    margin-bottom: 4rem;
}

.app-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.app-gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(8, 15, 22, 0.5);
    aspect-ratio: 9 / 16;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.app-gallery-item.landscape {
    aspect-ratio: 16 / 9;
}

.app-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.app-gallery-item:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 25px rgba(86, 228, 216, 0.3);
    transform: translateY(-4px);
}

.app-gallery-item:hover img {
    transform: scale(1.05);
}

.features-grid-3col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-top: 2rem;
}

.feature-box {
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: 18px;
    padding: 2rem;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.feature-box:hover {
    border-color: rgba(86, 228, 216, 0.3);
    background: var(--color-glass-hover);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(8, 15, 22, 0.5);
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.feature-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.feature-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.specs-table-wrapper {
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: 18px;
    padding: 2rem;
    margin-top: 2rem;
}

.specs-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}
.specs-row:last-child {
    border-bottom: none;
}

.specs-label {
    color: var(--color-text-muted);
    font-weight: 500;
}
.specs-val {
    font-family: 'JetBrains Mono', monospace;
    color: #ffffff;
    font-weight: 700;
}

@media (max-width: 900px) {
    .app-hero-container {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }
    .app-hero-title {
        font-size: 2.1rem;
    }
    .app-hero-icon {
        width: 56px;
        height: 56px;
        border-radius: 14px;
    }
}

/* ==========================================================================
   Cyberpunk HUD Mega Dropdown & Mobile Sub-Launchpad
   ========================================================================== */
.nav-menu {
    position: relative;
}

.nav-item-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Hover bridge buffer so cursor movement between trigger and dropdown never loses hover */
.nav-item-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 18px;
    background: transparent;
    pointer-events: auto;
    z-index: 999;
}

.nav-item-dropdown .dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.cyber-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    width: 660px;
    max-width: calc(100vw - 32px);
    max-height: min(760px, calc(100vh - 92px));
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #50e2d6 rgba(255, 255, 255, 0.04);
    background: rgba(11, 19, 28, 0.96);
    border: 1px solid var(--color-primary-glow);
    border-radius: 20px;
    padding: 1.25rem 1.4rem;
    box-shadow: 0 15px 40px rgba(8, 15, 22, 0.9), 0 0 25px rgba(86, 228, 216, 0.2);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.15s;
    z-index: 1000;
    white-space: normal;
    box-sizing: border-box;
}

/* Custom Cyberpunk Mars Scrollbar for Dropdown Menu */
.cyber-dropdown-menu::-webkit-scrollbar {
    width: 6px;
}
.cyber-dropdown-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin: 8px 0;
}
.cyber-dropdown-menu::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-primary, #56e4d8), #47aceb);
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(86, 228, 216, 0.4);
}
.cyber-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #75e8df, #6cbdef);
    box-shadow: 0 0 12px rgba(86, 228, 216, 0.8);
}

/* Invisible hover bridge pseudo-element connecting trigger to menu */
.cyber-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -24px;
    left: 0;
    right: 0;
    height: 24px;
    background: transparent;
}

.nav-item-dropdown:hover .cyber-dropdown-menu,
.nav-item-dropdown:focus-within .cyber-dropdown-menu,
.cyber-dropdown-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(6px);
    transition-delay: 0s;
}

.dropdown-header-tag {
    position: sticky;
    top: -1.25rem;
    margin: -1.25rem -1.4rem 0.85rem -1.4rem;
    padding: 1.15rem 1.4rem 0.5rem 1.4rem;
    background: rgba(11, 19, 28, 0.98);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    z-index: 10;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    white-space: normal;
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    box-sizing: border-box;
}

.dropdown-app-full-width {
    grid-column: 1 / -1;
}

.dropdown-app-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    color: #ffffff;
    transition: var(--transition-smooth);
    min-width: 0;
    box-sizing: border-box;
    white-space: normal;
}

.dropdown-app-card:hover {
    background: rgba(86, 228, 216, 0.12);
    border-color: rgba(86, 228, 216, 0.4);
    transform: translateY(-2px);
}

.border-holiday-paths {
    border-color: rgba(25, 151, 230, 0.3);
    background: rgba(25, 151, 230, 0.05);
}

.border-holiday-paths:hover {
    border-color: rgba(25, 151, 230, 0.6) !important;
    background: rgba(25, 151, 230, 0.12) !important;
}

.border-thanksgiving:hover {
    border-color: rgba(34, 150, 222, 0.8) !important;
    background: rgba(34, 150, 222, 0.12) !important;
}

.border-winterfell:hover {
    border-color: rgba(56, 189, 248, 0.8) !important;
    background: rgba(56, 189, 248, 0.12) !important;
}

.dropdown-app-lifequest {
    background: rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.3);
}

.dropdown-app-lifequest:hover {
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(16, 185, 129, 0.6);
}

.dropdown-app-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.dropdown-app-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1 1 auto;
}

.dropdown-app-name {
    font-weight: 700;
    font-size: 0.88rem;
    color: #ffffff;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
}

.dropdown-app-desc {
    font-size: 0.76rem;
    color: var(--color-text-muted);
    line-height: 1.32;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
}

.text-emerald {
    color: #10b981 !important;
}

.text-red {
    color: var(--color-primary) !important;
}

.dropdown-footer-link {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 0.65rem;
    margin-top: 0.35rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
    white-space: normal;
}
.dropdown-footer-link:hover {
    color: #ffffff;
    text-shadow: 0 0 8px var(--color-primary);
}

/* Mobile Drawer App Chips */
.mobile-app-section {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.mobile-app-section-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.mobile-app-chips {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-app-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.mobile-app-chip-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.mobile-app-chip:hover, .mobile-app-chip:active {
    background: rgba(86, 228, 216, 0.15);
    border-color: var(--color-primary);
}

.mobile-drawer-hub-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(86, 228, 216, 0.18) 0%, rgba(71, 172, 235, 0.18) 100%);
    border: 1px solid rgba(86, 228, 216, 0.45);
    border-radius: 12px;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(86, 228, 216, 0.15);
    text-align: center;
    box-sizing: border-box;
}

.mobile-drawer-hub-link:hover, .mobile-drawer-hub-link:active {
    background: linear-gradient(135deg, rgba(86, 228, 216, 0.32) 0%, rgba(71, 172, 235, 0.32) 100%);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(86, 228, 216, 0.35);
    color: #ffffff;
}


/* ------------------------------------------------------------------------------
 * Helper & Utility Classes (Refactored from Inline Styles)
 * ------------------------------------------------------------------------------ */
.display-none {
    display: none;
}
.display-inline-block {
    display: inline-block;
}
.text-nowrap {
    white-space: nowrap;
}

.dropdown-arrow {
    font-size: 0.65rem;
    margin-left: 2px;
}

.dropdown-app-lifequest {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.3);
}

.text-emerald {
    color: #10b981;
}

.dropdown-app-full-width {
    grid-column: 1 / -1;
}

.mobile-chip-lifequest {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.35);
    color: #10b981;
}

.mobile-chip-lifequest:hover, .mobile-chip-lifequest:active {
    background: rgba(16, 185, 129, 0.18);
    border-color: #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.25);
}

.mobile-chip-lifequest .mobile-app-chip-icon {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
}

.card-lifequest {
    border-color: rgba(16, 185, 129, 0.3);
}

.status-lifequest {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
}

.cta-lifequest {
    background: linear-gradient(135deg, #10b981, #06b6d4);
}

.text-white {
    color: #ffffff;
}

.text-primary {
    color: var(--color-primary);
}

.text-secondary {
    color: var(--color-secondary);
}

.text-gold {
    color: var(--neon-gold, #ffd700);
}

.text-red-neon {
    color: var(--neon-red, #56e4d8);
}

.border-red-neon {
    border-color: var(--neon-red, #56e4d8);
}

.bg-red-neon {
    background: var(--neon-red, #56e4d8);
}

.contact-card-box {
    background: rgba(8, 15, 22, 0.4);
    border: 1px solid var(--color-glass-border);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

.contact-card-line {
    margin: 0 0 0.4rem 0;
}

.contact-card-line-end {
    margin: 0;
}

.footer-link-primary {
    color: var(--color-primary);
    font-weight: 600;
    margin-top: 0.2rem;
}

.footer-link-secondary {
    color: var(--color-secondary);
}

.svg-icon-inline {
    margin-right: 0.4rem;
    vertical-align: middle;
}

.btn-support-inline {
    display: inline-block;
    text-decoration: none;
}

.font-weight-600 {
    font-weight: 600;
}

.tool-group-meta {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.app-breadcrumbs-margin {
    margin-top: 1rem;
}

.hero-showcase {
    text-align: center;
    margin-bottom: 3rem;
}

.portfolio-section-flat {
    padding-top: 0;
}

.card-header-flex {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.5rem;
}

.card-app-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.card-app-icon-lifequest {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.card-title-no-margin {
    margin: 0;
}

.card-action-bar {
    display: flex;
    gap: 10px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn-card-flex {
    flex: 1;
    text-align: center;
}

.badge-hover-scale {
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s ease;
}
.badge-hover-scale:hover {
    transform: scale(1.04);
}

.play-badge-img {
    height: 46px;
    width: auto;
}

.btn-privacy-pill {
    padding: 0.7rem 1.4rem;
    border-radius: 8px;
    border: 1px solid rgba(86, 228, 216, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}
.btn-privacy-pill:hover {
    border-color: var(--color-primary);
    background: rgba(86, 228, 216, 0.15);
}

.app-icon-lifequest {
    border-color: rgba(16, 185, 129, 0.5) !important;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4) !important;
}

.gradient-text-emerald {
    color: #10b981;
    background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-privacy-lifequest {
    padding: 0.7rem 1.4rem;
    border-radius: 8px;
    border: 1px solid rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.1);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}
.btn-privacy-lifequest:hover {
    background: rgba(16, 185, 129, 0.25);
    border-color: rgba(16, 185, 129, 0.6);
}

.graphic-wrapper-lifequest {
    border-color: rgba(16, 185, 129, 0.4) !important;
    box-shadow: 0 0 35px rgba(8, 15, 22, 0.8), 0 0 25px rgba(16, 185, 129, 0.2) !important;
}

.cyber-badge-lifequest {
    border-color: rgba(16, 185, 129, 0.6) !important;
}

.badge-dot-emerald {
    background: #10b981 !important;
    box-shadow: 0 0 10px #10b981 !important;
}

.margin-top-3rem-center {
    margin-top: 3rem;
    text-align: center;
}

/* ==========================================================================
   INTERACTIVE FAQ ACCORDION COMPONENT & RICH SNIPPET SECTION
   ========================================================================== */
.faq-section {
    margin: 4.5rem 0 3.5rem;
    width: 100%;
}

.faq-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.faq-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.faq-subtitle {
    color: var(--color-text-muted);
    font-size: 1rem;
    max-width: 620px;
    margin: 0 auto;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(18, 12, 24, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(104, 231, 220, 0.3);
    box-shadow: 0 8px 24px rgba(8, 15, 22, 0.4), 0 0 15px rgba(86, 228, 216, 0.08);
}

.faq-item[open] {
    border-color: rgba(71, 172, 235, 0.4);
    background: rgba(24, 15, 30, 0.85);
    box-shadow: 0 10px 30px rgba(8, 15, 22, 0.5), 0 0 20px rgba(71, 172, 235, 0.12);
}

.faq-summary {
    list-style: none;
    cursor: pointer;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    gap: 1rem;
    -webkit-user-select: none;
    user-select: none;
    outline: none;
    transition: var(--transition-smooth);
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-summary:hover {
    color: var(--color-secondary);
}

.faq-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--color-primary);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
    color: var(--color-secondary);
}

.faq-content {
    padding: 0 1.5rem 1.35rem 1.5rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
    animation: faq-fadein 0.3s ease-out;
}

@keyframes faq-fadein {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   PINTEREST VISUAL SHARE OVERLAY BADGE
   ========================================================================== */
.pin-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.pin-share-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(32, 198, 184, 0.92);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(8, 15, 22, 0.6), 0 0 12px rgba(32, 198, 184, 0.4);
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.pin-wrapper:hover .pin-share-badge,
.pin-share-badge:focus-visible {
    opacity: 1;
    transform: translateY(0);
}

.pin-share-badge:hover {
    background: #20c6b8;
    box-shadow: 0 6px 20px rgba(32, 198, 184, 0.6);
    transform: scale(1.05);
}

/* ==========================================================================
   FEATURED APP SPOTLIGHT FLOATING BANNER
   ========================================================================== */
.featured-app-banner,
.pwa-install-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: rgba(14, 10, 22, 0.94);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(71, 172, 235, 0.45);
    border-radius: 50px;
    padding: 0.55rem 0.85rem 0.55rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: 0 12px 40px rgba(8, 15, 22, 0.75), 0 0 25px rgba(71, 172, 235, 0.25);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s;
    max-width: 92vw;
}

.featured-app-banner.is-visible,
.pwa-install-banner.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.featured-app-info,
.pwa-info {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
}

.featured-app-badge {
    background: rgba(71, 172, 235, 0.18);
    border: 1px solid rgba(71, 172, 235, 0.4);
    color: #6cbdef;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    white-space: nowrap;
}

.featured-app-name {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: -0.01em;
}

.pwa-pulse-dot {
    width: 8px;
    height: 8px;
    background: #47aceb;
    border-radius: 50%;
    box-shadow: 0 0 10px #47aceb;
    animation: pwa-pulse 1.8s infinite;
    flex-shrink: 0;
}

@keyframes pwa-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

.featured-app-action-btn,
.pwa-action-btn {
    background: linear-gradient(135deg, #56e4d8, #47aceb);
    color: #ffffff;
    border: none;
    border-radius: 30px;
    padding: 0.45rem 1.05rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition-smooth, all 0.25s cubic-bezier(0.16, 1, 0.3, 1));
}

.featured-app-action-btn:hover,
.pwa-action-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 18px rgba(71, 172, 235, 0.6);
    color: #ffffff;
    text-decoration: none;
}

.featured-app-close-btn,
.pwa-close-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    padding: 0.2rem 0.4rem;
    border-radius: 50%;
    transition: color 0.2s, transform 0.2s;
}

.featured-app-close-btn:hover,
.pwa-close-btn:hover {
    color: #ffffff;
    transform: scale(1.15);
}

/* ==========================================================================
   GLOBAL SCROLL BEHAVIOR & STICKY HEADER OFFSET
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

section[id],
div[id],
h1[id],
h2[id],
h3[id] {
    scroll-margin-top: 95px;
}

/* ==========================================================================
   FLOATING "BACK TO TOP" ORBITAL ROCKET BUTTON
   ========================================================================== */
.back-to-top-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(18, 12, 28, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(71, 172, 235, 0.4);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(8, 15, 22, 0.7), 0 0 15px rgba(71, 172, 235, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 990;
}

.back-to-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top-btn:hover {
    background: rgba(86, 228, 216, 0.25);
    border-color: #47aceb;
    box-shadow: 0 10px 30px rgba(8, 15, 22, 0.8), 0 0 25px rgba(71, 172, 235, 0.5);
    transform: translateY(-4px) scale(1.08);
}

.back-to-top-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
}

.back-to-top-btn:hover .back-to-top-icon {
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .back-to-top-btn {
        bottom: 20px;
        right: 18px;
        width: 42px;
        height: 42px;
    }
}

/* ==========================================================================
   LASER READING PROGRESS BAR
   ========================================================================== */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #56e4d8 0%, #47aceb 50%, #00f3ff 100%);
    box-shadow: 0 0 12px rgba(71, 172, 235, 0.8), 0 0 20px rgba(0, 243, 255, 0.5);
    z-index: 10001;
    transition: width 0.1s ease-out;
    pointer-events: none;
}

/* ==========================================================================
   HOLOGRAPHIC CYBERPUNK HUD NOTIFICATION TOAST
   ========================================================================== */
.hud-toast {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(-30px);
    background: rgba(14, 10, 24, 0.95);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid #00f3ff;
    border-radius: 8px;
    padding: 0.75rem 1.4rem;
    color: #f1f5f9;
    font-family: 'Fira Code', monospace;
    font-size: 0.86rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 35px rgba(8, 15, 22, 0.8), 0 0 20px rgba(0, 243, 255, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10000;
    pointer-events: none;
}

.hud-toast.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.hud-toast-icon {
    color: #00f3ff;
    font-size: 1rem;
    animation: toast-glow 1.5s infinite alternate;
}

@keyframes toast-glow {
    from { filter: drop-shadow(0 0 2px #00f3ff); }
    to { filter: drop-shadow(0 0 8px #00f3ff); }
}

/* ==========================================================================
   INTERACTIVE CATEGORY FILTER PILLS (APPLICATIONS HUB)
   ========================================================================== */
.filter-pill-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin: 2rem auto 3rem;
    max-width: 900px;
    padding: 0.5rem;
}

.filter-pill {
    background: rgba(22, 16, 32, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--color-text-muted);
    padding: 0.55rem 1.15rem;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    -webkit-user-select: none;
    user-select: none;
    outline: none;
}

.filter-pill:hover {
    color: #ffffff;
    border-color: rgba(71, 172, 235, 0.5);
    background: rgba(71, 172, 235, 0.15);
    box-shadow: 0 4px 15px rgba(71, 172, 235, 0.15);
    transform: translateY(-2px);
}

.filter-pill.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(86, 228, 216, 0.35) 0%, rgba(71, 172, 235, 0.35) 100%);
    border-color: #47aceb;
    box-shadow: 0 0 15px rgba(71, 172, 235, 0.35);
    transform: translateY(-2px);
}

.app-card-item {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.app-card-item.is-hidden {
    display: none !important;
}

/* ==========================================================================
   SHARE BUTTON ON APPS
   ========================================================================== */
.btn-share-app {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.35);
    color: #00f3ff;
    padding: 0.65rem 1.15rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.btn-share-app:hover {
    background: rgba(0, 243, 255, 0.25);
    border-color: #00f3ff;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
    transform: translateY(-2px);
    color: #ffffff;
}

/* ==========================================================================
   DESKTOP SFX QUICK-TOGGLE
   ========================================================================== */
.desktop-sfx-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #00f3ff;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.desktop-sfx-btn:hover {
    background: rgba(0, 243, 255, 0.15);
    border-color: #00f3ff;
    box-shadow: 0 0 12px rgba(0, 243, 255, 0.35);
    transform: translateY(-1px);
}

.desktop-sfx-btn.is-muted {
    color: #94a3b8;
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 1100px) {
    .desktop-sfx-btn {
        display: none !important;
    }
}

/* ==========================================================================
   DYNAMIC FEAR ENGINE SIMULATION LAB
   ========================================================================== */
.fear-sim-section {
    margin: 3.5rem 0;
}

.fear-sim-card {
    background: linear-gradient(135deg, rgba(26, 17, 34, 0.85) 0%, rgba(12, 10, 18, 0.95) 100%);
    border: 1px solid rgba(59, 166, 233, 0.35);
    border-radius: 16px;
    padding: 2.25rem;
    box-shadow: 0 16px 40px rgba(8, 15, 22, 0.5), 0 0 30px rgba(59, 166, 233, 0.12);
    position: relative;
    overflow: hidden;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.fear-sim-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3ba6e9, #56e4d8, transparent);
}

.fear-sim-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.fear-sim-title-group {
    flex: 1 1 450px;
}

.fear-sim-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #3ba6e9;
    background: rgba(59, 166, 233, 0.12);
    border: 1px solid rgba(59, 166, 233, 0.28);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
}

.fear-sim-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.6rem;
    letter-spacing: -0.5px;
}

.fear-sim-subtitle {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 620px;
}

.fear-sim-telemetry {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.telemetry-box {
    background: rgba(8, 15, 22, 0.45);
    border: 1px solid rgba(86, 228, 216, 0.25);
    border-radius: 10px;
    padding: 0.6rem 1.25rem;
    text-align: right;
}

.telemetry-label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: #94a3b8;
    letter-spacing: 1px;
}

.telemetry-val {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.55rem;
    font-weight: 800;
    color: #56e4d8;
    text-shadow: 0 0 12px rgba(86, 228, 216, 0.5);
    transition: all 0.3s ease;
}

.sim-state-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.9rem;
    border-radius: 6px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.sim-state-badge.state-calm {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
}

.sim-state-badge.state-nervous {
    background: rgba(255, 179, 0, 0.15);
    border: 1px solid rgba(255, 179, 0, 0.4);
    color: #ffb300;
}

.sim-state-badge.state-panic {
    background: rgba(86, 228, 216, 0.25);
    border: 1px solid rgba(86, 228, 216, 0.6);
    color: #56e4d8;
    animation: panic-pulse 1.2s infinite ease-in-out;
}

@keyframes panic-pulse {
    0%, 100% { box-shadow: 0 0 8px rgba(86, 228, 216, 0.3); }
    50% { box-shadow: 0 0 20px rgba(86, 228, 216, 0.7); }
}

.fear-sim-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.sim-control-panel {
    background: rgba(15, 12, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
}

.sim-slider-row {
    margin-bottom: 1.5rem;
}

.sim-slider-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 0.75rem;
}

.sim-slider-track-wrap {
    position: relative;
    height: 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    margin: 0.5rem 0;
}

.sim-slider-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #ffb300 45%, #56e4d8 85%);
    transition: width 0.15s ease-out;
    border-radius: 999px;
}

.fear-range-input {
    position: absolute;
    top: -6px;
    left: 0;
    width: 100%;
    height: 24px;
    opacity: 0;
    cursor: pointer;
    z-index: 5;
    margin: 0;
}

.fear-presets-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.fear-preset-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    padding: 0.55rem 0.4rem;
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
}

.fear-preset-btn:hover {
    background: rgba(59, 166, 233, 0.2);
    border-color: #3ba6e9;
    color: #ffffff;
    transform: translateY(-1px);
}

.sim-passage-preview {
    background: rgba(9, 7, 14, 0.8);
    border: 1px solid rgba(59, 166, 233, 0.22);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.sim-passage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.65rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: #94a3b8;
}

.sim-ekg-wave {
    color: #56e4d8;
    letter-spacing: -2px;
    font-weight: 800;
}

.sim-passage-text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #e2e8f0;
    font-style: italic;
}

.sim-choices-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sim-choice-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 0.85rem 1.15rem;
    color: #f8fafc;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: left;
    width: 100%;
}

.sim-choice-btn:hover:not(.is-locked) {
    background: rgba(59, 166, 233, 0.15);
    border-color: #3ba6e9;
    box-shadow: 0 0 15px rgba(59, 166, 233, 0.25);
    transform: translateX(4px);
}

.sim-courage-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: #10b981;
    margin-left: auto;
}

.sim-choice-btn.is-locked {
    background: rgba(13, 23, 34, 0.6);
    border-color: rgba(86, 228, 216, 0.3);
    color: #64748b;
    cursor: not-allowed;
    opacity: 0.7;
    filter: grayscale(0.6);
}

.sim-lock-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: #56e4d8;
    margin-left: auto;
    font-weight: 700;
}

.sim-choice-btn.is-panicked {
    border-color: rgba(86, 228, 216, 0.6);
    background: rgba(86, 228, 216, 0.15);
    color: #ffffff;
    box-shadow: 0 0 16px rgba(86, 228, 216, 0.35);
    animation: panic-shake 0.4s infinite ease-in-out;
}

.sim-panic-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: #3ba6e9;
    margin-left: auto;
    font-weight: 700;
}

@keyframes panic-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px) rotate(-0.5deg); }
    75% { transform: translateX(2px) rotate(0.5deg); }
}

@media (max-width: 820px) {
    .fear-sim-body {
        grid-template-columns: 1fr;
    }
    .fear-sim-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .fear-sim-telemetry {
        align-items: flex-start;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ==========================================================================
   COMMAND PALETTE HUD (Ctrl+K / ⌘K)
   ========================================================================== */
.cmd-palette-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.74rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.cmd-palette-trigger:hover {
    background: rgba(86, 228, 216, 0.15);
    border-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(86, 228, 216, 0.35);
    transform: translateY(-1px);
}

.cmd-palette-trigger kbd {
    background: rgba(8, 15, 22, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 1px 5px;
    font-size: 0.65rem;
    color: var(--color-primary);
    font-weight: 700;
}

.cmd-palette-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(6, 4, 10, 0.82);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 12vh;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

.cmd-palette-overlay.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cmd-palette-modal {
    width: 90%;
    max-width: 620px;
    background: linear-gradient(145deg, rgba(24, 17, 30, 0.95) 0%, rgba(12, 10, 18, 0.98) 100%);
    border: 1px solid rgba(86, 228, 216, 0.35);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(8, 15, 22, 0.75), 0 0 40px rgba(86, 228, 216, 0.2);
    overflow: hidden;
    transform: translateY(-15px) scale(0.98);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cmd-palette-overlay.is-active .cmd-palette-modal {
    transform: translateY(0) scale(1);
}

.cmd-search-box {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.1rem 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cmd-search-icon {
    font-size: 1.2rem;
    color: var(--color-primary);
}

.cmd-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: #ffffff;
}

.cmd-search-input::placeholder {
    color: #64748b;
}

.cmd-esc-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 3px 7px;
    border-radius: 4px;
    color: #94a3b8;
}

.cmd-results-list {
    max-height: 380px;
    overflow-y: auto;
    padding: 0.5rem;
}

.cmd-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    color: #cbd5e1;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cmd-item:hover, .cmd-item.is-selected {
    background: rgba(86, 228, 216, 0.15);
    color: #ffffff;
}

.cmd-item-icon {
    font-size: 1.25rem;
    width: 28px;
    text-align: center;
}

.cmd-item-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cmd-item-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.cmd-item-sub {
    font-size: 0.78rem;
    color: #94a3b8;
}

.cmd-item-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-primary);
}

.cmd-palette-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 1.4rem;
    background: rgba(8, 15, 22, 0.35);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: #64748b;
}

/* ==========================================================================
   MARS REAL-TIME PLANETARY TELEMETRY HUD (index.html)
   ========================================================================== */
.mars-telemetry-section {
    margin: 1.5rem auto 3.5rem;
    max-width: 1200px;
}

.mars-telemetry-hud {
    background: linear-gradient(135deg, rgba(15, 26, 39, 0.85) 0%, rgba(14, 10, 16, 0.95) 100%);
    border: 1px solid rgba(86, 228, 216, 0.35);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    box-shadow: 0 16px 40px rgba(8, 15, 22, 0.6), 0 0 30px rgba(86, 228, 216, 0.12);
    position: relative;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.telemetry-hud-badge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.74rem;
}

.telemetry-hud-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 700;
}

.hud-dot-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #56e4d8;
    box-shadow: 0 0 10px #56e4d8;
    animation: panic-pulse 1.4s infinite ease-in-out;
}

.telemetry-hud-target {
    color: #94a3b8;
    letter-spacing: 1px;
}

.telemetry-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.metric-card {
    background: rgba(8, 15, 22, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 1.15rem;
    transition: var(--transition-smooth);
}

.metric-card:hover {
    border-color: rgba(86, 228, 216, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(8, 15, 22, 0.4);
}

.metric-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.metric-icon {
    font-size: 1.15rem;
}

.metric-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: #94a3b8;
    letter-spacing: 0.5px;
}

.metric-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    letter-spacing: -0.5px;
}

.metric-sub {
    font-size: 0.74rem;
    color: #64748b;
    display: block;
}

/* ==========================================================================
   AURA BIOMEDICAL 3D MOLECULAR ANALYTICS LAB
   ========================================================================== */
.aura-lab-section {
    margin: 3.5rem 0;
}

.aura-lab-card {
    background: linear-gradient(135deg, rgba(16, 20, 32, 0.85) 0%, rgba(10, 12, 20, 0.95) 100%);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 16px;
    padding: 2.25rem;
    box-shadow: 0 16px 40px rgba(8, 15, 22, 0.5), 0 0 30px rgba(0, 243, 255, 0.1);
    position: relative;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.aura-lab-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.aura-lab-title-group {
    flex: 1 1 450px;
}

.aura-lab-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #00f3ff;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.25);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
}

.aura-lab-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.6rem;
    letter-spacing: -0.5px;
}

.aura-lab-subtitle {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 620px;
}

.aura-lab-telemetry {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.mol-telemetry-pill {
    background: rgba(8, 15, 22, 0.45);
    border: 1px solid rgba(0, 243, 255, 0.25);
    border-radius: 10px;
    padding: 0.6rem 1.25rem;
    text-align: right;
}

.mol-telemetry-label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: #94a3b8;
    letter-spacing: 1px;
}

.mol-telemetry-val {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.15rem;
    font-weight: 800;
    color: #00f3ff;
}

.aura-lab-body {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.aura-viewport-wrapper {
    position: relative;
    background: radial-gradient(circle at center, rgba(14, 25, 45, 0.8) 0%, rgba(6, 9, 16, 0.95) 100%);
    border: 1px solid rgba(0, 243, 255, 0.25);
    border-radius: 12px;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aura-mol-canvas {
    width: 100%;
    height: 100%;
    display: block;
    cursor: grab;
}

.aura-mol-canvas:active {
    cursor: grabbing;
}

.aura-viewport-hud {
    position: absolute;
    top: 12px;
    left: 14px;
    right: 14px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
}

.viewport-hud-tag {
    background: rgba(8, 15, 22, 0.6);
    border: 1px solid rgba(0, 243, 255, 0.3);
    padding: 3px 8px;
    border-radius: 4px;
    color: #00f3ff;
}

.viewport-hud-coords {
    color: #94a3b8;
    background: rgba(8, 15, 22, 0.6);
    padding: 3px 8px;
    border-radius: 4px;
}

.aura-viewport-overlay-hint {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(8, 15, 22, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.74rem;
    color: #94a3b8;
    pointer-events: none;
    white-space: nowrap;
}

.aura-control-deck {
    background: rgba(10, 14, 24, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.deck-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.deck-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.5px;
}

.mol-preset-grid {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.mol-preset-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.65rem 0.9rem;
    color: #cbd5e1;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.mol-preset-btn:hover {
    background: rgba(0, 243, 255, 0.1);
    border-color: #00f3ff;
    color: #ffffff;
}

.mol-preset-btn.active {
    background: rgba(0, 243, 255, 0.18);
    border-color: #00f3ff;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(0, 243, 255, 0.25);
}

.preset-name {
    font-size: 0.88rem;
    font-weight: 600;
}

.preset-id {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: #94a3b8;
}

.mol-render-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
}

.mol-render-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.45rem 0.25rem;
    font-size: 0.74rem;
    color: #cbd5e1;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
}

.mol-render-btn:hover, .mol-render-btn.active {
    background: rgba(0, 243, 255, 0.2);
    border-color: #00f3ff;
    color: #ffffff;
}

.deck-row-split {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.deck-toggle-btn {
    background: rgba(0, 243, 255, 0.15);
    border: 1px solid #00f3ff;
    color: #00f3ff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    padding: 3px 10px;
    border-radius: 6px;
    cursor: pointer;
}

.deck-telemetry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-top: auto;
}

.deck-telem-box {
    background: rgba(8, 15, 22, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
}

.telem-k {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.64rem;
    color: #64748b;
}

.telem-v {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

/* ==========================================================================
   ECHO TAP COGNITIVE VAULT CRACKER
   ========================================================================== */
.echo-vault-section {
    margin: 3.5rem 0;
}

.echo-vault-card {
    background: linear-gradient(135deg, rgba(15, 27, 40, 0.85) 0%, rgba(14, 9, 14, 0.95) 100%);
    border: 1px solid rgba(86, 228, 216, 0.35);
    border-radius: 16px;
    padding: 2.25rem;
    box-shadow: 0 16px 40px rgba(8, 15, 22, 0.5), 0 0 30px rgba(86, 228, 216, 0.12);
    position: relative;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.echo-vault-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.echo-vault-title-group {
    flex: 1 1 450px;
}

.echo-vault-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #56e4d8;
    background: rgba(86, 228, 216, 0.12);
    border: 1px solid rgba(86, 228, 216, 0.28);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
}

.echo-vault-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.6rem;
    letter-spacing: -0.5px;
}

.echo-vault-subtitle {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 620px;
}

.echo-vault-telemetry {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.vault-score-box {
    background: rgba(8, 15, 22, 0.45);
    border: 1px solid rgba(86, 228, 216, 0.25);
    border-radius: 10px;
    padding: 0.6rem 1.25rem;
    text-align: right;
}

.vault-score-label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: #94a3b8;
    letter-spacing: 1px;
}

.vault-score-val {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.4rem;
    font-weight: 800;
    color: #56e4d8;
}

.echo-vault-body {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.vault-matrix-wrapper {
    background: rgba(14, 9, 16, 0.8);
    border: 1px solid rgba(86, 228, 216, 0.22);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.vault-matrix-hud {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.65rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: #94a3b8;
}

.vault-nodes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.vault-node-btn {
    aspect-ratio: 1.2;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease-out;
    position: relative;
    -webkit-user-select: none;
    user-select: none;
}

.vault-node-btn .node-id {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: #64748b;
    margin-bottom: 4px;
}

.vault-node-btn .node-label {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
}

.vault-node-btn.node-alpha:hover { border-color: #56e4d8; }
.vault-node-btn.node-beta:hover { border-color: #00f3ff; }
.vault-node-btn.node-gamma:hover { border-color: #10b981; }
.vault-node-btn.node-delta:hover { border-color: #ffb300; }

.vault-node-btn.is-lit.node-alpha {
    background: rgba(86, 228, 216, 0.4);
    border-color: #56e4d8;
    box-shadow: 0 0 30px #56e4d8;
    transform: scale(1.04);
}
.vault-node-btn.is-lit.node-beta {
    background: rgba(0, 243, 255, 0.4);
    border-color: #00f3ff;
    box-shadow: 0 0 30px #00f3ff;
    transform: scale(1.04);
}
.vault-node-btn.is-lit.node-gamma {
    background: rgba(16, 185, 129, 0.4);
    border-color: #10b981;
    box-shadow: 0 0 30px #10b981;
    transform: scale(1.04);
}
.vault-node-btn.is-lit.node-delta {
    background: rgba(255, 179, 0, 0.4);
    border-color: #ffb300;
    box-shadow: 0 0 30px #ffb300;
    transform: scale(1.04);
}

.vault-seq-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.2s ease;
}

.indicator-dot.is-active {
    background: #56e4d8;
    box-shadow: 0 0 10px #56e4d8;
}

.vault-terminal-deck {
    background: rgba(15, 10, 18, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.terminal-log-screen {
    background: rgba(8, 15, 22, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1rem;
    min-height: 100px;
}

.terminal-hud-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.terminal-log-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.vault-controls-row {
    display: flex;
    gap: 0.75rem;
}

.vault-breach-btn {
    flex: 1;
    padding: 0.85rem;
    text-align: center;
    cursor: pointer;
    font-weight: 700;
}

.vault-reset-btn {
    padding: 0.85rem 1.25rem;
    cursor: pointer;
}

.vault-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

.vault-stat-box {
    background: rgba(8, 15, 22, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 0.6rem;
    text-align: center;
}

.stat-k {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.64rem;
    color: #64748b;
}

.stat-v {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
}

/* ==========================================================================
   SYNAPSE NEURAL VOICE & WAVEFORM SIMULATOR
   ========================================================================== */
.synapse-sim-section {
    margin: 3.5rem 0;
}

.synapse-sim-card {
    background: linear-gradient(135deg, rgba(20, 18, 30, 0.85) 0%, rgba(10, 10, 18, 0.95) 100%);
    border: 1px solid rgba(255, 179, 0, 0.35);
    border-radius: 16px;
    padding: 2.25rem;
    box-shadow: 0 16px 40px rgba(8, 15, 22, 0.5), 0 0 30px rgba(255, 179, 0, 0.12);
    position: relative;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.synapse-sim-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.synapse-sim-title-group {
    flex: 1 1 450px;
}

.synapse-sim-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffb300;
    background: rgba(255, 179, 0, 0.12);
    border: 1px solid rgba(255, 179, 0, 0.28);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
}

.synapse-sim-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.6rem;
    letter-spacing: -0.5px;
}

.synapse-sim-subtitle {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 620px;
}

.synapse-sim-telemetry {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.synapse-freq-box {
    background: rgba(8, 15, 22, 0.45);
    border: 1px solid rgba(255, 179, 0, 0.25);
    border-radius: 10px;
    padding: 0.6rem 1.25rem;
    text-align: right;
}

.synapse-freq-label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: #94a3b8;
    letter-spacing: 1px;
}

.synapse-freq-val {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffb300;
}

.synapse-sim-body {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2rem;
    align-items: start;
}

.synapse-scope-wrapper {
    background: rgba(10, 8, 16, 0.9);
    border: 1px solid rgba(255, 179, 0, 0.25);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.synapse-scope-hud {
    display: flex;
    justify-content: space-between;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: #94a3b8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.5rem;
}

.scope-hud-speed {
    color: #10b981;
}

.synapse-wave-canvas {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    background: rgba(8, 15, 22, 0.4);
    display: block;
}

.synapse-query-display {
    background: rgba(8, 15, 22, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.query-speech-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 600;
}

.query-result-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.05rem;
    font-weight: 700;
}

.synapse-prompt-deck {
    background: rgba(14, 12, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.synapse-prompts-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.synapse-prompt-btn {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    color: #cbd5e1;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: left;
}

.synapse-prompt-btn:hover {
    background: rgba(255, 179, 0, 0.12);
    border-color: #ffb300;
    color: #ffffff;
    transform: translateX(3px);
}

.synapse-prompt-btn.active {
    background: rgba(255, 179, 0, 0.2);
    border-color: #ffb300;
    color: #ffffff;
    box-shadow: 0 0 14px rgba(255, 179, 0, 0.25);
}

.prompt-icon {
    font-size: 1.25rem;
}

.prompt-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.prompt-text {
    font-weight: 600;
    font-size: 0.92rem;
}

.prompt-category {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: #94a3b8;
}

@media (max-width: 860px) {
    .aura-lab-body, .echo-vault-body, .synapse-sim-body {
        grid-template-columns: 1fr;
    }
    .aura-lab-header, .echo-vault-header, .synapse-sim-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .aura-lab-telemetry, .echo-vault-telemetry, .synapse-sim-telemetry {
        align-items: flex-start;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ==========================================================================
   MASTER CROSS-VIEW RESPONSIVE OPTIMIZATION SYSTEM
   (Desktop, Tablet, Phone, Portrait, Landscape, Ultra-Wide & Ultra-Small)
   ========================================================================== */

/* 1. TABLET SCREENS (601px - 1024px) */
@media (min-width: 601px) and (max-width: 1024px) {
    .filter-pill-bar {
        gap: 0.5rem;
        margin: 1.5rem auto 2.5rem;
    }
    .filter-pill {
        font-size: 0.84rem;
        padding: 0.45rem 1rem;
    }
    .faq-grid {
        max-width: 95%;
    }
    .faq-summary {
        font-size: 1rem;
        padding: 1.1rem 1.25rem;
    }
    .back-to-top-btn {
        bottom: 24px;
        right: 24px;
        width: 46px;
        height: 46px;
    }
}

/* 2. MOBILE PORTRAIT (<= 600px) */
@media (max-width: 600px) {
    .filter-pill-bar {
        gap: 0.45rem;
        margin: 1.2rem auto 2rem;
        padding: 0.25rem;
    }
    .filter-pill {
        font-size: 0.78rem;
        padding: 0.4rem 0.85rem;
        flex: 1 1 auto;
        text-align: center;
    }
    .btn-share-app {
        width: 100%;
        justify-content: center;
        padding: 0.65rem 1rem;
    }
    .faq-section {
        margin: 3rem 0 2rem;
    }
    .faq-title {
        font-size: 1.5rem;
    }
    .faq-subtitle {
        font-size: 0.88rem;
    }
    .faq-summary {
        font-size: 0.92rem;
        padding: 1rem 1.15rem;
    }
    .faq-content {
        font-size: 0.88rem;
        padding: 0 1.15rem 1.15rem 1.15rem;
    }
    .hud-toast {
        top: 75px;
        width: calc(100% - 32px);
        max-width: 360px;
        font-size: 0.76rem;
        padding: 0.6rem 1rem;
        justify-content: center;
    }
    .pin-share-badge {
        top: 10px;
        left: 10px;
        font-size: 0.72rem;
        padding: 0.3rem 0.65rem;
    }
    .back-to-top-btn {
        bottom: 18px;
        right: 18px;
        width: 42px;
        height: 42px;
    }
}

/* 3. MOBILE LANDSCAPE & COMPACT HEIGHT (Height <= 540px) */
@media (max-height: 540px) and (orientation: landscape) {
    .header {
        padding: 0.4rem 0;
    }
    .header-container {
        min-height: 52px;
    }
    .filter-pill-bar {
        margin: 0.8rem auto 1.2rem;
        gap: 0.4rem;
    }
    .filter-pill {
        font-size: 0.75rem;
        padding: 0.3rem 0.75rem;
    }
    .faq-section {
        margin: 2rem 0 1.5rem;
    }
    .faq-title {
        font-size: 1.4rem;
    }
    .back-to-top-btn {
        bottom: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
    }
    .back-to-top-icon {
        width: 16px;
        height: 16px;
    }
    .featured-app-banner,
    .pwa-install-banner {
        bottom: 10px;
        padding: 0.35rem 0.6rem 0.35rem 0.9rem;
    }
    .hud-toast {
        top: 60px;
        padding: 0.45rem 0.9rem;
    }
    .cyber-dropdown-menu {
        max-height: calc(100vh - 58px);
        padding: 0.85rem 1rem;
    }
    .mobile-menu-hud-top {
        padding-top: 0.5rem;
        padding-bottom: 0.6rem;
        margin-bottom: 0.8rem;
    }
    .mobile-nav-card {
        padding: 0.75rem 1rem;
    }
    .mobile-app-section {
        margin-top: 0.8rem;
        padding-top: 0.8rem;
    }
}

/* 4. ULTRA-SMALL PHONES (<= 360px) */
@media (max-width: 360px) {
    .container {
        padding: 5.25rem 0.5rem 2rem 0.5rem;
    }
    .card-content {
        padding: 1.15rem 0.85rem;
    }
    .card-action-group .btn-primary,
    .card-action-group .btn-secondary,
    .card-action-bar .btn-primary,
    .card-action-bar .btn-secondary {
        flex: 1 1 100%;
        width: 100%;
    }
    .filter-pill {
        font-size: 0.72rem;
        padding: 0.35rem 0.65rem;
    }
    .faq-summary {
        font-size: 0.85rem;
        gap: 0.5rem;
    }
    .featured-app-badge {
        display: none;
    }
    .featured-app-name {
        max-width: 130px;
        font-size: 0.78rem;
    }
    .featured-app-info,
    .pwa-info {
        font-size: 0.78rem;
    }
    .featured-app-action-btn,
    .pwa-action-btn {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
    }
}

/* ==========================================================================
   🌌 1. 3D INTERPLANETARY HELIOCENTRIC ORBIT & HOHMANN TRANSFER ENGINE
   ========================================================================== */
.mars-orbit-wrapper {
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
}

.orbit-hud-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.orbit-hud-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.orbit-hud-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #56e4d8;
}

.orbit-hud-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.3px;
    margin: 0;
}

.orbit-hud-controls {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.orbit-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.orbit-btn:hover {
    background: rgba(86, 228, 216, 0.15);
    border-color: #56e4d8;
    color: #ffffff;
}

.orbit-btn.active {
    background: rgba(86, 228, 216, 0.22);
    border-color: #56e4d8;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(86, 228, 216, 0.3);
}

.orbit-canvas-container {
    position: relative;
    background: radial-gradient(circle at center, rgba(22, 10, 20, 0.9) 0%, rgba(6, 4, 10, 0.98) 100%);
    border: 1px solid rgba(86, 228, 216, 0.25);
    border-radius: 12px;
    overflow: hidden;
    min-height: 440px;
    box-shadow: inset 0 0 50px rgba(8, 15, 22, 0.8);
}

.mars-orbit-canvas {
    width: 100%;
    height: 440px;
    display: block;
    cursor: grab;
}

.mars-orbit-canvas:active {
    cursor: grabbing;
}

.orbit-canvas-overlay-hint {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(8, 15, 22, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 0.72rem;
    color: #94a3b8;
    pointer-events: none;
    white-space: nowrap;
}

.orbit-live-telemetry {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    pointer-events: none;
}

.orbit-telemetry-item {
    background: rgba(8, 15, 22, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 5px 10px;
    display: flex;
    flex-direction: column;
}

.orbit-k {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    color: #64748b;
    letter-spacing: 0.5px;
}

.orbit-v {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    font-weight: 700;
}

/* ==========================================================================
   ⚡ 2. LIFEQUEST ACADEMY TRADE & 911 EMERGENCY SIMULATION LAB
   ========================================================================== */
.lifequest-lab-section {
    margin: 3.5rem 0;
}

.lifequest-lab-card {
    background: linear-gradient(135deg, rgba(14, 28, 22, 0.85) 0%, rgba(8, 16, 14, 0.95) 100%);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 16px;
    padding: 2.25rem;
    box-shadow: 0 16px 40px rgba(8, 15, 22, 0.5), 0 0 30px rgba(16, 185, 129, 0.12);
    position: relative;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.lifequest-lab-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.lifequest-lab-title-group {
    flex: 1 1 450px;
}

.lifequest-lab-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.28);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
}

.lifequest-lab-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.6rem;
    letter-spacing: -0.5px;
}

.lifequest-lab-subtitle {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 620px;
}

.lifequest-lab-tabs {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.lab-tab-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lab-tab-btn:hover {
    background: rgba(16, 185, 129, 0.12);
    border-color: #10b981;
    color: #ffffff;
}

.lab-tab-btn.active {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10b981;
    color: #ffffff;
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.25);
}

.lab-panel {
    display: none;
}

.lab-panel.active {
    display: block;
}

.multimeter-deck-layout {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.circuit-board-wrapper {
    background: rgba(6, 14, 10, 0.8);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: space-between;
}

.circuit-board-hud {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.65rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: #94a3b8;
}

.circuit-schematic-area {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    align-items: center;
}

.circuit-component {
    background: rgba(8, 15, 22, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem 0.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition-smooth);
}

.circuit-component.is-faulty {
    border-color: #5cd7cd;
    background: rgba(92, 215, 205, 0.08);
    box-shadow: 0 0 16px rgba(92, 215, 205, 0.2);
}

.comp-icon {
    font-size: 1.6rem;
}

.comp-name {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
}

.circuit-probe-btn {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid #10b981;
    color: #10b981;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.circuit-probe-btn:hover {
    background: #10b981;
    color: #080f16;
}

.circuit-hint-bar {
    background: rgba(8, 15, 22, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 0.65rem 1rem;
    font-size: 0.76rem;
    color: #94a3b8;
}

.multimeter-faceplate {
    background: linear-gradient(145deg, #18221c 0%, #0d1410 100%);
    border: 2px solid #10b981;
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: 0 16px 40px rgba(8, 15, 22, 0.6);
}

.meter-lcd-screen {
    background: #091710;
    border: 2px solid #059669;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    box-shadow: inset 0 0 15px rgba(8, 15, 22, 0.8);
}

.meter-lcd-mode-tag {
    display: flex;
    justify-content: space-between;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: #059669;
    margin-bottom: 0.25rem;
}

.meter-lcd-val {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.2rem;
    font-weight: 800;
    color: #4ade80;
    text-shadow: 0 0 12px #4ade80;
    letter-spacing: 1px;
}

.meter-sub-msg {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: #10b981;
    margin-top: 0.35rem;
}

.meter-dial-modes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
}

.meter-dial-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 0.5rem 0.25rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: #cbd5e1;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
}

.meter-dial-btn:hover, .meter-dial-btn.active {
    background: rgba(16, 185, 129, 0.25);
    border-color: #10b981;
    color: #ffffff;
}

.meter-action-btns {
    display: flex;
    gap: 0.6rem;
}

.meter-fix-btn {
    flex: 1;
    padding: 0.75rem;
    font-size: 0.85rem;
}

.meter-reset-btn {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
}

/* Tab 2 Emergency Deck */
.emergency-deck-layout {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.emergency-dispatch-box {
    background: rgba(13, 23, 34, 0.8);
    border: 1px solid rgba(92, 215, 205, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.dispatch-hud-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: #5cd7cd;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.6rem;
}

.dispatch-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #5cd7cd;
    box-shadow: 0 0 10px #5cd7cd;
    animation: panic-pulse 1.2s infinite;
}

.dispatch-call-time {
    margin-left: auto;
    color: #94a3b8;
}

.dispatch-dialogue {
    background: rgba(8, 15, 22, 0.4);
    border-left: 3px solid #5cd7cd;
    padding: 0.85rem 1.15rem;
    border-radius: 0 8px 8px 0;
}

.dispatch-caller-quote {
    font-size: 0.95rem;
    color: #ffffff;
    font-style: italic;
    line-height: 1.5;
    margin: 0;
}

.triage-options-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.triage-opt-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #cbd5e1;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: left;
}

.triage-opt-btn:hover {
    background: rgba(92, 215, 205, 0.15);
    border-color: #5cd7cd;
    color: #ffffff;
}

.triage-opt-btn.active {
    background: rgba(92, 215, 205, 0.22);
    border-color: #5cd7cd;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(92, 215, 205, 0.2);
}

.triage-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(92, 215, 205, 0.2);
    color: #5cd7cd;
}

.triage-title {
    font-size: 0.88rem;
    font-weight: 600;
}

.cpr-metronome-box {
    background: rgba(14, 10, 18, 0.8);
    border: 1px solid rgba(86, 228, 216, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.cpr-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: #94a3b8;
}

.cpr-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0.25rem 0 0;
}

.cpr-visual-pulse-wrapper {
    margin: 1.5rem 0;
}

.cpr-heart-circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(92, 215, 205, 0.25) 0%, rgba(92, 215, 205, 0.05) 70%);
    border: 2px solid #5cd7cd;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.08s ease-out, box-shadow 0.08s ease-out;
}

.cpr-heart-circle.is-beating {
    transform: scale(1.15);
    box-shadow: 0 0 35px #5cd7cd;
}

.cpr-heart-icon {
    font-size: 2rem;
}

.cpr-bpm-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
}

.cpr-tip-sub {
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 0.5rem;
    display: block;
}

/* ==========================================================================
   🛸 3. DEEP-SPACE XENOLINGUISTIC SIGNAL DECRYPTION MATRIX MODAL
   ========================================================================== */
.xeno-matrix-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 3, 10, 0.86);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    z-index: 100002;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

.xeno-matrix-overlay.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.xeno-matrix-window {
    width: 90%;
    max-width: 720px;
    background: linear-gradient(145deg, rgba(26, 14, 24, 0.96) 0%, rgba(10, 6, 12, 0.98) 100%);
    border: 1px solid rgba(86, 228, 216, 0.4);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(8, 15, 22, 0.8), 0 0 40px rgba(86, 228, 216, 0.25);
    overflow: hidden;
    transform: translateY(-15px) scale(0.98);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.xeno-matrix-overlay.is-active .xeno-matrix-window {
    transform: translateY(0) scale(1);
}

.xeno-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.xeno-status-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.xeno-pulse-beacon {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00f3ff;
    box-shadow: 0 0 12px #00f3ff;
    animation: panic-pulse 1.3s infinite;
}

.xeno-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.66rem;
    color: #00f3ff;
    letter-spacing: 1px;
}

.xeno-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.xeno-close-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.xeno-close-btn:hover {
    color: #56e4d8;
}

.xeno-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.xeno-spectrogram-wrap {
    background: #050308;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem;
    overflow: hidden;
}

.spectrogram-hud {
    display: flex;
    justify-content: space-between;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.xeno-spectrogram-canvas {
    width: 100%;
    height: 140px;
    display: block;
    background: #080f16;
    border-radius: 4px;
}

.xeno-cipher-deck {
    background: rgba(8, 15, 22, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.cipher-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: #64748b;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.3rem;
}

.xeno-alien-glyphs {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.4rem;
    color: #00f3ff;
    text-shadow: 0 0 12px #00f3ff;
    letter-spacing: 4px;
    min-height: 28px;
}

.xeno-decoded-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffb300;
    text-shadow: 0 0 8px rgba(255, 179, 0, 0.3);
    min-height: 24px;
}

.xeno-actions-row {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.xeno-action-btn {
    flex: 1;
    padding: 0.75rem;
    font-size: 0.85rem;
}

.xeno-footer {
    display: flex;
    justify-content: space-between;
    padding: 0.65rem 1.5rem;
    background: rgba(8, 15, 22, 0.35);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: #64748b;
}

/* ==========================================================================
   🗺️ 4. 1987 MANOR BLUEPRINT SCHEMATIC MAP (Holiday Paths)
   ========================================================================== */
.manor-blueprint-section {
    margin: 3.5rem 0;
}

.manor-blueprint-card {
    background: linear-gradient(135deg, rgba(12, 24, 38, 0.9) 0%, rgba(6, 14, 22, 0.98) 100%);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 16px;
    padding: 2.25rem;
    box-shadow: 0 16px 40px rgba(8, 15, 22, 0.6), 0 0 30px rgba(56, 189, 248, 0.12);
    position: relative;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.blueprint-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.blueprint-title-group {
    flex: 1 1 450px;
}

.blueprint-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.28);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
}

.blueprint-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.6rem;
    letter-spacing: -0.5px;
}

.blueprint-subtitle {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 650px;
}

.blueprint-legend {
    display: flex;
    gap: 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: #94a3b8;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.dot-cyan { background: #38bdf8; box-shadow: 0 0 8px #38bdf8; }
.dot-orange { background: #56e4d8; box-shadow: 0 0 8px #56e4d8; }
.dot-amber { background: #ffb300; box-shadow: 0 0 8px #ffb300; }

.blueprint-body-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.blueprint-grid-wrapper {
    background: rgba(6, 12, 20, 0.8);
    border: 1px dashed rgba(56, 189, 248, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
}

.blueprint-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

.blueprint-room-btn {
    background: rgba(56, 189, 248, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 8px;
    padding: 1rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: var(--transition-smooth);
}

.blueprint-room-btn:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: #38bdf8;
    transform: translateY(-2px);
}

.blueprint-room-btn.active {
    background: rgba(56, 189, 248, 0.22);
    border-color: #38bdf8;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.3);
    transform: translateY(-2px);
}

.blueprint-room-btn .room-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: #38bdf8;
}

.blueprint-room-btn .room-name {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.blueprint-dossier-card {
    background: rgba(6, 12, 20, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: space-between;
}

.dossier-zone {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: #38bdf8;
    display: block;
    margin-bottom: 0.3rem;
}

.dossier-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.dossier-desc {
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.6;
}

.dossier-clues-box {
    background: rgba(8, 15, 22, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1rem;
}

.clues-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: #ffb300;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.dossier-clues-list {
    margin: 0;
    padding-left: 1.2rem;
    font-size: 0.82rem;
    color: #cbd5e1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.dossier-cta {
    width: 100%;
    text-align: center;
    padding: 0.85rem;
}

@media (max-width: 860px) {
    .multimeter-deck-layout, .emergency-deck-layout, .blueprint-body-layout {
        grid-template-columns: 1fr;
    }
    .circuit-schematic-area {
        grid-template-columns: repeat(2, 1fr);
    }
    .blueprint-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   🛸 1. XENOTECH QUANTUM INTERFACE MODE & ALIEN PROTOCOL
   ========================================================================== */
.xenotech-btn {
    background: rgba(0, 243, 255, 0.08) !important;
    border-color: rgba(0, 243, 255, 0.3) !important;
    color: #00f3ff !important;
}

.xenotech-btn:hover, .xenotech-btn.active {
    background: rgba(0, 243, 255, 0.22) !important;
    border-color: #00f3ff !important;
    box-shadow: 0 0 14px rgba(0, 243, 255, 0.4) !important;
    color: #ffffff !important;
}

body.xenotech-active {
    --mars-glow: rgba(0, 243, 255, 0.35);
}

body.xenotech-active .glass-card,
body.xenotech-active .feature-card,
body.xenotech-active .portfolio-card,
body.xenotech-active .mars-telemetry-hud {
    border-color: rgba(0, 243, 255, 0.35) !important;
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.12) !important;
}

body.xenotech-active .nav-header {
    border-bottom: 1px solid rgba(0, 243, 255, 0.3);
}

#xenotech-particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 999999;
}

/* ==========================================================================
   🪐 2. 3D MARS PLANETARY SURFACE SCANNER & ORBITAL GLOBE
   ========================================================================== */
.mars-globe-wrapper {
    margin-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
}

.globe-hud-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.globe-deck-layout {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.globe-canvas-container {
    position: relative;
    background: radial-gradient(circle at center, rgba(14, 27, 42, 0.9) 0%, rgba(8, 4, 10, 0.98) 100%);
    border: 1px solid rgba(86, 228, 216, 0.3);
    border-radius: 14px;
    overflow: hidden;
    min-height: 440px;
    box-shadow: inset 0 0 60px rgba(8, 15, 22, 0.85);
}

.mars-globe-canvas {
    width: 100%;
    height: 440px;
    display: block;
    cursor: grab;
}

.mars-globe-canvas:active {
    cursor: grabbing;
}

.globe-overlay-hint {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(8, 15, 22, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 0.72rem;
    color: #94a3b8;
    pointer-events: none;
    white-space: nowrap;
}

.globe-dossier-card {
    background: rgba(14, 8, 14, 0.75);
    border: 1px solid rgba(86, 228, 216, 0.25);
    border-radius: 14px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: space-between;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.globe-target-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.globe-pulse-beacon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #56e4d8;
    box-shadow: 0 0 10px #56e4d8;
    animation: panic-pulse 1.3s infinite;
}

.globe-target-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0.35rem 0 0;
}

.globe-beacon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 0.45rem;
    margin-top: 0.4rem;
}

.globe-beacon-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 0.45rem 0.35rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: #cbd5e1;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
}

.globe-beacon-btn:hover {
    background: rgba(86, 228, 216, 0.15);
    border-color: #56e4d8;
    color: #ffffff;
}

.globe-beacon-btn.active {
    background: rgba(86, 228, 216, 0.25);
    border-color: #56e4d8;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(86, 228, 216, 0.3);
}

.globe-telemetry-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.65rem;
}

.globe-stat-item {
    background: rgba(8, 15, 22, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.stat-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    color: #64748b;
}

.stat-val {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 700;
}

.globe-target-desc {
    font-size: 0.88rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}

.globe-scan-btn {
    width: 100%;
    padding: 0.8rem;
    font-size: 0.85rem;
}

/* ==========================================================================
   🧬 3. SYNTHETIC XENOBIOLOGY & 3D XNA DOUBLE-HELIX LAB (Aura)
   ========================================================================== */
.xenobiology-section {
    margin: 3.5rem 0;
}

.xenobiology-card {
    background: linear-gradient(135deg, rgba(10, 24, 30, 0.9) 0%, rgba(6, 12, 18, 0.98) 100%);
    border: 1px solid rgba(0, 243, 255, 0.35);
    border-radius: 16px;
    padding: 2.25rem;
    box-shadow: 0 16px 40px rgba(8, 15, 22, 0.6), 0 0 30px rgba(0, 243, 255, 0.12);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.xeno-lab-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.xeno-title-group {
    flex: 1 1 480px;
}

.xeno-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #00f3ff;
    background: rgba(0, 243, 255, 0.12);
    border: 1px solid rgba(0, 243, 255, 0.28);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
}

.xeno-lab-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.6rem;
    letter-spacing: -0.5px;
}

.xeno-lab-subtitle {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 650px;
}

.xeno-system-selector {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.xeno-mode-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 0.6rem 0.95rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #cbd5e1;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.xeno-mode-btn:hover, .xeno-mode-btn.active {
    background: rgba(0, 243, 255, 0.2);
    border-color: #00f3ff;
    color: #ffffff;
    box-shadow: 0 0 14px rgba(0, 243, 255, 0.25);
}

.xeno-helix-layout {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.xeno-canvas-container {
    position: relative;
    background: radial-gradient(circle at center, rgba(6, 20, 28, 0.9) 0%, rgba(3, 8, 14, 0.98) 100%);
    border: 1px solid rgba(0, 243, 255, 0.25);
    border-radius: 12px;
    overflow: hidden;
    min-height: 420px;
}

.aura-helix-canvas {
    width: 100%;
    height: 420px;
    display: block;
    cursor: grab;
}

.aura-helix-canvas:active {
    cursor: grabbing;
}

.helix-hint-overlay {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(8, 15, 22, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 0.72rem;
    color: #94a3b8;
    pointer-events: none;
    white-space: nowrap;
}

.xeno-transcription-deck {
    background: rgba(4, 12, 18, 0.75);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: space-between;
}

.codon-seq-box, .codon-result-box {
    background: rgba(8, 15, 22, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.xna-sequence-display {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.nuc-base {
    padding: 2px 5px;
    border-radius: 4px;
    display: inline-block;
}
.base-a { color: #38bdf8; background: rgba(56, 189, 248, 0.15); }
.base-t { color: #84e5dd; background: rgba(132, 229, 221, 0.15); }
.base-c { color: #fbbf24; background: rgba(251, 191, 36, 0.15); }
.base-g { color: #4ade80; background: rgba(74, 222, 128, 0.15); }
.base-x { color: #c084fc; background: rgba(192, 132, 252, 0.2); text-shadow: 0 0 8px #c084fc; }
.base-y { color: #2dd4bf; background: rgba(45, 212, 191, 0.2); text-shadow: 0 0 8px #2dd4bf; }

.xna-peptide-display {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}

.xna-sub-note {
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.4;
}

.xna-controls-row {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.xna-act-btn {
    flex: 1;
    padding: 0.75rem 0.5rem;
    font-size: 0.8rem;
    text-align: center;
}

.xna-stability-meter {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.stability-header {
    display: flex;
    justify-content: space-between;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: #94a3b8;
}

.stability-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
}

.stability-fill {
    height: 100%;
    background: linear-gradient(90deg, #00f3ff, #38bdf8);
    border-radius: 999px;
    transition: width 0.3s ease;
}

/* ==========================================================================
   📡 4. SETI DEEP-SPACE ALIEN BEACON AUDIO SYNTHESIZER (Synapse)
   ========================================================================== */
.seti-transceiver-section {
    margin: 3.5rem 0;
}

.seti-transceiver-card {
    background: linear-gradient(135deg, rgba(22, 14, 28, 0.9) 0%, rgba(10, 6, 16, 0.98) 100%);
    border: 1px solid rgba(255, 179, 0, 0.35);
    border-radius: 16px;
    padding: 2.25rem;
    box-shadow: 0 16px 40px rgba(8, 15, 22, 0.6), 0 0 30px rgba(255, 179, 0, 0.12);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.seti-header {
    margin-bottom: 2rem;
}

.seti-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffb300;
    background: rgba(255, 179, 0, 0.12);
    border: 1px solid rgba(255, 179, 0, 0.28);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
}

.seti-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.6rem;
    letter-spacing: -0.5px;
}

.seti-subtitle {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 680px;
}

.seti-body-layout {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.seti-controls-panel {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.seti-preset-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.seti-preset-btn {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
}

.seti-preset-btn:hover {
    background: rgba(255, 179, 0, 0.15);
    border-color: #ffb300;
}

.seti-preset-btn.active {
    background: rgba(255, 179, 0, 0.22);
    border-color: #ffb300;
    box-shadow: 0 0 14px rgba(255, 179, 0, 0.25);
}

.preset-icon {
    font-size: 1.4rem;
}

.preset-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.preset-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
}

.preset-sub {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: #cbd5e1;
}

.seti-custom-input-box {
    background: rgba(8, 15, 22, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.seti-input-row {
    display: flex;
    gap: 0.6rem;
}

.seti-input {
    flex: 1;
    background: rgba(8, 15, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 0.65rem 0.85rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    color: #ffffff;
}

.seti-input:focus {
    outline: none;
    border-color: #ffb300;
    box-shadow: 0 0 10px rgba(255, 179, 0, 0.3);
}

.seti-encode-btn {
    padding: 0.65rem 1rem;
    font-size: 0.82rem;
    white-space: nowrap;
}

.seti-display-panel {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: space-between;
}

.seti-oscilloscope-wrap {
    background: #050308;
    border: 1px solid rgba(255, 179, 0, 0.3);
    border-radius: 8px;
    padding: 0.85rem;
    overflow: hidden;
}

.seti-oscilloscope-canvas {
    width: 100%;
    height: 150px;
    display: block;
    background: #080f16;
    border-radius: 4px;
}

.seti-telemetry-box {
    background: rgba(8, 15, 22, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.seti-bitstream-display {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    color: #ffb300;
    letter-spacing: 1px;
    word-break: break-all;
}

.seti-status-msg {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 700;
}

/* ==========================================================================
   📜 5. 1987 VICTORIAN OCCULT BRASS CIPHER WHEEL (Holiday Paths)
   ========================================================================== */
.cipher-wheel-section {
    margin: 3.5rem 0;
}

.cipher-wheel-card {
    background: linear-gradient(135deg, rgba(15, 27, 40, 0.9) 0%, rgba(12, 21, 31, 0.98) 100%);
    border: 1px solid rgba(34, 150, 222, 0.35);
    border-radius: 16px;
    padding: 2.25rem;
    box-shadow: 0 16px 40px rgba(8, 15, 22, 0.6), 0 0 30px rgba(34, 150, 222, 0.12);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.cipher-wheel-header {
    margin-bottom: 2rem;
}

.cipher-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fbbf24;
    background: rgba(34, 150, 222, 0.12);
    border: 1px solid rgba(34, 150, 222, 0.28);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
}

.cipher-wheel-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.6rem;
    letter-spacing: -0.5px;
}

.cipher-wheel-subtitle {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 680px;
}

.cipher-body-layout {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 2rem;
    align-items: center;
}

.cipher-wheel-interactive-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.cipher-disc-container {
    position: relative;
    width: 360px;
    height: 360px;
    max-width: 100%;
}

.cipher-wheel-canvas {
    width: 100%;
    height: 100%;
    display: block;
    cursor: grab;
}

.cipher-wheel-canvas:active {
    cursor: grabbing;
}

.cipher-controls-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cipher-shift-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fbbf24;
    background: rgba(34, 150, 222, 0.15);
    border: 1px solid rgba(34, 150, 222, 0.3);
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
}

.cipher-cryptogram-deck {
    background: rgba(11, 19, 28, 0.7);
    border: 1px solid rgba(34, 150, 222, 0.25);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cipher-tabs-row {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.cipher-doc-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.45rem 0.65rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #cbd5e1;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cipher-doc-btn:hover, .cipher-doc-btn.active {
    background: rgba(34, 150, 222, 0.2);
    border-color: #fbbf24;
    color: #ffffff;
}

.cipher-text-box {
    background: rgba(8, 15, 22, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.cipher-text-box.decrypted {
    border-color: rgba(34, 150, 222, 0.3);
    background: rgba(34, 150, 222, 0.04);
}

.cipher-box-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.64rem;
    color: #64748b;
}

.cipher-raw-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    color: #84e5dd;
    letter-spacing: 1px;
}

.cipher-decrypted-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    font-weight: 700;
    color: #4ade80;
    letter-spacing: 0.5px;
    min-height: 24px;
}

.cipher-hint-bar {
    background: rgba(8, 15, 22, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 0.6rem 0.85rem;
    font-size: 0.76rem;
    color: #fbbf24;
}

@media (max-width: 860px) {
    .multimeter-deck-layout, .emergency-deck-layout, .blueprint-body-layout {
        grid-template-columns: 1fr;
    }
    .circuit-schematic-area {
        grid-template-columns: repeat(2, 1fr);
    }
    .blueprint-grid {
        grid-template-columns: 1fr;
    }
    .globe-deck-layout, .xeno-helix-layout, .seti-body-layout, .cipher-body-layout {
        grid-template-columns: 1fr;
    }
    .cipher-disc-container {
        width: 300px;
        height: 300px;
    }
}

/* Extracted Clean Component & Utility Classes */
.dropdown-footer-link.telemetry-link {
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    margin-top: 4px;
}

.card-action-group.action-group-spaced {
    margin-bottom: 1.5rem;
}

.footer-link.footer-link-telemetry {
    color: var(--color-orange);
    margin-top: 0.25rem;
}

/* Platform Link Pills */
.btn-privacy-pill.pill-itch {
    border-color: rgba(114, 228, 218, 0.4);
    color: #72e4da;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-privacy-pill.pill-gamejolt {
    border-color: rgba(204, 255, 0, 0.4);
    color: #ccff00;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-privacy-pill.pill-ifdb {
    border-color: rgba(255, 179, 0, 0.4);
    color: #ffb300;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Seasonal Mystery Trilogy Showcase */
.trilogy-subtitle {
    text-align: center;
    color: var(--text-muted, #94a3b8);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.trilogy-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.trilogy-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.trilogy-card-halloween {
    border-color: rgba(59, 166, 233, 0.4);
    background: linear-gradient(145deg, rgba(28, 20, 42, 0.7) 0%, rgba(16, 13, 26, 0.8) 100%);
}

.trilogy-card-thanksgiving {
    border-color: rgba(34, 150, 222, 0.4);
    background: linear-gradient(145deg, rgba(17, 29, 44, 0.7) 0%, rgba(13, 23, 34, 0.8) 100%);
}

.trilogy-card-christmas {
    border-color: rgba(56, 189, 248, 0.4);
    background: linear-gradient(145deg, rgba(16, 26, 42, 0.7) 0%, rgba(10, 15, 26, 0.8) 100%);
}

.trilogy-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.trilogy-badge {
    font-size: 0.75rem;
    margin: 0;
}

.badge-thanksgiving {
    background: rgba(34, 150, 222, 0.2);
    border: 1px solid rgba(34, 150, 222, 0.5);
    color: #fbbf24;
    font-size: 0.75rem;
    margin: 0;
}

.badge-christmas {
    background: rgba(56, 189, 248, 0.2);
    border: 1px solid rgba(56, 189, 248, 0.5);
    color: #38bdf8;
    font-size: 0.75rem;
    margin: 0;
}

.trilogy-stat-halloween {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #55b2ec;
}

.trilogy-stat-thanksgiving {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #fbbf24;
}

.trilogy-stat-christmas {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #38bdf8;
}

.trilogy-title {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.trilogy-desc {
    margin-bottom: 1.25rem;
}

.trilogy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1rem;
}

.btn-trilogy-action {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-trilogy-secondary {
    padding: 8px 14px;
    font-size: 0.85rem;
}

.btn-pill-thanksgiving {
    border-color: rgba(34, 150, 222, 0.6);
    color: #fbbf24;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-pill-christmas {
    border-color: rgba(56, 189, 248, 0.6);
    color: #38bdf8;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-pill-christmas-subtle {
    border-color: rgba(255, 255, 255, 0.2);
    color: #e2e8f0;
    padding: 8px 14px;
    font-size: 0.85rem;
}

.dropdown-footer-telemetry {
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    margin-top: 4px;
}

.card-cta-upcoming {
    opacity: 0.88;
    border-style: dashed;
    cursor: default;
}

.footer-link-telemetry {
    color: var(--color-orange);
    margin-top: 0.25rem;
}

.btn-thanksgiving-play {
    background: linear-gradient(135deg, #2296de, #1b83c4);
    border-color: #fbbf24;
    color: #080f16;
    font-weight: 800;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 8px;
    box-shadow: 0 0 14px rgba(34, 150, 222, 0.4);
}

/* ---- Learn line extras: calmer, friendlier feel ---- */
body.line-learn { background-color:#07131f; }
body.line-learn .hero .title span, body.line-learn .title span { text-shadow:none; }
body.line-learn .glass-card, body.line-learn .portfolio-card { box-shadow:0 8px 28px rgba(2,10,18,.45); }
