/* ============================================
   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-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;
}

.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;
}

.hr-brand-icon {
    font-size: 1.4rem;
    color: var(--hr-orange);
    animation: ghostFloat 3s ease-in-out infinite;
}

.hr-brand-text {
    font-family: var(--hr-font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
}

.hr-brand-accent { color: var(--hr-orange); }

.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);
}

.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 */
.hr-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at 15% 85%, rgba(var(--hr-purple-rgb), 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 15%, rgba(var(--hr-orange-rgb), 0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 50%, rgba(var(--hr-red-rgb), 0.04) 0%, transparent 70%),
        linear-gradient(180deg, var(--hr-darker) 0%, 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;
}

.hr-hero-content {
    position: relative;
    z-index: 3;
    padding: 4rem 0;
}

.hr-hero-row { min-height: 60vh; }

.hr-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--hr-font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--hr-orange);
    background: rgba(var(--hr-orange-rgb), 0.1);
    border: 1px solid rgba(var(--hr-orange-rgb), 0.25);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease both;
}

.hr-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    text-transform: none;
    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: 1.15rem;
    color: var(--hr-text-muted);
    max-width: 520px;
    margin-bottom: 2rem;
    line-height: 1.8;
    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.1);
    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-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: 8px;
    background:
        linear-gradient(180deg,
            rgba(var(--hr-orange-rgb), 0.10) 0%,
            rgba(var(--hr-orange-rgb), 0.03) 48%,
            rgba(0,0,0,0.12) 52%,
            rgba(0,0,0,0.04) 100%),
        rgba(var(--hr-orange-rgb), 0.04);
    border: 1px solid rgba(var(--hr-orange-rgb), 0.12);
    box-shadow:
        0 2px 8px rgba(0,0,0,0.4),
        0 0 16px rgba(var(--hr-orange-rgb), 0.06),
        inset 0 1px 0 rgba(255,255,255,0.06);
    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 20px rgba(var(--hr-orange-rgb), 0.15),
        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 ──────────────────────── */
.hr-cd-ghost {
    position: absolute;
    margin-left: -16px;
    margin-top: -10px;
    width: 32px;
    pointer-events: none;
    z-index: 50;
    animation: hrGhostRise 2s ease-out forwards;
}
.hr-cd-ghost-body {
    display: block;
    width: 32px;
    height: 36px;
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(230,230,230,0.75));
    border-radius: 16px 16px 0 0;
    position: relative;
    box-shadow: 0 0 12px rgba(255,255,255,0.15);
}
.hr-cd-ghost-eyes {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 8px;
}
.hr-cd-ghost-eyes::before,
.hr-cd-ghost-eyes::after {
    content: '';
    position: absolute;
    top: 0;
    width: 6px;
    height: 7px;
    border-radius: 50%;
    background: #1a1a1a;
}
.hr-cd-ghost-eyes::before { left: 0; }
.hr-cd-ghost-eyes::after  { right: 0; }
.hr-cd-ghost-tail {
    display: flex;
    width: 32px;
    margin-top: -1px;
}
.hr-cd-ghost-tail::before,
.hr-cd-ghost-tail::after,
.hr-cd-ghost-tail span {
    flex: 1;
    height: 10px;
}
.hr-cd-ghost-tail::before {
    content: '';
    background: rgba(240,240,240,0.8);
    border-radius: 0 0 50% 50%;
}
.hr-cd-ghost-tail::after {
    content: '';
    background: rgba(240,240,240,0.8);
    border-radius: 0 0 50% 50%;
}
@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); }
}

/* ── Second bat ───────────────────────── */
.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 55px;
    pointer-events: none;
    z-index: 50;
    opacity: 0.75;
    --bat-dx: 80px;
    --bat-dy: -140px;
    animation: hrBatFly 1.8s ease-out forwards;
}
@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); }
}

/* ── 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: rgba(var(--hr-orange-rgb), 0.3);
    padding: 0 6px;
    user-select: none;
}

/* Unit label */
.hr-cd-label {
    display: block;
    font-family: var(--hr-font-heading);
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(var(--hr-orange-rgb), 0.45);
    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: var(--hr-text);
    border: 1px solid var(--hr-border-light);
    border-radius: var(--hr-radius);
    padding: 0.75rem 1.75rem;
    transition: all var(--hr-transition);
}

.hr-btn-outline:hover {
    color: #fff;
    border-color: var(--hr-orange);
    background: rgba(var(--hr-orange-rgb), 0.08);
}

.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);
}

/* 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;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hr-player-artist {
    font-size: 0.78rem;
    color: var(--hr-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 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 --------------- */
@keyframes ghostFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@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);
}

/* --------------- 16. Responsive --------------- */
@media (max-width: 991.98px) {
    :root {
        --hr-section-py: 3.5rem;
    }

    .hr-section-title { font-size: 2rem; }
    .hr-hero { min-height: 72vh; }
    .hr-hero-title { font-size: 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; }
    .hr-hero { min-height: 65vh; }
    .hr-hero-title { font-size: 1.8rem; }
    .hr-hero-subtitle { font-size: 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: 22px; margin-left: -11px; }
    .hr-cd-ghost-body { width: 22px; height: 25px; border-radius: 11px 11px 0 0; }
    .hr-cd-ghost-eyes { top: 8px; width: 12px; }
    .hr-cd-ghost-eyes::before, .hr-cd-ghost-eyes::after { width: 4px; height: 5px; }
    .hr-cd-ghost-tail { width: 22px; }
    .hr-cd-ghost-tail::before, .hr-cd-ghost-tail::after, .hr-cd-ghost-tail span { height: 7px; }
    .hr-cd-bat { width: 18px; height: 10px; margin-left: -9px; background-size: 18px 41px; }

    .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; }
}

/* --------------- 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;
    min-height: 60vh;
}
#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: 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(1.45rem, 4vw, 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: 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-icon {
    font-size: 1.5rem;
    color: var(--hr-orange);
    margin-bottom: 0.75rem;
}
.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-bottom: 0.35rem;
}

.hr-quick-card p {
    font-size: 0.85rem;
    color: var(--hr-text-muted);
    margin-bottom: 0.75rem;
    flex: 1;
}

.hr-quick-arrow {
    color: var(--hr-text-dim);
    font-size: 0.8rem;
    transition: transform var(--hr-transition), color var(--hr-transition);
}
.hr-quick-card:hover .hr-quick-arrow {
    color: var(--hr-orange);
    transform: translateX(4px);
}
.hr-quick-support:hover .hr-quick-arrow { color: var(--hr-red); }
.hr-quick-premium:hover .hr-quick-arrow { color: var(--hr-gold); }

.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-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); }

/* ======================================================
   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; }
}
