/* ============================================
   archetypos.dev — Glitch-Cybernetic HUD
   Corrupted surveillance feed aesthetic
   ============================================ */

/* === CSS Custom Properties === */
:root {
    --deep-substrate: #1A0A0F;
    --burgundy-core: #8B1A2D;
    --burgundy-bright: #C4284A;
    --cream-primary: #F2E8D5;
    --cream-gold: #C4A882;
    --panel-dark: #2A1018;
    --glitch-cyan: #00F5D4;
    --glitch-magenta: #FF006E;
    --substrate-lighter: #1F0D13;

    --font-display: 'Share Tech Mono', monospace;
    --font-body: 'IBM Plex Mono', monospace;
    --font-system: 'Share Tech Mono', monospace;
}

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--deep-substrate);
    color: var(--cream-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.65;
    overflow-x: hidden;
    cursor: default;
}

/* === Scanline Overlay === */
#scanline-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 1px,
        rgba(0, 0, 0, 0.08) 1px,
        rgba(0, 0, 0, 0.08) 2px
    );
    animation: scanline-drift 8s linear infinite;
}

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

/* === CRT Vignette === */
#crt-vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 49;
    background: radial-gradient(
        ellipse at center,
        transparent 60%,
        rgba(26, 10, 15, 0.5) 100%
    );
}

/* === Glitch Artifacts Layer === */
#glitch-artifacts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 45;
    overflow: hidden;
}

.glitch-block {
    position: absolute;
    height: 4px;
    opacity: 0;
    animation: glitch-flash var(--glitch-duration, 0.15s) steps(1) var(--glitch-delay, 0s) forwards;
}

@keyframes glitch-flash {
    0% { opacity: 0.8; }
    50% { opacity: 0.6; }
    100% { opacity: 0; }
}

/* === Horizontal Tear Artifact === */
.tear-artifact {
    position: fixed;
    left: 0;
    width: 100%;
    height: 4px;
    pointer-events: none;
    z-index: 46;
    opacity: 0;
}

@keyframes tear-flash {
    0% { opacity: 0; }
    5% { opacity: 1; }
    15% { opacity: 0.8; }
    20% { opacity: 0; }
    100% { opacity: 0; }
}

/* === HUD Frame === */
#hud-frame {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 40;
    opacity: 0;
    transition: opacity 0.5s;
}

#hud-frame.active {
    opacity: 1;
}

/* Corner brackets */
.hud-corner {
    position: absolute;
    width: 60px;
    height: 60px;
}

.hud-corner::before,
.hud-corner::after {
    content: '';
    position: absolute;
    background-color: var(--cream-gold);
    opacity: 0.4;
}

.hud-corner-tl {
    top: 15px;
    left: 15px;
}
.hud-corner-tl::before {
    top: 0; left: 0; width: 60px; height: 1px;
}
.hud-corner-tl::after {
    top: 0; left: 0; width: 1px; height: 60px;
}

.hud-corner-tr {
    top: 15px;
    right: 15px;
}
.hud-corner-tr::before {
    top: 0; right: 0; width: 60px; height: 1px;
}
.hud-corner-tr::after {
    top: 0; right: 0; width: 1px; height: 60px;
}

.hud-corner-bl {
    bottom: 15px;
    left: 15px;
}
.hud-corner-bl::before {
    bottom: 0; left: 0; width: 60px; height: 1px;
}
.hud-corner-bl::after {
    bottom: 0; left: 0; width: 1px; height: 60px;
}

.hud-corner-br {
    bottom: 15px;
    right: 15px;
}
.hud-corner-br::before {
    bottom: 0; right: 0; width: 60px; height: 1px;
}
.hud-corner-br::after {
    bottom: 0; right: 0; width: 1px; height: 60px;
}

/* Fade-in stages for HUD elements */
.hud-corner {
    opacity: 0;
    transition: opacity 0.4s;
}
#hud-frame.active .hud-corner {
    opacity: 1;
    transition-delay: 0s;
}

#hud-status-bar {
    opacity: 0;
    transition: opacity 0.4s;
}
#hud-frame.active #hud-status-bar {
    opacity: 1;
    transition-delay: 0.5s;
}

#hud-depth-gauge {
    opacity: 0;
    transition: opacity 0.4s;
}
#hud-frame.active #hud-depth-gauge {
    opacity: 1;
    transition-delay: 1s;
}

#hud-reticle {
    opacity: 0;
    transition: opacity 0.4s;
}
#hud-frame.active #hud-reticle {
    opacity: 1;
    transition-delay: 1.5s;
}

/* Status bar */
#hud-status-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 12px;
    background: linear-gradient(to right, rgba(26, 10, 15, 0.6), transparent);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.status-text {
    font-family: var(--font-system);
    font-size: 9px;
    color: var(--cream-primary);
    letter-spacing: 0.1em;
    white-space: nowrap;
    animation: scroll-telemetry 30s linear infinite;
    padding-left: 100%;
}

@keyframes scroll-telemetry {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Depth gauge */
#hud-depth-gauge {
    position: absolute;
    top: 0;
    left: 15px;
    width: 50px;
    height: 100%;
}

.depth-tick {
    position: absolute;
    left: 0;
    width: 20px;
    height: 1px;
    background-color: var(--cream-gold);
    opacity: 0.3;
}

.depth-tick::before {
    content: '';
    position: absolute;
    left: 0;
    top: -1px;
    width: 10px;
    height: 1px;
    background-color: var(--cream-gold);
    opacity: 0.5;
}

.tick-label {
    position: absolute;
    left: 25px;
    top: -5px;
    font-family: var(--font-system);
    font-size: 9px;
    color: var(--burgundy-core);
    white-space: nowrap;
}

/* Targeting reticle */
#hud-reticle {
    position: fixed;
    bottom: 20%;
    right: 12%;
    animation: reticle-spin 30s linear infinite;
    transition: bottom 1s ease, right 1s ease;
}

@keyframes reticle-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* === Bubble Canvas === */
#bubble-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* === Scan Zones === */
.scan-zone {
    position: relative;
    min-height: 120vh;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
}

#zone-00 {
    min-height: 120vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#zone-02 {
    background-color: var(--substrate-lighter);
}

.zone-content {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 80px 60px;
    z-index: 5;
}

/* === Zone 00 Content === */
.zone-00-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
}

.main-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    letter-spacing: 0.15em;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--cream-primary);
    opacity: 0;
    text-shadow: 2px 0 var(--glitch-cyan), -2px 0 var(--glitch-magenta);
    animation: title-chromatic 8s ease-in-out infinite;
}

.main-title.visible {
    opacity: 1;
}

@keyframes title-chromatic {
    0%, 85%, 100% {
        text-shadow: 2px 0 rgba(0, 245, 212, 0), -2px 0 rgba(255, 0, 110, 0);
    }
    90% {
        text-shadow: 2px 0 rgba(0, 245, 212, 0.6), -2px 0 rgba(255, 0, 110, 0.6);
    }
    95% {
        text-shadow: 3px 0 rgba(0, 245, 212, 0.4), -3px 0 rgba(255, 0, 110, 0.4);
    }
}

.main-title .char {
    display: inline-block;
    opacity: 0;
    animation: char-glitch-in 0.3s steps(1) forwards;
}

@keyframes char-glitch-in {
    0% { opacity: 0; transform: translateX(8px); }
    25% { opacity: 1; transform: translateX(-5px); }
    50% { opacity: 1; transform: translateX(3px); }
    75% { opacity: 1; transform: translateX(-2px); }
    100% { opacity: 1; transform: translateX(0); }
}

.subtitle {
    font-family: var(--font-system);
    font-size: 9px;
    letter-spacing: 0.4em;
    color: var(--burgundy-core);
    text-transform: uppercase;
    margin-top: 20px;
    opacity: 0;
    transition: opacity 0.5s;
}

.subtitle.visible {
    opacity: 1;
}

.blink-cursor {
    animation: blink 1s steps(1) infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* === Scroll Indicator === */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: pulse-down 2s ease-in-out infinite;
}

@keyframes pulse-down {
    0%, 100% { opacity: 0.3; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.8; transform: translateX(-50%) translateY(8px); }
}

/* === Content Panels === */
.content-panel {
    background: rgba(26, 10, 15, 0.85);
    border: 1px solid rgba(196, 168, 130, 0.6);
    position: relative;
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.4s, transform 0.2s;
    /* Clipped corners (diagonal cuts) */
    clip-path: polygon(
        8px 0%, 100% 0%,
        100% calc(100% - 8px),
        calc(100% - 8px) 100%,
        0% 100%, 0% 8px
    );
}

.content-panel.visible {
    opacity: 1;
    transform: translateX(0);
}

.content-panel.glitch-enter {
    animation: glitch-stutter 0.2s steps(1) forwards;
}

@keyframes glitch-stutter {
    0% { transform: translate(8px, -3px); opacity: 0.7; }
    16% { transform: translate(-5px, 2px); opacity: 0.9; }
    33% { transform: translate(6px, -1px); opacity: 0.8; }
    50% { transform: translate(-3px, 3px); opacity: 1; }
    66% { transform: translate(4px, -2px); opacity: 0.9; }
    83% { transform: translate(-2px, 1px); opacity: 1; }
    100% { transform: translate(0, 0); opacity: 1; }
}

.panel-id {
    position: absolute;
    top: 8px;
    left: 12px;
    font-family: var(--font-system);
    font-size: 9px;
    color: var(--burgundy-core);
    letter-spacing: 0.1em;
    z-index: 2;
}

.panel-inner {
    padding: 35px 25px 25px;
}

/* === Zone 01 Layout === */
.zone-01-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    max-width: 900px;
    padding-top: 15vh;
    padding-left: 60px;
}

.panel-left {
    grid-column: 1;
}

.panel-right {
    grid-column: 2;
}

#fish-moorish-idol {
    position: absolute;
    right: 10%;
    top: 40%;
    z-index: 3;
    animation: fish-drift-vertical 18s ease-in-out infinite;
}

/* === Fish Styles === */
.fish {
    display: inline-block;
}

.fish-clownfish {
    margin-bottom: 15px;
}

#fish-betta-surface {
    position: absolute;
    bottom: 25%;
    left: 15%;
    z-index: 3;
    animation: fish-drift-horizontal 16s ease-in-out infinite;
}

@keyframes fish-drift-horizontal {
    0% { transform: translateX(0) rotate(0deg); }
    25% { transform: translateX(60px) rotate(1.5deg); }
    50% { transform: translateX(120px) rotate(0deg); }
    75% { transform: translateX(60px) rotate(-1.5deg); }
    100% { transform: translateX(0) rotate(0deg); }
}

@keyframes fish-drift-vertical {
    0% { transform: translateY(0) translateX(0) rotate(0deg); }
    25% { transform: translateY(-20px) translateX(15px) rotate(2deg); }
    50% { transform: translateY(0) translateX(30px) rotate(0deg); }
    75% { transform: translateY(20px) translateX(15px) rotate(-2deg); }
    100% { transform: translateY(0) translateX(0) rotate(0deg); }
}

.fish svg {
    filter: drop-shadow(0 0 8px rgba(139, 26, 45, 0.3));
}

/* Fish opacity flicker synced with global glitch */
@keyframes fish-flicker {
    0%, 90%, 100% { opacity: 1; }
    92% { opacity: 0.4; }
    94% { opacity: 0.9; }
    96% { opacity: 0.5; }
    98% { opacity: 1; }
}

.fish {
    animation: fish-flicker 8s ease-in-out infinite;
}

/* === Data Readout === */
.data-readout {
    margin-top: 10px;
}

.data-row {
    font-family: var(--font-system);
    font-size: 11px;
    line-height: 1.8;
    display: flex;
    gap: 8px;
}

.data-label {
    color: var(--burgundy-core);
    min-width: 80px;
}

.data-value {
    color: var(--cream-primary);
}

.status-active {
    color: var(--glitch-cyan);
    animation: status-pulse 2s steps(1) infinite;
}

@keyframes status-pulse {
    0%, 70% { opacity: 1; }
    71%, 85% { opacity: 0.3; }
    86%, 100% { opacity: 1; }
}

/* === Report Styles === */
.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(196, 168, 130, 0.2);
}

.report-label {
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--cream-primary);
    text-transform: uppercase;
}

.report-date {
    font-family: var(--font-system);
    font-size: 9px;
    color: var(--burgundy-core);
    letter-spacing: 0.1em;
}

.report-classification {
    font-family: var(--font-system);
    font-size: 9px;
    color: var(--burgundy-bright);
    letter-spacing: 0.15em;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.report-text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--cream-gold);
    line-height: 1.65;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.report-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(196, 168, 130, 0.15);
    font-style: normal;
}

/* === Redacted Text === */
.redacted {
    position: relative;
    color: transparent;
    user-select: none;
}

.redacted::after {
    content: '';
    position: absolute;
    top: 2px;
    left: -2px;
    right: -2px;
    bottom: 2px;
    background-color: var(--burgundy-core);
    opacity: 0.8;
}

/* === Zone 02 — Staggered Panels === */
.zone-02-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 15vh;
    padding-left: 60px;
    max-width: 700px;
}

.panel-stagger-1 {
    margin-left: 0;
}

.panel-stagger-2 {
    margin-left: 120px;
}

.panel-stagger-3 {
    margin-left: 240px;
}

.panel-compact {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px 20px 20px;
}

.fish-status {
    font-family: var(--font-system);
    font-size: 9px;
    color: var(--cream-gold);
    letter-spacing: 0.1em;
    line-height: 1.6;
}

/* === Glitch Burst === */
.glitch-burst {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    opacity: 0;
}

.glitch-burst.active {
    animation: burst-sequence 0.5s steps(1) forwards;
}

@keyframes burst-sequence {
    0% {
        opacity: 1;
        background: repeating-linear-gradient(
            to bottom,
            transparent 0px,
            transparent 4px,
            rgba(0, 245, 212, 0.1) 4px,
            rgba(0, 245, 212, 0.1) 5px
        );
    }
    10% {
        background: linear-gradient(
            180deg,
            transparent 30%,
            rgba(255, 0, 110, 0.15) 31%,
            rgba(255, 0, 110, 0.15) 33%,
            transparent 34%,
            transparent 60%,
            rgba(0, 245, 212, 0.12) 61%,
            rgba(0, 245, 212, 0.12) 62%,
            transparent 63%
        );
    }
    25% {
        background: linear-gradient(
            180deg,
            transparent 15%,
            rgba(0, 245, 212, 0.2) 16%,
            rgba(0, 245, 212, 0.2) 17%,
            transparent 18%,
            transparent 50%,
            rgba(255, 0, 110, 0.15) 51%,
            rgba(255, 0, 110, 0.15) 53%,
            transparent 54%,
            transparent 75%,
            rgba(0, 245, 212, 0.1) 76%,
            rgba(0, 245, 212, 0.1) 77%,
            transparent 78%
        );
    }
    50% {
        background: repeating-linear-gradient(
            to bottom,
            transparent 0px,
            transparent 2px,
            rgba(255, 0, 110, 0.08) 2px,
            rgba(255, 0, 110, 0.08) 3px
        );
    }
    75% {
        background: linear-gradient(
            180deg,
            transparent 40%,
            rgba(0, 245, 212, 0.1) 41%,
            rgba(0, 245, 212, 0.1) 42%,
            transparent 43%
        );
    }
    100% {
        opacity: 0;
        background: transparent;
    }
}

/* === Zone 03 — Thermocline === */
.zone-03-content {
    display: flex;
    padding-top: 15vh;
    padding-left: 60px;
    position: relative;
}

.panel-large {
    width: 55%;
    max-width: 700px;
}

#fish-lionfish-thermo {
    position: absolute;
    right: 15%;
    top: 30%;
    z-index: 3;
    animation: fish-drift-vertical 20s ease-in-out infinite, lionfish-rotate 15s ease-in-out infinite;
}

@keyframes lionfish-rotate {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(139, 26, 45, 0.3)); }
    50% { filter: drop-shadow(0 0 15px rgba(139, 26, 45, 0.5)); }
}

.lionfish-rays {
    animation: rays-sway 12s ease-in-out infinite;
    transform-origin: center center;
}

@keyframes rays-sway {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(3deg); }
}

/* === Zone 04 — Abyssal === */
.zone-04-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 20vh;
    padding-left: 60px;
    position: relative;
    min-height: 120vh;
}

.panel-terminal {
    max-width: 550px;
}

.terminal-text {
    font-family: var(--font-system);
    font-size: 12px;
    color: var(--cream-gold);
    line-height: 2;
    letter-spacing: 0.05em;
}

.terminal-error {
    color: var(--burgundy-bright);
    animation: error-blink 1.5s steps(1) infinite;
}

@keyframes error-blink {
    0%, 60% { opacity: 1; }
    61%, 80% { opacity: 0; }
    81%, 100% { opacity: 1; }
}

.terminal-warning {
    color: var(--burgundy-bright);
    font-weight: 500;
}

.terminal-prompt {
    color: var(--cream-primary);
    animation: prompt-blink 1s steps(1) infinite;
}

@keyframes prompt-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

#fish-betta-corrupted {
    position: absolute;
    right: 18%;
    top: 35%;
    z-index: 3;
    animation: corrupted-drift 14s ease-in-out infinite;
}

#fish-betta-corrupted svg {
    filter: drop-shadow(0 0 15px rgba(0, 245, 212, 0.4));
}

@keyframes corrupted-drift {
    0% { transform: translateX(0) translateY(0) rotate(0deg); }
    20% { transform: translateX(-30px) translateY(-15px) rotate(-2deg); }
    40% { transform: translateX(-50px) translateY(10px) rotate(1deg); }
    60% { transform: translateX(-20px) translateY(-8px) rotate(-1deg); }
    80% { transform: translateX(10px) translateY(5px) rotate(2deg); }
    100% { transform: translateX(0) translateY(0) rotate(0deg); }
}

/* === HUD Degradation in Zone 04 === */
body.zone-abyssal #hud-frame .hud-corner {
    animation: corner-degrade 3s steps(1) infinite;
}

@keyframes corner-degrade {
    0%, 70% { opacity: 0.4; clip-path: none; }
    72% { opacity: 0.1; }
    75% { opacity: 0.3; clip-path: inset(0 20% 0 0); }
    80% { opacity: 0.4; clip-path: none; }
    85% { opacity: 0.15; clip-path: inset(30% 0 0 0); }
    90% { opacity: 0.35; clip-path: none; }
    95% { opacity: 0.1; }
    100% { opacity: 0.4; clip-path: none; }
}

body.zone-abyssal #hud-status-bar .status-text {
    animation: garble-text 0.5s steps(1) infinite;
}

@keyframes garble-text {
    0% { filter: blur(0px); letter-spacing: 0.1em; }
    20% { filter: blur(1px); letter-spacing: 0.2em; }
    40% { filter: blur(0px); letter-spacing: 0.05em; }
    60% { filter: blur(2px); letter-spacing: 0.15em; }
    80% { filter: blur(0.5px); letter-spacing: 0.1em; }
    100% { filter: blur(0px); letter-spacing: 0.1em; }
}

body.zone-abyssal #hud-reticle {
    animation: reticle-spin 8s linear infinite;
}

body.zone-abyssal #scanline-overlay {
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 1px,
        rgba(0, 0, 0, 0.15) 1px,
        rgba(0, 0, 0, 0.15) 2px
    );
}

body.zone-abyssal #hud-frame {
    opacity: 0.4;
    transition: opacity 2s;
}

/* === Heading styles === */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0.15em;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--cream-primary);
}

h1 {
    font-size: clamp(1.6rem, 4vw, 3.2rem);
}

/* === Responsive === */
@media (max-width: 768px) {
    .zone-01-content {
        grid-template-columns: 1fr;
        padding-left: 30px;
        padding-right: 30px;
    }

    .panel-right {
        grid-column: 1;
    }

    #fish-moorish-idol {
        display: none;
    }

    .zone-02-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .panel-stagger-2 {
        margin-left: 40px;
    }

    .panel-stagger-3 {
        margin-left: 80px;
    }

    .panel-compact {
        flex-direction: column;
        align-items: flex-start;
    }

    .zone-03-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .panel-large {
        width: 90%;
    }

    #fish-lionfish-thermo {
        display: none;
    }

    .zone-04-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    #fish-betta-corrupted {
        right: 5%;
        top: 60%;
    }

    .zone-content {
        padding: 40px 20px;
    }

    #hud-reticle {
        right: 5%;
        bottom: 10%;
    }

    .hud-corner {
        width: 40px;
        height: 40px;
    }

    .hud-corner-tl::before,
    .hud-corner-tr::before,
    .hud-corner-bl::before,
    .hud-corner-br::before {
        width: 40px;
    }

    .hud-corner-tl::after,
    .hud-corner-tr::after,
    .hud-corner-bl::after,
    .hud-corner-br::after {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .panel-stagger-2 {
        margin-left: 20px;
    }

    .panel-stagger-3 {
        margin-left: 40px;
    }

    .panel-large {
        width: 95%;
    }
}
