/* ==========================================================================
   VOLTFORGE ATHLETIC LAB — GLOBAL DARK TECH HUD SYSTEM & CHAMFERED NAVBAR
   Ngành: Phòng Tập Gym Hiệu Suất Cao | Phong cách: Full Dark Mode & Tech HUD
   ========================================================================== */

:root {
    --bg-carbon: #0a0b0e;
    --bg-steel: #12151c;
    --bg-panel: #171b24;
    --bg-panel-hi: #1f2532;
    --ink: #f5f7fa;
    --ink-muted: #a1aab8;
    --ink-subtle: #6e7787;
    --volt: #d4ff00;
    --volt-dark: #b6db00;
    --volt-glow: rgba(212, 255, 0, 0.24);
    --signal: #ff4d00;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.2);
    --font-display: 'Barlow Condensed', 'Space Grotesk', sans-serif;
    --font-tech: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --chamfer-sm: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    --chamfer-md: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
    --chamfer-lg: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
    --container: 1320px;
    --header-h: 78px;
    --ease-kinetic: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    font-size: 16px;
    background-color: var(--bg-carbon);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-carbon);
    color: var(--ink);
    line-height: 1.65;
    overflow-x: clip;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 56px 56px;
}

body.hud-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.3s var(--ease-kinetic);
}

button,
input,
select,
textarea {
    font-family: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

.vf-container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* Shared Tech HUD Coordinates & Display Headings */
.vf-hud-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-tech);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--volt);
}

.vf-hud-tag::before {
    content: '[ + ]';
    color: var(--volt);
    font-weight: 700;
}

.vf-display {
    font-family: var(--font-display);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 0.96;
    letter-spacing: 0.01em;
    color: var(--ink);
}

.vf-display span {
    color: var(--volt);
}

.vf-section-title {
    font-size: clamp(2.4rem, 4.8vw, 4.2rem);
    margin-top: 12px;
}

.vf-head-split {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 44px;
}

.vf-head-desc {
    max-width: 460px;
    font-size: 0.95rem;
    color: var(--ink-muted);
    line-height: 1.7;
}

/* Shared Chamfered 45° Buttons */
.vf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    font-family: var(--font-tech);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    clip-path: var(--chamfer-sm);
    white-space: nowrap;
    transition: background-color 0.28s ease, color 0.28s ease, transform 0.3s var(--ease-kinetic);
}

.vf-btn-volt {
    background-color: var(--volt);
    color: #0a0b0e;
}

.vf-btn-volt:hover {
    background-color: #ffffff;
    color: #0a0b0e;
    transform: translateY(-2px);
}

.vf-btn-dark {
    background-color: #0a0b0e;
    color: var(--volt);
}

.vf-btn-dark:hover {
    background-color: #1d222e;
    color: #ffffff;
}

.vf-btn-ghost {
    background-color: rgba(255, 255, 255, 0.07);
    color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--line-strong);
}

.vf-btn-ghost:hover {
    background-color: var(--volt);
    color: #0a0b0e;
}

/* Top Volt Progress Bar */
.vf-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--volt), var(--signal));
    transform-origin: left center;
    transform: scaleX(0);
    z-index: 1250;
    pointer-events: none;
}

/* ==========================================================================
   DARK GLASS HUD NAVBAR (NO WHITE BAR, NO TOPBAR, NO FLOATING PILL)
   ========================================================================== */
.vf-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    z-index: 1050;
    background-color: rgba(10, 11, 14, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.vf-header.is-scrolled {
    background-color: rgba(10, 11, 14, 0.96);
    border-bottom-color: rgba(212, 255, 0, 0.25);
}

.vf-header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.vf-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.vf-brand-mark {
    width: 40px;
    height: 40px;
    background-color: var(--volt);
    color: #0a0b0e;
    clip-path: var(--chamfer-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
}

.vf-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 0.98;
}

.vf-brand-copy strong {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink);
}

.vf-brand-copy small {
    font-family: var(--font-tech);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--volt);
    margin-top: 2px;
}

.vf-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.vf-nav-link {
    font-family: var(--font-tech);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-muted);
    position: relative;
    padding: 6px 0;
    white-space: nowrap;
}

.vf-nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--volt);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s var(--ease-kinetic);
}

.vf-nav-link:hover,
.vf-nav-link.is-active {
    color: var(--ink);
}

.vf-nav-link:hover::after,
.vf-nav-link.is-active::after {
    transform: scaleX(1);
}

.vf-header-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.vf-live-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-tech);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-muted);
    padding: 7px 12px;
    border: 1px solid var(--line);
    white-space: nowrap;
}

.vf-live-dot {
    width: 7px;
    height: 7px;
    background-color: var(--volt);
    box-shadow: 0 0 10px var(--volt);
}

.vf-nav-cta {
    padding: 11px 20px;
    font-size: 0.76rem;
}

.vf-mobile-trigger {
    display: none;
    width: 44px;
    height: 44px;
    background-color: var(--bg-panel);
    border: 1px solid var(--line-strong);
    color: var(--volt);
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    clip-path: var(--chamfer-sm);
}

/* Fullscreen Dark HUD Mobile Drawer */
.vf-drawer {
    position: fixed;
    inset: 0;
    z-index: 1150;
    background-color: rgba(10, 11, 14, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 24px 24px 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.vf-drawer.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.vf-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.vf-drawer-close {
    width: 44px;
    height: 44px;
    background-color: var(--bg-panel);
    color: var(--volt);
    clip-path: var(--chamfer-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.vf-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 24px 0;
}

.vf-drawer-link {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 7vw, 2.7rem);
    font-weight: 800;
    text-transform: uppercase;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
}

.vf-drawer-link span {
    font-family: var(--font-tech);
    font-size: 0.78rem;
    color: var(--volt);
    letter-spacing: 0.16em;
}

.vf-drawer-link:hover,
.vf-drawer-link.is-active {
    color: var(--volt);
}

.vf-drawer-foot {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.vf-drawer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-family: var(--font-tech);
    font-size: 0.8rem;
    color: var(--ink-muted);
}

.vf-drawer-meta i {
    color: var(--volt);
    margin-right: 6px;
}

/* HUD Toast Notification */
.vf-toast {
    position: fixed;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background-color: var(--volt);
    color: #0a0b0e;
    padding: 14px 24px;
    clip-path: var(--chamfer-sm);
    font-family: var(--font-tech);
    font-size: 0.86rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
    z-index: 9995;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s var(--ease-kinetic);
}

.vf-toast.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 1140px) {
    .vf-live-status {
        display: none;
    }

    .vf-nav {
        gap: 18px;
    }
}

@media (max-width: 991px) {
    :root {
        --header-h: 70px;
    }

    .vf-container {
        padding: 0 18px;
    }

    .vf-nav,
    .vf-nav-cta {
        display: none;
    }

    .vf-mobile-trigger {
        display: inline-flex;
    }
}
