/* ===========================================
   GABS.BAR v2 - Sci-Fi Value Terminal
   =========================================== */

/* --- CSS Custom Properties --- */
:root {
    --deep-space: #0E1726;
    --coastal-sand: #D4B896;
    --ocean-teal: #2D8F8F;
    --foam-white: #EEE8DD;
    --hologram-blue: #4A9BD9;
    --sunset-coral: #D47B6A;
    --grid-line-silver: #5A6A7A;

    --font-display: 'Fraunces', serif;
    --font-body: 'Public Sans', sans-serif;
    --font-mono: 'Space Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--deep-space);
    color: var(--foam-white);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Wireframe Grid Overlay --- */
#grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 600ms ease;
}

#grid-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

#grid-overlay.visible {
    opacity: 1;
}

/* --- Scan Line --- */
#scan-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(74, 155, 217, 0.15) 15%,
        rgba(74, 155, 217, 0.4) 35%,
        rgba(74, 155, 217, 0.6) 50%,
        rgba(74, 155, 217, 0.4) 65%,
        rgba(74, 155, 217, 0.15) 85%,
        transparent 100%
    );
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    box-shadow:
        0 0 12px rgba(74, 155, 217, 0.25),
        0 0 30px rgba(74, 155, 217, 0.1),
        0 1px 0 rgba(74, 155, 217, 0.08);
}

#scan-line.active {
    opacity: 1;
    animation: scanSweep 4s linear infinite;
}

@keyframes scanSweep {
    0% { transform: translateY(0); }
    100% { transform: translateY(100vh); }
}

/* --- Hero Section --- */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

#gabs-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(60px, 15vw, 200px);
    letter-spacing: 0.05em;
    line-height: 1;
    margin-bottom: 0.1em;
}

#gabs-title .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    background: linear-gradient(90deg, var(--coastal-sand), var(--hologram-blue), var(--coastal-sand));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
    animation-play-state: paused;
    transition: opacity 300ms ease, transform 300ms ease;
}

#gabs-title .letter.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation-play-state: running;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* --- Bar Readout --- */
#bar-readout {
    font-family: var(--font-mono);
    font-size: clamp(24px, 4vw, 56px);
    color: var(--hologram-blue);
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.bar-text {
    display: inline-block;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 600ms ease;
}

.bar-text.revealed {
    clip-path: inset(0 0% 0 0);
}

.cursor {
    display: inline-block;
    opacity: 0;
    color: var(--hologram-blue);
}

.cursor.visible {
    animation: blink 800ms step-end infinite;
}

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

.hero-tagline {
    font-family: var(--font-mono);
    font-size: clamp(12px, 1.2vw, 16px);
    color: var(--grid-line-silver);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 1.5em;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.hero-tagline.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Wave SVG */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 5;
}

.wave-path {
    stroke: var(--ocean-teal);
    opacity: 0.3;
}

.wave-path-1 {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
}

.wave-path-1.animated {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 2s ease;
}

.wave-path-2 {
    stroke: var(--coastal-sand);
    opacity: 0.15;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
}

.wave-path-2.animated {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 2.5s ease;
}

.wave-path-3 {
    stroke: var(--hologram-blue);
    opacity: 0.08;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
}

.wave-path-3.animated {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 3s ease;
}

/* --- Section Label --- */
.section-label {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto 32px;
    padding: 0 20px;
}

.label-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(90, 106, 122, 0.3), transparent);
}

.label-text {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--grid-line-silver);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* --- Bento Grid Section --- */
#bento-grid {
    position: relative;
    z-index: 10;
    padding: 60px 20px;
    min-height: 100vh;
}

.bento-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 12px;
}

/* Bento cell layout assignment */
.cell-value-index   { grid-column: span 2; grid-row: span 2; }
.cell-gauge         { grid-column: span 2; grid-row: span 2; }
.cell-ticker        { grid-column: span 1; grid-row: span 2; }
.cell-waveform      { grid-column: span 3; grid-row: span 1; }
.cell-vertical-bars { grid-column: span 2; grid-row: span 1; }
.cell-status-panel  { grid-column: span 1; grid-row: span 2; }
.cell-mini-chart    { grid-column: span 2; grid-row: span 1; }
.cell-korean        { grid-column: span 1; grid-row: span 1; }

/* Bento Cell Base */
.bento-cell {
    background: rgba(14, 23, 38, 0.85);
    border: 1px solid rgba(90, 106, 122, 0);
    border-radius: 3px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 500ms ease, transform 500ms ease, border-color 500ms ease;
}

.bento-cell.activated {
    opacity: 1;
    transform: translateY(0);
    border-color: rgba(90, 106, 122, 0.25);
}

/* Cell glow line on top */
.bento-cell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ocean-teal), transparent);
    opacity: 0;
    transition: opacity 500ms ease;
}

.bento-cell.activated::before {
    opacity: 0.5;
}

/* Corner accent marks */
.bento-cell::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 12px;
    height: 12px;
    border-top: 1px solid rgba(45, 143, 143, 0);
    border-left: 1px solid rgba(45, 143, 143, 0);
    transition: border-color 600ms ease 300ms;
}

.bento-cell.activated::after {
    border-top-color: rgba(45, 143, 143, 0.4);
    border-left-color: rgba(45, 143, 143, 0.4);
}

/* Cell Header */
.cell-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(90, 106, 122, 0.12);
}

.cell-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--grid-line-silver);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.cell-status {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--ocean-teal);
    letter-spacing: 0.1em;
    padding: 2px 8px;
    border: 1px solid rgba(45, 143, 143, 0.25);
    border-radius: 2px;
}

/* --- Data Bars (Cell 1) --- */
.data-bars {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bar-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--grid-line-silver);
    letter-spacing: 0.1em;
    width: 60px;
    flex-shrink: 0;
}

.bar-track {
    flex: 1;
    height: 8px;
    background: rgba(90, 106, 122, 0.08);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 2px;
    transition: width 800ms ease-out;
    position: relative;
}

.bar-row:nth-child(1) .bar-fill { background: linear-gradient(90deg, var(--ocean-teal), rgba(45, 143, 143, 0.7)); }
.bar-row:nth-child(2) .bar-fill { background: linear-gradient(90deg, var(--coastal-sand), rgba(212, 184, 150, 0.7)); }
.bar-row:nth-child(3) .bar-fill { background: linear-gradient(90deg, var(--hologram-blue), rgba(74, 155, 217, 0.7)); }
.bar-row:nth-child(4) .bar-fill { background: linear-gradient(90deg, var(--sunset-coral), rgba(212, 123, 106, 0.7)); }
.bar-row:nth-child(5) .bar-fill { background: linear-gradient(90deg, var(--ocean-teal), var(--hologram-blue)); }

.bar-value {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--foam-white);
    width: 40px;
    text-align: right;
    flex-shrink: 0;
}

/* --- Circular Gauge (Cell 2) --- */
.gauge-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    position: relative;
}

.gauge-svg {
    width: 160px;
    height: 160px;
}

.gauge-bg {
    stroke: rgba(90, 106, 122, 0.12);
}

.gauge-track-ring {
    stroke: rgba(90, 106, 122, 0.06);
}

.gauge-inner-ring {
    stroke: rgba(90, 106, 122, 0.06);
}

.gauge-fill {
    stroke: var(--ocean-teal);
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: center;
    transition: stroke-dashoffset 1.5s ease-out;
    filter: drop-shadow(0 0 8px rgba(45, 143, 143, 0.4));
}

.gauge-tick {
    stroke: rgba(90, 106, 122, 0.2);
    stroke-width: 1;
}

.gauge-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.gauge-number {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 800;
    color: var(--foam-white);
    display: block;
    line-height: 1;
}

.gauge-unit {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--grid-line-silver);
}

/* --- Data Ticker (Cell 3) --- */
.ticker-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ticker-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(90, 106, 122, 0.06);
}

.ticker-key {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--grid-line-silver);
    letter-spacing: 0.05em;
}

.ticker-val {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--foam-white);
}

.ticker-val.up {
    color: var(--ocean-teal);
}

.ticker-val.down {
    color: var(--sunset-coral);
}

/* Ticker value update flash effect */
.ticker-val.flash {
    animation: tickerFlash 400ms ease;
}

@keyframes tickerFlash {
    0% { opacity: 1; }
    30% { opacity: 0.3; }
    100% { opacity: 1; }
}

/* --- Waveform (Cell 4) --- */
.waveform-svg {
    width: 100%;
    height: 100px;
}

.waveform-path {
    stroke: var(--hologram-blue);
    filter: drop-shadow(0 0 4px rgba(74, 155, 217, 0.3));
}

.waveform-path-ghost {
    stroke: var(--ocean-teal);
    opacity: 0.3;
}

.waveform-path-secondary {
    stroke: var(--coastal-sand);
    opacity: 0.12;
}

/* --- Vertical Bars (Cell 5) --- */
.vbar-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 140px;
    padding-top: 10px;
}

.vbar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.vbar-wrapper {
    width: 36px;
    height: 120px;
    background: rgba(90, 106, 122, 0.06);
    border-radius: 3px 3px 0 0;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.vbar {
    width: 100%;
    height: 0%;
    border-radius: 3px 3px 0 0;
    transition: height 800ms ease-out;
}

.vbar-group:nth-child(1) .vbar { background: linear-gradient(0deg, rgba(212, 184, 150, 0.5), var(--coastal-sand)); }
.vbar-group:nth-child(2) .vbar { background: linear-gradient(0deg, rgba(45, 143, 143, 0.5), var(--ocean-teal)); }
.vbar-group:nth-child(3) .vbar { background: linear-gradient(0deg, rgba(74, 155, 217, 0.5), var(--hologram-blue)); }
.vbar-group:nth-child(4) .vbar { background: linear-gradient(0deg, rgba(212, 123, 106, 0.5), var(--sunset-coral)); }

.vbar-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--grid-line-silver);
    letter-spacing: 0.1em;
}

/* --- Status Panel (Cell 6) --- */
.status-rows {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.status-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-indicator.active {
    background: var(--ocean-teal);
    box-shadow: 0 0 6px rgba(45, 143, 143, 0.5);
    animation: statusPulse 2s ease infinite;
}

.status-indicator.warning {
    background: var(--sunset-coral);
    box-shadow: 0 0 6px rgba(212, 123, 106, 0.5);
    animation: statusPulse 1.5s ease infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.status-name {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--foam-white);
    flex: 1;
}

.status-detail {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--grid-line-silver);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* --- Mini Chart (Cell 7) --- */
.mini-chart-svg {
    width: 100%;
    height: 80px;
}

.mini-chart-line {
    stroke: var(--hologram-blue);
    filter: drop-shadow(0 0 4px rgba(74, 155, 217, 0.3));
}

.mini-chart-area {
    fill: rgba(74, 155, 217, 0.06);
}

.mini-chart-dot {
    fill: var(--hologram-blue);
    filter: drop-shadow(0 0 3px rgba(74, 155, 217, 0.5));
    opacity: 0;
    transition: opacity 500ms ease;
}

.bento-cell.activated .mini-chart-dot {
    opacity: 1;
}

.mini-chart-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(90, 106, 122, 0.08);
}

.chart-stat {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--grid-line-silver);
    letter-spacing: 0.05em;
}

.chart-stat strong {
    color: var(--foam-white);
    font-weight: 600;
}

/* --- Korean Value Cell (Cell 8) --- */
.korean-content {
    display: flex;
    align-items: center;
    gap: 20px;
    height: calc(100% - 50px);
}

.korean-char {
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 900;
    background: linear-gradient(180deg, var(--coastal-sand), var(--ocean-teal));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    flex-shrink: 0;
}

.korean-meanings {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.meaning-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meaning-num {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--ocean-teal);
    opacity: 0.6;
}

.meaning-text {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--foam-white);
    font-weight: 600;
}

/* --- Data Stream Ribbon --- */
#data-ribbon {
    position: relative;
    z-index: 10;
    overflow: hidden;
    padding: 24px 0;
    border-top: 1px solid rgba(90, 106, 122, 0.12);
    border-bottom: 1px solid rgba(90, 106, 122, 0.12);
    background: rgba(14, 23, 38, 0.95);
}

.ribbon-track {
    overflow: hidden;
    white-space: nowrap;
}

.ribbon-content {
    display: inline-block;
    white-space: nowrap;
    animation: ribbonScroll 30s linear infinite;
}

.ribbon-item {
    font-family: var(--font-display);
    font-size: clamp(16px, 2vw, 24px);
    font-weight: 700;
    color: var(--coastal-sand);
    letter-spacing: 0.05em;
}

.ribbon-divider {
    color: var(--ocean-teal);
    margin: 0 24px;
    opacity: 0.4;
}

@keyframes ribbonScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Nature-Infused Terminal Section --- */
#nature-terminal {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    overflow: hidden;
}

.nature-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        var(--deep-space) 0%,
        rgba(45, 143, 143, 0.08) 30%,
        rgba(212, 184, 150, 0.06) 60%,
        var(--deep-space) 100%
    );
    z-index: -1;
    transition: background 300ms ease;
}

.nature-content {
    max-width: 800px;
    text-align: center;
}

.nature-heading {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(28px, 5vw, 64px);
    background: linear-gradient(90deg, var(--coastal-sand), var(--ocean-teal), var(--hologram-blue));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
    margin-bottom: 1em;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 800ms ease, transform 800ms ease;
}

.nature-heading.revealed {
    opacity: 1;
    transform: translateY(0);
}

.nature-text {
    font-family: var(--font-body);
    font-size: clamp(15px, 1.5vw, 18px);
    color: var(--foam-white);
    line-height: 1.8;
    margin-bottom: 3em;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 800ms ease 200ms, transform 800ms ease 200ms;
}

.nature-text.revealed {
    opacity: 0.8;
    transform: translateY(0);
}

.nature-metrics {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 800ms ease 400ms, transform 800ms ease 400ms;
}

.nature-metrics.revealed {
    opacity: 1;
    transform: translateY(0);
}

.nature-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.nature-wave-icon {
    width: 60px;
    height: 30px;
}

.nature-wave-icon path {
    stroke: var(--ocean-teal);
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 1.5s ease;
}

.nature-metrics.revealed .nature-wave-icon path {
    stroke-dashoffset: 0;
}

.nature-metric-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--grid-line-silver);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.nature-metric-value {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--coastal-sand);
}

/* Nature bottom waves */
.nature-wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
}

.wave-path-nature-1 {
    stroke: var(--ocean-teal);
    opacity: 0.25;
}

.wave-path-nature-2 {
    stroke: var(--coastal-sand);
    opacity: 0.15;
}

.wave-path-nature-3 {
    stroke: var(--hologram-blue);
    opacity: 0.1;
}

/* --- Footer --- */
#footer {
    position: relative;
    z-index: 10;
    padding: 32px 20px 24px;
    border-top: 1px solid rgba(90, 106, 122, 0.12);
    background: var(--deep-space);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-item {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--grid-line-silver);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.footer-pulse {
    max-width: 200px;
    margin: 16px auto 0;
    opacity: 0.3;
}

.footer-pulse-svg {
    width: 100%;
    height: 20px;
}

.footer-pulse-path {
    stroke: var(--ocean-teal);
    stroke-dasharray: 300;
    animation: footerPulseAnim 3s linear infinite;
}

@keyframes footerPulseAnim {
    0% { stroke-dashoffset: 300; }
    100% { stroke-dashoffset: 0; }
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .bento-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .cell-value-index   { grid-column: span 2; grid-row: span 1; }
    .cell-gauge         { grid-column: span 2; grid-row: span 1; }
    .cell-ticker        { grid-column: span 1; grid-row: span 1; }
    .cell-waveform      { grid-column: span 2; grid-row: span 1; }
    .cell-vertical-bars { grid-column: span 2; grid-row: span 1; }
    .cell-status-panel  { grid-column: span 1; grid-row: span 1; }
    .cell-mini-chart    { grid-column: span 2; grid-row: span 1; }
    .cell-korean        { grid-column: span 2; grid-row: span 1; }

    .nature-metrics {
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .bento-container {
        grid-template-columns: 1fr;
    }

    .cell-value-index,
    .cell-gauge,
    .cell-ticker,
    .cell-waveform,
    .cell-vertical-bars,
    .cell-status-panel,
    .cell-mini-chart,
    .cell-korean {
        grid-column: span 1;
        grid-row: span 1;
    }

    .footer-grid {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .korean-content {
        flex-direction: column;
        text-align: center;
    }

    .section-label {
        margin-bottom: 24px;
    }
}
