/* ============================================
   HALLOWEENRADIO.NET - Master Stylesheet
   Premium dark theme · Halloween atmosphere
   ============================================ */

/* --------------- 1. CSS Custom Properties --------------- */
:root {
    --hr-black: #1C1C1C;
    --hr-dark: #121212;
    --hr-darker: #0a0a0a;
    --hr-surface: #1e1e1e;
    --hr-card: #242424;
    --hr-card-hover: #2a2a2a;
    --hr-border: #2e2e2e;
    --hr-border-light: #444;

    --hr-orange: #F4831B;
    --hr-orange-rgb: 244, 131, 27;
    --hr-purple: #902EBB;
    --hr-purple-rgb: 144, 46, 187;
    --hr-green: #63C328;
    --hr-green-rgb: 99, 195, 40;
    --hr-red: #D02823;
    --hr-red-rgb: 208, 40, 35;
    --hr-gold: #C9A54E;
    --hr-gold-rgb: 201, 165, 78;
    --hr-blue: #4A90D9;
    --hr-blue-rgb: 74, 144, 217;

    --hr-text: #e8e8e8;
    --hr-text-muted: #999;
    --hr-text-dim: #666;

    --hr-font-display: 'Creepster', cursive;
    --hr-font-heading: 'Outfit', sans-serif;
    --hr-font-body: 'Inter', sans-serif;

    --hr-section-py: 5rem;
    --hr-player-height: 72px;
    --hr-navbar-sticky-top: 76px;

    --hr-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --hr-radius: 12px;
    --hr-radius-sm: 8px;
    --hr-radius-lg: 16px;
    --hr-radius-xl: 24px;
}

/* --------------- 2. Base --------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--hr-font-body);
    background: var(--hr-darker);
    color: var(--hr-text);
    line-height: 1.7;
    overflow-x: hidden;
    padding-bottom: var(--hr-player-height);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: rgba(var(--hr-orange-rgb), 0.3);
    color: #fff;
}

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

a {
    color: var(--hr-orange);
    text-decoration: none;
    transition: color var(--hr-transition);
}
a:hover { color: #ffa94d; }

/* --------------- 3. Typography --------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--hr-font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.hr-section-label {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--hr-orange);
    margin-bottom: 0.5rem;
}
.hr-section-label i { margin-right: 0.35rem; }

.hr-section-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.hr-section-desc {
    font-size: 1.1rem;
    color: var(--hr-text-muted);
    max-width: 560px;
    margin: 0 auto;
}

/* Homepage-only section headings (vars from includes/layout/header.php) */
body.hr-page-home .hr-section-label {
    font-size: var(--hr-home-section-label-font-size, 0.82rem);
}
body.hr-page-home .hr-section-title {
    font-size: var(--hr-home-section-title-font-size, 2.4rem);
}

.hr-text-lg {
    font-size: 1.15rem;
    line-height: 1.8;
}

/* --------------- 4. Navigation --------------- */
.hr-navbar {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    padding: 0.75rem 0;
    transition: all var(--hr-transition);
    z-index: 1040;
}

.hr-navbar.scrolled {
    background: rgba(10, 10, 10, 0.97);
    border-bottom-color: var(--hr-border);
    padding: 0.5rem 0;
}

.hr-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    padding: 0.1rem 0;
    position: relative;
    z-index: 3;
    overflow: visible;
}

.hr-brand-icon {
    /* As tall as the wordmark stack (text + tagline) without growing the navbar row */
    --hr-brand-icon-size: min(2.5rem, calc(1.28rem * 1.05 + 0.12rem + 0.625rem * 1.2 + 0.08rem));
    /* Reserved for layout; ghost float no longer uses a vertical “fall” */
    --hr-brand-fall: calc(var(--hr-brand-icon-size) * 0.318);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: center;
    width: var(--hr-brand-icon-size);
    height: var(--hr-brand-icon-size);
    line-height: 0;
    vertical-align: middle;
    overflow: visible;
    z-index: 2;
}

/* Slight headroom / footroom so ghost float (track translateY) is not clipped */
.hr-brand-icon-stage {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    padding-top: 0.1rem;
    height: calc(100% + 0.1rem + 0.3rem);
    box-sizing: border-box;
    pointer-events: none;
    overflow: hidden;
    z-index: 2;
    border-radius: 4px;
}

.hr-brand-icon-track {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 100%;
    will-change: transform;
    animation: hrBrandIconTrack 69s linear infinite;
}

.hr-brand-icon-slot {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    transform-origin: 50% 0;
}

.hr-brand-icon-slot--logo {
    z-index: 4;
    animation: hrBrandIconLogo 69s cubic-bezier(0.4, 0.15, 0.2, 1) infinite;
}

.hr-brand-icon-slot--ghost {
    z-index: 3;
    padding-top: 3px;
    animation: hrBrandIconGhost 69s cubic-bezier(0.4, 0.15, 0.2, 1) infinite;
}

.hr-brand-icon-img {
    width: 86%;
    height: auto;
    max-height: 92%;
    object-fit: contain;
    display: block;
    user-select: none;
    pointer-events: none;
}

/* Main upload logo: fill the icon cell (no stretch; navbar row unchanged) */
.hr-brand-icon-slot--logo .hr-brand-icon-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 100%;
}

.hr-brand-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    line-height: 1;
}

.hr-brand-text {
    font-family: var(--hr-font-heading);
    font-size: 1.28rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.05;
}

.hr-brand-tagline {
    display: block;
    font-family: var(--hr-font-heading);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
    line-height: 1.2;
    margin-top: 0.12rem;
    max-width: 16rem;
}

.hr-brand-accent { color: var(--hr-orange); }

.hr-navbar.scrolled .hr-brand-tagline {
    font-size: 0.58rem;
    margin-top: 0.08rem;
}

.hr-navbar.scrolled .hr-brand-icon {
    --hr-brand-icon-size: min(2.35rem, calc(1.28rem * 1.05 + 0.08rem + 0.58rem * 1.2 + 0.06rem));
}

@media (max-width: 575.98px) {
    :root { --hr-navbar-sticky-top: 70px; }
    .hr-brand-text { font-size: 1.15rem; }
    .hr-brand-tagline {
        font-size: 0.55rem;
        letter-spacing: 0.03em;
        max-width: 11rem;
    }
    .hr-brand-icon {
        --hr-brand-icon-size: min(2.12rem, calc(1.15rem * 1.05 + 0.12rem + 0.55rem * 1.2 + 0.06rem));
        --hr-brand-fall: calc(var(--hr-brand-icon-size) * 0.318);
    }
}

.hr-nav-links .nav-link {
    font-family: var(--hr-font-heading);
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--hr-text-muted);
    padding: 0.5rem 1rem;
    border-radius: var(--hr-radius-sm);
    transition: all var(--hr-transition);
}

.hr-nav-links .nav-link:hover,
.hr-nav-links .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.hr-nav-premium { color: var(--hr-gold) !important; }

.hr-btn-listen {
    font-family: var(--hr-font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    background: var(--hr-orange);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    transition: all var(--hr-transition);
}

.hr-btn-listen:hover {
    background: #e5741a;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(var(--hr-orange-rgb), 0.4);
}

/* Haunted Crypt nav - reads closer to main nav links than a loud outline button */
.hr-navbar .hr-nav-crypt-btn {
    font-family: var(--hr-font-heading);
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--hr-text-muted);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--hr-radius-sm);
    padding: 0.42rem 0.68rem;
    line-height: 1;
    box-shadow: none;
    transition: color var(--hr-transition), background var(--hr-transition), border-color var(--hr-transition), transform var(--hr-transition);
}
.hr-navbar .hr-nav-crypt-btn:hover,
.hr-navbar .hr-nav-crypt-btn:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
    transform: none;
}
.hr-navbar .hr-nav-crypt-btn:focus-visible {
    outline: 2px solid rgba(var(--hr-orange-rgb), 0.45);
    outline-offset: 2px;
}
.hr-navbar .hr-nav-crypt-btn i {
    opacity: 0.88;
    font-size: 0.95em;
}
.hr-navbar .hr-nav-crypt-btn--block {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

/* Crypt entry - “sealed portal” look (desktop + mobile) */
.hr-nav-crypt-btn.hr-nav-crypt-btn--ember {
    position: relative;
    color: rgba(255, 236, 210, 0.92) !important;
    background: linear-gradient(160deg, rgba(22, 14, 30, 0.98) 0%, rgba(52, 28, 48, 0.82) 55%, rgba(18, 12, 22, 0.95) 100%) !important;
    border: 1px solid rgba(var(--hr-orange-rgb), 0.42) !important;
    border-radius: 10px 10px 14px 14px;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.45) inset,
        0 2px 12px rgba(0, 0, 0, 0.4),
        0 0 22px rgba(var(--hr-orange-rgb), 0.18);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}
.hr-nav-crypt-btn.hr-nav-crypt-btn--ember::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 8px 8px 12px 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    pointer-events: none;
}
.hr-nav-crypt-btn.hr-nav-crypt-btn--ember:hover,
.hr-nav-crypt-btn.hr-nav-crypt-btn--ember:focus-visible {
    color: #fff !important;
    border-color: rgba(var(--hr-orange-rgb), 0.65) !important;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.35) inset,
        0 0 28px rgba(var(--hr-orange-rgb), 0.35),
        0 4px 16px rgba(0, 0, 0, 0.45);
}
.hr-nav-crypt-btn.hr-nav-crypt-btn--ember i {
    color: var(--hr-orange);
    opacity: 1 !important;
    filter: drop-shadow(0 0 6px rgba(var(--hr-orange-rgb), 0.45));
}

.hr-offcanvas .hr-nav-crypt-btn {
    font-family: var(--hr-font-heading);
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--hr-text-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--hr-border);
    border-radius: var(--hr-radius-sm);
    padding: 0.55rem 1rem;
    box-shadow: none;
    transition: color var(--hr-transition), background var(--hr-transition), border-color var(--hr-transition);
}
.hr-offcanvas .hr-nav-crypt-btn:hover,
.hr-offcanvas .hr-nav-crypt-btn:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.14);
}

.hr-toggler {
    border: 1px solid var(--hr-border);
    border-radius: var(--hr-radius-sm);
    padding: 0.4rem 0.65rem;
    background: transparent;
}
.hr-toggler-icon { color: var(--hr-text); font-size: 1.1rem; }

.hr-offcanvas {
    background: var(--hr-dark);
    border-left: 1px solid var(--hr-border);
    max-width: 300px;
}

.hr-mobile-nav .nav-link {
    font-family: var(--hr-font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--hr-text-muted);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color var(--hr-transition);
}

.hr-mobile-nav .nav-link:hover,
.hr-mobile-nav .nav-link.active { color: #fff; }

/* --------------- 5. Hero Section --------------- */
.hr-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 76px;
}

/* Full-bleed photo behind gradients (admin-uploaded banner) */
.hr-hero-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hr-hero-photo--mobile {
    display: none;
}

@media (max-width: 767.98px) {
    .hr-hero--dual .hr-hero-photo--desktop {
        display: none;
    }
    .hr-hero--dual .hr-hero-photo--mobile {
        display: block;
    }
}

/* Default: solid atmospheric gradients when no photo (deep purple / maroon haze) */
.hr-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at 12% 70%, rgba(var(--hr-purple-rgb), 0.22) 0%, transparent 50%),
        radial-gradient(ellipse at 88% 25%, rgba(80, 20, 45, 0.35) 0%, transparent 48%),
        radial-gradient(ellipse at 50% 100%, rgba(var(--hr-red-rgb), 0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 15%, rgba(var(--hr-orange-rgb), 0.08) 0%, transparent 50%),
        linear-gradient(185deg, #140a18 0%, var(--hr-darker) 42%, var(--hr-black) 100%);
}

/* When a banner image exists: translucent overlays so the photo shows through */
.hr-hero--has-photo .hr-hero-bg {
    background:
        radial-gradient(ellipse at 15% 85%, rgba(var(--hr-purple-rgb), 0.38) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 15%, rgba(var(--hr-orange-rgb), 0.30) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 50%, rgba(var(--hr-red-rgb), 0.12) 0%, transparent 65%),
        linear-gradient(180deg, rgba(10, 10, 10, 0.45) 0%, rgba(28, 28, 28, 0.88) 100%);
}

.hr-hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

/* Vertical only - do not use padding shorthand with 0 sides; it wipes .container horizontal gutters */
.hr-hero-content {
    position: relative;
    z-index: 3;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (max-width: 767.98px) {
    .hr-hero-content {
        padding-left: 1.35rem;
        padding-right: 1.35rem;
    }
}

@media (min-width: 992px) {
    .hr-hero-row .hr-hero-col {
        padding-left: clamp(1.25rem, 3.5vw, 2.75rem);
    }
}

.hr-hero-row { min-height: 60vh; }

.hr-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--hr-font-heading);
    font-weight: 600;
    font-size: var(--hr-hero-badge-font-size, 1rem);
    text-transform: none;
    letter-spacing: 0.03em;
    color: var(--hr-orange);
    background: rgba(var(--hr-orange-rgb), 0.04);
    border: 1.5px solid rgba(var(--hr-orange-rgb), 0.72);
    border-radius: 999px;
    padding: 0.55rem 1.35rem 0.55rem 1.1rem;
    margin: 0 0 1.35rem;
    animation: fadeInUp 0.6s ease both;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.2) inset,
        0 4px 24px rgba(0, 0, 0, 0.25);
}

.hr-hero-badge-icon {
    font-size: 1.2em;
    opacity: 0.95;
    filter: drop-shadow(0 0 6px rgba(var(--hr-orange-rgb), 0.35));
}

/* Hero badge - Streaming → Screaming: single glyph slot, no added padding after c */
.hr-hero-badge .scream-effect { display: inline; }
.hr-hero-badge .scream-effect-inner { display: inline; }
.hr-hero-badge .scream-effect-word {
    display: inline;
    position: relative;
}
.hr-hero-badge .scream-effect-s { display: inline; }
/* Streaming / Screaming: natural glyph width - no extra space after the morph (t or c) */
.hr-hero-badge .scream-effect-morph-wrap {
    display: inline-block;
    vertical-align: baseline;
    text-align: center;
}
.hr-hero-badge .scream-effect-morph {
    display: inline-block;
    transform-origin: 50% 88%;
    vertical-align: baseline;
    line-height: 1;
}

/* t→c: only the morph glyph glitches; rest stays steady until letter-shake */
.hr-hero-badge .scream-effect-word.scream-effect--morphing .scream-effect-morph {
    animation: screamGlyphCorrupt 1.05s cubic-bezier(0.45, 0, 0.55, 1) forwards;
}

/* After c lands: cartoon scream - fast vibrate, duration controlled in JS (class timeout) */
.hr-hero-badge .scream-effect-word.scream-effect--letter-shake {
    display: inline-block;
    transform-origin: 50% 52%;
    will-change: transform;
    animation: screamLettersShake 0.038s linear infinite;
}

.hr-hero-badge .scream-effect-word.scream-effect--scream .scream-effect-morph {
    color: #ffb59a;
    text-shadow:
        0 0 8px rgba(180, 30, 20, 0.65),
        0 0 18px rgba(255, 60, 40, 0.35);
    animation: screamHeldPulse 2.5s ease-in-out infinite;
}

.hr-hero-badge .scream-effect-word.scream-effect--revert {
    animation: screamHostVibrate 0.05s steps(2) infinite;
}
.hr-hero-badge .scream-effect-word.scream-effect--revert .scream-effect-morph {
    animation: screamGlyphSnapBack 0.48s cubic-bezier(0.34, 1.3, 0.64, 1) forwards;
}

@keyframes screamHostVibrate {
    0%, 100% { transform: translateX(0) rotate(0); }
    50% { transform: translateX(2px) rotate(0.25deg); }
}

@keyframes screamHostBleed {
    from { text-shadow: 0 0 0 transparent; }
    to { text-shadow: 0 0 9px rgba(120, 0, 0, 0.22); }
}

/* Torn signal + chromatic split + wet red - one letter only */
@keyframes screamGlyphCorrupt {
    0% {
        transform: scaleY(1) translate(0, 0) rotate(0);
        filter: blur(0) contrast(1);
        color: inherit;
        text-shadow: none;
        clip-path: inset(0 0 0 0);
    }
    8% {
        text-shadow: 2px 0 0 rgba(255, 0, 60, 0.5), -2px 0 0 rgba(0, 220, 255, 0.35);
        clip-path: inset(0 0 0 0);
    }
    22% {
        transform: scaleY(1.35) scaleX(0.88) translateY(2px) rotate(-6deg);
        filter: blur(1.5px) contrast(1.4);
        color: #4a0000;
        text-shadow: 3px 0 0 rgba(200, 0, 40, 0.6), -2px 1px 0 rgba(0, 200, 255, 0.25);
        clip-path: polygon(0 0, 100% 8%, 100% 92%, 0 100%);
    }
    40% {
        transform: scaleY(0.55) translateY(5px) rotate(4deg);
        filter: blur(3px) contrast(2);
        color: #1a0000;
        clip-path: inset(35% 0 25% 0);
    }
    55% {
        transform: scaleY(1.25) scaleX(1.05) translateY(-1px);
        filter: blur(0.5px) contrast(1.2);
        color: #b01010;
        text-shadow: 0 0 12px rgba(255, 40, 20, 0.9), 1px 0 0 #ff2244, -1px 0 0 #44ddff;
        clip-path: inset(0 0 0 0);
    }
    72% {
        transform: scaleY(1) scaleX(1) translate(0, 0);
        filter: blur(0) contrast(1);
        color: inherit;
        text-shadow: 0 0 6px rgba(255, 100, 50, 0.4);
    }
    100% {
        transform: none;
        filter: none;
        color: inherit;
        text-shadow: none;
        clip-path: inset(0 0 0 0);
    }
}

@keyframes screamHeldPulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.12); }
}

@keyframes screamLettersShake {
    0%, 100% { transform: translate(-7px, 2px) rotate(-3deg) scaleY(1.08); }
    50% { transform: translate(7px, -3px) rotate(3deg) scaleY(0.9); }
}

@keyframes screamGlyphSnapBack {
    0% {
        transform: scale(1.15) rotate(-4deg);
        filter: blur(2px);
        text-shadow: 0 0 14px rgba(255, 200, 200, 0.5);
    }
    35% {
        transform: scale(0.82) rotate(2deg);
        filter: blur(4px);
        opacity: 0.75;
    }
    100% {
        transform: none;
        filter: none;
        opacity: 1;
        text-shadow: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hr-hero-badge .scream-effect-word,
    .hr-hero-badge .scream-effect-morph {
        animation: none !important;
    }
    .hr-hero-badge .scream-effect-word.scream-effect--letter-shake {
        animation: none !important;
    }
}

.hr-hero-title {
    font-size: calc(var(--hr-home-hero-title-scale, 1) * clamp(2.35rem, 5.5vw, 3.85rem));
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 1.1rem;
    text-transform: none;
    color: #fff;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.6s ease 0.15s both;
}

.hr-hero-highlight {
    background: linear-gradient(135deg, var(--hr-orange) 0%, #ff9a3c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hr-hero-subtitle {
    font-size: var(--hr-home-hero-subtitle-font-size, 1.12rem);
    font-weight: 500;
    color: #a8a8a8;
    max-width: 36rem;
    margin-bottom: 2rem;
    line-height: 1.65;
    text-transform: none;
    animation: fadeInUp 0.6s ease 0.3s both;
}
.hr-hero-subtitle p {
    margin-bottom: 0.5rem;
}
.hr-hero-subtitle p:last-child {
    margin-bottom: 0;
}

/* ── Hero countdown ─────────────────────────── */
.hr-cd {
    margin-top: 2.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(var(--hr-orange-rgb), 0.12);
    animation: fadeInUp 0.7s ease 0.55s both;
    position: relative;
    overflow: visible;
}

.hr-cd-title {
    font-family: var(--hr-font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--hr-orange);
    margin-bottom: 0.85rem;
    text-shadow: 0 0 16px rgba(var(--hr-orange-rgb), 0.2);
}
.hr-cd-title-emoji {
    margin-right: 0.35em;
    font-style: normal;
    filter: drop-shadow(0 0 8px rgba(var(--hr-orange-rgb), 0.35));
}
.hr-cd-title-icon {
    font-size: 0.7em;
    margin-right: 0.3em;
    opacity: 0.7;
    animation: hrSpiderDangle 4s ease-in-out infinite;
    display: inline-block;
    transform-origin: top center;
}
@keyframes hrSpiderDangle {
    0%, 100% { transform: rotate(0deg); }
    25%      { transform: rotate(8deg); }
    75%      { transform: rotate(-6deg); }
}

.hr-cd-strip {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.hr-cd-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.hr-cd-tiles {
    display: flex;
    gap: 4px;
    position: relative;
}

.hr-cd-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 56px;
    border-radius: 10px;
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.06) 0%,
            rgba(var(--hr-orange-rgb), 0.06) 45%,
            rgba(0,0,0,0.2) 52%,
            rgba(0,0,0,0.35) 100%),
        rgba(18, 14, 22, 0.65);
    border: 1px solid rgba(var(--hr-orange-rgb), 0.22);
    box-shadow:
        0 2px 10px rgba(0,0,0,0.45),
        0 0 22px rgba(var(--hr-orange-rgb), 0.14),
        inset 0 1px 0 rgba(255,255,255,0.05);
    position: relative;
    overflow: visible;
    transition: box-shadow 0.3s ease;
}

.hr-cd-tile:hover {
    box-shadow:
        0 2px 12px rgba(0,0,0,0.4),
        0 0 28px rgba(var(--hr-orange-rgb), 0.22),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Centre seam line */
.hr-cd-tile::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(0,0,0,0.2);
    pointer-events: none;
    z-index: 2;
}

.hr-cd-digit {
    font-family: var(--hr-font-heading);
    font-weight: 700;
    font-size: 1.75rem;
    line-height: 1;
    color: #fff;
    text-shadow: 0 0 8px rgba(var(--hr-orange-rgb), 0.3), 0 1px 2px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

/* Subtle pop when digit changes */
.hr-cd-pop {
    animation: hrTilePop 0.3s ease;
}
@keyframes hrTilePop {
    0%   { transform: scale(1); }
    35%  { transform: scale(1.06);
           box-shadow:
               0 2px 12px rgba(var(--hr-orange-rgb),0.35),
               0 0 20px rgba(var(--hr-orange-rgb),0.15),
               inset 0 1px 0 rgba(255,255,255,0.06); }
    100% { transform: scale(1); }
}

/* ── Minute ghost (PNG sprite strip, 4×40px frames) ──────────────────────── */
.hr-cd-ghost {
    position: absolute;
    margin-left: -16px;
    margin-top: -10px;
    width: 32px;
    height: 40px;
    background: url('../images/ghost.png') no-repeat 0 0;
    background-size: 32px 160px;
    pointer-events: none;
    z-index: 50;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.2));
    animation:
        hrGhostRise 2s ease-out forwards,
        hrGhostSpriteFlap 0.44s linear infinite;
}
@keyframes hrGhostSpriteFlap {
    0%, 22% { background-position: 0 0; }
    25%, 47% { background-position: 0 -40px; }
    50%, 72% { background-position: 0 -80px; }
    75%, 97% { background-position: 0 -120px; }
    100% { background-position: 0 0; }
}
@keyframes hrGhostRise {
    0%   { opacity: 0.9; transform: translateY(0) scale(1); }
    20%  { opacity: 0.85; transform: translateY(-20px) scale(1.05) translateX(6px); }
    45%  { opacity: 0.6; transform: translateY(-55px) scale(0.95) translateX(-8px); }
    70%  { opacity: 0.3; transform: translateY(-95px) scale(0.8) translateX(10px); }
    100% { opacity: 0;   transform: translateY(-140px) scale(0.6) translateX(-4px); }
}

/* ── Countdown burst bats (4-frame sprite, crisp steps = even wing beats) ───────── */
.hr-cd-bat {
    position: absolute;
    margin-left: -12px;
    margin-top: -8px;
    width: 24px;
    height: 14px;
    background: url('../images/bats.png') no-repeat 0 0;
    background-size: 24px 56px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    pointer-events: none;
    z-index: 50;
    opacity: 0.82;
    --bat-dx: 80px;
    --bat-dy: -140px;
    animation:
        hrBatFly 1.85s ease-out forwards,
        hrCdBatWingCycle 0.34s linear infinite;
}
/* Equal dwell on each of 4 frames (no tween between sprite cells) */
@keyframes hrCdBatWingCycle {
    0%, 24.99% { background-position: 0 0; }
    25%, 49.99% { background-position: 0 -14px; }
    50%, 74.99% { background-position: 0 -28px; }
    75%, 99.99% { background-position: 0 -42px; }
    100% { background-position: 0 0; }
}
.hr-cd-bat--sm {
    width: 18px;
    height: 10px;
    margin-left: -9px;
    margin-top: -6px;
    background-size: 18px 42px;
    animation:
        hrBatFly 1.85s ease-out forwards,
        hrCdBatWingCycleSm 0.32s linear infinite;
}
@keyframes hrCdBatWingCycleSm {
    0%, 24.99% { background-position: 0 0; }
    25%, 49.99% { background-position: 0 -10.5px; }
    50%, 74.99% { background-position: 0 -21px; }
    75%, 99.99% { background-position: 0 -31.5px; }
    100% { background-position: 0 0; }
}
@keyframes hrBatFly {
    0%   { opacity: 0.8;  transform: translate(0, 0) scale(1); }
    15%  { opacity: 0.75; transform: translate(calc(var(--bat-dx) * 0.15), calc(var(--bat-dy) * 0.12)) scale(1.05); }
    40%  { opacity: 0.55; transform: translate(calc(var(--bat-dx) * 0.45), calc(var(--bat-dy) * 0.4)) scale(0.8); }
    70%  { opacity: 0.25; transform: translate(calc(var(--bat-dx) * 0.8), calc(var(--bat-dy) * 0.75)) scale(0.55); }
    100% { opacity: 0;    transform: translate(var(--bat-dx), var(--bat-dy)) scale(0.35); }
}

/* Countdown burst bats - viewport layer (below navbar 1040 / player 1050) */
.hr-cd-bat-layer {
    position: fixed;
    inset: 0;
    z-index: 1020;
    pointer-events: none;
    overflow: visible;
}
.hr-cd-bat.hr-cd-bat--page {
    position: absolute;
    left: 0;
    top: 0;
    --bat-flight-duration: 3.2s;
    animation:
        hrBatFly var(--bat-flight-duration) ease-out forwards,
        hrCdBatWingCycle 0.34s linear infinite;
}
.hr-cd-bat.hr-cd-bat--page.hr-cd-bat--sm {
    animation:
        hrBatFly var(--bat-flight-duration) ease-out forwards,
        hrCdBatWingCycleSm 0.32s linear infinite;
}

/* ── Hour embers ──────────────────────── */
.hr-cd-ember {
    position: absolute;
    border-radius: 50%;
    background: var(--hr-orange);
    box-shadow: 0 0 6px 2px rgba(var(--hr-orange-rgb), 0.6), 0 0 12px rgba(var(--hr-orange-rgb), 0.3);
    pointer-events: none;
    z-index: 50;
    --em-dx: 40px;
    --em-dy: -60px;
    animation: hrEmberBurst 1.4s ease-out forwards;
}
@keyframes hrEmberBurst {
    0%   { opacity: 1; transform: translate(0, 0) scale(1); }
    20%  { opacity: 0.9; transform: translate(calc(var(--em-dx) * 0.25), calc(var(--em-dy) * 0.2)) scale(1.2); }
    50%  { opacity: 0.6; transform: translate(calc(var(--em-dx) * 0.6), calc(var(--em-dy) * 0.55)) scale(0.8);
           box-shadow: 0 0 4px 1px rgba(var(--hr-orange-rgb), 0.4); }
    80%  { opacity: 0.2; transform: translate(calc(var(--em-dx) * 0.9), calc(var(--em-dy) * 0.85)) scale(0.5); }
    100% { opacity: 0;   transform: translate(var(--em-dx), var(--em-dy)) scale(0.2); }
}

/* Colon separator */
.hr-cd-colon {
    font-family: var(--hr-font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 56px;
    color: var(--hr-orange);
    opacity: 0.55;
    padding: 0 6px;
    user-select: none;
    text-shadow: 0 0 12px rgba(var(--hr-orange-rgb), 0.35);
}

/* Unit label */
.hr-cd-label {
    display: block;
    font-family: var(--hr-font-heading);
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--hr-orange);
    opacity: 0.82;
    margin-top: 6px;
    text-align: center;
}

.hr-hero-happy .hr-happy-title {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.hr-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.45s both;
}

.hr-btn-primary {
    font-family: var(--hr-font-heading);
    font-weight: 600;
    background: linear-gradient(135deg, var(--hr-orange) 0%, #e5741a 100%);
    color: #fff;
    border: none;
    border-radius: var(--hr-radius);
    padding: 0.75rem 1.75rem;
    transition: all var(--hr-transition);
}

.hr-btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(var(--hr-orange-rgb), 0.4);
}

.hr-btn-outline {
    font-family: var(--hr-font-heading);
    font-weight: 600;
    background: transparent;
    color: #f0f0f0;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: var(--hr-radius);
    padding: 0.75rem 1.75rem;
    transition: all var(--hr-transition);
}

.hr-btn-outline:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.06);
}

.hr-hero-fog {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--hr-darker));
    pointer-events: none;
    z-index: 4;
}

/* Floating hero particles (JS-created) */
.hr-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(var(--hr-orange-rgb), 0.25);
    pointer-events: none;
    animation: particleDrift linear infinite;
}

/* --------------- 6. Countdown --------------- */
.hr-countdown-section {
    padding: 3rem 0 var(--hr-section-py);
    text-align: center;
    position: relative;
}

.hr-countdown-heading {
    font-family: var(--hr-font-display);
    font-size: 2rem;
    color: var(--hr-orange);
    letter-spacing: 0.02em;
    margin-bottom: 2rem;
}

.hr-countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.hr-countdown-unit { text-align: center; min-width: 90px; }

.hr-countdown-value {
    font-family: var(--hr-font-display);
    font-size: 3.2rem;
    color: var(--hr-orange);
    line-height: 1;
    text-shadow: 0 0 30px rgba(var(--hr-orange-rgb), 0.3);
    background: rgba(var(--hr-orange-rgb), 0.06);
    border: 1px solid rgba(var(--hr-orange-rgb), 0.15);
    border-radius: var(--hr-radius);
    padding: 0.6rem 0.8rem;
    min-width: 90px;
    display: inline-block;
    transition: text-shadow 0.5s;
}

.hr-countdown-label {
    font-family: var(--hr-font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--hr-text-muted);
    margin-top: 0.5rem;
}

.hr-countdown-sep {
    font-family: var(--hr-font-display);
    font-size: 2.4rem;
    color: rgba(var(--hr-orange-rgb), 0.4);
    margin-top: -1.2rem;
    user-select: none;
}

.hr-happy-title {
    font-family: var(--hr-font-display);
    font-size: 3rem;
    color: var(--hr-orange);
    text-shadow: 0 0 40px rgba(var(--hr-orange-rgb), 0.5);
    margin-bottom: 0.5rem;
    animation: happyPulse 2s ease-in-out infinite;
}

.hr-happy-text {
    font-size: 1.15rem;
    color: var(--hr-text-muted);
}

/* --------------- 7. General Sections --------------- */
.hr-section {
    padding: var(--hr-section-py) 0;
    position: relative;
}

/* --------------- 8. Station Cards --------------- */
.hr-stations-section { background: var(--hr-dark); }

.hr-station-card {
    background: var(--hr-card);
    border: 1px solid var(--hr-border);
    border-radius: var(--hr-radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--hr-transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hr-station-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--station-accent);
    opacity: 0.5;
    transition: opacity var(--hr-transition);
}

.hr-station-card:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--hr-orange-rgb), 0.15);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.35),
        0 0 0 1px var(--station-accent),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hr-station-card:hover::before { opacity: 1; }

.hr-station-logo { width: 80px; height: 80px; margin-bottom: 1rem; }
.hr-station-svg { width: 100%; height: 100%; }

.hr-station-badge {
    font-family: var(--hr-font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    border-radius: 50px;
    padding: 0.2rem 0.75rem;
    margin-bottom: 0.75rem;
}

.hr-station-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hr-station-desc {
    font-size: 0.9rem;
    color: var(--hr-text-muted);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

.hr-btn-station {
    font-family: var(--hr-font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--btn-accent);
    background: transparent;
    border: 1px solid var(--btn-accent);
    border-radius: 50px;
    padding: 0.45rem 1.25rem;
    transition: all var(--hr-transition);
    width: 100%;
}

.hr-btn-station:hover {
    background: var(--btn-accent);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hr-station-premium {
    background: linear-gradient(145deg, rgba(var(--hr-gold-rgb), 0.04) 0%, var(--hr-card) 100%);
    border-color: rgba(var(--hr-gold-rgb), 0.18);
}

.hr-station-lock {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--hr-gold);
    font-size: 1rem;
    opacity: 0.65;
}

.hr-btn-premium-card {
    color: var(--hr-gold) !important;
    border-color: rgba(var(--hr-gold-rgb), 0.4) !important;
    cursor: default;
}
.hr-btn-premium-card:hover {
    background: rgba(var(--hr-gold-rgb), 0.1) !important;
    color: var(--hr-gold) !important;
}

/* --------------- 9. About --------------- */
.hr-about-section { background: var(--hr-darker); }

.hr-about-visual { display: flex; justify-content: center; }

.hr-about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 400px;
    width: 100%;
}

.hr-stat {
    background: var(--hr-card);
    border: 1px solid var(--hr-border);
    border-radius: var(--hr-radius);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--hr-transition);
}

.hr-stat:hover {
    border-color: var(--hr-orange);
    transform: translateY(-2px);
}

.hr-stat-value {
    font-family: var(--hr-font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--hr-orange);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.hr-stat-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--hr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --------------- 10. How to Listen --------------- */
.hr-listen-section { background: var(--hr-dark); }

.hr-listen-card {
    background: var(--hr-card);
    border: 1px solid var(--hr-border);
    border-radius: var(--hr-radius);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all var(--hr-transition);
    cursor: pointer;
}

.hr-listen-card:hover {
    transform: translateY(-4px);
    border-color: var(--hr-orange);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.hr-listen-icon {
    font-size: 1.8rem;
    color: var(--hr-orange);
    margin-bottom: 0.75rem;
    transition: transform var(--hr-transition);
}

.hr-listen-card:hover .hr-listen-icon { transform: scale(1.15); }

.hr-listen-label {
    font-family: var(--hr-font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--hr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* --------------- 11. Support --------------- */
.hr-support-section { background: var(--hr-darker); }

.hr-support-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.hr-btn-patreon {
    font-family: var(--hr-font-heading);
    font-weight: 600;
    background: #FF424D;
    color: #fff;
    border: none;
    border-radius: var(--hr-radius);
    padding: 0.7rem 1.5rem;
    transition: all var(--hr-transition);
}
.hr-btn-patreon:hover {
    background: #e63940;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 66, 77, 0.3);
}

.hr-btn-paypal {
    font-family: var(--hr-font-heading);
    font-weight: 600;
    background: #0070BA;
    color: #fff;
    border: none;
    border-radius: var(--hr-radius);
    padding: 0.7rem 1.5rem;
    transition: all var(--hr-transition);
}
.hr-btn-paypal:hover {
    background: #005fa3;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 112, 186, 0.3);
}

.hr-btn-bmc {
    font-family: var(--hr-font-heading);
    font-weight: 600;
    background: #ff813f;
    color: #fff;
    border: none;
    border-radius: var(--hr-radius);
    padding: 0.7rem 1.5rem;
    transition: all var(--hr-transition);
}
.hr-btn-bmc:hover {
    background: #e86f2a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 129, 63, 0.35);
}

/* PayPal Donation Widget */
.hr-donate-widget {
    background: var(--hr-card);
    border: 1px solid var(--hr-border);
    border-radius: var(--hr-radius-lg);
    padding: 1.5rem;
}

.hr-donate-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--hr-font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.4rem;
}

.hr-donate-header i {
    font-size: 1.3rem;
    color: #0070BA;
}

.hr-donate-desc {
    font-size: 0.85rem;
    color: var(--hr-text-muted);
    margin-bottom: 1rem;
}

.hr-donate-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.hr-donate-amt {
    font-family: var(--hr-font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    background: var(--hr-surface);
    color: var(--hr-text);
    border: 1px solid var(--hr-border);
    border-radius: var(--hr-radius);
    padding: 0.55rem 1.1rem;
    cursor: pointer;
    transition: all var(--hr-transition);
    flex: 1;
    min-width: 64px;
    text-align: center;
}
.hr-donate-amt:hover {
    border-color: #0070BA;
    color: #fff;
    background: rgba(0, 112, 186, 0.1);
}
.hr-donate-amt.active {
    border-color: #0070BA;
    background: #0070BA;
    color: #fff;
    box-shadow: 0 2px 12px rgba(0, 112, 186, 0.35);
}

.hr-donate-custom {
    margin-bottom: 1rem;
}
.hr-donate-custom .input-group-text {
    background: var(--hr-surface);
    border-color: var(--hr-border);
    color: var(--hr-text-muted);
    font-weight: 600;
}
.hr-donate-custom .form-control {
    background: var(--hr-surface);
    border-color: var(--hr-border);
    color: var(--hr-text);
}

.hr-btn-paypal-donate {
    display: block;
    width: 100%;
    font-family: var(--hr-font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    background: linear-gradient(135deg, #0070BA 0%, #003087 100%);
    color: #fff;
    border: none;
    border-radius: var(--hr-radius);
    padding: 0.85rem 1.5rem;
    text-align: center;
    transition: all var(--hr-transition);
    text-decoration: none;
}
.hr-btn-paypal-donate:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(0, 112, 186, 0.4);
}
.hr-btn-paypal-donate i {
    margin-right: 0.4rem;
}

.hr-donate-note {
    text-align: center;
    font-size: 0.72rem;
    color: var(--hr-text-dim);
    margin-top: 0.75rem;
    margin-bottom: 0;
}
.hr-donate-note i {
    margin-right: 0.2rem;
}

@media (max-width: 575.98px) {
    .hr-donate-amt {
        flex: 0 0 calc(33.333% - 0.35rem);
        min-width: 0;
        padding: 0.5rem 0.5rem;
        font-size: 0.85rem;
    }
}

/* Support Meter */
.hr-support-meter {
    background: var(--hr-card);
    border: 1px solid var(--hr-border);
    border-radius: var(--hr-radius-lg);
    padding: 2rem;
}

.hr-meter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.hr-meter-year {
    font-family: var(--hr-font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--hr-text-muted);
}

.hr-meter-pct {
    font-family: var(--hr-font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--hr-orange);
}

.hr-meter-bar {
    height: 14px;
    background: rgba(var(--hr-orange-rgb), 0.1);
    border-radius: 50px;
    position: relative;
    overflow: visible;
    margin-bottom: 1.25rem;
}

.hr-meter-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--hr-orange), #ff9a3c);
    border-radius: 50px;
    position: relative;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.hr-meter-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2));
    border-radius: 50px;
}

.hr-meter-glow {
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--hr-orange);
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0;
    transform: translate(-50%, -50%);
    animation: meterPulse 2s ease-in-out infinite;
    transition: left 2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s, opacity 0.5s 1s;
}

.hr-meter-bar.animated .hr-meter-glow {
    opacity: 0.6;
}

.hr-meter-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.hr-meter-amount {
    font-family: var(--hr-font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: #fff;
    display: block;
}

.hr-meter-sublabel {
    font-size: 0.78rem;
    color: var(--hr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hr-meter-remaining {
    font-size: 0.88rem;
    color: var(--hr-text-muted);
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--hr-border);
}
.hr-meter-remaining i { color: var(--hr-orange); margin-right: 0.3rem; }

/* --------------- 12. Premium Teaser --------------- */
.hr-premium-section {
    background: var(--hr-dark);
    overflow: hidden;
}

.hr-premium-box {
    background:
        linear-gradient(145deg, rgba(var(--hr-purple-rgb), 0.06) 0%, var(--hr-card) 50%, rgba(var(--hr-gold-rgb), 0.04) 100%);
    border: 1px solid rgba(var(--hr-purple-rgb), 0.2);
    border-radius: var(--hr-radius-xl);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.hr-premium-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(var(--hr-purple-rgb), 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hr-premium-content { position: relative; z-index: 1; }

.hr-premium-label {
    font-family: var(--hr-font-heading);
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--hr-gold);
    margin-bottom: 0.75rem;
    display: block;
}
.hr-premium-label i { margin-right: 0.3rem; }

.hr-premium-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--hr-gold), #e0c068);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hr-premium-content p {
    color: var(--hr-text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    max-width: 480px;
}

.hr-btn-premium-cta {
    font-family: var(--hr-font-heading);
    font-weight: 600;
    background: linear-gradient(135deg, var(--hr-purple), #7b25a1);
    color: #fff;
    border: none;
    border-radius: var(--hr-radius);
    padding: 0.75rem 1.75rem;
    transition: all var(--hr-transition);
}
.hr-btn-premium-cta:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(var(--hr-purple-rgb), 0.4);
}

.hr-premium-visual { position: relative; z-index: 1; }

.hr-premium-icon {
    font-size: 6rem;
    color: var(--hr-purple);
    opacity: 0.25;
    animation: floatSlow 4s ease-in-out infinite;
}

/* --------------- 13. Footer --------------- */
.hr-footer {
    background: var(--hr-darker);
    border-top: 1px solid var(--hr-border);
    padding: 3rem 0 1.5rem;
}

.hr-footer-brand { margin-bottom: 1rem; }
.hr-footer-brand .hr-brand-text { font-size: 1.2rem; }

.hr-footer-about {
    font-size: 0.9rem;
    color: var(--hr-text-muted);
    line-height: 1.7;
}

.hr-footer-heading {
    font-family: var(--hr-font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 1rem;
}

.hr-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.hr-footer-links li { margin-bottom: 0.4rem; }
.hr-footer-links a {
    font-size: 0.9rem;
    color: var(--hr-text-muted);
    transition: color var(--hr-transition);
}
.hr-footer-links a:hover { color: var(--hr-orange); }

.hr-footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.hr-social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hr-card);
    border: 1px solid var(--hr-border);
    border-radius: 50%;
    color: var(--hr-text-muted);
    font-size: 0.9rem;
    transition: all var(--hr-transition);
}

.hr-social-link:hover {
    color: var(--hr-orange);
    border-color: var(--hr-orange);
    transform: translateY(-2px);
}

.hr-footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--hr-border);
    text-align: center;
}
.hr-footer-bottom p {
    font-size: 0.82rem;
    color: var(--hr-text-dim);
    margin-bottom: 0.25rem;
}

/* --------------- 14. Player Bar --------------- */
.hr-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--hr-player-height);
    background: rgba(18, 18, 18, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid var(--hr-border);
    z-index: 1050;
    display: flex;
    align-items: center;
}

.hr-player::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--hr-orange) 50%, transparent 100%);
    opacity: 0.35;
}

.hr-player-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
}

.hr-player-track {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.hr-player-art {
    width: 48px;
    height: 48px;
    border-radius: var(--hr-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}
.hr-player-art img { width: 100%; height: 100%; object-fit: cover; }
.hr-player-art-placeholder { width: 100%; height: 100%; }

.hr-player-info { min-width: 0; flex: 1; }

.hr-player-now {
    font-family: var(--hr-font-heading);
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--hr-orange);
    margin-bottom: 0.05rem;
}

.hr-player-title {
    font-family: var(--hr-font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    color: #fff;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.hr-player-artist {
    font-size: 0.78rem;
    color: var(--hr-text-muted);
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* One-line clip host; long text on small screens uses JS + .hr-player-line--marquee transform */
.hr-player-title .hr-player-line-scroll,
.hr-player-artist .hr-player-line-scroll {
    min-width: 0;
    overflow: hidden;
    position: relative;
}

.hr-player-title .hr-player-line-scroll {
    line-height: 1.28;
    max-height: calc(1.28em + 2px);
}

.hr-player-artist .hr-player-line-scroll {
    line-height: 1.35;
    max-height: calc(1.35em + 2px);
}

.hr-player-title .hr-player-line-inner,
.hr-player-artist .hr-player-line-inner {
    display: block;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transform: translate3d(0, 0, 0);
}

@media (max-width: 991.98px) {
    .hr-player-line-scroll.hr-player-line--marquee {
        overflow: hidden;
    }

    .hr-player-line-scroll.hr-player-line--marquee .hr-player-line-inner {
        display: inline-block;
        width: max-content;
        max-width: none;
        overflow: visible;
        text-overflow: clip;
        white-space: nowrap;
        vertical-align: top;
        animation: hrPlayerLineMarquee var(--hr-marquee-dur, 12s) ease-in-out infinite;
        will-change: transform;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hr-player-line-scroll.hr-player-line--marquee .hr-player-line-inner {
        animation: none !important;
        will-change: auto;
        display: block;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        transform: none;
    }
}

@keyframes hrPlayerLineMarquee {
    0%, 12% { transform: translate3d(0, 0, 0); }
    46%, 54% { transform: translate3d(calc(-1 * var(--hr-marquee-dist, 0px)), 0, 0); }
    88%, 100% { transform: translate3d(0, 0, 0); }
}

/* Equalizer */
.hr-player-eq {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 20px;
    flex-shrink: 0;
    transition: opacity 0.3s;
}

.hr-eq-bar {
    width: 3px;
    background: var(--hr-orange);
    border-radius: 2px;
    transform-origin: bottom;
    animation: eqBounce 0.8s ease-in-out infinite;
}

.hr-eq-bar:nth-child(1) { height: 8px;  animation-delay: 0s; }
.hr-eq-bar:nth-child(2) { height: 14px; animation-delay: 0.15s; }
.hr-eq-bar:nth-child(3) { height: 6px;  animation-delay: 0.3s; }
.hr-eq-bar:nth-child(4) { height: 18px; animation-delay: 0.45s; }
.hr-eq-bar:nth-child(5) { height: 10px; animation-delay: 0.6s; }

/* Station Selector */
.hr-player-stations {
    display: flex;
    gap: 0.35rem;
    flex-shrink: 0;
}

.hr-player-station {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--hr-border);
    border-radius: var(--hr-radius-sm);
    padding: 0.3rem 0.65rem;
    cursor: pointer;
    transition: all var(--hr-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hr-player-station:hover {
    border-color: var(--station-color);
    background: rgba(255, 255, 255, 0.07);
}

.hr-player-station.active {
    background: var(--station-color);
    border-color: var(--station-color);
}

.hr-ps-abbr {
    font-family: var(--hr-font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--hr-text-muted);
}

.hr-player-station.active .hr-ps-abbr { color: #fff; }

.hr-player-station:hover .hr-ps-abbr { color: var(--station-color); }
.hr-player-station.active:hover .hr-ps-abbr { color: #fff; }

.hr-ps-locked { opacity: 0.55; cursor: default; }
.hr-ps-locked .hr-ps-abbr { color: var(--hr-gold); }

/* Controls */
.hr-player-controls {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.hr-player-btn {
    background: transparent;
    border: none;
    color: var(--hr-text-muted);
    font-size: 1rem;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    transition: all var(--hr-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}
.hr-player-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
}

.hr-btn-play {
    background: var(--hr-orange) !important;
    color: #fff !important;
    font-size: 0.85rem;
    width: 42px;
    height: 42px;
}
.hr-btn-play:hover {
    background: #e5741a !important;
    transform: scale(1.06);
}

.hr-player-volume {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.hr-volume-slider {
    width: 80px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--hr-border);
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}

.hr-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: var(--hr-orange);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.15s;
}
.hr-volume-slider::-webkit-slider-thumb:hover { transform: scale(1.25); }

.hr-volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: var(--hr-orange);
    border-radius: 50%;
    border: none;
    cursor: pointer;
}

/* Player pulse effect (triggered by station card click) */
.hr-player-pulse::before {
    animation: playerPulse 1s ease;
}

/* --------------- 15. Animations --------------- */
/*
 * Navbar brand icon - 69s loop:
 * 15s logo | 7s morph → ghost | 24s ghost float (track bob) | 8s morph → logo | 15s logo
 */
@keyframes hrBrandIconTrack {
    /* Logo + morph in/out: still */
    0%, 31.88% { transform: translateY(0); }
    /* Ghost float - stronger vertical bob */
    32.5% { transform: translateY(-0.22rem); }
    34.2% { transform: translateY(0.16rem); }
    36% { transform: translateY(-0.2rem); }
    38% { transform: translateY(0.14rem); }
    40% { transform: translateY(-0.21rem); }
    42.2% { transform: translateY(0.17rem); }
    44.5% { transform: translateY(-0.19rem); }
    47% { transform: translateY(0.15rem); }
    49.5% { transform: translateY(-0.2rem); }
    52% { transform: translateY(0.13rem); }
    54.5% { transform: translateY(-0.18rem); }
    57% { transform: translateY(0.16rem); }
    59.5% { transform: translateY(-0.21rem); }
    62% { transform: translateY(0.12rem); }
    64.5% { transform: translateY(-0.17rem); }
    /* Crossfade + second logo: still */
    66.67%, 100% { transform: translateY(0); }
}

@keyframes hrBrandIconLogo {
    /* 15s hold (15/69) */
    0%, 21.74% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
    /* 7s morph out */
    23.5% {
        opacity: 0.92;
        transform: scale(0.998);
        filter: blur(0);
    }
    25.5% {
        opacity: 0.72;
        transform: scale(0.992);
        filter: blur(0.25px);
    }
    27.5% {
        opacity: 0.45;
        transform: scale(0.986);
        filter: blur(0.45px);
    }
    30% {
        opacity: 0.18;
        transform: scale(0.981);
        filter: blur(0.5px);
    }
    31.88%, 66.5% {
        opacity: 0;
        transform: scale(0.978);
        filter: blur(0);
    }
    /* 8s slow fade in as ghost fades */
    67.2% {
        opacity: 0.12;
        transform: scale(0.985);
        filter: blur(0.55px);
    }
    70% {
        opacity: 0.42;
        transform: scale(0.993);
        filter: blur(0.35px);
    }
    73% {
        opacity: 0.72;
        transform: scale(0.998);
        filter: blur(0.15px);
    }
    75.5% {
        opacity: 0.9;
        transform: scale(1);
        filter: blur(0);
    }
    78.26%, 99.97% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

@keyframes hrBrandIconGhost {
    0%, 21.74% {
        opacity: 0;
        transform: scale(0.99);
        filter: blur(0);
    }
    /* Slow morph in */
    23.5% {
        opacity: 0.12;
        transform: scale(0.986);
        filter: blur(0.45px);
    }
    25.5% {
        opacity: 0.38;
        transform: scale(0.992);
        filter: blur(0.28px);
    }
    27.5% {
        opacity: 0.68;
        transform: scale(0.997);
        filter: blur(0.12px);
    }
    31.88% {
        opacity: 0.94;
        transform: scale(1);
        filter: blur(0) drop-shadow(0 0 4px rgba(var(--hr-orange-rgb), 0.14));
    }
    /* Float (motion mostly on track) */
    32%, 66.4% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0) drop-shadow(0 0 5px rgba(var(--hr-orange-rgb), 0.22));
    }
    /* Soft morph out → logo */
    67.5% {
        opacity: 0.82;
        transform: scale(0.99);
        filter: blur(0.35px) drop-shadow(0 0 6px rgba(var(--hr-orange-rgb), 0.2));
    }
    70.5% {
        opacity: 0.42;
        transform: scale(0.97);
        filter: blur(1px);
    }
    74% {
        opacity: 0.12;
        transform: scale(0.95);
        filter: blur(1.8px);
    }
    78.26%, 100% {
        opacity: 0;
        transform: scale(0.93);
        filter: blur(2px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hr-brand-icon-track,
    .hr-brand-icon-slot--logo,
    .hr-brand-icon-slot--ghost {
        animation: none !important;
    }
    .hr-brand-icon-track {
        transform: none;
    }
    .hr-brand-icon-slot--logo {
        opacity: 1;
        transform: none;
        filter: none;
    }
    .hr-brand-icon-slot--ghost {
        opacity: 0;
        transform: none;
        filter: none;
    }
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
}

@keyframes eqBounce {
    0%, 100% { transform: scaleY(0.35); }
    50% { transform: scaleY(1); }
}

@keyframes meterPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

@keyframes happyPulse {
    0%, 100% { text-shadow: 0 0 30px rgba(var(--hr-orange-rgb), 0.4); }
    50% { text-shadow: 0 0 60px rgba(var(--hr-orange-rgb), 0.7), 0 0 100px rgba(var(--hr-orange-rgb), 0.3); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes playerPulse {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 1; box-shadow: 0 -4px 24px rgba(var(--hr-orange-rgb), 0.4); }
}

@keyframes particleDrift {
    0% { opacity: 0; transform: translateY(100vh) translateX(0); }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-20px) translateX(40px); }
}

/* Scroll-reveal animation */
.hr-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.hr-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Alert Banner ──────────────────────── */
.hr-alert-stack--sticky-under-nav {
    position: sticky;
    top: var(--hr-navbar-sticky-top);
    z-index: 1035;
    align-self: flex-start;
    overflow: visible; /* body overflow-x:hidden can clip children; keep alert motion visible */
}

.hr-alert-stack .hr-alert-banner + .hr-alert-banner {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.hr-alert-banner {
    position: relative;
    z-index: 1035;
    padding: 0.65rem 0;
    font-family: var(--hr-font-heading);
    font-size: var(--hr-alert-banner-font-size, 0.9rem);
    font-weight: 500;
    text-align: center;
    /* Avoid transition:all - it fights @keyframes transform/filter on pulse & slide_in */
    transition: color 0.2s ease, background-color 0.2s ease;
}
.hr-alert-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.hr-alert-icon {
    font-size: 1.1em;
}
.hr-alert-text {
    line-height: 1.4;
}
.hr-alert-text a {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
    position: relative;
    z-index: 2;
    pointer-events: auto;
    cursor: pointer;
}
.hr-alert-close {
    background: none;
    border: none;
    color: inherit;
    opacity: 0.7;
    cursor: pointer;
    padding: 0.25rem;
    margin-left: 0.75rem;
    font-size: 0.85em;
    transition: opacity 0.2s;
}
.hr-alert-close:hover {
    opacity: 1;
}
.hr-alert-stack {
    overflow: visible;
}

.hr-alert-banner[data-effect="pulse"] {
    animation: hrAlertPulse 2.2s ease-in-out infinite;
    will-change: filter, box-shadow;
}
@keyframes hrAlertPulse {
    0%, 100% {
        filter: brightness(1);
        box-shadow: inset 0 0 0 0 rgba(0, 0, 0, 0);
    }
    50% {
        filter: brightness(1.18) saturate(1.08);
        box-shadow: inset 0 -3px 22px rgba(0, 0, 0, 0.2);
    }
}
/* Short slide + fade - large translateY was clipped when body uses overflow-x:hidden */
.hr-alert-banner[data-effect="slide_in"] {
    animation: hrAlertSlideIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
    will-change: transform, opacity;
}
@keyframes hrAlertSlideIn {
    from {
        opacity: 0;
        transform: translateY(-1.25rem) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.hr-alert-banner.hr-alert--hidden {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .hr-alert-banner[data-effect="pulse"],
    .hr-alert-banner[data-effect="slide_in"] {
        animation: none !important;
    }
}

/* ── Flying Bats (viewport-wide) ───────────────── */
/* Below navbar (1040), alerts (1030), player (1050) so UI stays clickable; decorative only */
.hr-flying-bats {
    position: fixed;
    inset: 0;
    z-index: 1020;
    pointer-events: none !important;
    overflow: hidden;
}
.hr-flying-bat {
    --hr-bat-scale: 1;
    position: absolute;
    width: 48px;
    height: 28px;
    background-image: url('../images/bats.png');
    background-repeat: no-repeat;
    background-position: 0 0;
    /* 24×56 source → 2× scale: one frame = 28px tall, strip = 112px */
    background-size: 48px 112px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    pointer-events: none;
    opacity: 0.75;
    will-change: transform, opacity, background-position;
}
.hr-flying-bat--sm {
    width: 36px;
    height: 21px;
    background-size: 36px 84px;
}
/* --------------- 16. Responsive --------------- */
@media (max-width: 991.98px) {
    :root {
        --hr-section-py: 3.5rem;
    }

    .hr-section-title { font-size: 2rem; }
    body.hr-page-home .hr-section-title { font-size: var(--hr-home-section-title-font-size-md, 2rem); }
    .hr-hero { min-height: 72vh; }
    .hr-hero-title { font-size: calc(var(--hr-home-hero-title-scale, 1) * 2.4rem); }

    .hr-player-stations { display: none; }
    .hr-player-volume { display: none; }

    .hr-premium-box { padding: 2rem; }
    .hr-premium-icon { font-size: 4rem; }
}

@media (max-width: 767.98px) {
    :root {
        --hr-section-py: 2.5rem;
        --hr-player-height: 64px;
    }

    .hr-section-title { font-size: 1.6rem; }
    body.hr-page-home .hr-section-title { font-size: var(--hr-home-section-title-font-size-sm, 1.6rem); }
    .hr-hero { min-height: 65vh; }
    .hr-hero-title { font-size: calc(var(--hr-home-hero-title-scale, 1) * 1.8rem); }
    .hr-hero-subtitle { font-size: var(--hr-home-hero-subtitle-font-size-sm, 1rem); }

    .hr-hero-actions { flex-direction: column; }
    .hr-hero-actions .btn { width: 100%; text-align: center; }

    .hr-cd-title { font-size: 0.95rem; }
    .hr-cd-tile { width: 38px; height: 48px; }
    .hr-cd-digit { font-size: 1.5rem; }
    .hr-cd-colon { font-size: 1.25rem; line-height: 48px; padding: 0 4px; }
    .hr-cd-label { font-size: 0.55rem; }

    .hr-countdown-value { font-size: 2.2rem; min-width: 70px; padding: 0.4rem 0.5rem; }

    .hr-about-stats { margin-top: 1.5rem; }

    .hr-player-art { width: 40px; height: 40px; }
    .hr-player-eq { display: none; }
    .hr-player-inner { padding: 0 0.75rem; }

    .hr-support-buttons { flex-direction: column; }
    .hr-premium-visual { display: none; }

    .hr-happy-title { font-size: 2.2rem; }
}

@media (max-width: 575.98px) {
    .hr-cd-title { font-size: 0.85rem; }
    .hr-cd-tile { width: 32px; height: 42px; border-radius: 6px; }
    .hr-cd-tiles { gap: 3px; }
    .hr-cd-digit { font-size: 1.25rem; }
    .hr-cd-colon { font-size: 1.1rem; line-height: 42px; padding: 0 3px; }
    .hr-cd-label { font-size: 0.5rem; letter-spacing: 0.1em; margin-top: 4px; }
    .hr-cd-ghost {
        width: 26px;
        height: 32px;
        margin-left: -13px;
        background-size: 26px 130px;
        animation:
            hrGhostRise 2s ease-out forwards,
            hrGhostSpriteFlapMobile 0.44s linear infinite;
    }
    @keyframes hrGhostSpriteFlapMobile {
        0%, 22% { background-position: 0 0; }
        25%, 47% { background-position: 0 -32px; }
        50%, 72% { background-position: 0 -64px; }
        75%, 97% { background-position: 0 -96px; }
        100% { background-position: 0 0; }
    }
    .hr-countdown-value { font-size: 1.7rem; min-width: 54px; }

    .hr-station-card { padding: 1.5rem 1.25rem; }
    .hr-meter-amount { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
    .hr-flying-bats { display: none; }
    .hr-cd-ghost {
        animation: hrGhostRise 2s ease-out forwards;
    }
    .hr-cd-bat {
        animation: hrBatFly 1.8s ease-out forwards;
    }
}

/* --------------- 17. Utilities --------------- */
.hr-glow-orange { box-shadow: 0 0 20px rgba(var(--hr-orange-rgb), 0.15); }
.hr-text-orange { color: var(--hr-orange); }
.hr-text-purple { color: var(--hr-purple); }
.hr-text-green  { color: var(--hr-green); }
.hr-text-gold   { color: var(--hr-gold); }

/* --------------- 18. PJAX Loading State --------------- */
#hr-content {
    transition: opacity 0.2s ease;
    /* Fill viewport under fixed nav + player so short pages do not leave the footer floating mid-screen */
    min-height: calc(100vh - var(--hr-navbar-sticky-top) - var(--hr-player-height) - 2rem);
}
#hr-content.hr-loading {
    opacity: 0.4;
    pointer-events: none;
}

/* --------------- 19. Page Content --------------- */
.hr-page-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--hr-text);
}
.hr-page-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #fff;
}
.hr-page-content h3 i {
    color: var(--hr-orange);
    margin-right: 0.5rem;
    width: 24px;
    text-align: center;
}
.hr-page-content ul {
    padding-left: 1.25rem;
}
.hr-page-content ul li {
    margin-bottom: 0.4rem;
}
.hr-page-content code {
    background: var(--hr-card);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85em;
    color: var(--hr-orange);
    word-break: break-all;
}

.hr-htl-section {
    background: var(--hr-card);
    border: 1px solid var(--hr-border);
    border-radius: var(--hr-radius);
    padding: 1.5rem 2rem;
    margin-bottom: 1.25rem;
    transition: border-color var(--hr-transition);
}
.hr-htl-section:hover {
    border-color: rgba(var(--hr-orange-rgb), 0.25);
}
.hr-htl-section h3 { margin-top: 0; }

/* --------------- 20. Station Detail Cards --------------- */
.hr-station-detail-card {
    background: var(--hr-card);
    border: 1px solid var(--hr-border);
    border-radius: var(--hr-radius);
    padding: 1.5rem;
    margin-bottom: 0;
    transition: all var(--hr-transition);
}
.hr-station-detail-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.hr-mood-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
}
.hr-mood-tag {
    font-family: var(--hr-font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.15rem 0.6rem;
    border: 1px solid;
    border-radius: 50px;
}

/* --------------- 21. Playlist Page --------------- */
.hr-playlist-tabs {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
}
.hr-playlist-tab {
    font-family: var(--hr-font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: var(--hr-card);
    border: 1px solid var(--hr-border);
    border-radius: var(--hr-radius-sm);
    padding: 0.5rem 1rem;
    color: var(--hr-text-muted);
    cursor: pointer;
    transition: all var(--hr-transition);
}
.hr-playlist-tab:hover {
    border-color: var(--tab-color);
    color: var(--tab-color);
}
.hr-playlist-tab.active {
    background: var(--tab-color);
    border-color: var(--tab-color);
    color: #fff;
}

.hr-playlist-container {
    min-height: 300px;
}
.hr-playlist-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--hr-text-muted);
}
.hr-playlist-empty-icon {
    font-size: 3rem;
    color: var(--hr-orange);
    opacity: 0.35;
    margin-bottom: 1.25rem;
}
.fa-spin-slow { animation: fa-spin 4s linear infinite; }

.hr-playlist-empty h4 {
    color: #fff;
    margin-bottom: 0.5rem;
}

/* Playlist Loading */
.hr-playlist-loading {
    text-align: center;
    padding: 3rem;
    color: var(--hr-text-muted);
    font-size: 0.95rem;
}
.hr-playlist-loading i {
    color: var(--hr-orange);
    margin-right: 0.4rem;
}

/* Now-Playing Highlight */
.hr-playlist-now {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--hr-card);
    border: 1px solid var(--hr-border);
    border-left: 3px solid var(--now-color, var(--hr-orange));
    border-radius: var(--hr-radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
}
.hr-playlist-now-art {
    width: 56px;
    height: 56px;
    border-radius: var(--hr-radius);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--hr-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hr-text-dim);
    font-size: 1.2rem;
}
.hr-playlist-now-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hr-playlist-now-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}
.hr-playlist-now-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--now-color, var(--hr-orange));
}
.hr-playlist-now-title {
    font-family: var(--hr-font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hr-playlist-now-artist {
    font-size: 0.85rem;
    color: var(--hr-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Playlist List */
.hr-playlist-list {
    display: flex;
    flex-direction: column;
}
.hr-playlist-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background var(--hr-transition);
}
.hr-playlist-item:hover {
    background: rgba(255,255,255,0.02);
}
.hr-playlist-item:last-child {
    border-bottom: none;
}
.hr-playlist-item-num {
    width: 28px;
    text-align: right;
    font-size: 0.75rem;
    color: var(--hr-text-dim);
    font-weight: 600;
    flex-shrink: 0;
}
.hr-playlist-item-art {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--hr-surface);
}
.hr-playlist-item-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hr-playlist-item-art--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hr-text-dim);
    font-size: 0.9rem;
}
.hr-playlist-item-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}
.hr-playlist-item-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--hr-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hr-playlist-item-artist {
    font-size: 0.78rem;
    color: var(--hr-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hr-playlist-item-time {
    font-size: 0.72rem;
    color: var(--hr-text-dim);
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 575.98px) {
    .hr-playlist-now {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    .hr-playlist-now-art {
        width: 44px;
        height: 44px;
    }
    .hr-playlist-item-art {
        width: 36px;
        height: 36px;
    }
    .hr-playlist-item-num {
        display: none;
    }
}

/* --------------- 22. Block Content --------------- */
.hr-block-content p {
    color: var(--hr-text-muted);
    line-height: 1.8;
}
.hr-block-content p:last-child {
    margin-bottom: 0;
}

/* ======================================================
   23. PAGE HEADERS (consistent across all subpages)
   ====================================================== */
.hr-page-header {
    padding: 7rem 0 2.5rem;
    text-align: center;
    position: relative;
    background:
        radial-gradient(ellipse at 30% 100%, rgba(var(--hr-purple-rgb), 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 0%,  rgba(var(--hr-orange-rgb), 0.05) 0%, transparent 50%);
}

.hr-page-heading {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.hr-page-intro {
    font-size: 1.1rem;
    color: var(--hr-text-muted);
    max-width: 540px;
    margin: 0 auto;
}

/* Homepage intro ribbon (CMS block_key: home_intro) */
.hr-home-intro {
    background: var(--hr-dark);
    border-top: 1px solid var(--hr-border);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.hr-home-intro-inner {
    max-width: 720px;
    margin: 0 auto;
}
.hr-home-intro-kicker {
    font-size: var(--hr-home-intro-kicker-font-size, 0.85rem);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--hr-orange);
    margin-bottom: 0.45rem;
}
.hr-home-intro-title {
    font-family: var(--hr-font-heading);
    font-size: clamp(var(--hr-home-intro-title-min, 1.45rem), 4vw, var(--hr-home-intro-title-max, 2.2rem));
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.75rem;
    line-height: 1.2;
    text-transform: none;
}
.hr-home-intro-body {
    font-size: var(--hr-home-intro-body-font-size, 1.05rem);
    color: var(--hr-text-muted);
    line-height: 1.7;
}
.hr-home-intro-body p:last-child {
    margin-bottom: 0;
}

/* ======================================================
   24. COMPACT STATION STRIP (homepage)
   ====================================================== */
.hr-home-stations {
    background: var(--hr-dark);
    padding: 3rem 0;
}

.hr-station-strip {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hr-mini-station {
    background: var(--hr-card);
    border: 1px solid var(--hr-border);
    border-radius: var(--hr-radius);
    padding: 1.25rem 1rem;
    text-align: center;
    width: 130px;
    transition: all var(--hr-transition);
    position: relative;
}

.hr-mini-station::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--sa);
    opacity: 0.5;
    border-radius: var(--hr-radius) var(--hr-radius) 0 0;
    transition: opacity var(--hr-transition);
}

.hr-mini-station:hover {
    transform: translateY(-3px);
    border-color: var(--sa);
    box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}
.hr-mini-station:hover::before { opacity: 1; }

.hr-mini-logo {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.65rem;
}
.hr-mini-logo svg,
.hr-mini-logo img { width: 100%; height: 100%; border-radius: 50%; }

.hr-mini-name {
    font-family: var(--hr-font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.hr-mini-play {
    background: var(--sa);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all var(--hr-transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.hr-mini-play:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hr-mini-badge {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--hr-gold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hr-mini-locked { opacity: 0.7; }
.hr-mini-locked:hover { transform: none; border-color: var(--hr-border); box-shadow: none; }

/* ======================================================
   25. QUICK NAVIGATION CARDS (homepage)
   ====================================================== */
.hr-home-nav {
    padding: 0 0 var(--hr-section-py);
}

.hr-quick-card {
    display: flex;
    flex-direction: column;
    background: var(--hr-card);
    border: 1px solid var(--hr-border);
    border-radius: var(--hr-radius);
    padding: 1.5rem;
    height: 100%;
    text-decoration: none;
    color: var(--hr-text);
    transition: all var(--hr-transition);
    position: relative;
    overflow: hidden;
}

.hr-quick-card:hover {
    color: #fff;
    border-color: var(--hr-orange);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}

.hr-quick-card.hr-quick-support:hover { border-color: var(--hr-red); }
.hr-quick-card.hr-quick-premium:hover { border-color: var(--hr-gold); }

.hr-quick-head {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.5rem;
}

.hr-quick-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.75rem;
    margin-top: 0.06em;
    font-size: 1.25rem;
    line-height: 1;
    color: var(--hr-orange);
    margin-bottom: 0;
}
.hr-quick-support .hr-quick-icon { color: var(--hr-red); }
.hr-quick-premium .hr-quick-icon { color: var(--hr-gold); }

.hr-quick-card h4 {
    font-family: var(--hr-font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.25;
}

.hr-quick-card p {
    font-size: 0.85rem;
    color: var(--hr-text-muted);
    margin-bottom: 0.75rem;
    flex: 1;
}

.hr-quick-meter {
    height: 4px;
    background: rgba(var(--hr-orange-rgb), 0.12);
    border-radius: 4px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.hr-quick-meter-fill {
    height: 100%;
    background: var(--hr-orange);
    border-radius: 4px;
}

/* ======================================================
   26. CTA BOX (reusable bottom CTA)
   ====================================================== */
.hr-cta-box {
    background: var(--hr-card);
    border: 1px solid var(--hr-border);
    border-radius: var(--hr-radius-xl);
    padding: 2.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.hr-cta-box h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

/* ======================================================
   27. SUPPORT PAGE - item cards
   ====================================================== */
.hr-support-item {
    background: var(--hr-card);
    border: 1px solid var(--hr-border);
    border-radius: var(--hr-radius);
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    transition: all var(--hr-transition);
}
.hr-support-item:hover {
    border-color: var(--hr-orange);
    transform: translateY(-2px);
}

.hr-support-item-icon {
    font-size: 1.6rem;
    color: var(--hr-orange);
    margin-bottom: 0.75rem;
}

.hr-support-item h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.hr-support-note {
    background: rgba(var(--hr-orange-rgb), 0.05);
    border: 1px solid rgba(var(--hr-orange-rgb), 0.12);
    border-radius: var(--hr-radius-sm);
    padding: 0.75rem 1rem;
}

/* ======================================================
   28. PREMIUM PAGE - feature cards
   ====================================================== */
.hr-premium-feature {
    background: var(--hr-card);
    border: 1px solid rgba(var(--hr-purple-rgb), 0.15);
    border-radius: var(--hr-radius);
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    transition: all var(--hr-transition);
}

.hr-premium-feature:hover {
    border-color: rgba(var(--hr-purple-rgb), 0.4);
    transform: translateY(-2px);
}

.hr-premium-feature i {
    font-size: 1.5rem;
    color: var(--hr-purple);
    margin-bottom: 0.75rem;
    display: block;
}

.hr-premium-feature h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

/* ======================================================
   29. ABOUT PAGE - station list
   ====================================================== */
.hr-about-station-list {
    background: var(--hr-card);
    border: 1px solid var(--hr-border);
    border-radius: var(--hr-radius);
    padding: 1.25rem;
}

.hr-about-station-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--hr-border);
}
.hr-about-station-row:last-child { border-bottom: none; }

.hr-about-st-badge {
    font-family: var(--hr-font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #fff;
    background: var(--sa);
    border-radius: 6px;
    padding: 0.2rem 0.5rem;
    flex-shrink: 0;
    min-width: 36px;
    text-align: center;
}

.hr-about-st-info {
    font-size: 0.88rem;
    line-height: 1.4;
    min-width: 0;
}

.hr-about-extra h3 {
    font-size: 1.2rem;
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.hr-about-extra ul {
    padding-left: 1.25rem;
}
.hr-about-extra ul li {
    margin-bottom: 0.5rem;
    color: var(--hr-text-muted);
    line-height: 1.6;
}

/* ======================================================
   30. RESPONSIVE - new components
   ====================================================== */
@media (max-width: 767.98px) {
    .hr-page-header { padding: 6rem 0 2rem; }
    .hr-page-heading { font-size: 1.6rem; }
    .hr-costume-widget-title { font-size: 1.6rem; }
    .hr-page-intro { font-size: 0.95rem; }

    .hr-station-strip { gap: 0.5rem; }
    .hr-mini-station { width: 100px; padding: 1rem 0.5rem; }
    .hr-mini-logo { width: 44px; height: 44px; }
    .hr-mini-name { font-size: 0.72rem; }

    .hr-cta-box { padding: 1.5rem; }
    .hr-cta-box .btn { display: block; width: 100%; margin: 0.3rem 0 !important; }

    .hr-about-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 575.98px) {
    .hr-mini-station { width: calc(33.333% - 0.35rem); }
}

/* ======================================================
   31. CONTACT FORM
   ====================================================== */
.hr-contact-card {
    background: var(--hr-card);
    border: 1px solid var(--hr-border);
    border-radius: var(--hr-radius);
    padding: 2rem;
    position: relative;
}

.hr-contact-card .form-label {
    font-weight: 500;
    color: var(--hr-text);
}

.hr-contact-card .form-control {
    background: var(--hr-surface);
    border-color: var(--hr-border);
    color: var(--hr-text);
}

.hr-contact-card .form-control:focus {
    border-color: var(--hr-orange);
    box-shadow: 0 0 0 0.15rem rgba(var(--hr-orange-rgb), 0.15);
}

.hr-contact-success {
    text-align: center;
    padding: 3rem 2rem;
    animation: hrSuccessFade 0.5s ease-out;
}
@keyframes hrSuccessFade {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hr-contact-success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99,195,40,0.15), rgba(99,195,40,0.05));
    border: 2px solid var(--hr-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--hr-green);
    margin-bottom: 1.25rem;
    animation: hrSuccessBounce 0.6s 0.2s ease-out both;
}
@keyframes hrSuccessBounce {
    0%   { transform: scale(0.5); opacity: 0; }
    60%  { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}
.hr-contact-success h3 {
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}
.hr-contact-success p {
    color: var(--hr-text-muted);
    max-width: 380px;
    margin: 0 auto;
}

.hr-contact-info {
    background: var(--hr-card);
    border: 1px solid var(--hr-border);
    border-radius: var(--hr-radius);
    padding: 1.5rem;
}

.hr-contact-info h4 {
    font-family: var(--hr-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.hr-contact-method {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--hr-border);
}
.hr-contact-method:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.hr-contact-method > i {
    color: var(--hr-orange);
    font-size: 1.1rem;
    margin-top: 0.15rem;
}

.hr-contact-method strong { color: #fff; font-size: 0.9rem; }
.hr-contact-method a { font-size: 0.85rem; }

/* ======================================================
   32. BLOG / ARTICLES
   ====================================================== */
.hr-blog-card {
    display: block;
    background: var(--hr-card);
    border: 1px solid var(--hr-border);
    border-radius: var(--hr-radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--hr-text);
    height: 100%;
    transition: all var(--hr-transition);
}

.hr-blog-card:hover {
    color: #fff;
    border-color: var(--hr-orange);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}

.hr-blog-card-img {
    height: 180px;
    overflow: hidden;
    background: var(--hr-surface);
}

.hr-blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--hr-transition);
}
.hr-blog-card:hover .hr-blog-card-img img { transform: scale(1.05); }

.hr-blog-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hr-blog-card-placeholder i {
    font-size: 2.5rem;
    color: var(--hr-text-dim);
    opacity: 0.3;
}

.hr-blog-card-body { padding: 1.25rem; }

.hr-blog-card-date {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--hr-orange);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hr-blog-card-title {
    font-family: var(--hr-font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0.3rem 0 0.5rem;
    line-height: 1.35;
}

.hr-blog-card-excerpt {
    font-size: 0.85rem;
    color: var(--hr-text-muted);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.hr-blog-card-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--hr-orange);
    transition: transform var(--hr-transition);
    display: inline-block;
}
.hr-blog-card:hover .hr-blog-card-link { transform: translateX(4px); }

.hr-blog-card--spotlight {
    position: relative;
}
.hr-blog-card--spotlight .hr-blog-card-img {
    height: 160px;
}
.hr-blog-card-badge {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    z-index: 2;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    background: var(--hr-orange);
    color: #1a0f14;
    pointer-events: none;
}

.hr-blog-spotlight {
    padding-top: 0.25rem;
    border-top: 1px solid var(--hr-border);
}
.hr-blog-spotlight-title {
    font-family: var(--hr-font-heading);
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hr-blog-pagination .page-link {
    background: var(--hr-surface);
    border-color: var(--hr-border);
    color: var(--hr-text);
}
.hr-blog-pagination .page-item.active .page-link {
    background: var(--hr-orange);
    border-color: var(--hr-orange);
    color: #1a0f14;
}
.hr-blog-pagination .page-item.disabled .page-link {
    opacity: 0.45;
    pointer-events: none;
}

/* News (square thumbs, blog-style cards) */
.hr-news-card .hr-news-card-thumb {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--hr-radius-md) var(--hr-radius-md) 0 0;
    background: var(--hr-surface);
}
.hr-news-card .hr-news-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hr-news-card-thumb-placeholder {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hr-text-dim);
    font-size: 2rem;
    background: linear-gradient(145deg, rgba(var(--hr-orange-rgb), 0.12), var(--hr-surface));
}
.hr-home-news {
    position: relative;
}
.hr-home-news-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}
@media (min-width: 576px) {
    .hr-home-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .hr-home-news-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.hr-home-news-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: var(--hr-card);
    border: 1px solid var(--hr-border);
    border-radius: var(--hr-radius-md);
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.hr-home-news-item:hover {
    border-color: rgba(var(--hr-orange-rgb), 0.45);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
    color: inherit;
}
.hr-home-news-thumb {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--hr-surface);
}
.hr-home-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hr-home-news-thumb-ph {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hr-text-dim);
    font-size: 1.75rem;
}
.hr-home-news-body {
    padding: 0.75rem 0.85rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.hr-home-news-title {
    font-family: var(--hr-font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin: 0 0 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hr-home-news-excerpt {
    font-size: 0.82rem;
    color: var(--hr-text-muted);
    line-height: 1.45;
    margin: 0 0 0.5rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hr-home-news-date {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--hr-orange);
    font-weight: 600;
    margin-top: auto;
}
.hr-home-news-foot {
    margin-top: 1.25rem;
    text-align: center;
}
.hr-news-related-thumb {
    aspect-ratio: 1 / 1;
    border-radius: var(--hr-radius-sm);
    overflow: hidden;
    background: var(--hr-surface);
}
.hr-news-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hr-news-related-thumb-ph {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hr-text-dim);
    background: var(--hr-surface);
}

/* Blog listing - search (matches site orange / card / Outfit buttons) */
.hr-blog-search {
    max-width: 36rem;
    margin: 1.75rem auto 0;
    text-align: left;
}

.hr-blog-search__shell {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    background: var(--hr-card);
    border: 1px solid rgba(var(--hr-orange-rgb), 0.22);
    border-radius: var(--hr-radius-lg);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    overflow: hidden;
    transition: border-color var(--hr-transition), box-shadow var(--hr-transition);
}

.hr-blog-search__shell:focus-within {
    border-color: rgba(var(--hr-orange-rgb), 0.55);
    box-shadow:
        0 4px 28px rgba(0, 0, 0, 0.4),
        0 0 0 3px rgba(var(--hr-orange-rgb), 0.18);
}

.hr-blog-search__icon {
    display: flex;
    align-items: center;
    padding-left: 1rem;
    padding-right: 0.35rem;
    color: var(--hr-orange);
    font-size: 1rem;
    opacity: 0.9;
    flex-shrink: 0;
}

.hr-blog-search__input {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    background: transparent;
    color: var(--hr-text);
    font-family: var(--hr-font-body);
    font-size: 1rem;
    padding: 0.85rem 0.75rem 0.85rem 0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.hr-blog-search__input::placeholder {
    color: var(--hr-text-dim);
}

.hr-blog-search__submit {
    flex-shrink: 0;
    font-family: var(--hr-font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    border: none;
    margin: 0;
    padding: 0.75rem 1.35rem;
    cursor: pointer;
    color: #1a0f14;
    background: linear-gradient(135deg, var(--hr-orange) 0%, #e5741a 100%);
    transition: filter var(--hr-transition), transform var(--hr-transition), box-shadow var(--hr-transition);
}

.hr-blog-search__submit:hover {
    color: #1a0f14;
    filter: brightness(1.06);
    box-shadow: -4px 0 20px rgba(var(--hr-orange-rgb), 0.35);
}

.hr-blog-search__submit:active {
    transform: scale(0.98);
}

.hr-blog-search__meta {
    text-align: center;
    margin: 0.65rem 0 0;
    font-size: 0.85rem;
}

.hr-blog-search__clear {
    color: var(--hr-orange);
    font-weight: 600;
    text-decoration: none;
    opacity: 0.92;
}

.hr-blog-search__clear:hover {
    color: #ffa94d;
    opacity: 1;
}

@media (max-width: 575.98px) {
    .hr-blog-search__submit {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .hr-blog-search__submit .fas {
        color: #1a0f14;
        font-size: 1.05rem;
    }
}

.hr-blog-article-header .hr-page-heading { max-width: 100%; }
.hr-blog-article-figure { margin: 0; }
.hr-blog-article-image {
    width: 100%;
    max-height: min(70vh, 520px);
    object-fit: cover;
    border-radius: var(--hr-radius);
    border: 1px solid var(--hr-border);
}
.hr-blog-article-body {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--hr-text-muted);
}
.hr-blog-article-body > *:first-child { margin-top: 0; }
.hr-blog-article-body h2,
.hr-blog-article-body h3,
.hr-blog-article-body h4 {
    font-family: var(--hr-font-heading);
    color: #fff;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}
.hr-blog-article-body h2 { font-size: 1.5rem; }
.hr-blog-article-body h3 { font-size: 1.2rem; }
.hr-blog-article-body p { margin-bottom: 1.1rem; }
.hr-blog-article-body ul,
.hr-blog-article-body ol { margin: 0 0 1.25rem 1.1rem; padding: 0; }
.hr-blog-article-body li { margin-bottom: 0.4rem; }
.hr-blog-article-body blockquote {
    margin: 1.5rem 0;
    padding: 0.75rem 1.25rem;
    border-left: 4px solid var(--hr-orange);
    background: rgba(244, 131, 27, 0.06);
    border-radius: 0 var(--hr-radius-sm, 6px) var(--hr-radius-sm, 6px) 0;
    font-style: italic;
}
.hr-blog-article-body a { color: var(--hr-orange); }
.hr-blog-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--hr-radius);
    margin: 1rem 0;
}
.hr-blog-related { border-top: 1px solid var(--hr-border); padding-top: 2.5rem; margin-top: 3rem; }
.hr-blog-card--compact .hr-blog-card-img { height: 120px; }
.hr-blog-card--compact .hr-blog-card-title { font-size: 0.9rem; line-height: 1.35; }

/* ======================================================
   33. CUSTOM PAGE TEMPLATE
   ====================================================== */
.hr-page-date {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--hr-orange);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.hr-featured-image {
    max-width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: var(--hr-radius);
    border: 1px solid var(--hr-border);
}

/* ======================================================
   34. RESPONSIVE - new v2 components
   ====================================================== */
@media (max-width: 767.98px) {
    .hr-contact-card { padding: 1.25rem; }
    .hr-contact-info { margin-top: 1.5rem; }
    .hr-blog-card-img { height: 140px; }
}

/* ======================================================
   35. 404 Page
   ====================================================== */
.hr-404 {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hr-404::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 50% 20%, rgba(var(--hr-purple-rgb), 0.08), transparent),
        radial-gradient(ellipse 300px 300px at 30% 70%, rgba(var(--hr-orange-rgb), 0.04), transparent);
    pointer-events: none;
}

.hr-404-content {
    position: relative;
    z-index: 1;
    max-width: 520px;
    margin: 0 auto;
}

/* ── Ghost scene ───────────────────────── */
.hr-404-scene {
    position: relative;
    height: 180px;
    margin-bottom: 1rem;
}

/* Moon */
.hr-404-moon {
    position: absolute;
    top: 8px;
    right: 15%;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fff2d9 0%, #f0d89a 40%, #c9a54e 100%);
    box-shadow:
        0 0 20px rgba(201,165,78,0.3),
        0 0 60px rgba(201,165,78,0.15);
    opacity: 0.9;
}
.hr-404-moon::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(0,0,0,0.06);
    box-shadow:
        18px 8px 0 3px rgba(0,0,0,0.05),
        6px 22px 0 1px rgba(0,0,0,0.04);
}

/* Ghost */
.hr-404-ghost {
    position: absolute;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    animation: ghost404Float 4s ease-in-out infinite;
}
@keyframes ghost404Float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(-14px); }
}

.hr-404-ghost-body {
    width: 80px;
    height: 90px;
    background: linear-gradient(180deg, #f5f5f5 0%, #e0e0e0 70%, #d4d4d4 100%);
    border-radius: 40px 40px 0 0;
    position: relative;
    box-shadow: 0 0 30px rgba(255,255,255,0.08);
}

.hr-404-ghost-face {
    position: absolute;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.hr-404-eye {
    width: 10px;
    height: 14px;
    background: var(--hr-dark);
    border-radius: 50%;
    animation: ghost404Blink 4s ease-in-out infinite;
}
.hr-404-eye:nth-child(2) { animation-delay: 0.1s; }
@keyframes ghost404Blink {
    0%, 42%, 48%, 100% { transform: scaleY(1); }
    45%                { transform: scaleY(0.1); }
}
.hr-404-mouth {
    width: 14px;
    height: 10px;
    border-radius: 0 0 50% 50%;
    background: var(--hr-dark);
    margin-top: -2px;
}

/* Wavy tail */
.hr-404-ghost-tail {
    display: flex;
    margin-top: -1px;
}
.hr-404-ghost-tail span {
    flex: 1;
    height: 16px;
    background: #d4d4d4;
}
.hr-404-ghost-tail span:nth-child(odd) {
    border-radius: 0 0 50% 50%;
}
.hr-404-ghost-tail span:nth-child(even) {
    background: transparent;
}

/* Tombstones */
.hr-404-tombstones {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
}
.hr-404-ts {
    position: absolute;
    bottom: 0;
    background: var(--hr-surface);
    border: 1px solid var(--hr-border);
}
.hr-404-ts--1 {
    left: 12%;
    width: 26px;
    height: 36px;
    border-radius: 6px 6px 0 0;
    transform: rotate(-4deg);
}
.hr-404-ts--1::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 1px;
    background: var(--hr-border-light);
    box-shadow: 0 5px 0 var(--hr-border-light);
}
.hr-404-ts--2 {
    right: 18%;
    width: 22px;
    height: 30px;
    border-radius: 50% 50% 0 0;
    transform: rotate(3deg);
}
.hr-404-ts--3 {
    left: 28%;
    width: 18px;
    height: 24px;
    border-radius: 4px 4px 0 0;
    transform: rotate(-2deg);
    opacity: 0.6;
}

/* Ground line */
.hr-404-tombstones::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--hr-border), transparent);
}

/* ── Typography ────────────────────────── */
.hr-404-code {
    font-family: var(--hr-font-display);
    font-size: 7rem;
    line-height: 1;
    color: var(--hr-orange);
    text-shadow:
        0 0 40px rgba(var(--hr-orange-rgb), 0.25),
        0 0 80px rgba(var(--hr-orange-rgb), 0.1);
    margin-bottom: 0.25rem;
    animation: fadeInUp 0.6s ease both;
}

.hr-404-heading {
    font-family: var(--hr-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hr-text);
    margin-bottom: 0.75rem;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hr-404-text {
    font-size: 1rem;
    color: var(--hr-text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hr-404-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hr-404-hint {
    animation: fadeInUp 0.6s ease 0.4s both;
}
.hr-404-hint p {
    font-size: 0.8rem;
    color: var(--hr-text-dim);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}
.hr-404-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.hr-404-links a {
    font-size: 0.9rem;
    color: var(--hr-text-muted);
    text-decoration: none;
    transition: color var(--hr-transition);
}
.hr-404-links a:hover {
    color: var(--hr-orange);
}

/* ── 404 Responsive ────────────────────── */
@media (max-width: 767.98px) {
    .hr-404 { min-height: 65vh; padding: 2.5rem 0; }
    .hr-404-code { font-size: 5rem; }
    .hr-404-heading { font-size: 1.25rem; }
    .hr-404-scene { height: 150px; }
    .hr-404-ghost-body { width: 64px; height: 72px; border-radius: 32px 32px 0 0; }
    .hr-404-ghost-face { top: 22px; width: 32px; gap: 10px; }
    .hr-404-eye { width: 8px; height: 11px; }
    .hr-404-mouth { width: 11px; height: 8px; }
    .hr-404-moon { width: 42px; height: 42px; }
    .hr-404-actions { flex-direction: column; align-items: center; }
    .hr-404-actions .btn { width: 100%; max-width: 280px; }
}
@media (max-width: 575.98px) {
    .hr-404-code { font-size: 4rem; }
    .hr-404-links { gap: 1rem; }
}

/* ======================================================
   36. Creepy Eye Button (.hr-eye-btn)
   ====================================================== */
.hr-eye-btn {
    position: relative;
    overflow: hidden;
}

.hr-eye-btn .hr-eye-pair {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 14px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 2;
}

.hr-eye-btn .hr-eye-label {
    position: relative;
    z-index: 3;
    transition: opacity 0.35s ease;
}

/* Reveal eyes on hover / focus */
.hr-eye-btn:hover .hr-eye-pair,
.hr-eye-btn:focus-visible .hr-eye-pair {
    opacity: 1;
}
.hr-eye-btn:hover .hr-eye-label,
.hr-eye-btn:focus-visible .hr-eye-label {
    opacity: 0;
}

/* Single eyeball */
.hr-eye {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 45%, #f5f0e8 0%, #e8dfd0 70%, #d4c9b6 100%);
    box-shadow:
        inset 0 2px 6px rgba(0,0,0,0.2),
        0 0 10px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

/* Subtle veins */
.hr-eye::before {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, transparent 60%, rgba(180,60,50,0.06) 100%),
        radial-gradient(circle at 70% 70%, transparent 60%, rgba(180,60,50,0.04) 100%);
    pointer-events: none;
}

/* Iris + pupil container - this is what moves */
.hr-eye-iris {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 38%, #8b4513 0%, #5a2d0c 55%, #2a1506 100%);
    transition: transform 0.12s ease-out;
    will-change: transform;
}

/* Pupil */
.hr-eye-iris::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    margin: -3.5px 0 0 -3.5px;
    border-radius: 50%;
    background: #0a0a0a;
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.08);
}

/* Highlight / glint */
.hr-eye-iris::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 3px;
    width: 4px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255,255,255,0.55);
    z-index: 1;
}

/* Eyelid (for blink) */
.hr-eye-lid {
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 0%;
    background: linear-gradient(180deg, #c4a882 0%, #b8996e 100%);
    border-radius: 50% 50% 0 0;
    transition: height 0.08s ease-in;
    z-index: 4;
}

/* Blink animation */
.hr-eye.hr-eye--blink .hr-eye-lid {
    animation: hrEyeBlink 0.22s ease-in-out;
}
@keyframes hrEyeBlink {
    0%   { height: 0%; }
    40%  { height: 105%; border-radius: 50%; }
    60%  { height: 105%; border-radius: 50%; }
    100% { height: 0%; }
}

/* Orange glow on primary buttons when eyes show */
.hr-btn-primary.hr-eye-btn:hover,
.hr-btn-primary.hr-eye-btn:focus-visible {
    box-shadow:
        0 8px 30px rgba(var(--hr-orange-rgb), 0.4),
        0 0 16px rgba(var(--hr-orange-rgb), 0.15);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hr-eye-btn .hr-eye-pair,
    .hr-eye-btn .hr-eye-label { transition: none; }
    .hr-eye-iris { transition: none; }
    .hr-eye.hr-eye--blink .hr-eye-lid { animation: none; }
}

/* ======================================================
   37. Halloween Cards - Send a Card page
   ====================================================== */

/* ── Page header variant ─────────────────── */
.hr-page-header--card {
    background:
        radial-gradient(ellipse at 30% 20%, rgba(var(--hr-purple-rgb,144,46,187), 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(var(--hr-orange-rgb), 0.08) 0%, transparent 50%),
        var(--hr-bg);
    padding-bottom: 2.5rem;
}

/* ── Step headings ───────────────────────── */
.hr-card-step { margin-bottom: 3rem; }

.hr-card-step-title {
    font-family: var(--hr-font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.hr-card-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hr-orange) 0%, #e5741a 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ── Category filters ────────────────────── */
.hr-card-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.hr-card-filter {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--hr-border-light);
    border-radius: 999px;
    padding: 0.4rem 1.1rem;
    font-size: 0.85rem;
    color: var(--hr-text-muted);
    cursor: pointer;
    transition: all var(--hr-transition);
    font-family: var(--hr-font-heading);
}
.hr-card-filter:hover,
.hr-card-filter.active {
    border-color: var(--hr-orange);
    color: var(--hr-orange);
    background: rgba(var(--hr-orange-rgb), 0.08);
}

/* ── Card gallery grid ───────────────────── */
.hr-card-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
}
.hr-card-item {
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 2px solid var(--hr-border-light);
    border-radius: var(--hr-radius-lg, 16px);
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: left;
    color: inherit;
}
.hr-card-item:hover {
    border-color: rgba(var(--hr-orange-rgb), 0.5);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.hr-card-item.selected {
    border-color: var(--hr-orange);
    box-shadow: 0 0 0 3px rgba(var(--hr-orange-rgb), 0.25), 0 12px 40px rgba(0,0,0,0.25);
}

.hr-card-item-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--hr-orange) 0%, #e5741a 100%);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.hr-card-item-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}
.hr-card-item-placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.02);
    color: var(--hr-text-muted);
}

.hr-card-item-info {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.hr-card-item-title {
    font-family: var(--hr-font-heading);
    font-weight: 600;
    font-size: 0.9rem;
}
.hr-card-item-desc {
    font-size: 0.78rem;
    color: var(--hr-text-muted);
    line-height: 1.3;
}

.hr-card-item-check {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--hr-orange);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.25s ease;
    z-index: 2;
}
.hr-card-item.selected .hr-card-item-check {
    opacity: 1;
    transform: scale(1);
}

/* ── Form layout ─────────────────────────── */
.hr-card-form-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    align-items: start;
}
@media (max-width: 767.98px) {
    .hr-card-form-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Preview frame */
.hr-card-preview-frame {
    border-radius: var(--hr-radius-lg, 16px);
    overflow: hidden;
    border: 2px solid var(--hr-border-light);
    background: rgba(255,255,255,0.02);
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hr-card-preview-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hr-card-preview-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--hr-text-muted);
    font-size: 0.9rem;
}
.hr-card-preview-placeholder i { font-size: 2rem; opacity: 0.3; }

/* Char count */
.hr-card-charcount { color: var(--hr-text-muted); font-size: 0.78rem; }

/* Email preview */
.hr-card-email-preview {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--hr-border-light);
    border-radius: var(--hr-radius);
    padding: 1.25rem;
}
.hr-card-email-preview h6 {
    color: var(--hr-orange);
    font-family: var(--hr-font-heading);
    margin-bottom: 0.75rem;
}
.hr-card-email-preview-body {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--hr-text-muted);
}

/* Form actions */
.hr-card-form-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ── Success state ───────────────────────── */
.hr-card-success {
    padding: 3rem 0;
}
.hr-card-success-inner {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--hr-border-light);
    border-radius: var(--hr-radius-lg, 16px);
    padding: 3rem 2rem;
}
.hr-card-success-icon {
    font-size: 3rem;
    color: var(--hr-green, #63C328);
    margin-bottom: 1rem;
}
.hr-card-success-inner h2 {
    font-family: var(--hr-font-heading);
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}
.hr-card-success-inner p {
    color: var(--hr-text-muted);
    margin-bottom: 0;
}

/* ======================================================
   38. Halloween Cards - Card View (recipient page)
   ====================================================== */
.hr-cardview {
    padding: 3rem 0 4rem;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(var(--hr-purple-rgb,144,46,187), 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(var(--hr-orange-rgb), 0.05) 0%, transparent 50%);
}

.hr-cardview-wrapper {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.hr-cardview-image {
    margin-bottom: 2rem;
    animation: hrCardFadeIn 0.8s ease both;
}
.hr-cardview-img {
    width: 100%;
    max-width: 480px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35), 0 0 80px rgba(var(--hr-orange-rgb), 0.08);
}
@keyframes hrCardFadeIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hr-cardview-message {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--hr-border-light);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
    text-align: left;
    animation: hrCardFadeIn 0.8s 0.2s ease both;
}

.hr-cardview-to,
.hr-cardview-from {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.hr-cardview-from { margin-bottom: 0; margin-top: 1.5rem; }

.hr-cardview-label {
    font-family: var(--hr-font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--hr-orange);
    flex-shrink: 0;
}
.hr-cardview-name {
    font-family: var(--hr-font-heading);
    font-size: 1.15rem;
    font-weight: 600;
}

.hr-cardview-body {
    font-size: 1.05rem;
    line-height: 1.7;
    padding: 1rem 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    white-space: pre-line;
}

.hr-cardview-date {
    margin-top: 1rem;
}

.hr-cardview-footer {
    text-align: center;
    animation: hrCardFadeIn 0.8s 0.4s ease both;
}
.hr-cardview-footer p { color: var(--hr-text-muted); margin-bottom: 0.75rem; }
.hr-cardview-brand {
    color: var(--hr-orange);
    font-weight: 600;
    text-decoration: none;
}
.hr-cardview-brand:hover { text-decoration: underline; }

/* Not-found variant */
.hr-card-notfound {
    padding: 4rem 0;
}

/* ── Responsive (cards) ──────────────────── */
@media (max-width: 575.98px) {
    .hr-card-gallery { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .hr-card-item-info { padding: 0.5rem; }
    .hr-card-item-title { font-size: 0.8rem; }
    .hr-card-item-desc { display: none; }
    .hr-cardview-message { padding: 1.5rem 1.25rem; }
    .hr-cardview-img { border-radius: 14px; }
    .hr-card-success-inner { padding: 2rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
    .hr-cardview-image,
    .hr-cardview-message,
    .hr-cardview-footer { animation: none; }
}

/* ── Games index ─────────────────────────── */
.hr-games-list { margin: 0; padding: 0; }
.hr-games-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--hr-border-light);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.hr-games-card:hover {
    border-color: rgba(244, 131, 27, 0.45);
    background: rgba(255, 255, 255, 0.06);
    color: inherit;
    transform: translateY(-2px);
}
.hr-games-card:focus-visible {
    outline: 2px solid var(--hr-orange);
    outline-offset: 3px;
}
.hr-games-card-body { flex: 1; min-width: 0; }
.hr-games-card-title {
    font-family: var(--hr-font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--hr-text, #f0f0f0);
}
.hr-games-card-desc { font-size: 0.95rem; line-height: 1.5; }
.hr-games-card-cta {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(244, 131, 27, 0.15);
    color: var(--hr-orange);
}

/* ── Horror emoji game ───────────────────── */
.hr-game-horror.card {
    border-radius: 20px;
    overflow: hidden;
}
.hr-game-horror-instructions {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}
.hr-horror-emoji-display {
    font-size: clamp(2.75rem, 10vw, 5rem);
    line-height: 1.25;
    letter-spacing: 0.06em;
    word-break: break-word;
    min-height: 1.25em;
}

.hr-quiz-question {
    max-width: 36rem;
    font-family: var(--hr-font-heading);
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    font-weight: 600;
    line-height: 1.45;
    color: var(--hr-text);
}

.hr-quiz-start-panel {
    max-width: 26rem;
    margin: 0 auto;
}

/* ── Kids’ multiple-choice quiz (dark card like other games; playful accents) ── */
.hr-kids-quiz.hr-game-kids-quiz {
    background: linear-gradient(165deg, rgba(var(--hr-purple-rgb), 0.12) 0%, var(--hr-card) 42%, var(--hr-surface) 100%);
    border-radius: var(--hr-radius-lg);
    color: var(--hr-text);
    border-color: var(--hr-border) !important;
}
.hr-kids-quiz.hr-game-kids-quiz .hr-kids-quiz-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 12% 14%, rgba(var(--hr-orange-rgb), 0.2) 0%, transparent 38%),
        radial-gradient(circle at 90% 18%, rgba(var(--hr-purple-rgb), 0.22) 0%, transparent 36%),
        radial-gradient(circle at 55% 100%, rgba(var(--hr-green-rgb), 0.08) 0%, transparent 45%);
    pointer-events: none;
}
.hr-kids-quiz--sparkle {
    animation: hrKidsSparkle 0.75s ease;
}
@keyframes hrKidsSparkle {
    0% { filter: brightness(1); transform: scale(1); }
    40% { filter: brightness(1.06); transform: scale(1.008); }
    100% { filter: brightness(1); transform: scale(1); }
}
.hr-kids-quiz--done .hr-kids-end-emoji {
    animation: hrKidsBounce 0.9s ease;
}
@keyframes hrKidsBounce {
    0%, 100% { transform: translateY(0); }
    35% { transform: translateY(-8px); }
    55% { transform: translateY(2px); }
}

.hr-kids-count-btn {
    font-family: var(--hr-font-heading);
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(0, 0, 0, 0.35);
    color: var(--hr-text);
    transition: border-color var(--hr-transition), background var(--hr-transition), box-shadow var(--hr-transition), color var(--hr-transition);
}
.hr-kids-count-btn:hover {
    border-color: rgba(var(--hr-orange-rgb), 0.75);
    color: #fff;
}
.hr-kids-count-btn.is-selected {
    border-color: var(--hr-orange);
    background: rgba(var(--hr-orange-rgb), 0.22);
    color: #fff;
    box-shadow: 0 0 0 2px rgba(var(--hr-orange-rgb), 0.35);
}

.hr-kids-badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--hr-text-muted);
    font-weight: 600;
}
.hr-kids-score-pill {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--hr-orange) 0%, #e5741a 100%);
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 2px 12px rgba(var(--hr-orange-rgb), 0.35);
}

.hr-kids-quiz-jar-block {
    min-width: 4.5rem;
}
.hr-kids-jar-label {
    font-weight: 600;
}
.hr-kids-quiz-jar {
    position: relative;
    width: 3.35rem;
    height: 5.6rem;
    margin: 0 auto;
    border-radius: 0.4rem 0.4rem 0.7rem 0.7rem;
    border: 2px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.45);
    overflow: hidden;
    box-shadow: inset 0 3px 14px rgba(0, 0, 0, 0.55);
}
.hr-kids-quiz-jar-fill {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 0%;
    transition: height 0.45s cubic-bezier(0.34, 1.2, 0.64, 1);
    border-radius: 0 0 0.35rem 0.35rem;
    background-color: rgba(0, 0, 0, 0.25);
    /* Candy-corn style bands (works without an image); optional PNG tile layered when .hr-kids-quiz--jar-texture is set */
    background-image: repeating-linear-gradient(
            -26deg,
            rgba(255, 248, 210, 0.95) 0 8px,
            rgba(var(--hr-orange-rgb), 0.88) 8px 17px,
            rgba(255, 228, 120, 0.92) 17px 26px
        ),
        linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, transparent 55%);
    background-size: 100% 100%, 100% 100%;
    background-position: center bottom, center top;
    background-repeat: no-repeat, no-repeat;
}
.hr-kids-quiz--jar-texture .hr-kids-quiz-jar-fill {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 42%),
        url('../images/kids-quiz-jar-fill.png'),
        repeating-linear-gradient(
            -26deg,
            rgba(255, 248, 210, 0.88) 0 8px,
            rgba(var(--hr-orange-rgb), 0.75) 8px 17px,
            rgba(255, 228, 120, 0.85) 17px 26px
        ),
        linear-gradient(180deg, rgba(244, 131, 27, 0.35) 0%, rgba(0, 0, 0, 0.2) 100%);
    background-size: 100% 100%, 36px 36px, 100% 100%, 100% 100%;
    background-position: center top, center bottom, center bottom, center bottom;
    background-repeat: no-repeat, repeat, no-repeat, no-repeat;
}

.hr-kids-question {
    font-family: var(--hr-font-heading);
    font-size: clamp(1.08rem, 2.3vw, 1.32rem);
    line-height: 1.45;
    color: var(--hr-text);
}

.hr-kids-quiz.hr-game-kids-quiz .hr-kids-quiz-opt {
    position: relative;
    border-radius: var(--hr-radius) !important;
    border: 1px solid var(--hr-border-light) !important;
    background: var(--hr-surface) !important;
    color: var(--hr-text) !important;
    padding: 0.85rem 1rem 0.85rem 3.25rem !important;
    font-weight: 600;
    line-height: 1.35;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
}
.hr-kids-quiz.hr-game-kids-quiz .hr-kids-quiz-opt:hover:not(:disabled) {
    transform: translateY(-2px);
    border-color: rgba(var(--hr-orange-rgb), 0.55) !important;
    box-shadow: 0 6px 20px rgba(var(--hr-orange-rgb), 0.12);
}
.hr-kids-quiz.hr-game-kids-quiz .hr-kids-quiz-opt:active:not(:disabled) {
    transform: translateY(0);
}
.hr-kids-quiz.hr-game-kids-quiz .hr-kids-opt-ring {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    background: linear-gradient(145deg, var(--hr-purple), #6a2389);
    color: #fff;
    flex-shrink: 0;
}
.hr-kids-quiz.hr-game-kids-quiz .hr-kids-quiz-opt--correct {
    border-color: var(--hr-green) !important;
    background: rgba(var(--hr-green-rgb), 0.14) !important;
    box-shadow: 0 0 0 2px rgba(var(--hr-green-rgb), 0.28);
}
.hr-kids-quiz.hr-game-kids-quiz .hr-kids-quiz-opt--wrong {
    border-color: rgba(var(--hr-red-rgb), 0.65) !important;
    background: rgba(var(--hr-red-rgb), 0.1) !important;
    opacity: 0.9;
}

.hr-kids-feedback {
    min-height: 1.35rem;
    font-weight: 600;
    color: var(--hr-text-muted);
}

.hr-kids-end-emoji {
    font-size: 3rem;
    line-height: 1;
}

.hr-horror-timer-wrap {
    padding: 1rem 1.25rem;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 14rem;
    margin-left: auto;
    margin-right: auto;
}
.hr-horror-timer {
    display: block;
    font-family: var(--hr-font-heading);
    font-size: clamp(2.5rem, 8vw, 3.75rem);
    font-weight: 700;
    line-height: 1;
    color: var(--hr-orange);
    font-variant-numeric: tabular-nums;
}
.hr-horror-answer {
    padding: 1.25rem 1.5rem;
    border-radius: 14px;
    background: rgba(244, 131, 27, 0.08);
    border: 1px solid rgba(244, 131, 27, 0.25);
    animation: hrHorrorReveal 0.45s ease both;
}
.hr-horror-answer-title {
    font-family: var(--hr-font-heading);
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
}
@keyframes hrHorrorReveal {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
#hr-horror-new-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .hr-horror-answer { animation: none; }
}

/* ── Costume randomizer (site-integrated) ─── */
.hr-costume-form .hr-costume-name-row > [class*="col"] {
    display: flex;
    align-items: stretch;
}

.hr-costume-form .hr-costume-name-row .hr-costume-pool-inline.btn-group {
    flex: 1 1 auto;
    align-self: stretch;
    min-height: 100%;
    display: flex;
    flex-shrink: 1;
}

.hr-costume-form .hr-costume-name-row .hr-costume-pool-inline .hr-costume-pool-btn {
    flex: 1 0 auto;
    align-self: stretch;
    min-height: 100%;
    height: auto;
}

.hr-costume-form .hr-costume-name-row [data-hr-costume-submit] {
    align-self: stretch;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hr-costume-pool .hr-costume-pool-btn {
    min-width: 5.5rem;
    max-width: 8rem;
    text-align: center;
    border-width: 1px;
    line-height: 1.2;
}
.hr-costume-pool .hr-costume-pool-icon {
    font-size: 1.25rem;
    color: rgba(232, 230, 240, 0.92);
}
.hr-costume-pool-btn.hr-costume-pool-btn--active,
.hr-costume-pool-btn.hr-costume-pool-btn--active:focus {
    border-color: rgba(244, 131, 27, 0.9) !important;
    color: #fff !important;
    background: rgba(244, 131, 27, 0.16) !important;
    box-shadow: 0 0 0 1px rgba(244, 131, 27, 0.28);
}
.hr-costume-pool-btn.hr-costume-pool-btn--active .hr-costume-pool-icon {
    color: var(--hr-orange, #f4831b);
}
.hr-costume-pool-inline {
    flex-shrink: 0;
}
.hr-costume-pool-inline .hr-costume-pool-btn {
    min-width: 2.65rem;
    max-width: none;
    padding-left: 0.55rem;
    padding-right: 0.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.hr-costume-pool-inline .hr-costume-pool-icon {
    font-size: 1.1rem;
    margin: 0;
    line-height: 1;
}
.hr-home-costume .hr-costume-inner.card:not(.hr-costume-inner--full) {
    border-radius: 18px;
    border-color: rgba(244, 131, 27, 0.22) !important;
}
.hr-costume-opinion-card {
    margin-top: 0.6rem;
    padding: 1rem 1.15rem 1.05rem;
    border-radius: 14px;
    background: linear-gradient(165deg, rgba(26, 16, 40, 0.92) 0%, rgba(12, 8, 22, 0.88) 100%);
    border: 1px solid rgba(244, 131, 27, 0.28);
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.hr-costume-opinion-card .hr-costume-opinion__form {
    position: relative;
}
.hr-costume-opinion-card .form-control {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.14);
    color: rgba(255, 248, 240, 0.95);
}
.hr-costume-opinion-card .form-control::placeholder {
    color: rgba(255, 255, 255, 0.35);
}
.hr-costume-opinion-card .form-control:focus {
    border-color: rgba(244, 131, 27, 0.45);
    box-shadow: 0 0 0 0.15rem rgba(244, 131, 27, 0.15);
    background: rgba(255, 255, 255, 0.09);
}
.hr-costume-opinion__kicker strong {
    color: rgba(255, 248, 240, 0.95);
}
.hr-costume-party-badge span {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #5b21b6, #7c3aed);
    color: #fff;
}
.hr-costume-btn--working {
    animation: hrCostumeBtnPulse 0.85s ease-in-out infinite, hrCostumeBtnNudge 0.35s ease-in-out infinite;
    background: linear-gradient(135deg, #1a1028, #2d1b4e) !important;
    color: #e8e6f0 !important;
    border-color: rgba(244, 131, 27, 0.35) !important;
}
@keyframes hrCostumeBtnPulse {
    0%, 100% { filter: brightness(1); box-shadow: 0 0 0 0 rgba(244, 131, 27, 0); }
    50% { filter: brightness(1.08); box-shadow: 0 0 22px rgba(244, 131, 27, 0.2); }
}
@keyframes hrCostumeBtnNudge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}
.hr-costume-input-shake {
    animation: hrCostumeShake 0.45s ease;
    border-color: #c41e3a !important;
}
@keyframes hrCostumeShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}
.hr-costume-result-shell {
    min-height: 140px;
    border-radius: 16px;
    overflow: hidden;
}
.hr-costume-result-shell:has(.hr-costume-result-figure-wrap:hover),
.hr-costume-result-shell:has(.hr-costume-result-img:hover) {
    overflow: visible;
    z-index: 6;
}
.hr-costume-mist {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.45s ease;
    z-index: 3;
}
.hr-costume-mist--active {
    opacity: 1;
}
.hr-costume-mist--fade {
    opacity: 0;
}
.hr-costume-mist-layer {
    position: absolute;
    inset: -20%;
    border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
    filter: blur(28px);
    opacity: 0.55;
    animation: hrCostumeMistDrift 4.5s ease-in-out infinite;
}
.hr-costume-mist-layer--1 {
    background: radial-gradient(ellipse at 30% 40%, rgba(107, 33, 168, 0.55), transparent 55%),
        radial-gradient(ellipse at 70% 60%, rgba(45, 27, 78, 0.7), transparent 50%);
}
.hr-costume-mist-layer--2 {
    background: radial-gradient(ellipse at 60% 30%, rgba(244, 131, 27, 0.18), transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(30, 20, 45, 0.85), transparent 45%);
    animation-delay: -2s;
    animation-duration: 5.5s;
}
@keyframes hrCostumeMistDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(3%, -2%) scale(1.04); }
    66% { transform: translate(-2%, 2%) scale(0.98); }
}
.hr-costume-embers {
    position: absolute;
    inset: 0;
    z-index: 4;
}
.hr-costume-ember {
    position: absolute;
    bottom: 12%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 200, 120, 0.95), rgba(244, 131, 27, 0.2));
    box-shadow: 0 0 10px rgba(244, 131, 27, 0.55);
    animation: hrCostumeEmberRise 1.35s ease-out forwards;
    opacity: 0.9;
}
@keyframes hrCostumeEmberRise {
    to {
        transform: translateY(-120px) scale(0.3);
        opacity: 0;
    }
}
.hr-costume-result {
    position: relative;
    z-index: 2;
    background: rgba(10, 10, 14, 0.92) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px;
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.35s ease;
}
.hr-costume-result--visible {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 1px rgba(244, 131, 27, 0.35), 0 0 20px rgba(244, 131, 27, 0.22);
}
.hr-costume-result-figure-wrap {
    max-width: min(300px, 100%);
    position: relative;
    z-index: 1;
    overflow: visible;
}
.hr-costume-result-figure-wrap[hidden] {
    display: none !important;
}
.hr-costume-result-img {
    width: 100%;
    height: auto;
    max-height: min(48vh, 420px);
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    transform-origin: center center;
    cursor: zoom-in;
}
.hr-costume-result-figure-wrap:hover .hr-costume-result-img,
.hr-costume-result-img:hover {
    transform: scale(1.12);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(244, 131, 27, 0.35);
    z-index: 4;
    position: relative;
}
.hr-costume-recent > .table-responsive {
    overflow: visible;
}
.hr-costume-recent-thumb-cell {
    width: 48px;
    padding-right: 0.35rem !important;
    position: relative;
    overflow: visible;
    vertical-align: middle;
}
.hr-costume-recent-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: middle;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    transform-origin: left center;
    cursor: zoom-in;
}
.hr-costume-table tbody tr:has(.hr-costume-recent-thumb:hover) {
    position: relative;
    z-index: 40;
}
.hr-costume-recent-thumb:hover {
    position: relative;
    z-index: 50;
    transform: scale(3.25);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(244, 131, 27, 0.4);
}
@media (prefers-reduced-motion: reduce) {
    .hr-costume-result-img,
    .hr-costume-recent-thumb {
        transition: none;
        cursor: default;
    }
    .hr-costume-result-figure-wrap:hover .hr-costume-result-img,
    .hr-costume-result-img:hover {
        transform: none;
        box-shadow: none;
        position: static;
        z-index: auto;
    }
    .hr-costume-recent-thumb:hover {
        transform: none;
        box-shadow: none;
    }
    .hr-costume-result-shell:has(.hr-costume-result-figure-wrap:hover),
    .hr-costume-result-shell:has(.hr-costume-result-img:hover) {
        overflow: hidden;
        z-index: auto;
    }
}
.hr-costume-result[data-category="monster"] { box-shadow: 0 0 0 1px rgba(196, 30, 58, 0.45), 0 0 22px rgba(196, 30, 58, 0.25); }
.hr-costume-result[data-category="food"] { box-shadow: 0 0 0 1px rgba(232, 93, 4, 0.45), 0 0 22px rgba(232, 93, 4, 0.22); }
.hr-costume-result[data-category="profession"] { box-shadow: 0 0 0 1px rgba(70, 130, 180, 0.45), 0 0 22px rgba(70, 130, 180, 0.22); }
.hr-costume-result[data-category="popculture"] { box-shadow: 0 0 0 1px rgba(157, 78, 221, 0.45), 0 0 22px rgba(157, 78, 221, 0.22); }
.hr-costume-title {
    font-family: var(--hr-font-heading);
    font-size: clamp(1.35rem, 4.5vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
    color: var(--hr-orange);
}
.hr-costume-result[data-category="monster"] .hr-costume-title { color: #e85d6a; }
.hr-costume-result[data-category="food"] .hr-costume-title { color: #f4a261; }
.hr-costume-result[data-category="profession"] .hr-costume-title { color: #7eb8e0; }
.hr-costume-result[data-category="popculture"] .hr-costume-title { color: #c084fc; }
.hr-costume-ghost {
    position: absolute;
    top: 10px;
    right: 10%;
    font-size: 1.5rem;
    opacity: 0.75;
    animation: hrCostumeGhostFloat 3.5s ease-in-out infinite;
    pointer-events: none;
}
@keyframes hrCostumeGhostFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-18px, 6px); }
}
/* No table-dark: inherit card background; Bootstrap 5.3 table vars */
.hr-costume .hr-costume-table {
    --bs-table-bg: transparent;
    --bs-table-accent-bg: transparent;
    --bs-table-color: var(--hr-text);
    --bs-table-striped-bg: transparent;
    --bs-table-active-bg: rgba(255, 255, 255, 0.06);
    --bs-table-hover-color: var(--hr-text);
    --bs-table-hover-bg: rgba(255, 255, 255, 0.05);
    --bs-table-border-color: rgba(255, 255, 255, 0.08);
    color: var(--hr-text);
}
.hr-costume .hr-costume-table > :not(caption) > * > * {
    background-color: transparent;
    box-shadow: inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)));
}
/* Homepage widget: extra specificity over .card > .table (Bootstrap) */
.hr-home-costume .hr-costume-inner.card .table.hr-costume-table {
    --bs-table-bg: transparent;
    --bs-table-accent-bg: transparent;
    --bs-table-color: var(--hr-text);
    --bs-table-striped-bg: transparent;
    --bs-table-active-bg: rgba(255, 255, 255, 0.06);
    --bs-table-hover-color: var(--hr-text);
    --bs-table-hover-bg: rgba(255, 255, 255, 0.05);
    --bs-table-border-color: rgba(255, 255, 255, 0.08);
    color: var(--hr-text);
}
.hr-home-costume .hr-costume-inner.card .table.hr-costume-table > :not(caption) > * > * {
    background-color: transparent;
    box-shadow: inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)));
}
.hr-costume-table thead th {
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.35rem;
    color: var(--hr-text-muted);
}
.hr-costume-table td {
    padding: 0.45rem 0.35rem 0.45rem 0;
    vertical-align: middle;
}
.hr-costume--widget .hr-costume-inner:not(.hr-costume-inner--full) .card-body {
    padding: 1.25rem !important;
}

/* Full-page + homepage spotlight widget - Halloween frame */
.hr-costume--full .hr-costume-full-outer,
.hr-costume--spotlight .hr-costume-full-outer {
    position: relative;
    padding: clamp(1.25rem, 4vw, 2rem);
    border-radius: var(--hr-radius-xl);
    background:
        radial-gradient(ellipse 100% 85% at 50% -15%, rgba(var(--hr-purple-rgb), 0.24), transparent 58%),
        radial-gradient(ellipse 65% 45% at 100% 100%, rgba(var(--hr-orange-rgb), 0.14), transparent 50%),
        linear-gradient(168deg, rgba(28, 18, 42, 0.96) 0%, rgba(12, 8, 20, 0.99) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow:
        0 0 0 1px rgba(var(--hr-orange-rgb), 0.18),
        0 28px 90px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
}
.hr-costume--full .hr-costume-full-outer__halo,
.hr-costume--spotlight .hr-costume-full-outer__halo {
    pointer-events: none;
    position: absolute;
    inset: -45%;
    background: conic-gradient(
        from 210deg at 50% 50%,
        rgba(var(--hr-purple-rgb), 0.09),
        transparent 32%,
        rgba(var(--hr-orange-rgb), 0.07),
        transparent 62%,
        rgba(var(--hr-purple-rgb), 0.06),
        transparent 88%
    );
    opacity: 0.95;
    animation: hrCostumeFullHalo 32s linear infinite;
}
@keyframes hrCostumeFullHalo {
    to { transform: rotate(360deg); }
}
.hr-costume--full .hr-costume-full-runes,
.hr-costume--spotlight .hr-costume-full-runes {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.35rem;
    font-size: 1.4rem;
    line-height: 1;
    opacity: 0.88;
    filter: drop-shadow(0 0 14px rgba(var(--hr-orange-rgb), 0.28));
    margin-bottom: 0.15rem;
}
.hr-costume--full .hr-costume-full-runes span:nth-child(2),
.hr-costume--spotlight .hr-costume-full-runes span:nth-child(2) {
    font-size: 1.7rem;
    animation: hrCostumeFullPumpkin 4.2s ease-in-out infinite;
}
@keyframes hrCostumeFullPumpkin {
    0%, 100% { transform: rotate(-5deg) scale(1); }
    50% { transform: rotate(5deg) scale(1.06); }
}
.hr-costume--full .hr-costume-full-strap,
.hr-costume--spotlight .hr-costume-full-strap {
    position: relative;
    z-index: 1;
}
.hr-costume--full .hr-costume-full-strap__text,
.hr-costume--spotlight .hr-costume-full-strap__text {
    display: inline-block;
    font-family: var(--hr-font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(var(--hr-orange-rgb), 0.95);
    text-shadow: 0 0 24px rgba(var(--hr-orange-rgb), 0.35);
}
.hr-costume-inner.hr-costume-inner--full {
    position: relative;
    z-index: 1;
    border-radius: var(--hr-radius-lg) !important;
    border: 1px solid rgba(var(--hr-orange-rgb), 0.32) !important;
    background: linear-gradient(185deg, rgba(32, 26, 42, 0.98) 0%, rgba(16, 12, 24, 0.99) 55%, rgba(14, 10, 22, 1) 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 16px 48px rgba(0, 0, 0, 0.4);
}
.hr-costume-inner.hr-costume-inner--full .card-body {
    padding: clamp(1.5rem, 4vw, 2.35rem) !important;
}
.hr-costume--full .hr-costume-form .form-control,
.hr-costume--spotlight .hr-costume-form .form-control {
    background: rgba(0, 0, 0, 0.38);
    border-color: rgba(var(--hr-orange-rgb), 0.3);
    color: var(--hr-text);
}
.hr-costume--full .hr-costume-form .form-control::placeholder,
.hr-costume--spotlight .hr-costume-form .form-control::placeholder {
    color: var(--hr-text-dim);
}
.hr-costume--full .hr-costume-form .form-control:focus,
.hr-costume--spotlight .hr-costume-form .form-control:focus {
    border-color: rgba(var(--hr-orange-rgb), 0.55);
    box-shadow: 0 0 0 0.2rem rgba(var(--hr-orange-rgb), 0.2);
    background: rgba(0, 0, 0, 0.48);
}
.hr-costume--full .hr-costume-result-shell,
.hr-costume--spotlight .hr-costume-result-shell {
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(0, 0, 0, 0.22);
    box-shadow: inset 0 0 40px rgba(var(--hr-purple-rgb), 0.06);
}
.hr-costume--full .hr-costume-recent,
.hr-costume--spotlight .hr-costume-recent {
    margin-top: 2rem !important;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}
.hr-costume .hr-costume-recent .h6 {
    font-family: var(--hr-font-heading);
    font-size: 0.76rem !important;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--hr-gold) !important;
    border-bottom: 1px solid rgba(var(--hr-orange-rgb), 0.22);
    padding-bottom: 0.55rem;
    margin-bottom: 0.8rem !important;
}
.hr-costume--full [data-hr-costume-share] .btn-outline-light,
.hr-costume--spotlight [data-hr-costume-share] .btn-outline-light {
    border-color: rgba(var(--hr-orange-rgb), 0.42);
    color: var(--hr-text);
}
.hr-costume--full [data-hr-costume-share] .btn-outline-light:hover,
.hr-costume--spotlight [data-hr-costume-share] .btn-outline-light:hover {
    background: rgba(var(--hr-orange-rgb), 0.14);
    border-color: rgba(var(--hr-orange-rgb), 0.6);
    color: #fff;
}
.hr-costume--full .hr-costume-ghost,
.hr-costume--spotlight .hr-costume-ghost {
    font-size: 1.85rem;
    filter: drop-shadow(0 0 10px rgba(var(--hr-purple-rgb), 0.45));
}

/* Homepage spotlight widget - hero typography + slightly tighter frame */
.hr-costume-widget-head--spotlight {
    margin-bottom: clamp(1.15rem, 3.5vw, 1.65rem) !important;
}
.hr-costume-widget-kicker {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--hr-orange);
    margin-bottom: 0.25rem !important;
}
.hr-costume-widget-kicker i {
    margin-right: 0.35rem;
}
/* Match .hr-page-heading on /costume-randomizer (full page title) */
.hr-costume-widget-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}
.hr-home-costume .hr-costume--spotlight .hr-costume-full-outer {
    padding: clamp(1rem, 3.5vw, 1.75rem);
}
.hr-home-costume .hr-costume--spotlight .hr-costume-full-runes {
    font-size: 1.22rem;
    gap: 1.1rem;
}
.hr-home-costume .hr-costume--spotlight .hr-costume-full-runes span:nth-child(2) {
    font-size: 1.48rem;
}
.hr-home-costume .hr-costume--spotlight .btn.hr-btn-outline {
    padding: 0.5rem 1.35rem;
    border-radius: 12px;
    border-color: rgba(var(--hr-orange-rgb), 0.45);
    font-weight: 600;
    letter-spacing: 0.03em;
}
.hr-home-costume .hr-costume--spotlight .btn.hr-btn-outline:hover {
    border-color: rgba(var(--hr-orange-rgb), 0.7);
    color: #fff;
    background: rgba(var(--hr-orange-rgb), 0.12);
}

/* Homepage: costume + Crypt sidebar - sidebar row matches cauldron (.hr-costume-full-outer) height */
.hr-home-costume-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
}
@media (min-width: 992px) {
    .hr-home-costume-grid {
        display: grid;
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        grid-template-rows: auto 1fr;
        column-gap: clamp(1rem, 2.5vw, 1.75rem);
        row-gap: 0.75rem;
        align-items: start;
    }
    #hr-costume-widget.hr-costume--home-grid {
        display: contents;
    }
    /* Descendant selectors (not >): with display:contents, children stay under #hr-costume-widget in the DOM
       but participate in this grid - child combinator would never match. */
    .hr-home-costume-grid .hr-costume-home-grid-intro {
        grid-column: 1;
        grid-row: 1;
    }
    .hr-home-costume-grid .hr-costume-home-grid-intro .hr-costume-widget-head {
        margin-bottom: 0.35rem;
    }
    .hr-home-costume-grid .hr-costume-full-outer {
        grid-column: 1;
        grid-row: 2;
        min-width: 0;
        align-self: stretch;
        height: 100%;
        min-height: 100%;
    }
    .hr-home-costume-grid .hr-costume-party-badge {
        grid-column: 1;
        grid-row: 1;
        justify-self: center;
        align-self: end;
        margin-bottom: 0;
    }
    .hr-home-costume-grid > .hr-home-costume-grid-aside {
        grid-column: 2;
        grid-row: 2;
        align-self: stretch;
        height: 100%;
        min-height: 0;
    }
    .hr-home-costume-sidebar {
        gap: 1.1rem;
        height: 100%;
    }
}
@media (max-width: 991.98px) {
    #hr-costume-widget.hr-costume--home-grid {
        display: block;
    }
}
/* Homepage costume sidebar - shared mini-card rhythm (crypt CTA, special-day countdown, Haunt-O-Meter) */
.hr-home-sidebar-mini {
    position: relative;
    overflow: hidden;
    padding: 0.95rem 1rem 1rem !important;
}
.hr-home-sidebar-mini-body {
    position: relative;
    z-index: 2;
    text-align: left;
}
/* Shared mist / moonlight veil (sidebar mini-cards + homepage duo, feature, quick nav) */
.hr-home-card-veil,
.hr-home-sidebar-mini-veil {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 1;
}
.hr-home-sidebar-mini-veil,
.hr-home-card-veil--v1 {
    background:
        radial-gradient(ellipse 95% 70% at 50% -25%, rgba(var(--hr-orange-rgb), 0.2), transparent 58%),
        radial-gradient(ellipse 60% 45% at 100% 100%, rgba(110, 50, 180, 0.14), transparent 55%),
        radial-gradient(circle at 12% 88%, rgba(255, 255, 255, 0.04), transparent 38%);
}
.hr-home-card-veil--v2 {
    background:
        radial-gradient(ellipse 88% 62% at 100% -18%, rgba(130, 75, 200, 0.22), transparent 56%),
        radial-gradient(ellipse 68% 48% at 0% 102%, rgba(var(--hr-orange-rgb), 0.15), transparent 54%),
        radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.045), transparent 34%);
}
.hr-home-card-veil--v3 {
    background:
        radial-gradient(ellipse 70% 55% at 8% 8%, rgba(var(--hr-orange-rgb), 0.14), transparent 50%),
        radial-gradient(ellipse 80% 58% at 92% 92%, rgba(110, 55, 175, 0.18), transparent 56%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.028), transparent 42%);
}
.hr-home-card-veil--v4 {
    background:
        radial-gradient(ellipse 100% 55% at 50% 108%, rgba(110, 50, 180, 0.16), transparent 58%),
        radial-gradient(ellipse 55% 42% at 0% 35%, rgba(var(--hr-orange-rgb), 0.12), transparent 52%),
        radial-gradient(circle at 96% 8%, rgba(255, 255, 255, 0.04), transparent 28%);
}
.hr-home-card-veil--v5 {
    background:
        radial-gradient(ellipse 72% 50% at -5% 60%, rgba(var(--hr-orange-rgb), 0.11), transparent 48%),
        radial-gradient(ellipse 65% 70% at 105% 40%, rgba(140, 85, 210, 0.17), transparent 55%),
        radial-gradient(ellipse 40% 35% at 48% -5%, rgba(255, 255, 255, 0.05), transparent 70%);
}
.hr-home-duo-card > *:not(.hr-home-card-veil),
.hr-feature-card > *:not(.hr-home-card-veil),
.hr-quick-card > *:not(.hr-home-card-veil) {
    position: relative;
    z-index: 1;
}
.hr-home-sidebar-mini-head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.55rem;
}
.hr-home-sidebar-mini-head-text {
    flex: 1;
    min-width: 0;
}
.hr-home-sidebar-mini-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    flex-shrink: 0;
    border-radius: 50%;
    font-size: 0.9rem;
    color: rgba(255, 220, 190, 0.95);
    background: rgba(var(--hr-orange-rgb), 0.16);
    border: 1px solid rgba(var(--hr-orange-rgb), 0.32);
    box-shadow: 0 0 16px rgba(var(--hr-orange-rgb), 0.14);
}
.hr-home-sidebar-mini-icon--violet {
    color: rgba(210, 195, 255, 0.98);
    background: rgba(130, 90, 200, 0.2);
    border-color: rgba(160, 130, 220, 0.38);
    box-shadow: 0 0 18px rgba(130, 90, 200, 0.16);
}
.hr-home-sidebar-mini-icon--teal {
    color: rgba(190, 255, 235, 0.95);
    background: rgba(45, 160, 140, 0.22);
    border-color: rgba(80, 200, 175, 0.42);
    box-shadow: 0 0 18px rgba(45, 180, 150, 0.14);
}
.hr-home-sidebar-mini-kicker,
.hr-home-crypt-cd-kicker {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 200, 160, 0.9);
    margin: 0 0 0.15rem;
    line-height: 1.25;
}
.hr-home-sidebar-mini-title,
.hr-home-crypt-cd-title {
    font-family: var(--hr-font-heading);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    color: #fff;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}
.hr-home-sidebar-mini-lede {
    font-size: 0.78rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.58);
    margin: 0;
}
.hr-home-sidebar-mini-lede--stack p {
    margin: 0 0 0.45rem;
}
.hr-home-sidebar-mini-lede--stack p:last-child {
    margin-bottom: 0;
}
.hr-home-sidebar-mini-actions {
    margin-top: 0.65rem;
}
.hr-home-crypt-cta-card.hr-home-sidebar-mini {
    border: 1px solid rgba(var(--hr-orange-rgb), 0.38);
    background: linear-gradient(
        152deg,
        rgba(42, 26, 58, 0.9) 0%,
        rgba(14, 9, 22, 0.94) 48%,
        rgba(18, 10, 32, 0.96) 100%
    );
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 8px 28px rgba(0, 0, 0, 0.48),
        0 0 40px rgba(var(--hr-orange-rgb), 0.1);
}
/* Crypt sidebar: stacked mini cards (countdown + reserve) fill column with costume row */
.hr-home-crypt-stack {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.hr-home-crypt-cd-novent:not([hidden]) {
    margin-top: 0.5rem;
    padding-top: 0.45rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hr-home-crypt-countdown-card.hr-home-sidebar-mini {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(var(--hr-orange-rgb), 0.38);
    background: linear-gradient(
        152deg,
        rgba(42, 26, 58, 0.88) 0%,
        rgba(14, 9, 22, 0.94) 48%,
        rgba(18, 10, 32, 0.96) 100%
    );
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 10px 32px rgba(0, 0, 0, 0.5),
        0 0 48px rgba(var(--hr-orange-rgb), 0.1);
}
.hr-home-crypt-cd-veil {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 95% 70% at 50% -25%, rgba(var(--hr-orange-rgb), 0.22), transparent 58%),
        radial-gradient(ellipse 60% 45% at 100% 110%, rgba(110, 50, 180, 0.16), transparent 55%),
        radial-gradient(circle at 12% 88%, rgba(255, 255, 255, 0.04), transparent 38%);
    opacity: 1;
}
.hr-home-crypt-cd-inner {
    position: relative;
    z-index: 1;
}
.hr-home-crypt-cd-head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
}
.hr-home-crypt-cd-moon {
    position: relative;
    width: 2.35rem;
    height: 2.35rem;
    flex-shrink: 0;
}
.hr-home-crypt-cd-moon-disc {
    position: absolute;
    inset: 0.15rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #f4e8ff 0%, #c9b6e8 38%, #7b5ea8 100%);
    box-shadow:
        0 0 14px rgba(200, 170, 255, 0.45),
        inset 0 -2px 6px rgba(40, 20, 60, 0.35);
}
.hr-home-crypt-cd-moon-glow {
    position: absolute;
    inset: -0.25rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--hr-orange-rgb), 0.35) 0%, transparent 70%);
    opacity: 0.55;
    animation: hr-home-crypt-moon-pulse 4.2s ease-in-out infinite;
}
@keyframes hr-home-crypt-moon-pulse {
    0%, 100% { transform: scale(1); opacity: 0.45; }
    50% { transform: scale(1.08); opacity: 0.75; }
}
.hr-home-crypt-cd-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem 0.28rem;
    margin-bottom: 0.45rem;
}
.hr-home-crypt-cd-cell {
    text-align: center;
    padding: 0.28rem 0.1rem 0.32rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.hr-home-crypt-cd-val {
    display: block;
    font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 12px rgba(var(--hr-orange-rgb), 0.35);
}
.hr-home-crypt-cd-cap {
    display: block;
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.52);
    margin-top: 0.12rem;
}
.hr-home-crypt-cd-date {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.48);
    margin: 0;
    text-align: center;
    letter-spacing: 0.04em;
}
.hr-home-crypt-cd-date:empty {
    display: none;
}
.hr-home-crypt-cd-done {
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
    color: rgba(255, 220, 190, 0.95);
    margin: 0.35rem 0 0;
    text-shadow: 0 0 18px rgba(var(--hr-orange-rgb), 0.35);
}
.hr-home-crypt-countdown-card.hr-home-crypt-cd--arrived .hr-home-crypt-cd-live {
    display: none;
}
.hr-home-crypt-countdown-card.hr-home-crypt-cd--arrived .hr-home-crypt-cd-done {
    display: block !important;
}

.hr-home-crypt-reserve-card {
    position: relative;
    flex: 1 1 auto;
    min-height: 4.75rem;
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(0, 0, 0, 0.2);
    padding: 0.85rem 1rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hr-home-crypt-reserve-sigil {
    position: absolute;
    inset: -40% -20%;
    background: repeating-linear-gradient(
        -12deg,
        transparent,
        transparent 11px,
        rgba(255, 255, 255, 0.02) 11px,
        rgba(255, 255, 255, 0.02) 12px
    );
    opacity: 0.5;
    pointer-events: none;
}
.hr-home-crypt-reserve-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}
.hr-home-crypt-reserve-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.35rem;
    border-radius: 50%;
    font-size: 0.82rem;
    color: rgba(var(--hr-orange-rgb), 0.95);
    background: rgba(var(--hr-orange-rgb), 0.12);
    border: 1px solid rgba(var(--hr-orange-rgb), 0.28);
    box-shadow: 0 0 20px rgba(var(--hr-orange-rgb), 0.12);
}
.hr-home-crypt-reserve-line {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
    margin: 0;
    font-weight: 600;
}
.hr-home-crypt-reserve-emp {
    color: rgba(255, 200, 160, 0.75);
}

@media (prefers-reduced-motion: reduce) {
    .hr-home-duo-card.hr-home-crypt-hmeter-card.hr-home-sidebar-mini:hover {
        transform: none;
    }
    .hr-home-crypt-cd-moon-glow {
        animation: none;
        opacity: 0.5;
    }
    .hr-costume-mist-layer,
    .hr-costume-ember,
    .hr-costume-ghost,
    .hr-costume-btn--working,
    .hr-costume--full .hr-costume-full-outer__halo,
    .hr-costume--spotlight .hr-costume-full-outer__halo,
    .hr-costume--full .hr-costume-full-runes span:nth-child(2),
    .hr-costume--spotlight .hr-costume-full-runes span:nth-child(2) { animation: none; }
    .hr-costume-btn--working { transform: none; }
}

/* ── Homepage: Today’s Haunted Trivia + blog spotlight (above feature cards) ─ */
.hr-home-haunted-blog-duo {
    padding-top: 0.35rem;
    padding-bottom: 1.75rem;
}
@media (min-width: 992px) {
    .hr-home-haunted-blog-duo {
        padding-bottom: 2.25rem;
    }
}
.hr-home-duo-row {
    align-items: stretch;
}
.hr-home-duo-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--hr-border-light);
    background: rgba(255, 255, 255, 0.04);
    padding: 1.35rem 1.35rem 1.25rem;
    color: var(--hr-text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
/* Haunt-O-Meter: same mini-card layout; violet border / veil to distinguish from orange pair */
.hr-home-duo-card.hr-home-crypt-hmeter-card.hr-home-sidebar-mini {
    border: 1px solid rgba(130, 90, 200, 0.44);
    background: linear-gradient(
        158deg,
        rgba(36, 22, 58, 0.92) 0%,
        rgba(16, 10, 32, 0.95) 52%,
        rgba(22, 12, 40, 0.96) 100%
    );
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 8px 26px rgba(0, 0, 0, 0.45),
        0 0 36px rgba(130, 90, 200, 0.12);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.hr-home-duo-card.hr-home-crypt-hmeter-card.hr-home-sidebar-mini:hover {
    border-color: rgba(170, 130, 240, 0.55);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 44px rgba(130, 90, 200, 0.2);
    transform: translateY(-1px);
}
.hr-home-crypt-hmeter-veil {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 90% 65% at 50% -20%, rgba(160, 120, 255, 0.2), transparent 55%),
        radial-gradient(ellipse 55% 40% at 0% 100%, rgba(var(--hr-orange-rgb), 0.12), transparent 52%);
    opacity: 1;
}
/* Friendsboard: teal accent, external community link */
.hr-home-duo-card.hr-home-crypt-friends-card.hr-home-sidebar-mini {
    border: 1px solid rgba(55, 170, 150, 0.45);
    background: linear-gradient(
        158deg,
        rgba(18, 42, 40, 0.92) 0%,
        rgba(10, 22, 28, 0.95) 52%,
        rgba(12, 28, 32, 0.96) 100%
    );
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 8px 26px rgba(0, 0, 0, 0.45),
        0 0 36px rgba(45, 170, 150, 0.1);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.hr-home-duo-card.hr-home-crypt-friends-card.hr-home-sidebar-mini:hover {
    border-color: rgba(90, 210, 185, 0.55);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 44px rgba(55, 200, 170, 0.18);
    transform: translateY(-1px);
}
.hr-home-crypt-friends-veil {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 88% 60% at 50% -18%, rgba(60, 200, 170, 0.16), transparent 54%),
        radial-gradient(ellipse 50% 38% at 100% 100%, rgba(var(--hr-orange-rgb), 0.1), transparent 50%);
    opacity: 1;
}
.hr-home-crypt-friends-card .hr-home-sidebar-mini-body {
    position: relative;
    z-index: 1;
}
.hr-home-duo-card--trivia {
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
}
.hr-home-duo-kicker--trivia {
    color: #9a6f4a;
}
.hr-home-duo-title--trivia {
    color: #c4a574;
}
/* Trivia “paper” frame: same footprint as blog media (.hr-home-duo-blog-media) */
.hr-home-duo-trivia-media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.15rem;
    text-align: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.hr-home-duo-trivia-media--parchment {
    background-color: #2a2219;
    background-image: linear-gradient(
        165deg,
        rgba(62, 48, 36, 0.55) 0%,
        rgba(28, 22, 16, 0.2) 45%,
        rgba(45, 36, 26, 0.4) 100%
    ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.04) 2px,
            rgba(0, 0, 0, 0.04) 3px
        );
    border: 1px solid rgba(74, 58, 42, 0.65);
    box-shadow: inset 0 1px 0 rgba(255, 248, 235, 0.06), 0 2px 12px rgba(0, 0, 0, 0.35);
}
/* Parchment scan: assets/images/home-haunted-trivia-paper.{webp,png,jpg} - --hr-trivia-paper on this div */
.hr-home-duo-trivia-media--scan {
    background-color: #1f1a14;
    background-image: linear-gradient(to bottom, rgba(12, 10, 8, 0.5), rgba(12, 10, 8, 0.28)),
        var(--hr-trivia-paper);
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    border: none;
    box-shadow: inset 0 1px 0 rgba(255, 248, 235, 0.05), 0 2px 12px rgba(0, 0, 0, 0.4);
}
.hr-home-duo-trivia-media .hr-home-duo-trivia-text {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.62;
    letter-spacing: 0.01em;
    color: #2a170d;
    max-width: 42ch;
}
.hr-home-duo-trivia-media--parchment .hr-home-duo-trivia-text {
    color: #221109;
}
.hr-home-duo-trivia-media--scan .hr-home-duo-trivia-text {
    color: #3d2616;
}
.hr-home-duo-foot--trivia {
    color: rgba(255, 255, 255, 0.94) !important;
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.55;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}
.hr-home-duo-card--blog {
    color: inherit;
}
.hr-home-duo-card--blog:hover {
    border-color: rgba(var(--hr-orange-rgb), 0.45);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
    transform: translateY(-2px);
    color: var(--hr-text);
}
.hr-home-duo-card--empty {
    opacity: 0.92;
}
.hr-home-duo-kicker {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--hr-orange);
    margin-bottom: 0.5rem;
}
.hr-home-duo-kicker i {
    margin-right: 0.35rem;
    opacity: 0.9;
}
.hr-home-duo-title {
    font-family: var(--hr-font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 0.75rem;
    color: #fff;
}
.hr-home-duo-title--blog {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}
.hr-home-duo-trivia-text {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--hr-text);
}
.hr-home-duo-foot {
    line-height: 1.4;
}
.hr-home-duo-blog-media {
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    max-height: 220px;
}
.hr-home-duo-blog-media:not(.hr-home-duo-trivia-media) {
    background: rgba(0, 0, 0, 0.35);
}
.hr-home-duo-blog-media.hr-home-duo-trivia-media {
    overflow-x: hidden;
    overflow-y: auto;
}
.hr-home-duo-blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hr-home-duo-blog-placeholder {
    width: 100%;
    height: 100%;
    min-height: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(var(--hr-purple-rgb), 0.2), rgba(0, 0, 0, 0.35));
}
.hr-home-duo-blog-placeholder i {
    font-size: 2.75rem;
    color: var(--hr-text-dim);
    opacity: 0.45;
}
.hr-home-duo-blog-cta {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--hr-orange);
    letter-spacing: 0.02em;
}

/* ── Homepage feature cards (above quick nav) ─ */
.hr-home-feature-cards {
    padding-top: 0.5rem;
    padding-bottom: 2.25rem;
    margin-bottom: 0.5rem;
}
@media (min-width: 992px) {
    .hr-home-feature-cards {
        padding-top: 1rem;
        margin-top: 0.25rem;
        padding-bottom: 3rem;
        margin-bottom: 0.75rem;
    }
}
.hr-feature-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--hr-border-light);
    border-radius: 18px;
    padding: 1.5rem 1.35rem 1.35rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.hr-feature-card:hover {
    border-color: rgba(244, 131, 27, 0.35);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}
.hr-feature-card-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 4rem;
    margin-bottom: 1rem;
}
.hr-feature-card-emoji {
    font-size: 2.75rem;
    line-height: 1;
}
.hr-feature-card-fa {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 14px;
    background: rgba(244, 131, 27, 0.12);
    color: var(--hr-orange);
    font-size: 1.5rem;
}
.hr-feature-card-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    padding: 4px;
}
.hr-feature-card-title {
    font-family: var(--hr-font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.65rem;
    text-align: center;
    color: var(--hr-text, #f0f0f0);
}
.hr-feature-card-text {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--hr-text-muted, #a8a4b0);
    margin: 0;
    text-align: center;
}
.hr-feature-card-actions .btn.hr-btn-primary {
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 12px;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
}
@media (max-width: 991.98px) {
    .hr-home-feature-cards {
        padding-top: 0.25rem;
        padding-bottom: 2rem;
    }
}

/* ======================================================
   AUTH PAGES
   ====================================================== */
.hr-auth-card {
    background: var(--hr-card);
    border: 1px solid var(--hr-border);
    border-radius: var(--hr-radius-xl);
    padding: 2rem;
}

/* ======================================================
   THE HAUNTED CRYPT (member hub /haunted-crypt; classes .hr-crypt-*)
   ====================================================== */
body.hr-page-haunted-crypt section.hr-section,
.hr-crypt-hub section.hr-section {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}
@media (min-width: 992px) {
    body.hr-page-haunted-crypt section.hr-section,
    .hr-crypt-hub section.hr-section {
        padding-top: 1.75rem;
        padding-bottom: 1.75rem;
    }
}
body.hr-page-haunted-crypt .hr-crypt-equal-row,
.hr-crypt-hub .hr-crypt-equal-row {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1rem;
}
.hr-crypt-card {
    background: var(--hr-card);
    border: 1px solid var(--hr-border);
    border-radius: var(--hr-radius-xl);
    padding: 1.5rem;
    height: auto;
    min-height: 0;
}
/* Equal-height crypt cards only in multi-column dashboard rows */
.hr-crypt-equal-row > [class*="col-"] > .hr-crypt-card {
    height: 100%;
}
.hr-crypt-card--muted {
    opacity: 0.78;
    background: rgba(36, 36, 36, 0.55);
    border-color: rgba(255, 255, 255, 0.06);
}
.hr-crypt-card--muted h4 {
    color: var(--hr-text-muted);
}
.hr-crypt-list--costumes .hr-crypt-costume-open {
    color: inherit;
}
.hr-crypt-list--costumes .hr-crypt-costume-open:hover .text-white {
    color: var(--hr-orange) !important;
}

/* Haunted Crypt: costume detail modal */
.hr-crypt-costume-modal__shell {
    background: linear-gradient(165deg, #2a2220 0%, #1a1518 45%, #121010 100%);
    border-radius: var(--hr-radius-lg);
    border: 1px solid rgba(var(--hr-orange-rgb), 0.22);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    overflow: hidden;
}
.hr-crypt-costume-modal__eyebrow {
    letter-spacing: 0.12em;
    color: rgba(244, 131, 27, 0.85);
    font-weight: 600;
}
.hr-crypt-costume-modal__visual {
    max-width: 420px;
    border-radius: var(--hr-radius);
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--hr-border);
    padding: 1rem;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.35);
}
.hr-crypt-costume-modal__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 200px;
    color: var(--hr-text-muted);
}
.hr-crypt-costume-modal__placeholder .fa-hat-wizard {
    font-size: 3rem;
    opacity: 0.35;
    color: var(--hr-orange);
}
.hr-crypt-costume-modal__img {
    display: block;
    width: 100%;
    max-height: min(52vh, 420px);
    object-fit: contain;
    border-radius: var(--hr-radius-sm);
}

.hr-blog-article-actions .hr-blog-bookmark-btn .fa-bookmark {
    margin-right: 0.35rem;
}
.hr-blog-article-actions .hr-blog-bookmark-label {
    font-size: 0.85rem;
}
.hr-crypt-profile { text-align: center; }
.hr-crypt-avatar { width: 90px; height: 90px; margin: 0 auto 1rem; }
.hr-crypt-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--hr-orange); }
.hr-crypt-meta { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.85rem; color: var(--hr-text-muted); }
.hr-crypt-supporter { color: var(--hr-gold); font-weight: 600; }
.hr-crypt-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-top: 0.75rem; }
.hr-crypt-stat { text-align: center; padding: 0.6rem 0; background: rgba(255,255,255,0.03); border-radius: var(--hr-radius); }
.hr-crypt-stat-val { display: block; font-size: 1.5rem; font-weight: 700; color: var(--hr-orange); }
.hr-crypt-stat-label { font-size: 0.75rem; color: var(--hr-text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.hr-crypt-list { list-style: none; padding: 0; margin: 0; }
.hr-crypt-list li { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid var(--hr-border); font-size: 0.88rem; }
.hr-crypt-list li:last-child { border-bottom: none; }
.hr-crypt-list a { color: var(--hr-text); text-decoration: none; }
.hr-crypt-list a:hover { color: var(--hr-orange); }
.hr-crypt-score { font-weight: 600; color: var(--hr-orange); }

.hr-crypt-supporter-box {
    background: linear-gradient(135deg, rgba(var(--hr-orange-rgb), 0.06) 0%, rgba(201, 165, 78, 0.06) 100%);
    border-color: rgba(var(--hr-orange-rgb), 0.2);
}

/* Supporter tier: animated wand + micro sparkles (VIP uses .hr-crypt-supporter-box--vip for a different treatment later) */
.hr-crypt-supporter-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.hr-crypt-supporter-wand-static {
    color: var(--hr-gold);
    margin-right: 0.15rem;
}
.hr-crypt-supporter-box--sparkle {
    position: relative;
    border-color: rgba(255, 214, 120, 0.28);
    box-shadow:
        0 0 0 1px rgba(255, 220, 140, 0.06) inset,
        0 0 28px rgba(255, 200, 80, 0.08);
}
.hr-crypt-supporter-box--sparkle > .row {
    position: relative;
    z-index: 1;
}
.hr-crypt-supporter-stars-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: var(--hr-radius-xl);
}
.hr-crypt-starfield-star {
    position: absolute;
    font-size: 0.34rem;
    color: rgba(255, 248, 225, 0.42);
    text-shadow: 0 0 6px rgba(255, 210, 130, 0.55);
    pointer-events: none;
    animation: hr-crypt-starfield-glimmer 2.9s ease-in-out infinite;
}
.hr-crypt-starfield-star--1 { top: 9%; left: 10%; animation-delay: 0s; font-size: 0.3rem; }
.hr-crypt-starfield-star--2 { top: 14%; right: 12%; animation-delay: 0.35s; }
.hr-crypt-starfield-star--3 { top: 38%; left: 6%; animation-delay: 0.7s; font-size: 0.42rem; }
.hr-crypt-starfield-star--4 { top: 48%; right: 8%; animation-delay: 1.05s; font-size: 0.28rem; }
.hr-crypt-starfield-star--5 { top: 62%; left: 14%; animation-delay: 0.2s; }
.hr-crypt-starfield-star--6 { bottom: 18%; right: 10%; animation-delay: 0.85s; font-size: 0.38rem; }
.hr-crypt-starfield-star--7 { bottom: 10%; left: 22%; animation-delay: 1.2s; font-size: 0.26rem; }
.hr-crypt-starfield-star--8 { top: 22%; left: 42%; animation-delay: 0.5s; }
.hr-crypt-starfield-star--9 { top: 8%; right: 28%; animation-delay: 1.4s; font-size: 0.36rem; }
.hr-crypt-starfield-star--10 { bottom: 28%; left: 8%; animation-delay: 0.15s; }
.hr-crypt-starfield-star--11 { top: 72%; right: 18%; animation-delay: 1.1s; font-size: 0.32rem; }
.hr-crypt-starfield-star--12 { bottom: 14%; right: 32%; animation-delay: 0.65s; }
.hr-crypt-starfield-star--13 { top: 52%; left: 36%; animation-delay: 1.25s; font-size: 0.24rem; }
.hr-crypt-starfield-star--14 { top: 30%; right: 4%; animation-delay: 0.95s; }
.hr-crypt-starfield-star--15 { bottom: 36%; left: 48%; animation-delay: 0.4s; font-size: 0.4rem; }
.hr-crypt-starfield-star--16 { top: 78%; left: 28%; animation-delay: 1.3s; font-size: 0.3rem; }
@keyframes hr-crypt-starfield-glimmer {
    0%, 100% {
        opacity: 0.2;
        transform: scale(0.55) rotate(-8deg);
    }
    50% {
        opacity: 0.95;
        transform: scale(1) rotate(0deg);
    }
}
.hr-crypt-supporter-wand-cluster {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-right: 0.15rem;
    flex-shrink: 0;
}
.hr-crypt-supporter-wand-icon {
    position: relative;
    z-index: 2;
    font-size: 1.4rem;
    color: #ffe9a8;
    filter: drop-shadow(0 0 5px rgba(255, 210, 120, 0.55)) drop-shadow(0 0 14px rgba(255, 180, 60, 0.35));
    animation: hr-crypt-wand-shine 2.4s ease-in-out infinite;
    transform-origin: 60% 90%;
}
@keyframes hr-crypt-wand-shine {
    0%, 100% {
        transform: rotate(-5deg) scale(1);
        filter: drop-shadow(0 0 4px rgba(255, 210, 120, 0.45)) drop-shadow(0 0 10px rgba(255, 170, 50, 0.25));
    }
    45% {
        transform: rotate(8deg) scale(1.06);
        filter: drop-shadow(0 0 10px rgba(255, 235, 180, 0.9)) drop-shadow(0 0 20px rgba(255, 190, 80, 0.5));
    }
    70% {
        transform: rotate(-2deg) scale(1.02);
    }
}
.hr-crypt-sparkle-icon {
    position: absolute;
    z-index: 3;
    font-size: 0.42rem;
    color: #fffdf0;
    text-shadow: 0 0 6px rgba(255, 220, 150, 0.95), 0 0 12px rgba(255, 180, 60, 0.7);
    pointer-events: none;
    animation: hr-crypt-sparkle-twinkle 2.1s ease-in-out infinite;
    opacity: 0.85;
}
.hr-crypt-sparkle-icon--a {
    top: 2px;
    left: -2px;
    animation-delay: 0s;
}
.hr-crypt-sparkle-icon--b {
    top: -4px;
    right: -6px;
    font-size: 0.55rem;
    animation-delay: 0.45s;
}
.hr-crypt-sparkle-icon--c {
    bottom: 0;
    right: -2px;
    animation-delay: 0.9s;
}
.hr-crypt-sparkle-icon--d {
    top: 42%;
    left: -6px;
    font-size: 0.36rem;
    animation-delay: 0.18s;
}
.hr-crypt-sparkle-icon--e {
    bottom: -3px;
    left: 2px;
    font-size: 0.4rem;
    animation-delay: 0.55s;
}
.hr-crypt-sparkle-icon--f {
    top: 4px;
    right: -2px;
    font-size: 0.34rem;
    animation-delay: 1.05s;
}
.hr-crypt-sparkle-icon--g {
    bottom: 10px;
    left: 50%;
    margin-left: -0.35rem;
    font-size: 0.48rem;
    animation-delay: 1.28s;
}
@keyframes hr-crypt-sparkle-twinkle {
    0%, 100% {
        opacity: 0.2;
        transform: scale(0.45) translateY(2px);
    }
    35% {
        opacity: 1;
        transform: scale(1.15) translateY(0);
    }
    55% {
        opacity: 0.65;
        transform: scale(0.85) translateY(-1px);
    }
}
@media (prefers-reduced-motion: reduce) {
    .hr-crypt-supporter-wand-icon {
        animation: none;
        transform: none;
        filter: drop-shadow(0 0 6px rgba(255, 210, 120, 0.5));
    }
    .hr-crypt-sparkle-icon {
        animation: none;
        opacity: 0.95;
        transform: none;
    }
    .hr-crypt-starfield-star {
        animation: none;
        opacity: 0.5;
        transform: none;
    }
}

.hr-crypt-activity { display: flex; flex-direction: column; gap: 0.5rem; }
.hr-crypt-activity-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; }
.hr-crypt-activity-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--hr-orange); flex-shrink: 0; }

/* Zombie poke */
.hr-crypt-zombie { text-align: center; }
/* Settings avatar card: large preview + two-column body */
.hr-crypt-card--avatar {
    overflow-x: hidden;
    max-width: 100%;
}
.hr-crypt-avatar-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-start;
}
.hr-crypt-avatar-preview {
    flex: 0 0 auto;
    text-align: center;
    padding-top: 0.25rem;
}
.hr-crypt-avatar-preview-label {
    display: block;
    letter-spacing: 0.06em;
    font-size: 0.65rem;
    margin-bottom: 0.5rem;
}
.hr-crypt-avatar-preview-ring {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    padding: 4px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(var(--hr-orange-rgb), 0.35), rgba(201, 165, 78, 0.15), rgba(0, 0, 0, 0.4));
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 12px 28px rgba(0, 0, 0, 0.35);
}
.hr-crypt-avatar-preview-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid rgba(0, 0, 0, 0.45);
}
.hr-crypt-avatar-panel-body {
    flex: 1 1 220px;
    min-width: 0;
}
.hr-avatar-block-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
    color: var(--hr-text);
}
.hr-avatar-block--empty {
    padding: 0.85rem 1rem;
    border-radius: var(--hr-radius);
    border: 1px dashed var(--hr-border);
    background: rgba(255, 255, 255, 0.02);
}
.hr-avatar-upload-form {
    max-width: 100%;
}
.hr-avatar-file-group {
    min-width: 0;
    max-width: 100%;
}
.hr-avatar-file-group .form-control {
    min-width: 0;
    flex: 1 1 auto;
    background: rgba(0, 0, 0, 0.25);
    border-color: var(--hr-border);
    color: var(--hr-text);
    font-size: 0.8rem;
}
.hr-avatar-file-group .form-control::file-selector-button {
    margin-right: 0.75rem;
    padding: 0.35rem 0.75rem;
    border: none;
    border-radius: var(--hr-radius);
    background: rgba(var(--hr-orange-rgb), 0.2);
    color: var(--hr-orange);
    font-weight: 600;
    font-size: 0.75rem;
}
.hr-avatar-file-group .form-control:hover::file-selector-button {
    background: rgba(var(--hr-orange-rgb), 0.35);
}
.hr-avatar-file-group .btn {
    flex-shrink: 0;
}
@media (max-width: 575.98px) {
    .hr-avatar-file-group {
        flex-wrap: wrap;
    }
    .hr-avatar-file-group .form-control {
        flex: 1 1 100%;
        border-radius: var(--hr-radius-sm) var(--hr-radius-sm) 0 0;
    }
    .hr-avatar-file-group .btn {
        flex: 1 1 100%;
        border-radius: 0 0 var(--hr-radius-sm) var(--hr-radius-sm);
    }
}
.hr-crypt-avatar-current img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--hr-orange);
}
.hr-zombie-art { font-size: 3.5rem; cursor: pointer; user-select: none; transition: transform 0.15s; }
.hr-zombie-art:hover { transform: scale(1.1); }
.hr-zombie-art:active { transform: scale(0.9); }
.hr-zombie-shake { animation: hrZombieShake 0.4s; }
@keyframes hrZombieShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px) rotate(-3deg); }
    40% { transform: translateX(6px) rotate(3deg); }
    60% { transform: translateX(-4px) rotate(-2deg); }
    80% { transform: translateX(4px) rotate(2deg); }
}
.hr-zombie-progress { height: 6px; background: rgba(var(--hr-orange-rgb), 0.12); border-radius: 4px; overflow: hidden; margin: 0.5rem 0; }
.hr-zombie-fill { height: 100%; background: var(--hr-orange); border-radius: 4px; transition: width 0.5s; }
.hr-zombie-msg { font-size: 0.8rem; color: var(--hr-orange); min-height: 1.2em; }

/* ======================================================
   BADGES
   ====================================================== */
.hr-badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0.75rem; }
.hr-badge-item { display: flex; gap: 0.75rem; padding: 0.85rem; background: var(--hr-card); border: 1px solid var(--hr-border); border-radius: var(--hr-radius); transition: border-color var(--hr-transition); }
.hr-badge-earned { border-color: rgba(var(--hr-orange-rgb), 0.4); }
.hr-badge-locked { opacity: 0.45; }
.hr-badge-icon { flex-shrink: 0; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(var(--hr-orange-rgb), 0.1); font-size: 1.2rem; color: var(--hr-orange); }
.hr-badge-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.hr-badge-info { min-width: 0; }
.hr-badge-date { color: var(--hr-orange); }

/* Preset avatar selector (settings + anywhere) */
.hr-preset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
    gap: 0.65rem;
    max-width: 100%;
}
.hr-preset-option {
    cursor: pointer;
    margin: 0;
    position: relative;
}
.hr-preset-option-frame {
    display: block;
    border-radius: 50%;
    padding: 3px;
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid var(--hr-border);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.hr-preset-option img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.hr-preset-option:hover .hr-preset-option-frame {
    border-color: rgba(var(--hr-orange-rgb), 0.45);
    transform: translateY(-2px);
}
.hr-preset-option input:focus-visible + .hr-preset-option-frame {
    outline: 2px solid var(--hr-orange);
    outline-offset: 2px;
}
.hr-preset-option input:checked + .hr-preset-option-frame {
    border-color: var(--hr-orange);
    box-shadow: 0 0 0 3px rgba(var(--hr-orange-rgb), 0.25);
    background: rgba(var(--hr-orange-rgb), 0.08);
}

/* ======================================================
   COUNTDOWN / SEASONAL CALENDAR
   ====================================================== */
.hr-season-timeline { margin-top: 1rem; }
.hr-season-heading { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; color: var(--hr-text); text-align: center; }
.hr-season-track { display: flex; flex-direction: column; gap: 0; position: relative; padding-left: 1.5rem; }
.hr-season-track::before { content: ''; position: absolute; left: 0.55rem; top: 0; bottom: 0; width: 2px; background: var(--hr-border); }
.hr-season-phase { display: flex; gap: 0.75rem; padding: 0.65rem 0.75rem; position: relative; border-radius: var(--hr-radius); transition: background var(--hr-transition); }
.hr-season-phase::before { content: ''; position: absolute; left: -1.15rem; top: 50%; transform: translateY(-50%); width: 10px; height: 10px; border-radius: 50%; background: var(--hr-border); border: 2px solid var(--hr-bg); z-index: 1; }
.hr-season-active { background: rgba(var(--hr-orange-rgb), 0.08); }
.hr-season-active::before { background: var(--hr-orange); box-shadow: 0 0 6px rgba(var(--hr-orange-rgb), 0.5); }
.hr-season-past::before { background: var(--hr-text-dim); }
.hr-season-featured { font-weight: 600; }
.hr-season-milestone .hr-season-icon { font-size: 1.1rem; }
.hr-season-icon { flex-shrink: 0; width: 1.5rem; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: var(--phase-color); }
.hr-season-body { min-width: 0; flex: 1; }
.hr-season-title { display: block; font-size: 0.88rem; }
.hr-season-dates { display: block; font-size: 0.72rem; color: var(--hr-text-dim); }
.hr-season-desc { display: block; font-size: 0.75rem; color: var(--hr-text-muted); margin-top: 0.15rem; }
.hr-season-now { font-size: 0.6rem; text-transform: uppercase; font-weight: 700; color: var(--hr-orange); background: rgba(var(--hr-orange-rgb), 0.15); padding: 0.1rem 0.4rem; border-radius: 4px; align-self: center; white-space: nowrap; }
.hr-season-subheading { font-size: 1rem; font-weight: 700; margin-bottom: 0.65rem; color: var(--hr-text); }

/* Season cue under hero countdown (.hr-cd) */
.hr-cd-season-line {
    margin-top: 0.65rem;
    margin-bottom: 0;
    font-size: 0.78rem;
    line-height: 1.45;
    text-align: left;
    max-width: 36rem;
    margin-left: 0;
    margin-right: auto;
    width: 100%;
}
.hr-cd-season-link {
    color: var(--hr-text-muted);
    text-decoration: none;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.65rem;
    text-align: left;
}
.hr-cd-season-link:hover {
    color: var(--hr-orange);
}
.hr-cd-season-main {
    display: inline;
    min-width: 0;
}
.hr-cd-season-text { font-weight: 600; color: var(--hr-text); }
.hr-cd-season-desc {
    font-weight: 400;
    opacity: 0.92;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
}
.hr-cd-season-more {
    display: inline-flex;
    align-items: baseline;
    flex-shrink: 0;
    font-size: 0.72rem;
    color: var(--hr-orange);
    white-space: nowrap;
}
.hr-cd-season-more-gap {
    display: inline-block;
    width: 0.35rem;
}

/* Grouped main nav dropdowns */
.hr-navbar .hr-nav-dd .dropdown-toggle::after { margin-left: 0.35em; }
.hr-navbar .hr-nav-dd .dropdown-menu {
    border: 1px solid var(--hr-border, rgba(255,255,255,0.12));
    border-radius: 10px;
    padding: 0.35rem 0;
    min-width: 11rem;
}
.hr-navbar .hr-nav-dd .dropdown-item { font-size: 0.9rem; }
.hr-navbar .hr-nav-dd .dropdown-item.active {
    background: rgba(var(--hr-orange-rgb), 0.2);
    color: var(--hr-orange);
}

/* ======================================================
   STATION FINDER (test page)
   ====================================================== */
.hr-finder-grid { display: flex; flex-direction: column; gap: 0.75rem; }
.hr-finder-card { display: flex; gap: 1rem; padding: 1.25rem; background: var(--hr-card); border: 1px solid var(--hr-border); border-radius: var(--hr-radius-xl); transition: border-color var(--hr-transition); }
.hr-finder-card:hover { border-color: var(--finder-accent); }
.hr-finder-emoji { font-size: 2rem; flex-shrink: 0; width: 3rem; text-align: center; align-self: flex-start; margin-top: 0.1rem; }
.hr-finder-body { flex: 1; min-width: 0; }
.hr-finder-question { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.hr-finder-reason { font-size: 0.85rem; color: var(--hr-text-muted); margin-bottom: 0.5rem; }
.hr-finder-action { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.hr-finder-station { font-weight: 600; font-size: 0.85rem; }
