/* Beastfoodz Custom Styles — Brand Manual v2 (2026) */

:root {
    /* ─── Typography (Brand Manual v2 §5) ───────────────────────────
       Anton = free stand-in for Druk Wide (display / headlines / logo).
       Space Grotesk = body / UI / nav / buttons.
       Arial fallback preserves bold/clean character when web fonts fail. */
    --font-display: 'Anton', 'Druk Wide', 'Bebas Neue', Impact, Arial, sans-serif;
    --font-body:    'Space Grotesk', Arial, Helvetica, sans-serif;

    /* ─── Color Palette (Brand Manual v2 §4) ─────────────────────── */
    --beast-black:  #0E0E0E;  /* Primary background, premium base */
    --beast-gold:   #E8B400;  /* Primary accent, CTAs, highlights */
    --deep-gold:    #C99700;  /* Secondary accent, hover states */
    --bone:         #F5F3EE;  /* Light surfaces, content areas */
    --steel-grey:   #9A9A9A;  /* Secondary text, dividers */

    /* ─── Legacy aliases (v1 token names mapped to v2 values) ─────
       Keeps existing rules — including those in shop.css/dashboard.css —
       on-brand without forcing a stylesheet-wide rename. */
    --gold:           var(--beast-gold);
    --gold-dark:      var(--deep-gold);
    --orange:         var(--deep-gold);
    --bg-dark:        var(--beast-black);
    --bg-card:        #1a1a1a;
    --bg-card-hover:  #252525;
    --text-primary:   #ffffff;
    --text-secondary: #cccccc;
    --text-muted:     var(--steel-grey);
    --border-color:   #333333;
    --black-surface:  #161616;
    --success:        #28a745;
    --danger:         #dc3545;
    --warning:        var(--beast-gold);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    padding-top: 70px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ─── Typography hierarchy (Brand Manual v2 §5) ────────────────────
   Display face is reserved for headline moments and the logo —
   never body copy. Bootstrap utility classes (.display-1 … .display-6)
   also pick up the display face. */
h1, h2, h3,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: var(--font-display);
    font-weight: 400;       /* Anton ships at 400; weight comes from form, not stroke */
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.06;      /* monumental vertical scale per guidelines */
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.005em;
}

/* Eyebrow / kicker label (e.g. "What We Stand For") */
.eyebrow,
.kicker {
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;     /* +6% tracking per the type scale */
    font-size: 0.82rem;
    color: var(--beast-gold);
}

/* Nav links: uppercase Space Grotesk per Brand Manual v2 §6 */
.navbar .nav-link {
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    font-size: 13px;
}

/* Buttons follow the body face but bolder — per the type scale */
.btn, .button {
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* Navbar */
.navbar {
    background: rgba(14, 14, 14, 0.95);   /* Brand Manual v2 --beast-black @ 95% */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(232, 180, 0, 0.10);
    padding: 0;
    z-index: 9999;
}

.navbar > .container {
    max-width: 1400px;
    padding: 12px 30px;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 38px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-logo-icon {
    margin-left: 35px;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .navbar-logo {
        height: 32px;
    }
    .navbar > .container {
        padding: 12px 20px;
    }
    .navbar-nav {
        gap: 5px;
        padding: 15px 0;
    }
    .nav-link {
        width: 100%;
        padding: 14px 20px !important;
        font-size: 15px;
        border-radius: 10px;
        justify-content: flex-start;
    }
    .nav-link .nav-icon {
        font-size: 22px;
    }
    .nav-link .nav-icon > svg,
    .nav-link.nav-cart .nav-icon > svg {
        width: 22px;
        height: 22px;
        vertical-align: -5px;
    }
    .btn-register {
        margin-top: 5px;
    }

    /* Hide the desktop divider in the hamburger menu — it has no
       structural meaning when the items stack vertically. */
    .navbar-nav .nav-divider-item {
        display: none;
    }

    /* Bring the Cart label back inside the hamburger menu so the
       icon-only desktop cart still reads as a normal list row. */
    .nav-link.nav-cart {
        padding: 14px 20px !important;
        gap: 10px;
    }
    .nav-link.nav-cart::after {
        content: 'Cart';
        text-transform: uppercase;
        letter-spacing: 0.10em;
        font-size: 15px;
        font-weight: 600;
    }

    /* Hamburger icon gold bars */
    .navbar-toggler {
        border-color: rgba(255, 215, 0, 0.3);
        padding: 5px;
    }
    .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
    }
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23FFD700' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}

.navbar-brand .brand-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-brand .gold {
    background: linear-gradient(135deg, var(--gold), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Nav Menu Items */
.navbar-nav {
    gap: 8px;
    align-items: center;
}

.nav-link {
    color: #C8C8C8 !important;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px !important;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--beast-gold) !important;
    background: rgba(232, 180, 0, 0.08);
}

.nav-link.active {
    color: var(--beast-gold) !important;
    background: rgba(232, 180, 0, 0.14);
}

/* Nav Icons — Lucide SVG primary, Material Icons fallback for any legacy spots.
   Brand Manual v2 §6: thin geometric lines, 1.5px stroke at nav size, gold on hover/active.
   Colour #C8C8C8 is brighter than --steel-grey so the icons stay legible on the dark
   navbar without washing out the gold hover state. */
.nav-icon {
    font-size: 17px;        /* applies to legacy <span class="material-icons nav-icon"> if any remain */
    color: #C8C8C8;
    transition: color 0.2s ease;
}

/* When Lucide renders <i data-lucide> it replaces the element with an inline <svg>.
   Until the JS runs (or if it fails) the <i> is empty — keep it from collapsing. */
i.nav-icon,
i.nav-icon > svg,
.nav-icon > svg {
    width: 17px;
    height: 17px;
    stroke-width: 1.5;      /* Brand Manual v2 §6 — thin geometric line weight */
    stroke: currentColor;   /* inherits the .nav-icon color */
    vertical-align: -3px;   /* baseline-align with the label text */
    display: inline-block;
}

.nav-link:hover .nav-icon {
    color: var(--beast-gold, #FFD700);
}

.nav-link.active .nav-icon {
    color: var(--beast-gold, #FFD700);
}

/* Global Lucide stroke weight — Brand Manual v2 §6 line weight */
svg.lucide {
    stroke-width: 1.5;
}

/* ─── Nav Divider ──────────────────────────────────────────────────
   1px vertical rule between primary nav (Home/HOG/Shop/Discover) and
   the account/utility group (Cart/Login/Register). */
.navbar-nav .nav-divider-item {
    display: flex;
    align-items: center;
    padding: 0 6px;
}
.navbar-nav .nav-divider {
    display: inline-block;
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.10);
    flex-shrink: 0;
}

/* ─── Cart — icon-only with overlaid count badge ───────────────────
   Desktop: icon-only, aria-label carries the accessible name. The icon
   sits inside a relative-positioned wrapper so the badge always anchors
   to the icon's top-right corner. Mobile (<=992px) reveals a label via
   a pseudo-element so the hamburger menu reads as a normal list. */
.nav-link.nav-cart {
    padding: 10px 14px !important;
    gap: 0;
}
.nav-link.nav-cart .nav-cart-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}
.nav-link.nav-cart .nav-icon > svg {
    width: 19px;
    height: 19px;
    vertical-align: -3px;
}

/* Cart Badge — gold circle anchored above-right of the cart icon */
.cart-badge {
    position: absolute;
    top: -7px;
    right: -9px;
    background: var(--beast-gold);
    color: var(--beast-black);
    font-size: 8px;
    font-weight: 700;
    width: 14px;
    height: 14px;
    min-width: 14px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.95);
    pointer-events: none;
}

/* Register CTA — solid gold, text-only, heavier letter-spacing than the
   nav links so it reads as the primary action without competing with
   the rest of the bar. */
.btn-register {
    background: var(--beast-gold) !important;
    color: var(--beast-black) !important;
    font-size: 12px;
    font-weight: 700 !important;
    letter-spacing: 0.18em !important;
    border-radius: 8px;
    padding: 11px 20px !important;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-register:hover {
    background: var(--deep-gold) !important;
    color: var(--beast-black) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(232, 180, 0, 0.3);
}

.btn-register:hover .nav-icon,
.btn-register .nav-icon {
    color: var(--beast-black) !important;
}

.dropdown-menu-dark {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.dropdown-item {
    color: var(--text-secondary);
}

.dropdown-item:hover {
    background: var(--bg-card-hover);
    color: var(--gold);
}

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--orange));
    color: #000 !important;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold);
    background: transparent;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: #000;
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.card-header {
    background: transparent;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    color: var(--text-primary);
}

.card-title {
    color: var(--text-primary);
}

.card-body {
    color: var(--text-primary);
}

.card:hover {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

/* Stats Cards */
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.15);
}

.stat-card .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--gold), var(--orange));
    color: #000;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-card .stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Tables */
.table {
    color: var(--text-secondary);
}

.table thead th {
    background: var(--bg-card-hover);
    color: var(--gold);
    border-color: var(--border-color);
    font-weight: 600;
}

.table tbody td {
    border-color: var(--border-color);
    vertical-align: middle;
}

.table-dark {
    --bs-table-bg: var(--bg-card);
    --bs-table-border-color: var(--border-color);
}

/* Forms */
.form-control, .form-select {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.form-control:focus, .form-select:focus {
    background: var(--bg-card);
    border-color: var(--gold);
    color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-label {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Radio & Checkbox */
.form-check-input:checked {
    background-color: var(--gold);
    border-color: var(--gold);
}

/* Badges */
.badge-gold {
    background: linear-gradient(135deg, var(--gold), var(--orange));
    color: #000;
}

.badge-success {
    background: var(--success);
}

.badge-warning {
    background: var(--warning);
    color: #000;
}

.badge-danger {
    background: var(--danger);
}

/* Alerts */
.alert {
    border-radius: 8px;
    border: none;
}

.messages-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1050;
    max-width: 400px;
}

/* Footer */
.footer-main {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 2rem;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.footer-logo img {
    max-height: 80px;
    width: auto;
    filter: brightness(1.1);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-social a {
    display: inline-block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-3px);
    filter: brightness(1.3);
}

.footer-social img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-links .separator {
    color: var(--text-muted);
}

.text-gold {
    color: var(--gold) !important;
}

/* Dashboard Specific */
.dashboard-container {
    padding: 2rem 0;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

/* Check-in Button */
.checkin-btn {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.checkin-btn.checked-in {
    background: linear-gradient(135deg, var(--success), #20c997);
}

.checkin-btn.checked-out {
    background: linear-gradient(135deg, var(--gold), var(--orange));
    color: #000;
}

.checkin-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

/* Calendar */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.875rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.calendar-day.attended {
    background: linear-gradient(135deg, var(--gold), var(--orange));
    color: #000;
    font-weight: 600;
}

.calendar-day.today {
    border: 2px solid var(--gold);
}

.calendar-day.other-month {
    opacity: 0.3;
}

/* Modal */
.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
}

.modal-footer {
    border-top: 1px solid var(--border-color);
}

/* Profile Wizard */
.wizard-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.wizard-step {
    flex: 1;
    text-align: center;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    margin: 0 0.25rem;
    border-radius: 8px;
    color: var(--text-muted);
}

.wizard-step.active {
    border-color: var(--gold);
    color: var(--gold);
}

.wizard-step.completed {
    background: linear-gradient(135deg, var(--gold), var(--orange));
    color: #000;
    border-color: transparent;
}

/* Auth Pages */
.auth-container {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 215, 0, 0.03);
}

.auth-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-logo img {
    max-width: 180px;
    height: auto;
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--gold), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    font-weight: 700;
}

.social-login {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-btn {
    flex: 1;
    padding: 0.75rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.95rem;
}

.social-btn.google {
    background: #fff;
    color: #444;
    border: 1px solid #ddd;
}

.social-btn.google:hover {
    background: #f8f8f8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--text-muted);
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.divider span {
    padding: 0 1rem;
    font-size: 0.85rem;
}

/* Form Input with Icon */
.input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrap .input-icon {
    position: absolute;
    left: 12px;
    color: var(--text-muted);
    font-size: 1.2rem;
    pointer-events: none;
    z-index: 2;
    transition: color 0.3s ease;
}

.input-icon-wrap .form-control.has-icon {
    padding-left: 42px;
}

.input-icon-wrap .form-control:focus + .input-icon,
.input-icon-wrap .form-control:focus ~ .input-icon {
    color: var(--gold);
}

/* Reorder: icon is before input, so use sibling if needed */
.input-icon-wrap:focus-within .input-icon {
    color: var(--gold);
}

/* Password Visibility Toggle */
.password-wrap .toggle-password {
    position: absolute;
    right: 12px;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 2;
    transition: color 0.3s ease;
    user-select: none;
}

.password-wrap .toggle-password:hover {
    color: var(--gold);
}

/* Field Label with Icon */
.form-label .field-icon {
    font-size: 1rem;
    vertical-align: middle;
    margin-right: 2px;
    color: var(--gold);
    display: none;
}

/* Field Error */
.field-error {
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 0.3rem;
    padding-left: 4px;
}

/* Agreement Checkbox */
.agree-check .form-check-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.agree-check .form-check-label a {
    text-decoration: none;
}

.agree-check .form-check-label a:hover {
    text-decoration: underline;
}

/* Button Icon */
.btn-icon {
    font-size: 1.1rem;
    vertical-align: middle;
    margin-right: 4px;
}

/* Why Login Section */
.why-login {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.why-login h6 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.why-login-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.why-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 0.5rem;
    background: rgba(255, 215, 0, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.08);
}

.why-item .material-icons {
    font-size: 1.1rem;
}

/* Verify Icon Wrap */
.verify-icon-wrap {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .stat-card {
        padding: 1rem;
    }

    .stat-card .stat-value {
        font-size: 1.5rem;
    }

    .checkin-btn {
        width: 100px;
        height: 100px;
    }

    .wizard-progress {
        flex-direction: column;
    }

    .wizard-step {
        margin: 0.25rem 0;
    }
}

/* Animations */
@keyframes pulse-gold {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 20px 10px rgba(255, 215, 0, 0);
    }
}

.pulse {
    animation: pulse-gold 2s infinite;
}

/* Glow Effect */
.glow {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* ── HOG bridges (SEO brief §9) — contextual doors to hog.africa.
      Never banners/popups: they sit inline after a purchase, beside
      mindset content, or on HOG Edition product pages. ── */
.hog-bridge {
    margin-top: 48px;
    padding: 28px 30px;
    border: 1px solid rgba(232, 180, 0, 0.3);
    background: rgba(232, 180, 0, 0.04);
    text-align: center;
}
.hog-bridge h2 {
    font-family: 'Anton', sans-serif;
    font-size: 26px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #F5F3EE;
    margin-bottom: 8px;
}
.hog-bridge p,
.hog-bridge blockquote {
    color: #9A9A9A;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 14px;
}
.hog-bridge a {
    color: #E8B400;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
}
.hog-bridge a:hover { text-decoration: underline; }
.hog-bridge .athlete-portrait img {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(232, 180, 0, 0.55);
    margin-bottom: 14px;
}

/* ============================================================
   MOBILE NAVIGATION (members & guests, below the lg breakpoint)
   App bar + full-screen menu overlay + bottom sheets. Replaces the
   Bootstrap collapse, which had no backdrop/scroll-lock and let the
   page bleed through. Desktop nav (_nav_desktop.html) carries
   .navbar--has-mobile so it can be hidden here. Single z-index
   contract — never inline an exception.
   ============================================================ */
:root {
    --bf-z-appbar:   9999;   /* same plane the desktop navbar used */
    --bf-z-backdrop: 10000;
    --bf-z-menu:     10010;
    --bf-z-sheet:    10020;
    --bf-line:       rgba(255, 255, 255, 0.08);
    --bf-line-soft:  rgba(255, 255, 255, 0.06);
    --bf-drawer-w:   100%;    /* nav drawer width — account sheet matches it */
    --bf-drawer-max: none;
}

/* The overlay only exists below lg; desktop nav takes over at lg+. */
.bf-mnav { display: none; }
body.bf-noscroll { overflow: hidden; }

@media (max-width: 991.98px) {
    .navbar--has-mobile { display: none !important; }
    .bf-mnav { display: block; }
}

/* ── App bar ── */
.bf-appbar {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: var(--bf-z-appbar);
    display: flex; align-items: center; justify-content: space-between;
    height: 70px; padding: 0 18px;
    background: rgba(14, 14, 14, 0.95);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(232, 180, 0, 0.10);
}
.bf-appbar-logo img { height: 30px; width: auto; display: block; }
/* Gorilla mark on hog/shop/discover — same offset it had on the old navbar. */
.bf-appbar-logo img.bf-appbar-logo-icon { height: 32px; margin-left: 35px; }
.bf-appbar-actions { display: flex; align-items: center; gap: 2px; }

.bf-iconbtn {
    position: relative;
    background: transparent; border: none; cursor: pointer;
    color: var(--bone); text-decoration: none;
    width: 44px; height: 44px;
    display: grid; place-items: center;
    transition: color 0.2s;
}
.bf-iconbtn:hover, .bf-iconbtn:focus-visible { color: var(--gold); }
.bf-iconbtn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.bf-iconbtn svg { width: 24px; height: 24px; stroke-width: 1.6; }
/* Bell + cart sit a touch smaller than the hamburger so the bar reads lighter. */
#bfBellBtn svg, .bf-appbar a.bf-iconbtn svg { width: 21px; height: 21px; }

/* badge chip — anchored to the icon, 2px black ring so it reads as a chip */
.bf-badge {
    position: absolute; top: 6px; right: 6px;
    min-width: 16px; height: 16px; padding: 0 4px;
    background: var(--gold); color: var(--beast-black);
    font-family: var(--font-body); font-size: 10px; font-weight: 700;
    line-height: 1; border-radius: 999px;
    border: 2px solid var(--beast-black);
    display: grid; place-items: center;
}

.bf-eyebrow {
    font-family: var(--font-body); font-size: 10px; letter-spacing: 0.32em;
    color: var(--steel-grey); text-transform: uppercase;
}

/* ── Backdrop (shared by the sheets) ── */
.bf-backdrop {
    position: fixed; inset: 0; z-index: var(--bf-z-backdrop);
    background: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
    opacity: 0; visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}
.bf-backdrop.show { opacity: 1; visibility: visible; }

/* ── Menu drawer (partial, slides in from the right over a backdrop) ── */
.bf-menu {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: var(--bf-z-menu);
    width: var(--bf-drawer-w); max-width: var(--bf-drawer-max);
    /* Frosted glass — semi-transparent so the page shows through, blurred. */
    background: rgba(14, 14, 14, 0.72);
    -webkit-backdrop-filter: blur(22px) saturate(130%);
    backdrop-filter: blur(22px) saturate(130%);
    border-left: 1px solid var(--bf-line);
    box-shadow: -18px 0 50px -12px rgba(0, 0, 0, 0.7);
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
}
.bf-menu.open { transform: translateX(0); visibility: visible; }
.bf-menu-top {
    display: flex; align-items: center; justify-content: space-between;
    height: 70px; padding: 0 18px;
    border-bottom: 1px solid var(--bf-line-soft);
}
/* Anchor the nav to the top (under the header) rather than floating it in the
   middle, so the drawer doesn't read as empty. */
.bf-menu-nav { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; padding: 16px 12px 0; }
/* Match the original navbar links — uppercase Space Grotesk, not the big
   display face — so the menu reads light, with the familiar rounded hover row. */
.bf-menu-link {
    display: flex; align-items: center; gap: 16px;
    padding: 17px 16px; text-decoration: none; color: #C8C8C8;
    font-family: var(--font-body); font-size: 16px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.10em;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}
.bf-menu-link svg { color: #C8C8C8; width: 22px; height: 22px; stroke-width: 1.5; transition: color 0.2s; }
.bf-menu-link:hover, .bf-menu-link:focus-visible { color: var(--gold); outline: none; background: rgba(232, 180, 0, 0.08); }
.bf-menu-link:hover svg, .bf-menu-link:focus-visible svg { color: var(--gold); }

/* account card pinned to the base of the menu — opens the profile sheet */
.bf-menu-account {
    margin: 0 20px 28px; width: calc(100% - 40px);
    display: flex; align-items: center; gap: 14px; padding: 16px;
    background: var(--black-surface); border: 1px solid var(--bf-line);
    color: inherit; font-family: inherit; text-align: left; cursor: pointer;
    transition: border-color 0.2s;
}
.bf-menu-account:hover, .bf-menu-account:focus-within { border-color: var(--gold); }
.bf-menu-account svg { color: var(--steel-grey); width: 20px; height: 20px; flex: none; }
/* Account card holds two controls: the avatar (story trigger when live) and the
   rest of the row (opens the profile sheet). */
.bf-avatar-btn { padding: 0; cursor: pointer; }
.bf-avatar-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.bf-account-rest {
    flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px;
    background: transparent; border: none; padding: 0; cursor: pointer;
    color: inherit; font-family: inherit; text-align: left;
}
.bf-account-rest:focus-visible { outline: none; }
/* Story ring: gold = unseen, steel = seen. The avatar's own border becomes the gap. */
.bf-menu-account.has-story .bf-avatar { border-color: var(--beast-black); }
.bf-menu-account.has-story .bf-avatar { box-shadow: 0 0 0 2px var(--steel-grey); }
.bf-menu-account.has-story.story-unseen .bf-avatar { box-shadow: 0 0 0 2px var(--gold); }
.bf-avatar {
    width: 44px; height: 44px; flex: none; border-radius: 50%; overflow: hidden;
    background: var(--beast-black); border: 2px solid var(--gold);
    display: grid; place-items: center;
    font-family: var(--font-display); font-size: 20px; color: var(--gold);
}
.bf-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bf-who { flex: 1; min-width: 0; }
.bf-who-name { font-size: 15px; font-weight: 600; color: var(--bone); }
.bf-who-sub {
    font-family: var(--font-body); font-size: 11px; color: var(--steel-grey); margin-top: 3px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* guest auth buttons */
.bf-menu-auth { display: flex; gap: 12px; margin: 0 20px 28px; }
.bf-btn {
    flex: 1; text-align: center; padding: 14px; text-decoration: none; border-radius: 8px;
    font-family: var(--font-body); font-weight: 600; font-size: 14px;
    text-transform: uppercase; letter-spacing: 0.08em; transition: background 0.2s;
}
.bf-btn-ghost { border: 1px solid var(--gold); color: var(--gold); background: transparent; }
.bf-btn-ghost:hover { background: rgba(232, 180, 0, 0.10); }
.bf-btn-gold { border: 1px solid var(--gold); background: var(--gold); color: var(--beast-black); }
.bf-btn-gold:hover { background: var(--deep-gold); }

/* ── Bottom sheets (notifications + profile share this) ── */
.bf-sheet {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--bf-z-sheet);
    background: var(--black-surface);
    max-height: 80%; display: flex; flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
}
.bf-sheet.open { transform: translateY(0); visibility: visible; }
/* Account pull-up matches the nav drawer: same width, anchored to the right. */
#bfProfileSheet {
    left: auto; right: 0;
    width: var(--bf-drawer-w); max-width: var(--bf-drawer-max);
    border-left: 1px solid var(--bf-line);
}
.bf-sheet-grab { display: flex; justify-content: center; padding: 10px 0 4px; }
.bf-sheet-grab span { width: 36px; height: 3px; border-radius: 2px; background: var(--steel-grey); opacity: 0.6; }
.bf-sheet-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 20px 16px; border-bottom: 1px solid var(--bf-line);
}
.bf-sheet-head h2 {
    font-family: var(--font-display); font-size: 24px;
    text-transform: uppercase; letter-spacing: 0.01em; color: var(--bone); margin: 6px 0 0;
}
.bf-sheet-close {
    background: transparent; border: none; cursor: pointer; color: var(--steel-grey);
    width: 36px; height: 36px; display: grid; place-items: center;
}
.bf-sheet-close:hover, .bf-sheet-close:focus-visible { color: var(--gold); outline: none; }
.bf-sheet-close svg { width: 22px; height: 22px; }
.bf-sheet-body { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.bf-sheet-foot { padding: 16px 20px; border-top: 1px solid var(--bf-line); }
.bf-sheet-foot button {
    background: transparent; border: none; cursor: pointer;
    font-family: var(--font-body); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
}
.bf-sheet-foot button:hover { text-decoration: underline; }

/* profile rows */
.bf-profile-id { display: flex; align-items: center; gap: 14px; padding: 20px; border-bottom: 1px solid var(--bf-line); }
.bf-prow {
    display: flex; align-items: center; gap: 14px; padding: 16px 20px;
    border-bottom: 1px solid var(--bf-line-soft); text-decoration: none;
    color: var(--bone); font-family: var(--font-body); font-size: 15px; transition: background 0.2s;
}
.bf-prow:hover, .bf-prow:focus-visible { background: rgba(255, 255, 255, 0.03); outline: none; }
.bf-prow svg { color: var(--steel-grey); width: 20px; height: 20px; }
.bf-prow-muted { color: var(--steel-grey); }

@media (prefers-reduced-motion: reduce) {
    .bf-menu, .bf-sheet, .bf-backdrop { transition: none; }
}

/* Desktop account-dropdown avatar story ring (mirrors the mobile drawer ring). */
.account-avatar-btn { cursor: pointer; padding: 0; border: none; font-family: inherit; }
.account-head.has-story .account-avatar { box-shadow: 0 0 0 2px var(--black-surface), 0 0 0 4px var(--steel-grey); }
.account-head.has-story.story-unseen .account-avatar { box-shadow: 0 0 0 2px var(--black-surface), 0 0 0 4px var(--gold); }

/* ── Story player (full-screen vertical video) ── */
.story-player {
    position: fixed; inset: 0; z-index: 10030;
    background: #000;
    display: none; align-items: center; justify-content: center;
}
.story-player.open { display: flex; }
.story-video {
    width: 100%; height: 100%; max-width: 480px; margin: 0 auto;
    object-fit: contain; background: #000;
}
.story-progress {
    position: absolute; top: 0; left: 0; right: 0; z-index: 3;
    display: flex; gap: 4px; padding: 12px; max-width: 480px; margin: 0 auto;
}
.story-bar { flex: 1; height: 3px; background: rgba(255, 255, 255, 0.3); border-radius: 2px; overflow: hidden; }
.story-bar i { display: block; height: 100%; width: 0; background: #fff; }
.story-close {
    position: absolute; top: 18px; right: 12px; z-index: 4;
    background: transparent; border: none; color: #fff; cursor: pointer;
    width: 40px; height: 40px; display: grid; place-items: center;
}
.story-close svg { width: 26px; height: 26px; }
.story-caption {
    position: absolute; left: 0; right: 0; bottom: 44px; z-index: 3;
    padding: 0 24px; text-align: center; color: #fff;
    font-family: var(--font-body); font-size: 15px; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}
.story-zone { position: absolute; top: 0; bottom: 0; z-index: 2; background: transparent; border: none; cursor: pointer; }
.story-zone-prev { left: 0; width: 33%; }
.story-zone-next { right: 0; width: 67%; }
