:root {
    --hvtc-navy:      #152347;
    --hvtc-navy-deep: #0a1230;
    --hvtc-navy-soft: #243670;
    --hvtc-sky:       #5170a8;
    --hvtc-sky-soft:  #a5b4fc;
    --hvtc-gold:      #F4B935;
    --hvtc-gold-soft: #FBDC8A;
    --hvtc-red:       #E85A4F;
    --hvtc-mint:      #34D399;
    --hvtc-line:      #c7d2fe;
    --hvtc-text:      #0f2027;
    --hvtc-muted:     #374151;

    --header-h: 78px;
    --footer-h: 28px;
    --stats-h:  180px;
}

/* ====================== RESET ====================== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; overflow: hidden; }
body {
    font-family: 'Be Vietnam Pro', 'Segoe UI', system-ui, sans-serif;
    color: var(--hvtc-text);
    background-color: #152347;
    background-image:
        radial-gradient(rgba(255,255,255,0.08) 1.2px, transparent 1.2px),
        radial-gradient(ellipse 700px 420px at 102%  -2%, rgba(244,185,53,0.22) 0%, transparent 50%),
        radial-gradient(ellipse 600px 380px at  -2%  98%, rgba(81,112,168,0.22) 0%, transparent 50%),
        radial-gradient(ellipse 900px 500px at  50% 108%, rgba(5,8,28,0.42) 0%, transparent 58%),
        linear-gradient(148deg, #243670 0%, #1d2b5e 25%, #152347 55%, #101b3a 80%, #0a1230 100%);
    background-size: 22px 22px, auto, auto, auto, auto;
    font-size: 14px;
    font-weight: 600;
    position: relative;
}

/* ====================== ANIMATIONS ====================== */
@keyframes headerShimmer {
    0%   { background-position:   0% 0; }
    100% { background-position: 200% 0; }
}
@keyframes beamSweep {
    0%   { transform: translateX(-160%) skewX(-18deg); opacity: 0; }
    15%  { opacity: .7; }
    85%  { opacity: .7; }
    100% { transform: translateX(260%)  skewX(-18deg); opacity: 0; }
}
@keyframes scanLine {
    0%   { top: -4px; }
    100% { top: calc(100% + 4px); }
}
@keyframes headlineGlow {
    0%, 100% { filter: drop-shadow(0 0 6px rgba(244,185,53,0.30)) drop-shadow(0 0 18px rgba(244,185,53,0.10)); }
    50%       { filter: drop-shadow(0 0 14px rgba(244,185,53,0.70)) drop-shadow(0 0 36px rgba(244,185,53,0.30)); }
}
@keyframes logoBadgePulse {
    0%, 100% { box-shadow: 0 0 0 1.5px rgba(244,185,53,0.55), 0 4px 16px rgba(0,0,0,0.35), 0 0 0 3.5px rgba(244,185,53,0.00); }
    50%       { box-shadow: 0 0 0 1.5px rgba(244,185,53,0.90), 0 4px 16px rgba(0,0,0,0.35), 0 0 0 6px   rgba(244,185,53,0.18); }
}
@keyframes topBorderFlow {
    0%   { background-position: 0%   0; }
    100% { background-position: 200% 0; }
}
@keyframes statPop {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.08); }
    100% { transform: scale(1); }
}
@keyframes slideHeadGlow {
    0%, 100% { opacity: 0; left: -120%; }
    30%, 70%  { opacity: 1; }
    100%      { left: 220%; }
}
@keyframes auroraBlob1 {
    0%, 100% { transform: translate(  0px,  0px) scale(1.00); opacity: .75; }
    33%       { transform: translate(-50px, 35px) scale(1.10); opacity: .90; }
    66%       { transform: translate( 35px,-25px) scale(0.95); opacity: .70; }
}
@keyframes auroraBlob2 {
    0%, 100% { transform: translate( 0px,  0px) scale(1.00); opacity: .70; }
    33%       { transform: translate( 40px,-30px) scale(1.08); opacity: .85; }
    66%       { transform: translate(-30px, 22px) scale(0.96); opacity: .65; }
}
@keyframes panelGlow {
    0%, 100% { box-shadow: 0 12px 44px rgba(10,14,46,0.26), 0 0 0 2px rgba(255,255,255,0.18), 0 0 22px rgba(107,127,232,0.18); }
    50%       { box-shadow: 0 16px 52px rgba(10,14,46,0.34), 0 0 0 2px rgba(255,255,255,0.34), 0 0 42px rgba(107,127,232,0.34); }
}
@keyframes livePulse {
    0%, 100% { opacity: 1;   transform: scale(1.00); }
    50%       { opacity: 0.3; transform: scale(0.70); }
}
@keyframes neonCardPulse {
    0%, 100% { opacity: 0.55; }
    50%       { opacity: 1.00; }
}

/* ====================== KIOSK LAYOUT ====================== */
.kiosk {
    display: grid;
    grid-template-rows: var(--header-h) 1fr var(--stats-h) var(--footer-h);
    height: 100vh;
    width: 100vw;
    gap: 0;
    position: relative;
    isolation: isolate;
}
/* Floating aurora blobs */
.kiosk::before {
    content: '';
    position: absolute;
    width: 560px; height: 460px;
    top: -110px; right: -70px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244,185,53,0.24) 0%, transparent 68%);
    filter: blur(55px);
    animation: auroraBlob1 18s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}
.kiosk::after {
    content: '';
    position: absolute;
    width: 500px; height: 420px;
    bottom: -75px; left: -55px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(81,112,168,0.28) 0%, transparent 68%);
    filter: blur(60px);
    animation: auroraBlob2 22s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

/* ====================== HEADER ====================== */
.hvtc-header {
    background:
        linear-gradient(108deg, transparent 28%, rgba(81,112,168,0.08) 48%, transparent 68%),
        linear-gradient(95deg, #05081c 0%, #0a1230 28%, #101b3a 55%, #152347 78%, #1d2d5a 100%);
    color: #fff;
    display: flex;
    align-items: center;
    padding: 0 22px;
    gap: 0;
    position: relative;
    z-index: 5;
    overflow: hidden;
    border-top: 2px solid transparent;
    background-clip: padding-box;
    box-shadow:
        0 8px 36px rgba(0,0,0,0.55),
        inset 0 1px 0 rgba(255,255,255,0.06),
        inset 0 -1px 0 rgba(0,0,0,0.30);
}
/* Flowing rainbow-blue top border */
.hvtc-header-topborder {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2.5px;
    background: linear-gradient(90deg,
        #152347 0%, #5170a8 20%, var(--hvtc-gold) 38%,
        #fff 50%,
        var(--hvtc-gold) 62%, #5170a8 80%, #152347 100%);
    background-size: 200% 100%;
    animation: topBorderFlow 4s linear infinite;
    z-index: 10;
}
/* Animated gold shimmer bottom line */
.hvtc-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--hvtc-gold) 15%, #fff8dc 28%, var(--hvtc-gold-soft) 42%,
        #fff 50%,
        var(--hvtc-gold-soft) 58%, #fff8dc 72%, var(--hvtc-gold) 85%,
        transparent 100%);
    background-size: 200% 100%;
    animation: headerShimmer 2.8s linear infinite;
    opacity: 0.80;
}
/* Light beam sweep + scan-line overlay */
.hvtc-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 3px,
            rgba(0,0,0,0.06) 3px,
            rgba(0,0,0,0.06) 4px
        );
    pointer-events: none;
    z-index: 1;
}
/* Light beam pseudo — appended via a child span injected in JS */

/* Light beam sweep element */
.hvtc-beam {
    position: absolute;
    top: 0; bottom: 0;
    width: 90px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.10) 50%, transparent 100%);
    pointer-events: none;
    z-index: 2;
    animation: beamSweep 5s ease-in-out infinite;
}
.hvtc-beam:nth-child(2) { animation-delay: 2.5s; width: 55px; }

.hvtc-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    flex: 1;
    min-width: 0;
    padding-right: 18px;
    position: relative;
    z-index: 3;
}
.hvtc-logo {
    height: 58px; width: auto; flex-shrink: 0;
    background: radial-gradient(circle at 40% 40%, #fff 60%, #e8eeff 100%);
    border-radius: 11px;
    padding: 3px;
    animation: logoBadgePulse 3s ease-in-out infinite;
}
.hvtc-title { position: relative; }
.hvtc-name {
    font-weight: 900; font-size: 17px; letter-spacing: .25px; line-height: 1.15;
    background: linear-gradient(135deg, #ffffff 30%, #c7d2fe 70%, #a5b4fc 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hvtc-name-en { font-weight: 800; font-size: 10px; letter-spacing: .18em; color: var(--hvtc-gold-soft); }
.hvtc-slogan  { font-size: 10px; font-style: italic; color: rgba(199,210,254,0.70); margin-top: 3px; font-weight: 600; letter-spacing: .03em; }

/* Center headline with vertical separator lines */
.hvtc-headline {
    flex: 1.3;
    text-align: center;
    min-width: 0;
    padding: 0 22px;
    border-left:  1px solid rgba(165,180,252,0.20);
    border-right: 1px solid rgba(165,180,252,0.20);
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 3;
}
/* Glow backdrop behind headline text */
.hvtc-headline::before {
    content: '';
    position: absolute;
    inset: 10px 20px;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(107,127,232,0.10) 0%, transparent 70%);
    pointer-events: none;
}
.hvtc-headline-main {
    font-weight: 900;
    font-size: 20px;
    letter-spacing: .11em;
    background: linear-gradient(135deg, #e0e5ff 0%, var(--hvtc-gold-soft) 40%, #ffffff 65%, var(--hvtc-gold-soft) 85%, #e0e5ff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: headerShimmer 5s linear infinite, headlineGlow 3s ease-in-out infinite;
}
.hvtc-headline-sub {
    font-size: 11.5px;
    color: rgba(199,210,254,0.80);
    margin-top: 5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.hvtc-headline-sub .hl {
    color: var(--hvtc-gold);
    font-weight: 900;
    -webkit-text-fill-color: var(--hvtc-gold);
    text-shadow: 0 0 12px rgba(244,185,53,0.70), 0 0 28px rgba(244,185,53,0.35);
}

/* Clock + LIVE badge */
.hvtc-clock {
    flex: 1;
    text-align: right;
    padding-left: 18px;
    position: relative;
    z-index: 3;
}
/* LIVE indicator */
.hvtc-clock::before {
    content: '⬤ REALTIME';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-34px);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .16em;
    color: #4ade80;
    text-shadow: 0 0 8px rgba(74,222,128,0.90), 0 0 22px rgba(74,222,128,0.50);
    animation: livePulse 2.2s ease-in-out infinite;
}
#clock-time {
    font-weight: 900;
    font-size: 28px;
    color: var(--hvtc-gold);
    letter-spacing: 3px;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 18px rgba(244,185,53,0.65), 0 0 40px rgba(244,185,53,0.25), 0 2px 6px rgba(0,0,0,0.30);
}
#clock-date { font-size: 11.5px; color: rgba(199,210,254,0.80); font-weight: 700; margin-top: 1px; }

/* ====================== SLIDESHOW ====================== */
.slideshow {
    position: relative;
    overflow: hidden;
    margin: 8px 16px 4px;
    border-radius: 24px;
    border: 2px solid rgba(255,255,255,0.22);
    background: rgba(225, 230, 255, 0.76);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    min-height: 0;
    animation: panelGlow 5s ease-in-out infinite;
}
.slides-stage { position: relative; width: 100%; height: 100%; }
.slide {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; gap: 0;
    opacity: 0; transform: translateY(10px);
    transition: opacity .55s ease, transform .55s ease;
    pointer-events: none;
}
.slide.active { opacity: 1; transform: none; pointer-events: auto; }

.slide-head {
    display: flex; align-items: center; gap: 14px;
    padding: 5px 16px;
    background: linear-gradient(90deg, #05081c 0%, #0e1840 55%, #1d2d5a 100%);
    border-bottom: 2.5px solid var(--hvtc-gold);
    flex-shrink: 0;
    position: relative; overflow: hidden;
}
.slide-head::after {
    content: '';
    position: absolute;
    top: 0; left: -120%;
    width: 40%; height: 100%;
    background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.09) 50%, transparent 80%);
    animation: slideHeadGlow 5s ease-in-out infinite;
}

/* Sparklines in slide-head */
.slide-sparklines {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    padding: 0 14px;
    border-left:  1px solid rgba(255,255,255,0.10);
    border-right: 1px solid rgba(255,255,255,0.10);
    align-self: stretch;
    justify-content: center;
}
.sparkline-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    opacity: 0.82;
    transition: opacity .2s;
}
.sparkline-wrap:hover { opacity: 1; }
.sparkline-wrap canvas { display: block; border-radius: 3px; width: 58px; height: 22px; }
.sparkline-wrap span {
    font-size: 8px;
    font-weight: 900;
    color: rgba(165,180,252,0.60);
    letter-spacing: .05em;
    text-transform: uppercase;
}

.slide-badge {
    background: rgba(255,255,255,0.13);
    border: 1.5px solid rgba(255,255,255,0.28);
    color: #fff;
    padding: 4px 13px;
    border-radius: 999px;
    font-weight: 800; font-size: 12px;
    display: inline-flex; align-items: center; gap: 6px;
    white-space: nowrap; flex-shrink: 0;
}
.slide-badge i { font-size: 14px; color: var(--hvtc-gold-soft); }
.slide-title {
    margin: 0; font-size: 16px; font-weight: 900; color: #fff;
    flex: 1; line-height: 1.25;
    text-shadow: 0 2px 8px rgba(0,0,0,0.30);
    letter-spacing: .02em;
}
.slide-meta {
    color: #c7d2fe; font-size: 11.5px;
    background: rgba(255,255,255,0.10);
    border: 1.5px solid rgba(255,255,255,0.18);
    padding: 3px 10px; border-radius: 999px;
    font-weight: 800; white-space: nowrap; flex-shrink: 0;
}
.slide-grid {
    flex: 1; display: grid; gap: 8px;
    min-height: 0; padding: 8px 10px 36px;
}
.slide-grid.grid-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.slide-grid.grid-2 { grid-template-columns: repeat(2, 1fr); grid-template-rows: 1fr; }
.slide-grid.grid-3 { grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr; }
.slide-grid.grid-4 { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); }
.slide-grid.grid-5,
.slide-grid.grid-6 { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); }
.slide-grid.grid-7,
.slide-grid.grid-8 { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); }

.mini-chart {
    background: rgba(235,237,255,0.85);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    border: 1.5px solid rgba(165,180,252,0.55);
    border-radius: 20px;
    padding: 8px 12px 10px;
    display: flex; flex-direction: column;
    min-height: 0; min-width: 0;
    box-shadow:
        0 4px 18px rgba(20,25,80,0.14),
        inset 0 1px 0 rgba(255,255,255,0.45);
    position: relative; overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}
.mini-chart:hover {
    transform: translateY(-2px);
    box-shadow:
        0 12px 30px rgba(20,25,80,0.24),
        inset 0 1px 0 rgba(255,255,255,0.55);
}
.mini-chart::before {
    content: '';
    position: absolute; inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--hvtc-navy) 0%, var(--hvtc-sky) 50%, var(--hvtc-gold) 100%);
    border-radius: 20px 20px 0 0;
}
.mini-chart-title {
    font-size: 12.5px; font-weight: 900; color: #080e3a;
    margin: 5px 0 4px; line-height: 1.25;
    display: flex; align-items: flex-start; gap: 6px;
    max-height: 2.6em; overflow: hidden;
    text-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.mini-chart-code {
    color: #fff; font-weight: 900;
    background: linear-gradient(135deg, var(--hvtc-sky), var(--hvtc-navy-deep));
    padding: 2px 8px; border-radius: 5px; font-size: 11px;
    flex-shrink: 0; box-shadow: 0 2px 6px rgba(50,64,154,0.35);
    letter-spacing: .03em;
}
.mini-chart-body { position: relative; flex: 1; min-height: 80px; }
.mini-chart-body canvas { width: 100% !important; height: 100% !important; }

/* ===== Slide controls ===== */
.slide-controls {
    position: absolute; left: 0; right: 0; bottom: 0;
    display: flex; align-items: center; gap: 8px;
    padding: 8px 14px 7px;
    background: linear-gradient(to top, rgba(225,230,255,0.96) 45%, rgba(225,230,255,0) 100%);
}
.slide-ctrl {
    background: linear-gradient(135deg, var(--hvtc-navy-deep), var(--hvtc-sky));
    color: #fff; border: none; border-radius: 999px;
    width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
    box-shadow: 0 3px 10px rgba(50,64,154,0.35);
    font-size: 13px; flex-shrink: 0;
}
.slide-ctrl:hover { transform: scale(1.12); box-shadow: 0 5px 18px rgba(50,64,154,0.55); }
.slide-dots { display: flex; gap: 6px; flex: 1; justify-content: center; flex-wrap: wrap; }
.dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: rgba(50,64,154,0.30); border: none; cursor: pointer;
    transition: transform .2s, background .2s;
}
.dot.active {
    background: var(--hvtc-gold);
    transform: scale(1.55);
    box-shadow: 0 0 0 3px rgba(244,185,53,0.35), 0 0 10px rgba(244,185,53,0.50);
}
.slide-progress { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: rgba(50,64,154,0.12); overflow: hidden; }
.slide-progress-bar {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--hvtc-sky), var(--hvtc-gold), var(--hvtc-red));
    transition: width .15s linear;
}

/* ====================== STATS — FUTURISTIC DARK GLASS ====================== */
.stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    padding: 4px 16px 4px;
    min-height: 0;
    align-content: start;
}

.stat-card {
    position: relative;
    background: rgba(4, 8, 38, 0.62);
    backdrop-filter: blur(24px) saturate(120%);
    -webkit-backdrop-filter: blur(24px) saturate(120%);
    border-radius: 18px;
    padding: 7px 12px 7px 10px;
    display: flex; align-items: center; gap: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    border-top: 2.5px solid transparent;
    overflow: hidden;
    transition: transform .22s, box-shadow .22s;
    cursor: default;
}
.stat-card:hover { transform: translateY(-3px); }

/* Live pulse dot (top-right corner) */
.stat-card::before {
    content: '';
    position: absolute;
    top: 7px; right: 8px;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 6px #4ade80, 0 0 14px rgba(74,222,128,0.50);
    animation: livePulse 2.4s ease-in-out infinite;
    z-index: 3;
}

/* Shine sweep on hover */
.stat-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 55%; height: 100%;
    background: linear-gradient(108deg, transparent 25%, rgba(255,255,255,0.07) 50%, transparent 75%);
    transform: skewX(-12deg);
    transition: left 0.50s ease;
    pointer-events: none;
    z-index: 2;
}
.stat-card:hover::after { left: 165%; }

.stat-icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    position: relative; z-index: 1;
    transition: box-shadow .3s;
}
.stat-body { display: flex; flex-direction: column; flex: 1; min-width: 0; z-index: 1; }
.stat-label {
    font-size: 9.5px;
    color: rgba(180,190,255,0.68);
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1.25;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.stat-value {
    font-size: 25px;
    font-weight: 900;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    margin-top: 1px;
}
.stat-value.stat-refresh { animation: statPop 0.4s ease; }
@keyframes cardFlash {
    0%   { box-shadow: 0 0 0 2px rgba(74,222,128,0.85), 0 0 28px rgba(74,222,128,0.45); }
    60%  { box-shadow: 0 0 0 1px rgba(74,222,128,0.40), 0 0 14px rgba(74,222,128,0.20); }
    100% { box-shadow: inherit; }
}
.stat-card.stat-updated { animation: cardFlash 1.2s ease-out forwards; }
.stat-unit {
    font-size: 9.5px;
    color: rgba(165,180,252,0.52);
    font-weight: 800;
    text-transform: lowercase;
    letter-spacing: .04em;
}

/* ===== Accent: navy (#152347 family) ===== */
.stat-navy { border-top-color: #5170a8; box-shadow: 0 0 24px rgba(81,112,168,0.24), 0 8px 28px rgba(0,0,0,0.30); }
.stat-navy:hover { box-shadow: 0 0 38px rgba(81,112,168,0.42), 0 12px 34px rgba(0,0,0,0.34); }
.stat-navy .stat-icon { background: rgba(81,112,168,0.18); border: 1px solid rgba(81,112,168,0.54); color: #c7d2fe; box-shadow: 0 0 16px rgba(81,112,168,0.50); }
.stat-navy .stat-value { color: #c7d2fe; text-shadow: 0 0 16px rgba(199,210,254,0.65); }

/* ===== Accent: gold ===== */
.stat-gold { border-top-color: #F4B935; box-shadow: 0 0 24px rgba(244,185,53,0.22), 0 8px 28px rgba(0,0,0,0.30); }
.stat-gold:hover { box-shadow: 0 0 38px rgba(244,185,53,0.40), 0 12px 34px rgba(0,0,0,0.34); }
.stat-gold .stat-icon { background: rgba(244,185,53,0.14); border: 1px solid rgba(244,185,53,0.50); color: #FBDC8A; box-shadow: 0 0 16px rgba(244,185,53,0.50); }
.stat-gold .stat-value { color: #FBDC8A; text-shadow: 0 0 16px rgba(251,220,138,0.65); }

/* ===== Accent: red ===== */
.stat-red { border-top-color: #E85A4F; box-shadow: 0 0 24px rgba(232,90,79,0.20), 0 8px 28px rgba(0,0,0,0.30); }
.stat-red:hover { box-shadow: 0 0 38px rgba(232,90,79,0.36), 0 12px 34px rgba(0,0,0,0.34); }
.stat-red .stat-icon { background: rgba(232,90,79,0.14); border: 1px solid rgba(232,90,79,0.48); color: #FF9D97; box-shadow: 0 0 16px rgba(232,90,79,0.45); }
.stat-red .stat-value { color: #FF9D97; text-shadow: 0 0 16px rgba(255,157,151,0.65); }

/* ===== Accent: teal ===== */
.stat-teal { border-top-color: #34D399; box-shadow: 0 0 24px rgba(52,211,153,0.20), 0 8px 28px rgba(0,0,0,0.30); }
.stat-teal:hover { box-shadow: 0 0 38px rgba(52,211,153,0.36), 0 12px 34px rgba(0,0,0,0.34); }
.stat-teal .stat-icon { background: rgba(52,211,153,0.14); border: 1px solid rgba(52,211,153,0.48); color: #6EE7B7; box-shadow: 0 0 16px rgba(52,211,153,0.45); }
.stat-teal .stat-value { color: #6EE7B7; text-shadow: 0 0 16px rgba(110,231,183,0.65); }

/* ===== Accent: orange ===== */
.stat-orange { border-top-color: #F97316; box-shadow: 0 0 24px rgba(249,115,22,0.20), 0 8px 28px rgba(0,0,0,0.30); }
.stat-orange:hover { box-shadow: 0 0 38px rgba(249,115,22,0.36), 0 12px 34px rgba(0,0,0,0.34); }
.stat-orange .stat-icon { background: rgba(249,115,22,0.14); border: 1px solid rgba(249,115,22,0.48); color: #FDBA74; box-shadow: 0 0 16px rgba(249,115,22,0.45); }
.stat-orange .stat-value { color: #FDBA74; text-shadow: 0 0 16px rgba(253,186,116,0.65); }

/* ===== Accent: purple ===== */
.stat-purple { border-top-color: #A855F7; box-shadow: 0 0 24px rgba(168,85,247,0.20), 0 8px 28px rgba(0,0,0,0.30); }
.stat-purple:hover { box-shadow: 0 0 38px rgba(168,85,247,0.36), 0 12px 34px rgba(0,0,0,0.34); }
.stat-purple .stat-icon { background: rgba(168,85,247,0.14); border: 1px solid rgba(168,85,247,0.48); color: #D8B4FE; box-shadow: 0 0 16px rgba(168,85,247,0.45); }
.stat-purple .stat-value { color: #D8B4FE; text-shadow: 0 0 16px rgba(216,180,254,0.65); }

/* ===== Accent: indigo ===== */
.stat-indigo { border-top-color: #6366F1; box-shadow: 0 0 24px rgba(99,102,241,0.20), 0 8px 28px rgba(0,0,0,0.30); }
.stat-indigo:hover { box-shadow: 0 0 38px rgba(99,102,241,0.36), 0 12px 34px rgba(0,0,0,0.34); }
.stat-indigo .stat-icon { background: rgba(99,102,241,0.14); border: 1px solid rgba(99,102,241,0.48); color: #A5B4FC; box-shadow: 0 0 16px rgba(99,102,241,0.45); }
.stat-indigo .stat-value { color: #A5B4FC; text-shadow: 0 0 16px rgba(165,180,252,0.65); }

/* ===== Accent: mint ===== */
.stat-mint { border-top-color: #10B981; box-shadow: 0 0 24px rgba(16,185,129,0.20), 0 8px 28px rgba(0,0,0,0.30); }
.stat-mint:hover { box-shadow: 0 0 38px rgba(16,185,129,0.36), 0 12px 34px rgba(0,0,0,0.34); }
.stat-mint .stat-icon { background: rgba(16,185,129,0.14); border: 1px solid rgba(16,185,129,0.48); color: #6EE7B7; box-shadow: 0 0 16px rgba(16,185,129,0.45); }
.stat-mint .stat-value { color: #6EE7B7; text-shadow: 0 0 16px rgba(110,231,183,0.65); }

/* ===== Accent: sky ===== */
.stat-sky { border-top-color: #0EA5E9; box-shadow: 0 0 24px rgba(14,165,233,0.20), 0 8px 28px rgba(0,0,0,0.30); }
.stat-sky:hover { box-shadow: 0 0 38px rgba(14,165,233,0.36), 0 12px 34px rgba(0,0,0,0.34); }
.stat-sky .stat-icon { background: rgba(14,165,233,0.14); border: 1px solid rgba(14,165,233,0.48); color: #7DD3FC; box-shadow: 0 0 16px rgba(14,165,233,0.45); }
.stat-sky .stat-value { color: #7DD3FC; text-shadow: 0 0 16px rgba(125,211,252,0.65); }

/* ===== Accent: coral ===== */
.stat-coral { border-top-color: #F87171; box-shadow: 0 0 24px rgba(248,113,113,0.20), 0 8px 28px rgba(0,0,0,0.30); }
.stat-coral:hover { box-shadow: 0 0 38px rgba(248,113,113,0.36), 0 12px 34px rgba(0,0,0,0.34); }
.stat-coral .stat-icon { background: rgba(248,113,113,0.14); border: 1px solid rgba(248,113,113,0.48); color: #FCA5A5; box-shadow: 0 0 16px rgba(248,113,113,0.45); }
.stat-coral .stat-value { color: #FCA5A5; text-shadow: 0 0 16px rgba(252,165,165,0.65); }

/* ====================== FOOTER ====================== */
.hvtc-footer {
    background: linear-gradient(95deg, #05081c, #0a1230, #152347);
    color: rgba(199,210,254,0.85);
    display: flex; align-items: center; justify-content: center;
    gap: 22px; font-size: 11.5px; font-weight: 700;
    padding: 0 16px;
    border-top: 2px solid rgba(244,185,53,0.70);
    flex-wrap: wrap;
    letter-spacing: .03em;
}
.hvtc-footer i { color: var(--hvtc-gold); margin-right: 5px; }

/* ====================== RESPONSIVE — Tablet (≤ 1100 px) ====================== */
@media (max-width: 1100px) {
    html, body { overflow-y: auto; overflow-x: hidden; height: auto; }
    .kiosk { height: auto; min-height: 100vh; grid-template-rows: auto auto auto auto; isolation: isolate; }
    .slideshow { height: 440px; margin: 8px 12px 4px; }
    .stats { grid-template-columns: repeat(4, 1fr); height: auto; gap: 7px; padding: 6px 12px 6px; }
    .hvtc-headline { display: none; }
    .stat-value { font-size: 22px; }
}

/* ====================== RESPONSIVE — Mobile (≤ 767 px) ====================== */
@media (max-width: 767px) {
    .slideshow { height: 360px; margin: 6px 10px 4px; border-radius: 12px; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 7px; padding: 6px 10px 6px; }
    .hvtc-header { padding: 6px 12px; gap: 8px; min-height: 68px; height: auto; }
    .hvtc-logo { height: 48px; }
    .hvtc-name { font-size: 14px; }
    .hvtc-name-en { font-size: 9px; }
    .hvtc-slogan { font-size: 9.5px; }
    .hvtc-clock::before { display: none; }
    #clock-time { font-size: 20px; }
    #clock-date { font-size: 10.5px; }
    .hvtc-footer { gap: 12px; padding: 4px 12px; font-size: 10.5px; height: auto; }
    .slide-title { font-size: 14px; }
    .slide-head { padding: 8px 12px; }
}

/* ====================== RESPONSIVE — Small mobile (≤ 479 px) ====================== */
@media (max-width: 479px) {
    .hvtc-brand { gap: 8px; }
    .hvtc-logo { height: 38px; }
    .hvtc-name { font-size: 12.5px; }
    .hvtc-name-en { font-size: 8.5px; }
    .hvtc-slogan { display: none; }
    #clock-time { font-size: 17px; }
    .stat-card { padding: 6px 10px; gap: 7px; }
    .stat-icon { width: 32px; height: 32px; font-size: 15px; }
    .stat-value { font-size: 18px; }
    .stat-label { font-size: 8.5px; }
    .slideshow { height: 300px; margin: 4px 6px 4px; }
    .slide-head { padding: 7px 10px; gap: 8px; }
    .slide-title { font-size: 13px; }
    .slide-badge { font-size: 10.5px; padding: 3px 9px; }
    .slide-meta { display: none; }
    .mini-chart-title { font-size: 11px; }
}
