:root {
    --fs-xs: clamp(.75rem, .6rem + .3vw, .85rem);
    --fs-sm: clamp(.9rem, .8rem + .4vw, 1rem);
    --fs-md: clamp(1rem, .9rem + .8vw, 1.25rem);
    --fs-lg: clamp(1.2rem, 1rem + 1.2vw, 1.6rem);
    --fs-xl: clamp(1.6rem, 1.2rem + 2.2vw, 2.4rem);
    --fs-2xl: clamp(2rem, 1.4rem + 3.2vw, 3.2rem);
    
    --fs-text: clamp(1.2rem, 1.05rem + 0.6vw, 1.55rem);
    --fs-feature-title: clamp(1.375rem, 1.25rem + 0.625vw, 1.75rem);

    --space-1: clamp(4px, 2px + .6vw, 8px);
    --space-2: clamp(8px, 4px + .8vw, 14px);
    --space-3: clamp(12px, 6px + 1vw, 20px);
    --space-4: clamp(16px, 8px + 1.4vw, 28px);
    --space-5: clamp(24px, 12px + 1.8vw, 40px);
    --space-6: clamp(40px, 20px + 2.5vw, 80px);
    --radius: clamp(6px, 4px + .6vw, 12px);

    --container: min(100%, 1400px);
    --panel-pad: var(--space-4);
    --panel-gap: var(--space-4);

    --edge-size: 88px;                
    --panel-padding: calc(var(--edge-size) / 4); 
    --tablet-padding: calc(var(--edge-size));
    color-scheme: dark;
}

@font-face {
    font-family: 'ScreamingNeon';
    src: url('/Assets/Fonts/ScreamingNeon.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Oxanium';
    src: url('/Assets/Fonts/OxaniumSemibold.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'FutureNotFound';
    src: url('/Assets/Fonts/FutureNotFound.ttf') format('truetype');
    font-display: swap;
}

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

.high-quality-image,
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: -moz-crisp-edges;
    image-rendering: auto;
    -ms-interpolation-mode: bicubic;
    backface-visibility: hidden;
    transform: translateZ(0);
    max-width: 100%;
    height: auto;
}

body {
    font-family: 'ScreamingNeon', 'Courier New', monospace;
    background: radial-gradient(circle at center, #082612 0%, rgba(0, 0, 0, 1) 55%, #000000 100%);
    color: rgb(0, 255, 76);
    overflow-x: hidden;
    position: relative;
    letter-spacing: 2px;
    font-size: var(--fs-md);
    text-shadow: 1px 1px 0px rgba(0, 255, 76, 0.35), 0 0 6px rgb(0, 255, 76, 0.5);
    min-height: 100vh;
    isolation: isolate;
}

body > * {
    position: relative;
    z-index: 1;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(transparent 65%, rgba(0, 255, 76, 0.04) 65%);
    background-size: 100% 8px;
    mix-blend-mode: screen;
    pointer-events: none;
    animation: scanlines 12s linear infinite;
    z-index: 0;
    will-change: transform;
}

@keyframes scanlines {
    0% { transform: translateY(0); }
    100% { transform: translateY(-16px); }
}

.container {
    position: relative;
    z-index: 10;
    max-width: var(--container);
    margin: 0 auto;
    padding: var(--space-3);
}

/* GUI Tablet Style */
.gui-tablet {
    position: relative;
    background: none;
    image-rendering: smooth;
    border: none;
    box-shadow: none;
    margin: 0;
    padding: var(--tablet-padding);
}

.gui-tablet > .center-fill {
    position: absolute;
    inset: calc(var(--edge-size));
    pointer-events: none;
    z-index: 0;
    image-rendering: smooth;
    background-image: url('/Assets/Textures/GUI/Tablet/C.png');
    background-repeat: repeat;
    background-position: 0 0;
}

.gui-tablet::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: 
        url('/Assets/Textures/GUI/Tablet/TL.png') 0 0 no-repeat,
        url('/Assets/Textures/GUI/Tablet/TR.png') 100% 0 no-repeat,
        url('/Assets/Textures/GUI/Tablet/BL.png') 0 100% no-repeat,
        url('/Assets/Textures/GUI/Tablet/BR.png') 100% 100% no-repeat;
    image-rendering: smooth;
    z-index: 1;
}

.gui-tablet > .edge {
    position: absolute;
    pointer-events: none; 
    image-rendering: smooth;
    z-index: 1;
    will-change: background-position;
    background-color: transparent;
    overflow: hidden; 
}

.gui-tablet > .top-edge,
.gui-tablet > .bottom-edge {
    left: 88px;
    width: calc(100% - 88px * 2);
    height: 88px;
    background-repeat: repeat-x;
}

.gui-tablet > .top-edge {
    top: 0;
    background-image: url('/Assets/Textures/GUI/Tablet/T.png');
    background-position: 50% 0;
}

.gui-tablet > .bottom-edge {
    bottom: 0;
    background-image: url('/Assets/Textures/GUI/Tablet/B.png');
    background-position: 50% 100%;
}

.gui-tablet > .left-edge,
.gui-tablet > .right-edge {
    top: 88px;
    height: calc(100% - 88px * 2);
    width: 88px; 
    background-repeat: repeat-y;
}

.gui-tablet > .left-edge {
    left: 0;
    background-image: url('/Assets/Textures/GUI/Tablet/L.png');
    background-position: 0 50%;
}

.gui-tablet > .right-edge {
    right: 0;
    background-image: url('/Assets/Textures/GUI/Tablet/R.png');
    background-position: 100% 50%;
}

.gui-tablet::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: 
        url('/Assets/Textures/GUI/Tablet/Deco_TL.png') 0 0 no-repeat,
        url('/Assets/Textures/GUI/Tablet/Deco_TR.png') 100% 0 no-repeat,
        url('/Assets/Textures/GUI/Tablet/Deco_BL.png') 0 100% no-repeat,
        url('/Assets/Textures/GUI/Tablet/Deco_BR.png') 100% 100% no-repeat;
    image-rendering: smooth;
    z-index: 2;
}

.gui-tablet > .deco-edge {
    position: absolute;
    pointer-events: none; 
    image-rendering: smooth;
    z-index: 2;
    will-change: background-position;
    background-color: transparent;
    overflow: hidden; 
}

.gui-tablet > .deco-top-edge,
.gui-tablet > .deco-bottom-edge {
    left: 88px;
    width: calc(100% - 88px * 2);
    height: 88px;
    background-repeat: repeat-x;
}

.gui-tablet > .deco-top-edge {
    top: 0;
    background-image: url('/Assets/Textures/GUI/Tablet/Deco_T.png');
    background-position: 50% 0;
}

.gui-tablet > .deco-bottom-edge {
    bottom: 0;
    background-image: url('/Assets/Textures/GUI/Tablet/Deco_B.png');
    background-position: 50% 100%;
}

.gui-tablet > .deco-left-edge,
.gui-tablet > .deco-right-edge {
    top: 88px;
    height: calc(100% - 88px * 2);
    width: 88px; 
    background-repeat: repeat-y;
}

.gui-tablet > .deco-left-edge {
    left: 0;
    background-image: url('/Assets/Textures/GUI/Tablet/Deco_L.png');
    background-position: 0 50%;
}

.gui-tablet > .deco-right-edge {
    right: 0;
    background-image: url('/Assets/Textures/GUI/Tablet/Deco_R.png');
    background-position: 100% 50%;
}

.gui-tablet > * {
    position: relative;
    z-index: 3;
}

/* GUI Panel Style */
.gui-panel {
    position: relative;
    --panel-center-offset: 22px;
    background-color: rgba(0, 24, 0, 0.6);
    image-rendering: smooth;
    border: none;
    box-shadow: none;
    margin: 0;
    padding: var(--panel-padding);
}

.gui-panel > .center-fill {
    position: absolute;
    inset: calc(var(--edge-size) - var(--panel-padding) + var(--panel-center-offset));
    pointer-events: none;
    z-index: 0;
    image-rendering: smooth;
    background-image: url('/Assets/Textures/GUI/Panel/C.png');
    background-repeat: repeat;
    background-position: 0 0;
}

.gui-panel > .center-fill::before {
    content: '';
    position: absolute;
    inset: var(--panel-glow-inset);
    pointer-events: none;
    box-shadow:
        0 0 24px rgba(0, 255, 76, 0.22),
        0 0 44px rgba(0, 255, 76, 0.16);
}

.gui-panel::before {
    content: '';
    position: absolute;
    inset: 0; 
    pointer-events: none;
    background:
        url('/Assets/Textures/GUI/Panel/TL.png') 0 0 no-repeat,
        url('/Assets/Textures/GUI/Panel/TR.png') 100% 0 no-repeat,
        url('/Assets/Textures/GUI/Panel/BL.png') 0 100% no-repeat,
        url('/Assets/Textures/GUI/Panel/BR.png') 100% 100% no-repeat;
    image-rendering: smooth;
    z-index: 1; 
}

.gui-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: 
        url('/Assets/Textures/GUI/Panel/Deco_TL.png') 0 0 no-repeat,
        url('/Assets/Textures/GUI/Panel/Deco_TR.png') 100% 0 no-repeat,
        url('/Assets/Textures/GUI/Panel/Deco_BL.png') 0 100% no-repeat,
        url('/Assets/Textures/GUI/Panel/Deco_BR.png') 100% 100% no-repeat;
    image-rendering: smooth;
    z-index: 10;
}

.gui-panel > *:not(.center-fill) {
    position: relative;
    z-index: 2;
}

.gui-panel > .edge {
    position: absolute;
    pointer-events: none; 
    image-rendering: smooth;
    z-index: 1;
    will-change: background-position;
    background-color: transparent;
    overflow: hidden; 
}

.gui-panel > .top-edge,
.gui-panel > .bottom-edge {
    left: 88px;
    width: calc(100% - 88px * 2);
    height: 88px;
    background-repeat: repeat-x;
}

.gui-panel > .top-edge {
    top: 0;
    background-image: url('/Assets/Textures/GUI/Panel/T.png');
    background-position: 50% 0;
}

.gui-panel > .bottom-edge {
    bottom: 0;
    background-image: url('/Assets/Textures/GUI/Panel/B.png');
    background-position: 50% 100%;
}

.gui-panel > .left-edge,
.gui-panel > .right-edge {
    top: 88px;
    height: calc(100% - 88px * 2);
    width: 88px; 
    background-repeat: repeat-y;
}

.gui-panel > .left-edge {
    left: 0;
    background-image: url('/Assets/Textures/GUI/Panel/L.png');
    background-position: 0 50%;
}

.gui-panel > .right-edge {
    right: 0;
    background-image: url('/Assets/Textures/GUI/Panel/R.png');
    background-position: 100% 50%;
}

.gui-panel {
    box-shadow:
        0 0 28px rgba(0, 255, 76, 0.14);
}

.gui-panel > .center-fill,
.gui-panel > .edge,
.gui-panel::before {
    opacity: 0.9;
}
        
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--space-3);
    padding-block: clamp(32px, 4vw, 72px);
    padding-inline: var(--space-5);
    margin-bottom: var(--space-4);
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    scale: clamp(0.6, 0.4 + 0.8vw, 1.8);
    gap: var(--space-4);
    margin-top: var(--space-1);
}

.logo-text {
    width: clamp(260px, 82vw, 1120px);
    filter: drop-shadow(0 0 2px rgb(50, 205, 50)) drop-shadow(0 0 6px rgb(50, 205, 50, 0.5));
    animation: logoGlow 4s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    from { filter: drop-shadow(0 0 2px rgb(65, 255, 65)) }
    to { filter: drop-shadow(0 0 2px rgb(65, 255, 65)) drop-shadow(0 0 4px rgb(50, 205, 50, 0.25)); }
}

.site-bar {
    width: 100%;
    padding: var(--space-3) 0;
    height: 86px;
    overflow: hidden;
    margin-bottom: var(--space-4);
    border-bottom: 1px solid rgba(0, 255, 76, 0.28);
    background: rgba(0, 20, 0, 0.75);
    box-shadow: 0 0 18px rgba(0, 255, 76, 0.18);
}

.site-bar__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-3);
    row-gap: var(--space-1);
    padding: 0 var(--space-5);
    container-type: inline-size;
}

.site-bar__spacer,
.site-bar__socials {
    flex: 1 1 0%;
}

.site-bar__spacer {
    min-height: 1px;
}

.site-bar__tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: clamp(16px, 2.4vw, 48px);
    flex: 0 0 auto;
}

.tab-link {
    display: inline-block;
    font-family: 'Oxanium', 'Arial', sans-serif;
    font-size: clamp(1.25rem, 1rem + 1.4vw, 2.1rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgb(0, 255, 76);
    text-decoration: none;
    position: relative;
    text-shadow:
        -1px -1px 0 rgb(0, 57, 0),
        1px -1px 0 rgb(0, 57, 0),
        -1px 1px 0 rgb(0, 57, 0),
        1px 1px 0 rgb(0, 57, 0),
        -2px 0px 0 rgb(0, 57, 0),
        2px 0px 0 rgb(0, 57, 0),
        0px -2px 0 rgb(0, 57, 0),
        0px 2px 0 rgb(0, 57, 0),
        0px 0px 8px rgba(0, 255, 76, 0.75),
        2.5px 2.25px 0 rgba(0, 255, 76, 0.25);
    transition: color 0.25s ease, text-shadow 0.25s ease, transform 0.2s ease;
}

.tab-link:hover,
.tab-link:focus {
    /* Keep base style; only show underline */
    color: rgb(0, 255, 76);
    transform: none;
    text-shadow:
        -1px -1px 0 rgb(0, 57, 0),
        1px -1px 0 rgb(0, 57, 0),
        -1px 1px 0 rgb(0, 57, 0),
        1px 1px 0 rgb(0, 57, 0),
        -2px 0px 0 rgb(0, 57, 0),
        2px 0px 0 rgb(0, 57, 0),
        0px -2px 0 rgb(0, 57, 0),
        0px 2px 0 rgb(0, 57, 0),
        0px 0px 8px rgba(0, 255, 76, 0.75),
        2.5px 2.25px 0 rgba(0, 255, 76, 0.25);
}

.tab-link.active {
    color: rgb(150, 255, 190);
    text-shadow:
        -1px -1px 0 rgb(0, 57, 0),
        1px -1px 0 rgb(0, 57, 0),
        -1px 1px 0 rgb(0, 57, 0),
        1px 1px 0 rgb(0, 57, 0),
        -2px 0px 0 rgb(0, 57, 0),
        2px 0px 0 rgb(0, 57, 0),
        0px -2px 0 rgb(0, 57, 0),
        0px 2px 0 rgb(0, 57, 0),
        0px 0px 16px rgba(0, 255, 76, 1.0),
        3px 2.5px 0 rgba(0, 255, 76, 0.3);
}

/* Growing underline animation for tab links with 2px glow */
.tab-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 60%;
    height: 2px;
    background: rgba(0, 255, 76, 0.95);
    box-shadow: 
        0 0 2px rgba(0, 255, 76, 0.9),
        0 0 6px rgba(0, 255, 76, 0.5);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.18s ease-in-out;
}
.tab-link:hover::after,
.tab-link:focus-visible::after {
    transform: translateX(-50%) scaleX(1);
}

.site-bar .site-bar__socials {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: var(--space-2);
    row-gap: var(--space-1);
    flex-wrap: nowrap;
    margin-left: auto;
    margin-right: 10%;
    align-content: center;
}

.site-bar__socials .social-link {
    scale: 1.1;
    opacity: 0.95;
}

@container (max-width: 920px) {
    .site-bar__spacer { display: none; }
    .site-bar .site-bar__socials {
        margin-right: 0;
        flex: 0 0 100%;
        justify-content: center;
        flex-wrap: nowrap;
        order: 3;
        gap: var(--space-1);
    }
    .site-bar__tabs { 
        margin-inline: auto;
        gap: clamp(12px, 2vw, 28px);
    }
    .site-bar__tabs .tab-link {
        font-size: clamp(1.0rem, 0.85rem + 0.9vw, 1.5rem);
    }
    .site-bar .site-bar__socials .social-link {
        scale: 0.95;
    }
}

@container (max-width: 900px) {
    .site-bar__inner { 
        transform: scale(0.96);
        transform-origin: top center;
    }
}
@container (max-width: 760px) {
    .site-bar__inner { 
        transform: scale(0.92);
        transform-origin: top center;
    }
}
@container (max-width: 560px) {
    .site-bar__inner { 
        transform: scale(0.88);
        transform-origin: top center;
    }
}
@container (max-width: 440px) {
    .site-bar__inner { 
        transform: scale(0.84);
        transform-origin: top center;
    }
}

.tagline {
    font-size: clamp(1.25rem, 1rem + 1.4vw, 2.1rem);
    margin-top: clamp(24px, 1.2vh, 48px);
    margin-bottom: clamp(4px, 0.4vh, 10px);
    color: rgb(0, 255, 76);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    font-family: 'Oxanium', 'Arial', sans-serif;
    text-shadow:
        -1px -1px 0 rgb(0, 57, 0),
        1px -1px 0 rgb(0, 57, 0),
        -1px 1px 0 rgb(0, 57, 0),
        1px 1px 0 rgb(0, 57, 0),
        -2px 0px 0 rgb(0, 57, 0),
        2px 0px 0 rgb(0, 57, 0),
        0px -2px 0 rgb(0, 57, 0),
        0px 2px 0 rgb(0, 57, 0),
        0px 0px 8px rgba(0, 255, 76, 0.75),
        2.5px 2.25px 0 rgba(0, 255, 76, 0.25);
    display: inline-block;
}

.tagline-sentence {
    display: inline-block;
    white-space: nowrap;
}



.content-area {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    width: 100%;
}

.content-panel {
    padding: 0;
    min-height: clamp(300px, 50vh, 500px);
    display: none;
    position: relative;
    container-type: inline-size;
}

.content-panel.active {
    display: block;
    animation: panelSlideIn 0.5s ease-out;
}

.content-area.is-frozen .content-panel {
    display: block;
    animation: none;
}

.content-area.is-frozen .content-panel[hidden] {
    display: block;
}

@keyframes panelSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-tablet {
    --edge-size: 24px;
    --tablet-padding: 24px;
    --cta-center-offset: 24px;
    margin: 24px auto;
    width: clamp(360px, 60vw, 840px);
    background-color: rgba(0, 24, 0, 0.6);
}

.cta-tablet > .center-fill {
    inset: calc(var(--edge-size) + var(--cta-center-offset));
    opacity: 0.9;
}

.cta-tablet > .center-fill::before {
    content: '';
    position: absolute;
    inset: clamp(8px, 1.2vw, 18px);
    pointer-events: none;
    box-shadow:
        0 0 28px rgba(0, 255, 76, 0.28),
        0 0 52px rgba(0, 255, 76, 0.18);
}

.cta-tablet__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 3vh, 32px);
    padding: clamp(32px, 5vw, 60px) clamp(24px, 6vw, 48px);
    text-align: center;
    width: 100%;
    container-type: inline-size;
}

.cta-tablet__label {
    font-family: 'Oxanium', 'Arial', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: clamp(1.5rem, 1.2rem + 2vw, 2.4rem);
    color: rgb(0, 255, 76);
    text-decoration: none;
    position: relative;
    display: inline-block;
    margin: 0 auto;
    text-shadow:
        -1px -1px 0 rgb(0, 57, 0),
        1px -1px 0 rgb(0, 57, 0),
        -1px 1px 0 rgb(0, 57, 0),
        1px 1px 0 rgb(0, 57, 0),
        -2px 0px 0 rgb(0, 57, 0),
        2px 0px 0 rgb(0, 57, 0),
        0px -2px 0 rgb(0, 57, 0),
        0px 2px 0 rgb(0, 57, 0),
        0px 0px 14px rgba(0, 255, 76, 0.85),
        3px 2.5px 0 rgba(0, 255, 76, 0.35);
    transition: transform 0.2s ease, text-shadow 0.25s ease, color 0.25s ease;
}

.cta-tablet__label:hover,
.cta-tablet__label:focus-visible {
    color: rgb(0, 255, 76);
    transform: scale(1.06);
    text-shadow:
        -1px -1px 0 rgb(0, 57, 0),
        1px -1px 0 rgb(0, 57, 0),
        -1px 1px 0 rgb(0, 57, 0),
        1px 1px 0 rgb(0, 57, 0),
        -2px 0px 0 rgb(0, 57, 0),
        2px 0px 0 rgb(0, 57, 0),
        0px -2px 0 rgb(0, 57, 0),
        0px 2px 0 rgb(0, 57, 0),
        0px 0px 16px rgba(0, 255, 76, 0.9),
        3px 2.5px 0 rgba(0, 255, 76, 0.35);
}

.cta-tablet__label:focus-visible {
    outline: 2px dashed rgba(0, 255, 120, 0.6);
    outline-offset: 6px;
}

/* Growing underline for CTA with 2px glow */
.cta-tablet__label::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 70%;
    height: 2px;
    background: rgba(0, 255, 76, 0.95);
    box-shadow: 
        0 0 2px rgba(0, 255, 76, 0.9),
        0 0 6px rgba(0, 255, 76, 0.5);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.18s ease-in-out;
}

.cta-tablet__label:hover::after,
.cta-tablet__label:focus-visible::after {
    transform: translateX(-50%) scaleX(1);
}

.steam-widget-wrap{
    width: clamp(320px, 70cqw, 646px);
    height: clamp(145px, calc(100cqw * 185 / 646), 185px);
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid rgb(50, 205, 50);
    background-color: #21262f;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(50, 205, 50, 0.5), 0 0 20px rgba(50, 205, 50, 0.25);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    display: block;
    line-height: 0;
}

.steam-widget-wrap:hover {
    box-shadow: 0 0 14px rgba(50, 205, 50, 0.6), 0 0 28px rgba(50, 205, 50, 0.35);
    border-color: rgb(90, 255, 140);
}

.steam-widget{
    width:100%;
    height:100%;
    border:0;
    display:block;
    background-color: #21262f;
}

@supports not (width: 1cqw) {
.steam-widget-wrap {
    position: relative;
    width: min(100%, 646px);
    min-width: 320px;
    min-height: 150px;
}
.steam-widget{ position:absolute; inset:0; }
}

.panel-title {
    font-size: var(--fs-2xl);
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: var(--space-4);
    text-align: center;
    color: rgb(0, 255, 76);
    text-shadow:
        -1px -1px 0 rgb(0, 57, 0),
        1px -1px 0 rgb(0, 57, 0),
        -1px 1px 0 rgb(0, 57, 0),
        1px 1px 0 rgb(0, 57, 0),
        -2px 0px 0 rgb(0, 57, 0),
        2px 0px 0 rgb(0, 57, 0),
        0px -2px 0 rgb(0, 57, 0),
        0px 2px 0 rgb(0, 57, 0),
        0px 0px 8px rgba(0, 255, 76, 0.75),
        2.5px 2.25px 0 rgba(0, 255, 76, 0.25);
    font-family: 'Oxanium', 'Arial', sans-serif;
    letter-spacing: 2px;    
}

.content-text {
    font-family: 'ScreamingNeon', 'Courier New', monospace;
    font-size: var(--fs-text);
    line-height: 1.55;
    color: rgb(0, 255, 76);
    margin-bottom: var(--space-3);
    letter-spacing: 2px;
    text-shadow: 1px 1px 0px rgba(0, 255, 76, 0.35), 0 0 6px rgb(0, 255, 76, 0.5);
    text-align: justify;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.feature-item {
    background: rgba(0, 40, 0, 0.3);
    border: 2px solid rgb(50, 205, 50);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 0 8px rgba(50, 205, 50, 0.4), 0 0 16px rgba(50, 205, 50, 0.2);
}

.feature-item:hover {
    background: rgba(0, 60, 0, 0.5);
    box-shadow: 0 0 12px rgba(50, 205, 50, 0.5), 0 0 24px rgba(50, 205, 50, 0.3);
    transform: scale(1.025);
    border-color: rgb(90, 255, 140);
}

.feature-card {
    background: rgba(0, 40, 0, 0.3);
    border: 2px solid rgb(50, 205, 50);
    padding: 25px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 0 8px rgba(50, 205, 50, 0.4), 0 0 16px rgba(50, 205, 50, 0.2);
}

.feature-card:hover {
    box-shadow: 0 0 12px rgba(50, 205, 50, 0.5), 0 0 24px rgba(50, 205, 50, 0.3);
    transform: scale(1.025);
    border-color: rgb(90, 255, 140);
}

.feature-grid {
    display: grid;
    gap: var(--space-3);
    grid-template-columns: repeat(auto-fit, minmax(clamp(220px, 40vw, 360px), 1fr));
    margin-top: var(--space-4);
}

.feature-title {
    font-family: 'Oxanium', 'Arial', sans-serif;
    font-size: var(--fs-feature-title);
    color: rgb(0, 255, 76);
    margin-bottom: var(--space-2);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow:
        -1px -1px 0 rgb(0, 57, 0),
        1px -1px 0 rgb(0, 57, 0),
        -1px 1px 0 rgb(0, 57, 0),
        1px 1px 0 rgb(0, 57, 0),
        -2px 0px 0 rgb(0, 57, 0),
        2px 0px 0 rgb(0, 57, 0),
        0px -2px 0 rgb(0, 57, 0),
        0px 2px 0 rgb(0, 57, 0),
        0px 0px 8px rgba(0, 255, 76, 0.75),
        2.5px 2.25px 0 rgba(0, 255, 76, 0.25);
}

.feature-text {
    font-family: 'ScreamingNeon', 'Courier New', monospace;
    color: rgb(0, 255, 76);
    font-size: var(--fs-text);
    line-height: 1.55;
    letter-spacing: 2px;
    text-shadow: 1px 1px 0px rgba(0, 255, 76, 0.35), 0 0 6px rgb(0, 255, 76, 0.5);
    text-align: justify;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.team-member {
    background: rgba(0, 40, 0, 0.3);
    border: 2px solid rgb(50, 205, 50);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 0 8px rgba(50, 205, 50, 0.4), 0 0 16px rgba(50, 205, 50, 0.2);
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

.team-member:hover {
    box-shadow: 0 0 12px rgba(50, 205, 50, 0.5), 0 0 24px rgba(50, 205, 50, 0.3);
    transform: scale(1.025);
    border-color: rgb(90, 255, 140);
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid rgb(50, 205, 50);
    margin: 0 auto 15px;
    background: rgb(26, 26, 26);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    box-shadow: 0 0 10px rgba(50, 205, 50, 0.6), 0 0 20px rgba(50, 205, 50, 0.4), inset 0 0 10px rgba(50, 205, 50, 0.2);
    overflow: hidden;
    position: relative;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.member-name {
    font-family: 'Oxanium', 'Arial', sans-serif;
    font-size: 1.4em;
    color: rgb(0, 255, 76);
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-shadow:
        -1px -1px 0 rgb(0, 57, 0),
        1px -1px 0 rgb(0, 57, 0),
        -1px 1px 0 rgb(0, 57, 0),
        1px 1px 0 rgb(0, 57, 0),
        -2px 0px 0 rgb(0, 57, 0),
        2px 0px 0 rgb(0, 57, 0),
        0px -2px 0 rgb(0, 57, 0),
        0px 2px 0 rgb(0, 57, 0),
        0px 0px 8px rgba(0, 255, 76, 0.75),
        2.5px 2.25px 0 rgba(0, 255, 76, 0.25);
}

.member-role {
    font-family: 'ScreamingNeon', 'Courier New', monospace;
    color: rgb(0, 255, 76);
    letter-spacing: 2px;
    text-shadow: 1px 1px 0px rgba(0, 255, 76, 0.35), 0 0 6px rgb(0, 255, 76, 0.5);
    margin-top: 4px;
    font-size: 1.2em;
}

.member-roles {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 15px;
}

.member-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: auto;
    padding-top: 15px;
}

.micronova-container {
    position: relative;
    width: clamp(200px, 40vw, 400px);
    margin: var(--space-3) auto;
    display: block;
}

.micronova-logo, .micronova-sun {
    width: 100%;
    animation: micronovaGlow 1s ease-in-out infinite alternate;
}

.micronova-sun {
    position: absolute;
    top: 0;
    left: 0;
    animation: sunGlow 1s ease-in-out 1, sunRotate 3s ease-in-out 1, sunGlow 3s ease-in-out infinite alternate 1s;
    transform-origin: 50% 33%; 
}

@keyframes micronovaGlow {
    from { filter: drop-shadow(0 0 2px rgb(65, 105, 225)) drop-shadow(0 0 6px rgb(0, 102, 255, 0.5)); }
    to { filter: drop-shadow(0 0 2px rgb(65, 105, 225)) drop-shadow(0 0 8px rgb(0, 102, 255, 0.75)); }
}

@keyframes sunRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(720deg); }
}

@keyframes sunGlow {
    from { filter: drop-shadow(0 0 2px rgb(255, 140, 0)) drop-shadow(0 0 6px rgb(255, 69, 0, 0.5)); }
    to { filter: drop-shadow(0 0 2px rgb(255, 140, 0)) drop-shadow(0 0 8px rgb(255, 69, 0, 0.75)); }
}

@container (max-width: 700px) {
    .feature-grid { 
        grid-template-columns: 1fr; 
    }
}

@container (min-width: 701px) {
    .feature-grid { 
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    }
}

/* Slightly reduce glow on small screens */
/*
@media (max-width: 420px) {
    body { 
        text-shadow: 1px 1px 0 rgba(0,255,76,.25), 0 0 4px rgba(0,255,76,.35); 
    }
}
*/

.paul-quote { 
    display:inline-flex;
    align-items:center;
    gap:8px; 
}
.paul-quote-icon {
  width:2.5em; height:2.5em; vertical-align:middle;
  filter: brightness(1.3) saturate(1.6) drop-shadow(1px 1px 0px rgba(0, 255, 76, 0.35)) drop-shadow(0 0 2px rgb(50, 205, 50, 0.5));
}

.paul-quote-text { 
  font-family: 'FutureNotFound', 'ScreamingNeon', 'Courier New', monospace;
  font-size: var(--fs-text);
  padding-left: 4px;
  color: rgb(0, 255, 76);
  text-shadow: 1px 1px 0px rgba(0, 255, 76, 0.5), 0 0 6px rgb(0, 255, 76, 0.5);
  text-align: start;
}

.inline-logo {
  height: 1em;
  vertical-align: -4px;
  padding-right: 10px;
  filter: drop-shadow(0 0 1px rgb(50, 205, 50)) drop-shadow(0 0 2px rgb(50, 205, 50, 0.25)) ;
}

.content-text {
    line-height: 1.45;     
    margin-bottom: 16px;  
}

.paul-quote {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px 0;  
}

.content-text + .paul-quote {
    margin-top: -16px;    
}

.paul-quote + .paul-quote {
    margin-top: -24px;    
}

/* Reduce spacing when there's a BR between consecutive PAUL quotes */
.paul-quote + br + .paul-quote {
    margin-top: -16px;
}

.paul-quote.inline {
    margin: 0;           
    white-space: nowrap;  
}

.content-panel {
    position: relative;
    overflow: hidden;
    border: none;     
    padding: 0;    
}

/* When a content panel is also a gui-panel, use the authored panel padding */
.content-panel.gui-panel {
    padding: var(--panel-padding);
}

.panel-body {
    padding: var(--panel-pad); 
}

.panel-frame {
    position: absolute;
    inset: 0;               
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;           
    filter: drop-shadow(0 0 6px rgba(50,205,50,0.2)) drop-shadow(0 0 12px rgba(50,205,50,0.1));
}

.panel-frame .inlay {
    stroke: rgb(50, 205, 50);
    opacity: 0.6;
    stroke-width: 2;
}

.panel-frame .outline {
    stroke: rgb(50, 205, 50);
    stroke-width: 3;
}

@media (prefers-reduced-motion: reduce) {
    body::before { animation: none; }
    .logo-text, .paul-character { animation: none; }
}

@media (max-width: 760px) {
    .site-bar__inner {
        justify-content: center;
        align-items: center;
        gap: var(--space-2);
        padding: 0 var(--space-3);
    }

    .site-bar__spacer {
        display: none;
    }

    .site-bar__tabs {
        flex-wrap: nowrap;
        justify-content: center;
        gap: clamp(16px, 3vw, 28px);
    }

    .site-bar .site-bar__socials {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        margin-right: 0;
        flex-wrap: nowrap;
    }
    
    .logo-container { 
        flex-direction: column; 
        gap: var(--space-2); 
    }
    
    .tagline .tagline-sentence {
        display: block;
        margin-bottom: var(--space-1);
    }
    
    .tagline .tagline-sentence:last-child {
        margin-bottom: 0;
    }
}


.footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    font-size: 0.9em;
    color: rgba(0, 255, 76, 0.8);
    border-top: 1px solid rgba(50, 205, 50, 0.3);
    background: rgba(0, 0, 0, 0.3);
    font-family: 'ScreamingNeon', 'Courier New', monospace;
    letter-spacing: 2px;
    text-shadow: 1px 1px 0px rgba(0, 255, 76, 0.35), 0 0 6px rgb(0, 255, 76, 0.5);
    position: relative;
    z-index: 2001;  
}

.footer-links {
    margin-top: 10px;
    font-size: 0.85em;
}

.footer-link {
    color: rgba(0, 255, 76, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    position: relative;
}

.footer-link:hover {
    color: rgb(50, 255, 100);
    transform: scale(1.02);
    text-shadow: 
        0 0 8px rgba(0, 255, 76, 0.8),
        0 0 16px rgba(0, 255, 76, 0.5),
        0 0 24px rgba(0, 255, 76, 0.3);
}

/* Growing underline for footer links with 2px glow */
.footer-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 60%;
    height: 2px;
    background: rgba(0, 255, 76, 0.95);
    box-shadow: 
        0 0 2px rgba(0, 255, 76, 0.9),
        0 0 6px rgba(0, 255, 76, 0.5);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.18s ease-in-out;
}

.footer-link:hover::after,
.footer-link:focus-visible::after {
    transform: translateX(-50%) scaleX(1);
}

.footer-separator {
    margin: 0 15px;
    color: rgba(0, 255, 76, 0.5);
}

.legal-page {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(10, 10, 10);
    z-index: 3000;
    overflow-y: auto;
}

.legal-page.active {
    display: block;
}

.legal-page[hidden] {
    display: none;
}

.legal-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.legal-panel {
    background: rgba(0, 20, 0, 0.8);
    border: 2px solid rgb(50, 205, 50);
    padding: 40px;
    position: relative;
    box-shadow: 
        0 0 6px rgba(50, 205, 50, 0.2),
        0 0 12px rgba(50, 205, 50, 0.05),
        inset 0 0 6px rgba(50, 205, 50, 0.05);
}

.legal-text {
    font-family: 'ScreamingNeon', 'Courier New', monospace;
    font-size: 1em;
    line-height: 1.6;
    color: rgb(0, 255, 76);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.legal-title {
    font-family: 'Oxanium', 'Arial', sans-serif;
    font-size: 2em;
    color: rgb(0, 255, 76);
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow:
        -1px -1px 0 rgb(0, 57, 0),
        1px -1px 0 rgb(0, 57, 0),
        -1px 1px 0 rgb(0, 57, 0),
        1px 1px 0 rgb(0, 57, 0),
        -2px 0px 0 rgb(0, 57, 0),
        2px 0px 0 rgb(0, 57, 0),
        0px -2px 0 rgb(0, 57, 0),
        0px 2px 0 rgb(0, 57, 0),
        0px 0px 8px rgba(0, 255, 76, 0.75),
        2.5px 2.25px 0 rgba(0, 255, 76, 0.25);
}

.legal-subtitle {
    font-family: 'Oxanium', 'Arial', sans-serif;
    font-size: 1.4em;
    color: rgb(0, 255, 76);
    margin: 25px 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow:
        -1px -1px 0 rgb(0, 57, 0),
        1px -1px 0 rgb(0, 57, 0),
        -1px 1px 0 rgb(0, 57, 0),
        1px 1px 0 rgb(0, 57, 0),
        -2px 0px 0 rgb(0, 57, 0),
        2px 0px 0 rgb(0, 57, 0),
        0px -2px 0 rgb(0, 57, 0),
        0px 2px 0 rgb(0, 57, 0),
        0px 0px 8px rgba(0, 255, 76, 0.75),
        2.5px 2.25px 0 rgba(0, 255, 76, 0.25);
}

.close-legal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgb(50, 205, 50);
    color: rgb(0, 255, 76);
    padding: 10px 15px;
    cursor: pointer;
    font-family: 'Oxanium', 'Arial', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.close-legal:hover {
    background: rgba(0, 51, 0, 0.9);
    box-shadow: 0 0 10px rgba(50, 205, 50, 0.5);
}

.legal-text a {
    color: rgb(0, 255, 76);
    text-shadow: 0 0 2px rgba(0, 255, 76, 0.3);
    position: relative;
    text-decoration: none;
}

.legal-text a:hover {
    color: rgb(50, 255, 100);
    text-shadow: 0 0 4px rgba(0, 255, 76, 0.5);
}

/* Growing underline for legal links with 2px glow */
.legal-text a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 60%;
    height: 2px;
    background: rgba(0, 255, 76, 0.95);
    box-shadow: 
        0 0 2px rgba(0, 255, 76, 0.9),
        0 0 6px rgba(0, 255, 76, 0.5);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.18s ease-in-out;
}

.legal-text a:hover::after,
.legal-text a:focus-visible::after {
    transform: translateX(-50%) scaleX(1);
}

.legal-text a:visited {
    color: rgb(0, 200, 76);
}

.social-links {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    justify-content: flex-end;
}

.social-link {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
    opacity: 0.85;
    scale: 1.2;
    filter: drop-shadow(0 0 4px rgba(0, 255, 76, 0.4)) drop-shadow(1px 1px 0px rgba(0, 255, 76, 0.35));
}

.social-link:hover {
    opacity: 1;
    transform: scale(1.15);
    filter: drop-shadow(0 0 6px rgba(0, 255, 76, 0.4)) drop-shadow(1px 1px 0px rgba(0, 255, 76, 0.35));
}

.social-link svg,
.social-link img {
    width: 100%;
    height: 100%;
    fill: rgb(0, 255, 76);
    transition: all 0.3s ease;
}

.social-link:hover svg,
.social-link:hover img {
    fill: rgb(50, 255, 100);
}

.icon-x svg {
    fill: rgb(0, 255, 76);
}

.icon-discord svg {
    fill: rgb(0, 255, 76);
}

.icon-instagram svg {
    fill: rgb(0, 255, 76);
}

.icon-youtube svg {
    fill: rgb(0, 255, 76);
}

.icon-soundcloud svg {
    fill: rgb(0, 255, 76);
}

.icon-tiktok svg {
    fill: rgb(0, 255, 76);
}

@media (max-width: 560px) {
    .tab-link {
        font-size: var(--fs-md);
        letter-spacing: 1.5px;
    }

    .social-links {
        justify-content: center;
    }
}
