/*
Theme Name: Humphrey Muchuma — Tuinuane
Theme URI: https://humphreymuchuma.com
Author: Humphrey Muchuma
Author URI: https://humphreymuchuma.com
Description: Official campaign and personal brand theme for Humphrey Muchuma — Tuinuane | Webuye West. Dark/light mode, crimson accents, animated hero, 3D stats carousel, live RSS feed panel, and warp-speed scroll.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Private
Text Domain: humphrey-muchuma
*/

/* ============================================================
   THEME TOKENS — DARK (DEFAULT) & LIGHT
   ============================================================ */
:root {
  --crimson:      #ff004d;
  --crimson-dim:  rgba(255,0,77,0.18);
  --crimson-glow: rgba(255,0,77,0.35);
  --border:       rgba(255,0,77,0.22);
  --transition-theme: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* DARK THEME */
[data-theme="dark"] {
  --bg:           #07082e;
  --bg-mid:       #0b0d3a;
  --bg-card:      #0f1245;
  --bg-card2:     #131650;
  --surface:      rgba(15,18,69,0.9);
  --text:         #dde3f5;
  --text-muted:   rgba(210,218,245,0.58);
  --text-strong:  #eef1fb;
  --heading:      #eef1fb;
  --nav-bg:       rgba(7,8,46,0.94);
  --nav-border:   rgba(255,0,77,0.18);
  --glow-img:     rgba(255,255,255,0.85);
  --glow-img-2:   rgba(220,230,255,0.55);
  --shimmer-base: #eef1fb;
  --shimmer-hi:   #ff004d;
  --ticker-bg:    #ff004d;
  --btn-text:     #ffffff;
  --shadow-card:  0 4px 32px rgba(0,0,10,0.5);
  --input-bg:     rgba(255,255,255,0.06);
}

/* LIGHT THEME */
[data-theme="light"] {
  --bg:           #f4f5ff;
  --bg-mid:       #eaecff;
  --bg-card:      #ffffff;
  --bg-card2:     #f0f2ff;
  --surface:      rgba(255,255,255,0.92);
  --text:         #1a1d3a;
  --text-muted:   rgba(26,29,58,0.62);
  --text-strong:  #07082e;
  --heading:      #07082e;
  --nav-bg:       rgba(244,245,255,0.95);
  --nav-border:   rgba(255,0,77,0.2);
  --glow-img:     rgba(255,255,255,0.9);
  --glow-img-2:   rgba(180,190,255,0.4);
  --shimmer-base: #07082e;
  --shimmer-hi:   #ff004d;
  --ticker-bg:    #ff004d;
  --btn-text:     #ffffff;
  --shadow-card:  0 4px 24px rgba(7,8,46,0.12);
  --input-bg:     rgba(7,8,46,0.06);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  transition: var(--transition-theme);
  line-height: 1.7;
}
#page-wrap {
  animation: pageEntrance 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
strong { color: var(--text-strong); font-weight: 600; }

h1,h2,h3,h4,h5,h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--heading);
  line-height: 1.1;
}

/* ============================================================
   SHIMMER ANIMATION
   ============================================================ */
@keyframes shimmerPass {
  0%   { background-position: -400% center; }
  100% { background-position: 400% center; }
}
.shimmer-title {
  background: linear-gradient(
    90deg,
    var(--shimmer-base) 30%,
    var(--shimmer-hi) 45%,
    #ffb3c9 50%,
    var(--shimmer-hi) 55%,
    var(--shimmer-base) 70%
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.shimmer-title.shimmering {
  animation: shimmerPass 8.8s ease-in-out 1;
}
.shimmer-title .accent-word {
  color: var(--crimson);
  -webkit-text-fill-color: var(--crimson);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}
.shimmer-title.shimmering .accent-word {
  color: transparent;
  -webkit-text-fill-color: transparent;
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
}

/* ============================================================
   CURSOR GLOW
   ============================================================ */
.cursor-glow {
  position: fixed; width: 380px; height: 380px;
  border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(255,0,77,0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: left 0.12s ease, top 0.12s ease;
}

/* ============================================================
   PAGE ENTRANCE
   ============================================================ */
@keyframes pageEntrance {
  0%   { opacity: 0; transform: translateY(32px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   THEME TOGGLE BUTTON
   ============================================================ */
#theme-toggle {
  position: fixed; bottom: 28px; right: 28px; z-index: 1000;
  width: 39px; height: 39px; border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--crimson);
  box-shadow: 0 4px 16px rgba(0,0,0,0.5), 0 0 13px var(--crimson-glow);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.98rem;
  transition: box-shadow 0.3s, transform 0.3s;
  color: var(--text);
  opacity: 1 !important;
  overflow: visible;
}
#theme-toggle:hover {
  transform: scale(1.12);
  box-shadow: 0 4px 24px rgba(255,0,77,0.7);
}

@keyframes themeRipple {
  0%   { transform: translate(-50%,-50%) scale(0); opacity: 0.55; }
  60%  { opacity: 0.28; }
  100% { transform: translate(-50%,-50%) scale(22); opacity: 0; }
}
.theme-ripple {
  position: fixed; z-index: 990;
  width: 39px; height: 39px; border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%,-50%) scale(0);
  animation: themeRipple 0.85s cubic-bezier(0.22,1,0.36,1) forwards;
}
.theme-ripple.to-light { background: radial-gradient(circle, rgba(244,245,255,0.95) 0%, rgba(255,0,77,0.18) 60%, transparent 100%); }
.theme-ripple.to-dark  { background: radial-gradient(circle, rgba(7,8,46,0.97) 0%, rgba(255,0,77,0.22) 60%, transparent 100%); }

/* ============================================================
   NAV
   ============================================================ */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  padding: 0 52px;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--nav-bg);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--nav-border);
  transition: all 0.3s, var(--transition-theme);
}
nav.scrolled {
  height: 58px;
  box-shadow: 0 4px 40px rgba(255,0,77,0.12);
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-img {
  width: 40px; height: 40px;
  border-radius: 8px;
  transform: rotate(45deg);
  border: 2px solid var(--crimson);
  overflow: hidden;
  box-shadow: 0 0 14px rgba(255,0,77,0.45);
  flex-shrink: 0;
}
.nav-logo-img img {
  width: 100%; height: 100%; object-fit: cover;
  transform: rotate(-45deg) scale(1.5);
  transform-origin: center;
}
@keyframes nameBreathe {
  0%,100% { opacity: 1; text-shadow: none; }
  50%     { opacity: 0.82; text-shadow: 0 0 18px rgba(255,0,77,0.22); }
}
.nav-logo-name {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1rem;
  color: var(--text-strong); letter-spacing: 0.01em;
  animation: nameBreathe 3.8s ease-in-out infinite;
}
.nav-logo-sub {
  font-family: 'Roboto', sans-serif;
  font-size: 0.58rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--crimson); font-weight: 500;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-family: 'Roboto', sans-serif;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted);
  transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px; background: var(--crimson);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--text-strong); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 0.78rem; letter-spacing: 0.12em;
  padding: 9px 22px;
  background: var(--crimson); color: #fff;
  border-radius: 3px;
  box-shadow: 0 0 18px var(--crimson-glow);
  transition: all 0.25s;
}
.nav-cta:hover {
  background: #ff2960;
  box-shadow: 0 0 28px rgba(255,0,77,0.65);
  transform: translateY(-1px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 100px 72px 70px;
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--bg) 0%, var(--bg-mid) 100%);
}
.hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 78% 48%, rgba(255,0,77,0.11) 0%, transparent 52%),
    radial-gradient(ellipse at 18% 82%, rgba(255,0,77,0.05) 0%, transparent 42%);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,0,77,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,0,77,0.035) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 78%);
}
.hero-left { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 22px;
}
.hero-eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--crimson);
  box-shadow: 0 0 7px var(--crimson);
  animation: dotPulse 5.5s ease-in-out infinite;
}
.hero-eyebrow-text {
  font-family: 'Roboto', sans-serif;
  font-size: 0.7rem; letter-spacing: 0.38em; text-transform: uppercase;
  color: var(--crimson); font-weight: 500;
}
.hero-h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(3.6rem, 7vw, 7.2rem);
  font-weight: 900;
  line-height: 0.95;
  color: var(--heading);
  margin-bottom: 10px;
}
.hero-h1 .accent { color: var(--crimson); }
.hero-tagline {
  font-family: 'Poppins', sans-serif; font-weight: 600;
  font-size: clamp(0.9rem, 1.8vw, 1.35rem);
  letter-spacing: 0.12em; color: var(--text-muted);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero-desc {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem; line-height: 1.85; color: var(--text-muted);
  max-width: 480px; margin-bottom: 36px; font-weight: 300;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 0.88rem; letter-spacing: 0.1em;
  padding: 14px 34px;
  background: var(--crimson); color: #fff;
  box-shadow: 0 0 28px rgba(255,0,77,0.42);
  transition: all 0.25s; display: inline-block; border-radius: 3px;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 36px rgba(255,0,77,0.6); }
.btn-secondary {
  font-family: 'Poppins', sans-serif; font-weight: 600;
  font-size: 0.88rem; letter-spacing: 0.1em;
  padding: 14px 34px;
  border: 1.5px solid rgba(255,0,77,0.5); color: var(--crimson);
  transition: all 0.25s; display: inline-block; border-radius: 3px;
}
.btn-secondary:hover { background: rgba(255,0,77,0.08); border-color: var(--crimson); transform: translateY(-3px); }
.hero-stats { display: flex; gap: 36px; margin-top: 48px; }
.stat-num {
  font-family: 'Poppins', sans-serif; font-weight: 800;
  font-size: 2.6rem; color: var(--crimson); line-height: 1;
  text-shadow: 0 0 18px rgba(255,0,77,0.38);
}
.stat-label {
  font-family: 'Roboto', sans-serif;
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted); margin-top: 4px;
}

/* ============================================================
   STATS CARD CAROUSEL — 3D FLIP CARDS
   ============================================================ */
.stats-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-mid) 100%);
  padding: 80px 0 90px;
  overflow: hidden;
  position: relative;
}
.stats-section::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 60%, rgba(255,0,77,0.07) 0%, transparent 65%);
}
.stats-section-label {
  text-align: center; margin-bottom: 48px;
}
.stats-section-label .section-tag { justify-content: center; }
.stats-section-label h2 {
  font-family: 'Poppins', sans-serif; font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: var(--heading); margin-top: 10px;
}
.stats-section-label h2 .accent { color: var(--crimson); }
.stats-carousel-wrap {
  position: relative;
  width: 100%;
  padding: 90px 0 36px;
  overflow: hidden;
}
@keyframes marqueeRTL {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.stats-carousel {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 0 28px;
  user-select: none;
  animation: marqueeRTL 36s linear infinite;
  will-change: transform;
}
.stats-carousel:hover { animation-play-state: paused; }
.sc-item {
  flex-shrink: 0;
  width: 275px;
  height: 200px;
  perspective: 1100px;
  cursor: pointer;
}
.sc-flipper {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 1.1s cubic-bezier(0.34, 1.1, 0.64, 1);
  animation: scFloat 4s ease-in-out infinite;
}
.sc-item:nth-child(1) .sc-flipper { animation-delay: 0s; }
.sc-item:nth-child(2) .sc-flipper { animation-delay: 0.5s; }
.sc-item:nth-child(3) .sc-flipper { animation-delay: 1s; }
.sc-item:nth-child(4) .sc-flipper { animation-delay: 1.5s; }
.sc-item:nth-child(5) .sc-flipper { animation-delay: 2s; }
.sc-item:nth-child(6) .sc-flipper { animation-delay: 2.5s; }
.sc-item:nth-child(7) .sc-flipper { animation-delay: 3s; }
@keyframes scFloat {
  0%, 100% { transform: translateY(0px) rotateX(0deg); }
  50%       { transform: translateY(-7px) rotateX(2deg); }
}
.sc-item:hover .sc-flipper,
.sc-item.flipped .sc-flipper {
  transform: translateY(-7px) rotateY(180deg);
  animation-play-state: paused;
}
.sc-front, .sc-back {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 16px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 24px 22px;
  text-align: center;
  border: 1.5px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), 0 0 18px rgba(255,0,77,0.1), inset 0 1px 0 rgba(255,255,255,0.07);
}
.sc-front {
  background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-card2) 100%);
}
.sc-front-icon {
  font-size: 2rem; margin-bottom: 9px;
  filter: drop-shadow(0 0 8px rgba(255,0,77,0.4));
}
.sc-front-num {
  font-family: 'Poppins', sans-serif; font-weight: 900;
  font-size: 2.75rem; line-height: 1;
  color: var(--crimson);
  text-shadow: 0 0 20px rgba(255,0,77,0.45);
}
.sc-front-label {
  font-family: 'Roboto', sans-serif;
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-muted); margin-top: 7px; line-height: 1.45;
}
.sc-front-hint {
  font-size: 0.52rem; color: rgba(255,0,77,0.5); margin-top: 11px;
  letter-spacing: 0.15em; text-transform: uppercase; font-family: 'Roboto', sans-serif;
  animation: hintPulse 2.5s ease-in-out infinite;
}
@keyframes hintPulse { 0%,100%{opacity:0.5} 50%{opacity:1} }
.sc-back {
  background: linear-gradient(145deg, var(--crimson) 0%, #8b0029 100%);
  transform: rotateY(180deg);
  border-color: rgba(255,100,130,0.3);
  box-shadow: 0 8px 40px rgba(255,0,77,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
  gap: 7px;
}
.sc-back-title {
  font-family: 'Poppins', sans-serif; font-weight: 800;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.9); margin-bottom: 5px;
}
.sc-back-detail {
  font-family: 'Roboto', sans-serif;
  font-size: 0.82rem; line-height: 1.6; color: rgba(255,255,255,0.88);
}
.sc-back-detail strong { color: #fff; font-weight: 700; }
.sc-back-sub {
  font-family: 'Roboto', sans-serif;
  font-size: 0.62rem; color: rgba(255,255,255,0.6);
  margin-top: 7px; letter-spacing: 0.1em;
}
@keyframes cardWarpShimmer {
  0%   { background-position: -300% center; filter: brightness(1); }
  40%  { filter: brightness(1.3) saturate(1.6); }
  100% { background-position: 300% center; filter: brightness(1); }
}
.sc-front.card-warping {
  background: linear-gradient(
    105deg,
    var(--bg-card) 20%,
    rgba(255,0,77,0.55) 38%,
    rgba(255,180,200,0.9) 50%,
    rgba(255,0,77,0.55) 62%,
    var(--bg-card2) 80%
  ) !important;
  background-size: 300% auto !important;
  animation: cardWarpShimmer 0.7s ease-in-out forwards !important;
}
.stats-dots { display: none; }
.stats-dot { display: none; }

/* ============================================================
   THANK-YOU NOTIFICATION STACK
   ============================================================ */
.thankyou-zone {
  position: relative;
  height: 170px;
  margin: 24px auto 0;
  max-width: 500px;
  display: flex; align-items: flex-end; justify-content: center;
}
.tq-note {
  position: absolute;
  bottom: 0;
  left: 50%; transform: translateX(-50%) scale(1) translateY(0px);
  width: 450px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 17px;
  padding: 13px 16px;
  display: flex; align-items: flex-start; gap: 12px;
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34,1.28,0.64,1), opacity 0.5s ease, filter 0.5s ease;
  pointer-events: none;
  will-change: transform, opacity;
}
[data-theme="light"] .tq-note {
  background: rgba(255,255,255,0.78);
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}
.tq-note.tq-bg1 { opacity: 0.32; filter: blur(1.5px); transform: translateX(-50%) scale(0.94) translateY(-32px); }
.tq-note.tq-bg2 { opacity: 0.18; filter: blur(3px); transform: translateX(-50%) scale(0.88) translateY(-58px); }
.tq-note.tq-bg3 { opacity: 0.09; filter: blur(4.5px); transform: translateX(-50%) scale(0.82) translateY(-80px); }
.tq-note.tq-active {
  opacity: 1; filter: none;
  transform: translateX(-50%) scale(1) translateY(0px);
  pointer-events: auto; z-index: 10;
}
.tq-note.tq-exit {
  opacity: 0; filter: blur(2px);
  transform: translateX(-50%) scale(0.97) translateY(28px);
  transition: transform 0.42s ease-in, opacity 0.38s ease-in, filter 0.38s ease-in;
}
.tq-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--crimson) 0%, #8b0029 100%);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  box-shadow: 0 2px 10px rgba(255,0,77,0.38);
}
.tq-body { flex: 1; min-width: 0; }
.tq-app {
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 0.56rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 3px;
  display: flex; align-items: center; justify-content: space-between;
}
.tq-time { font-weight: 400; font-size: 0.54rem; color: var(--text-muted); letter-spacing: 0; text-transform: none; font-family: 'Roboto', sans-serif; }
.tq-msg { font-family: 'Roboto', sans-serif; font-size: 0.8rem; line-height: 1.5; color: var(--text-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Carousel edge fades */
.stats-carousel-wrap::before,
.stats-carousel-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none;
}
.stats-carousel-wrap::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.stats-carousel-wrap::after  { right: 0; background: linear-gradient(to left, var(--bg-mid), transparent); }

/* Hero right photo */
.hero-right {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
.hero-photo-wrap { position: relative; width: 440px; height: 540px; }
.hero-photo-bg {
  position: absolute; top: 20px; left: 20px; right: -20px; bottom: -20px;
  background: var(--crimson); opacity: 0.12;
  clip-path: polygon(0 0, 85% 0, 100% 15%, 100% 100%, 15% 100%, 0 85%);
}
.hero-photo-border {
  position: absolute; inset: 0;
  border: 1px solid rgba(255,0,77,0.28);
  clip-path: polygon(0 0, 85% 0, 100% 15%, 100% 100%, 15% 100%, 0 85%);
}
.hero-photo {
  position: absolute; inset: 0; overflow: hidden;
  clip-path: polygon(0 0, 85% 0, 100% 15%, 100% 100%, 15% 100%, 0 85%);
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform 0.6s ease;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.8)) drop-shadow(0 0 14px rgba(200,210,255,0.3));
}
.hero-photo-wrap:hover .hero-photo img { transform: scale(1.04); }
.hero-badge {
  position: absolute; bottom: -20px; left: -30px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 16px 22px;
  box-shadow: 0 0 28px rgba(255,0,77,0.18), var(--shadow-card);
  border-radius: 2px;
}
.hero-badge-icon { font-size: 1.4rem; margin-bottom: 4px; }
.hero-badge-text { font-family: 'Roboto', sans-serif; font-size: 0.68rem; letter-spacing: 0.1em; color: var(--text-muted); }
.hero-badge-val { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--crimson); }
.hero-badge-2 {
  position: absolute; top: -20px; right: -30px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 14px 20px;
  box-shadow: 0 0 20px rgba(255,0,77,0.15), var(--shadow-card);
  border-radius: 2px;
}

/* ============================================================
   TICKER
   ============================================================ */
.ticker {
  background: var(--ticker-bg);
  padding: 11px 0 11px 44px; overflow: hidden; position: relative; z-index: 10;
}
.ticker-track {
  display: flex; animation: ticker 42s linear infinite; white-space: nowrap;
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 20px; padding: 0 40px;
  font-family: 'Poppins', sans-serif; font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.16em; color: #fff;
  text-transform: uppercase;
}
.ticker-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.5); }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.ticker-gear {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem; line-height: 1;
  animation: gearSpin 4s linear infinite;
  flex-shrink: 0;
}
@keyframes gearSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Button animations */
@keyframes btnBreathe {
  0%,100%  { box-shadow: 0 0 18px rgba(255,0,77,0.38), 0 4px 16px rgba(255,0,77,0.22); transform: translateY(0); }
  50%      { box-shadow: 0 0 32px rgba(255,0,77,0.62), 0 8px 28px rgba(255,0,77,0.3); transform: translateY(-2px); }
}
@keyframes btnSecondaryBreathe {
  0%,100%  { border-color: rgba(255,0,77,0.45); color: var(--crimson); }
  50%      { border-color: rgba(255,0,77,0.9); color: #ff2960; }
}
.btn-primary  { animation: btnBreathe 3.8s ease-in-out infinite; }
.btn-primary:hover  { animation: none; transform: translateY(-3px); box-shadow: 0 10px 40px rgba(255,0,77,0.65); }
.btn-secondary { animation: btnSecondaryBreathe 3.8s ease-in-out infinite; }
.btn-secondary:hover { animation: none; }

@keyframes dotPulse {
  0%,70%,100% { box-shadow: 0 0 7px var(--crimson); transform: scale(1); opacity:1; }
  80%         { box-shadow: 0 0 20px var(--crimson), 0 0 40px rgba(255,0,77,0.35); transform: scale(1.35); opacity:0.85; }
  85%         { box-shadow: 0 0 10px var(--crimson); transform: scale(0.9); opacity:1; }
  90%         { box-shadow: 0 0 18px var(--crimson), 0 0 32px rgba(255,0,77,0.28); transform: scale(1.2); }
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.section { padding: 100px 72px; position: relative; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.section-tag-line { width: 30px; height: 2px; background: var(--crimson); box-shadow: 0 0 7px var(--crimson); }
.section-tag-text { font-family: 'Roboto', sans-serif; font-size: 0.68rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--crimson); font-weight: 500; }
.section-h2 { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: clamp(2.4rem, 4.5vw, 4.2rem); line-height: 1.0; color: var(--heading); margin-bottom: 18px; }
.section-h2 .accent { color: var(--crimson); }
.section-lead { font-family: 'Roboto', sans-serif; font-size: 0.98rem; line-height: 1.85; color: var(--text-muted); max-width: 560px; }

/* ============================================================
   IMPACT SECTION
   ============================================================ */
.impact { background: var(--bg-mid); }
.impact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: center; margin-top: 56px; }
.impact-blocks { display: flex; flex-direction: column; margin-top: 36px; }
.impact-block { display: flex; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--border); transition: padding-left 0.3s; }
.impact-block:first-child { border-top: 1px solid var(--border); }
.impact-block:hover { padding-left: 10px; }
.impact-block-icon { width: 46px; height: 46px; flex-shrink: 0; background: var(--crimson-dim); border: 1px solid rgba(255,0,77,0.32); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.impact-block-text h4 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.06em; color: var(--text-strong); margin-bottom: 6px; }
.impact-block-text p { font-family: 'Roboto', sans-serif; font-size: 0.85rem; line-height: 1.7; color: var(--text-muted); }
.impact-visuals { position: relative; }
.impact-img-main { position: relative; z-index: 2; border: 1px solid var(--border); overflow: hidden; }
.impact-img-main img { width: 100%; height: 340px; object-fit: cover; }
.impact-img-sub { margin-top: 12px; border: 1px solid var(--border); overflow: hidden; }
.impact-img-sub img { width: 100%; height: 180px; object-fit: cover; }
.impact-counter {
  position: absolute; top: 20px; right: -20px; z-index: 3;
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 16px 20px; text-align: center;
  box-shadow: 0 0 24px rgba(255,0,77,0.2), var(--shadow-card);
}
.impact-counter-num { font-family: 'Poppins', sans-serif; font-weight: 900; font-size: 2.4rem; color: var(--crimson); line-height: 1; }
.impact-counter-label { font-family: 'Roboto', sans-serif; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); margin-top: 4px; }

/* ============================================================
   PILLARS SECTION
   ============================================================ */
.pillars { background: var(--bg); }
.pillars-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 56px; }
.pillar {
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 38px 32px; position: relative; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.pillar::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--crimson); transform: scaleX(0); transform-origin: left; transition: transform 0.4s; }
.pillar:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.3), 0 0 24px rgba(255,0,77,0.12); }
.pillar:hover::before { transform: scaleX(1); }
.pillar-num { font-family: 'Poppins', sans-serif; font-weight: 900; font-size: 5rem; color: rgba(255,0,77,0.06); line-height: 1; position: absolute; top: 12px; right: 20px; }
.pillar-icon { font-size: 2rem; margin-bottom: 18px; filter: drop-shadow(0 0 8px rgba(255,0,77,0.3)); }
.pillar h3 { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.4rem; color: var(--heading); margin-bottom: 12px; }
.pillar p { font-family: 'Roboto', sans-serif; font-size: 0.88rem; line-height: 1.75; color: var(--text-muted); margin-bottom: 20px; }
.pillar ul { list-style: none; margin-bottom: 24px; }
.pillar ul li { font-family: 'Roboto', sans-serif; font-size: 0.82rem; color: var(--text-muted); padding: 5px 0; display: flex; align-items: flex-start; gap: 8px; }
.pillar ul li::before { content: '▸'; color: var(--crimson); flex-shrink: 0; margin-top: 1px; }
.pillar-link { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--crimson); display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.pillar:hover .pillar-link { gap: 10px; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about { background: var(--bg-mid); }
.about-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: center; }
.about-photo-stack { position: relative; }
.about-main-photo { position: relative; z-index: 2; border: 1px solid var(--border); overflow: hidden; }
.about-main-photo img { width: 100%; height: 520px; object-fit: cover; object-position: top center; }
.png-glow { filter: drop-shadow(0 0 8px rgba(255,255,255,0.7)) drop-shadow(0 0 20px rgba(200,210,255,0.4)); }
.about-accent-box {
  position: absolute; bottom: -20px; right: -24px; z-index: 3;
  background: var(--crimson); padding: 22px 26px; text-align: center;
}
.about-accent-num { font-family: 'Poppins', sans-serif; font-weight: 900; font-size: 2.4rem; color: #fff; line-height: 1; }
.about-accent-label { font-family: 'Roboto', sans-serif; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.82); margin-top: 4px; }
.about-quote { font-family: 'Poppins', sans-serif; font-style: italic; font-weight: 600; font-size: 1.05rem; color: var(--crimson); border-left: 3px solid var(--crimson); padding-left: 16px; margin: 22px 0; line-height: 1.55; }
.about-text { font-family: 'Roboto', sans-serif; font-size: 0.95rem; line-height: 1.88; color: var(--text-muted); margin-bottom: 18px; }
.about-plan { margin-top: 28px; background: var(--bg-card); border: 1px solid var(--border); padding: 26px; }
.about-plan h4 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; color: var(--heading); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); text-transform: uppercase; }
.about-plan-item { font-family: 'Roboto', sans-serif; font-size: 0.86rem; color: var(--text-muted); padding: 7px 0; display: flex; align-items: flex-start; gap: 10px; border-bottom: 1px solid rgba(255,0,77,0.06); }
.about-plan-item:last-child { border-bottom: none; }
.about-plan-icon { color: var(--crimson); font-style: normal; flex-shrink: 0; }

/* ============================================================
   BLOG / INSIGHTS
   ============================================================ */
.blog { background: var(--bg); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.blog-card {
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s; position: relative; overflow: hidden;
}
.blog-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--crimson); transform: scaleX(0); transform-origin: left; transition: transform 0.4s; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 20px rgba(255,0,77,0.1); }
.blog-card:hover::after { transform: scaleX(1); }
.blog-card.featured { grid-column: span 2; }
.blog-card-img { overflow: hidden; aspect-ratio: 16/9; flex-shrink: 0; }
.blog-card.featured .blog-card-img { max-height: 280px; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.07); }
.blog-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.blog-card-cat { font-family: 'Roboto', sans-serif; font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--crimson); font-weight: 500; margin-bottom: 9px; display: inline-flex; align-items: center; gap: 6px; }
.blog-card-cat::before { content: ''; width: 10px; height: 1px; background: var(--crimson); }
.blog-card-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.98rem; color: var(--text-strong); line-height: 1.38; margin-bottom: 10px; transition: color 0.2s; }
.blog-card.featured .blog-card-title { font-size: 1.3rem; }
.blog-card:hover .blog-card-title { color: var(--crimson); }
.blog-card-excerpt { font-family: 'Roboto', sans-serif; font-size: 0.83rem; line-height: 1.72; color: var(--text-muted); flex: 1; margin-bottom: 18px; }
.blog-card-meta { display: flex; align-items: center; justify-content: space-between; font-family: 'Roboto', sans-serif; font-size: 0.7rem; color: var(--text-muted); }
.blog-read-more { font-family: 'Poppins', sans-serif; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--crimson); font-weight: 600; display: flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.blog-card:hover .blog-read-more { gap: 10px; }

/* ============================================================
   NEWS
   ============================================================ */
.news { background: var(--bg-mid); }
.news-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 56px; margin-top: 56px; }
.news-item { display: flex; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--border); transition: padding-left 0.3s; }
.news-item:first-child { border-top: 1px solid var(--border); }
.news-item:hover { padding-left: 10px; }
.news-date-col { min-width: 68px; text-align: center; padding-top: 3px; }
.news-date-day { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.9rem; color: var(--crimson); line-height: 1; }
.news-date-month { font-family: 'Roboto', sans-serif; font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
.news-content h4 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.92rem; color: var(--text-strong); margin-bottom: 5px; line-height: 1.42; transition: color 0.2s; }
.news-item:hover h4 { color: var(--crimson); }
.news-content p { font-family: 'Roboto', sans-serif; font-size: 0.8rem; line-height: 1.68; color: var(--text-muted); }
.news-content-cat { font-family: 'Roboto', sans-serif; display: inline-block; margin-bottom: 5px; font-size: 0.58rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--crimson); font-weight: 500; }
.sidebar-block { border: 1px solid var(--border); padding: 26px; margin-bottom: 22px; background: var(--crimson-dim); }
.sidebar-block h4 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; color: var(--text-strong); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.sidebar-social { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 14px; background: var(--input-bg); border: 1px solid var(--border); font-family: 'Roboto', sans-serif; font-size: 0.8rem; color: var(--text-muted); transition: all 0.25s; margin-bottom: 8px; }
.sidebar-social:hover { background: var(--crimson-dim); color: var(--text-strong); border-color: rgba(255,0,77,0.5); }
.sidebar-social-icon { font-size: 1rem; width: 20px; text-align: center; }
.tuinuane-box { background: var(--crimson); padding: 30px; text-align: center; box-shadow: 0 0 36px rgba(255,0,77,0.3); margin-bottom: 22px; }
.tuinuane-box h3 { font-family: 'Poppins', sans-serif; font-weight: 900; font-size: 1.8rem; letter-spacing: 0.06em; color: #fff; margin-bottom: 10px; }
.tuinuane-box p { font-family: 'Roboto', sans-serif; font-size: 0.82rem; line-height: 1.72; color: rgba(255,255,255,0.88); margin-bottom: 18px; }
.tuinuane-btn { display: inline-block; background: #fff; color: var(--crimson); font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.1em; padding: 11px 26px; transition: all 0.25s; }
.tuinuane-btn:hover { background: var(--bg); color: #fff; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-section { background: var(--bg); padding: 100px 0; }
.gallery-header { padding: 0 72px; margin-bottom: 44px; }
.gallery-masonry { display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: 240px; gap: 4px; }
.gallery-item { overflow: hidden; position: relative; background: var(--bg-card); }
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(5) { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, filter 0.4s; filter: brightness(0.82) saturate(0.82); }
.gallery-item:hover img { transform: scale(1.07); filter: brightness(1) saturate(1); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(transparent 44%, rgba(7,8,46,0.88)); opacity: 0; transition: opacity 0.3s; display: flex; align-items: flex-end; padding: 18px; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-text { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; }
.gallery-item::after { content: ''; position: absolute; inset: 0; border: 2px solid transparent; pointer-events: none; transition: border-color 0.3s; }
.gallery-item:hover::after { border-color: var(--crimson); }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--bg-card); border-top: 1px solid var(--border); padding: 78px 72px 28px; position: relative; z-index: 1; }
.footer-top { display: grid; grid-template-columns: 2.4fr 1fr 1fr 1fr; gap: 56px; padding-bottom: 56px; border-bottom: 1px solid var(--border); }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo-img { width: 48px; height: 48px; border-radius: 10px; transform: rotate(45deg); border: 2px solid var(--crimson); overflow: hidden; box-shadow: 0 0 18px rgba(255,0,77,0.4); flex-shrink: 0; }
.footer-logo-img img { width: 100%; height: 100%; object-fit: cover; transform: rotate(-45deg) scale(1.5); transform-origin: center; }
.footer-logo-name { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--heading); }
.footer-logo-sub { font-family: 'Roboto', sans-serif; font-size: 0.58rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--crimson); }
.footer-desc { font-family: 'Roboto', sans-serif; font-size: 0.86rem; line-height: 1.82; color: var(--text-muted); max-width: 290px; margin-bottom: 26px; }
.footer-social { display: flex; gap: 9px; flex-wrap: wrap; }
.footer-social-link { width: 36px; height: 36px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; color: var(--text-muted); font-family: 'Poppins', sans-serif; transition: all 0.25s; }
.footer-social-link:hover { background: var(--crimson); border-color: var(--crimson); color: #fff; box-shadow: 0 0 14px rgba(255,0,77,0.4); }
.footer-col h5 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.22em; color: var(--heading); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--border); text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { font-family: 'Roboto', sans-serif; font-size: 0.84rem; color: var(--text-muted); transition: all 0.2s; display: flex; align-items: center; gap: 8px; }
.footer-col ul li a::before { content: ''; width: 0; height: 1px; background: var(--crimson); transition: width 0.3s; flex-shrink: 0; }
.footer-col ul li a:hover { color: var(--text-strong); padding-left: 4px; }
.footer-col ul li a:hover::before { width: 10px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-family: 'Roboto', sans-serif; font-size: 0.76rem; color: var(--text-muted); flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: var(--crimson); }
.footer-credit { color: var(--crimson); font-weight: 500; }

/* ---- SCROLL REVEAL ---- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s ease, transform 1.1s ease; }
.reveal.from-left { transform: translateX(-36px); }
.reveal.from-right { transform: translateX(36px); }
.reveal.visible { opacity: 1; transform: translate(0); }

@keyframes navCtaBreathe {
  0%,100% { box-shadow: 0 0 14px rgba(255,0,77,0.38); }
  50%     { box-shadow: 0 0 26px rgba(255,0,77,0.65), 0 0 50px rgba(255,0,77,0.2); }
}
.nav-cta { animation: navCtaBreathe 3.5s ease-in-out infinite; }
.nav-cta:hover { animation: none; }

/* ============================================================
   LIVE FEED PANEL
   ============================================================ */
#live-feed-btn {
  position: fixed; bottom: 28px; left: 28px; z-index: 1000;
  display: flex; align-items: center; gap: 7px;
  padding: 9px 15px;
  background: var(--bg-card);
  border: 2px solid var(--crimson);
  border-radius: 21px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5), 0 0 13px var(--crimson-glow);
  cursor: pointer; font-family: 'Poppins', sans-serif;
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-strong);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.4s ease;
  animation: liveFeedBreathe 4s ease-in-out infinite;
  opacity: 1;
}
@keyframes liveFeedBreathe {
  0%,100% { box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 10px rgba(255,0,77,0.22); transform: translateY(0); }
  50%     { box-shadow: 0 6px 28px rgba(0,0,0,0.35), 0 0 22px rgba(255,0,77,0.45); transform: translateY(-2px); }
}
#live-feed-btn:hover { animation: none; transform: translateY(-3px) scale(1.04); }
#live-feed-btn.feed-hidden { opacity: 0; pointer-events: none; transform: translateY(10px); }
#live-feed-btn.feed-hidden.visible-override { opacity: 1; pointer-events: all; transform: translateY(0); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--crimson); animation: dotPulse 5s ease-in-out infinite; flex-shrink: 0; }
.live-count-badge { background: var(--crimson); color: #fff; width: 18px; height: 18px; border-radius: 50%; display: none; align-items: center; justify-content: center; font-size: 0.6rem; font-weight: 900; }
.live-count-badge.visible { display: flex; }
#feed-panel {
  position: fixed; bottom: 90px; left: 28px; z-index: 999;
  width: 380px; max-height: 520px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 12px 50px rgba(0,0,0,0.45), 0 0 24px rgba(255,0,77,0.12);
  display: flex; flex-direction: column;
  transform: translateY(16px) scale(0.97);
  opacity: 0; pointer-events: none;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 4px;
}
#feed-panel.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: all; }
.feed-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.feed-header-left { display: flex; align-items: center; gap: 10px; }
.feed-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.85rem; color: var(--text-strong); letter-spacing: 0.04em; }
.feed-status { font-family: 'Roboto', sans-serif; font-size: 0.62rem; letter-spacing: 0.14em; color: var(--text-muted); margin-top: 1px; }
.feed-close { background: none; border: none; cursor: pointer; color: var(--text-muted); font-size: 1.1rem; padding: 4px 6px; transition: color 0.25s; }
.feed-close:hover { color: var(--crimson); }
.feed-tabs { display: flex; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.feed-tab { flex: 1; padding: 10px 14px; text-align: center; font-family: 'Poppins', sans-serif; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent; transition: all 0.3s; }
.feed-tab.active { color: var(--crimson); border-bottom-color: var(--crimson); }
.feed-tab:hover:not(.active) { color: var(--text-strong); }
.feed-scan-row { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.feed-scan-btn { flex: 1; padding: 9px 0; background: var(--crimson); color: #fff; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; border: none; cursor: pointer; transition: all 0.3s; animation: btnBreathe 3.5s ease-in-out infinite; }
.feed-scan-btn:hover { animation: none; background: #ff2960; }
.feed-scan-btn:disabled { opacity: 0.6; cursor: not-allowed; animation: none; }
.feed-auto-label { font-family: 'Roboto', sans-serif; font-size: 0.68rem; color: var(--text-muted); white-space: nowrap; }
.feed-auto-toggle { width: 36px; height: 20px; border-radius: 10px; background: var(--border); position: relative; cursor: pointer; transition: background 0.3s; border: none; flex-shrink: 0; }
.feed-auto-toggle.on { background: var(--crimson); }
.feed-auto-toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: left 0.3s; }
.feed-auto-toggle.on::after { left: 19px; }
.feed-content { overflow-y: auto; flex: 1; }
.feed-content::-webkit-scrollbar { width: 4px; }
.feed-content::-webkit-scrollbar-track { background: transparent; }
.feed-content::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.feed-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 24px; text-align: center; color: var(--text-muted); }
.feed-empty-icon { font-size: 2.2rem; margin-bottom: 12px; opacity: 0.5; }
.feed-empty-text { font-family: 'Roboto', sans-serif; font-size: 0.82rem; line-height: 1.6; }
.feed-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 36px 20px; gap: 14px; }
.feed-spinner { width: 32px; height: 32px; border-radius: 50%; border: 2px solid rgba(255,0,77,0.15); border-top: 2px solid var(--crimson); animation: spin 1.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.feed-loading-text { font-family: 'Roboto', sans-serif; font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.08em; }
.feed-item { display: flex; gap: 14px; padding: 16px 20px; border-bottom: 1px solid rgba(255,0,77,0.08); transition: background 0.25s; text-decoration: none; color: inherit; }
.feed-item:hover { background: var(--crimson-dim); }
.feed-item.new-item { border-left: 2px solid var(--crimson); }
.feed-item-img { width: 70px; height: 52px; flex-shrink: 0; overflow: hidden; border: 1px solid var(--border); }
.feed-item-img img { width: 100%; height: 100%; object-fit: cover; }
.feed-item-img.no-img { background: var(--crimson-dim); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.feed-item-body { flex: 1; min-width: 0; }
.feed-item-cat { font-family: 'Roboto', sans-serif; font-size: 0.56rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--crimson); font-weight: 500; margin-bottom: 4px; }
.feed-item-title { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.78rem; color: var(--text-strong); line-height: 1.36; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; }
.feed-item-meta { font-family: 'Roboto', sans-serif; font-size: 0.62rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.feed-new-badge { background: var(--crimson); color: #fff; font-size: 0.5rem; font-weight: 700; letter-spacing: 0.08em; padding: 2px 5px; border-radius: 2px; }
.feed-footer { padding: 10px 20px; border-top: 1px solid var(--border); font-family: 'Roboto', sans-serif; font-size: 0.62rem; color: var(--text-muted); text-align: center; flex-shrink: 0; }
.feed-footer a { color: var(--crimson); }

/* ============================================================
   HAMBURGER MOBILE MENU
   ============================================================ */
#nav-hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; z-index: 110; }
#nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--text-strong); border-radius: 2px; transition: all 0.3s ease; }
#nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
#nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
#nav-mobile-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--nav-bg); backdrop-filter: blur(24px); border-bottom: 1px solid var(--nav-border); flex-direction: column; padding: 0; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
#nav-mobile-menu.open { max-height: 500px; padding: 12px 0; }
#nav-mobile-menu a { display: block; padding: 13px 24px; font-family: 'Roboto', sans-serif; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); transition: all 0.2s; border-bottom: 1px solid rgba(255,0,77,0.07); }
#nav-mobile-menu a:hover { color: var(--crimson); background: var(--crimson-dim); padding-left: 32px; }
#nav-mobile-menu .mobile-cta { margin: 12px 20px 4px; text-align: center; background: var(--crimson); color: #fff !important; padding: 12px 20px !important; border-radius: 3px; font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; border-bottom: none !important; }
#nav-mobile-menu .mobile-cta:hover { background: #ff2960 !important; padding-left: 20px !important; }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
#scroll-top-btn {
  position: fixed; bottom: 78px; right: 28px; z-index: 1000;
  width: 39px; height: 39px;
  border-radius: 8px; transform: rotate(45deg);
  background: var(--bg-card);
  border: 2px solid var(--crimson);
  box-shadow: 0 0 13px var(--crimson-glow), 0 4px 15px rgba(0,0,0,0.5);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--crimson);
  transition: opacity 0.4s ease, box-shadow 0.3s ease;
  opacity: 0; pointer-events: none;
  animation: btnBreathe 3.8s ease-in-out infinite;
}
#scroll-top-btn .arrow-inner { transform: rotate(-45deg); display: block; font-style: normal; line-height: 1; }
#scroll-top-btn.visible { opacity: 1 !important; pointer-events: all; }
#scroll-top-btn:hover { animation: none; box-shadow: 0 0 24px rgba(255,0,77,0.85), 0 4px 18px rgba(0,0,0,0.5); }
#warp-canvas { position: fixed; inset: 0; z-index: 9990; pointer-events: none; display: none; }
#warp-canvas.active { display: block; }

@keyframes hkNameBreathe {
  0%,100% { opacity: 1; text-shadow: none; }
  50%     { opacity: 0.82; text-shadow: 0 0 22px rgba(255,0,77,0.2), 0 0 8px rgba(255,0,77,0.1); }
}
.hk-breathe { animation: hkNameBreathe 3.8s ease-in-out infinite; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:1024px){
  .hero{grid-template-columns:1fr;padding:100px 40px 60px;text-align:center}
  .hero-right{display:none}
  .hero-stats{justify-content:center}
  .hero-actions{justify-content:center}
  .hero-desc{margin:0 auto 36px}
  .impact-grid{grid-template-columns:1fr}
  .impact-visuals{display:none}
  .pillars-grid{grid-template-columns:1fr}
  .about-grid{grid-template-columns:1fr}
  .blog-grid{grid-template-columns:1fr 1fr}
  .blog-card.featured{grid-column:span 2}
  .news-grid{grid-template-columns:1fr}
  .gallery-masonry{grid-template-columns:1fr 1fr;grid-auto-rows:200px}
  .gallery-item:nth-child(1){grid-column:span 2}
  .footer-top{grid-template-columns:1fr 1fr}
  .section{padding:70px 40px}
  nav{padding:0 24px}
  footer{padding:60px 40px 24px}
}
@media(max-width:640px){
  .nav-links{display:none !important}
  nav .nav-cta{display:none}
  #nav-hamburger{display:flex}
  #nav-mobile-menu{display:flex}
  nav { position: relative; }
  .blog-grid{grid-template-columns:1fr}
  .blog-card.featured{grid-column:1}
  .footer-top{grid-template-columns:1fr}
  .hero-stats{flex-wrap:wrap;gap:22px}
  .gallery-masonry{grid-template-columns:1fr 1fr;grid-auto-rows:160px}
  .section{padding:58px 20px}
  footer{padding:50px 20px 20px}
  #scroll-top-btn{bottom:78px;right:16px}
  #theme-toggle{bottom:28px;right:16px}
  #live-feed-btn{bottom:28px;left:16px}
  #feed-panel{left:16px;right:16px;width:auto;max-width:380px}
  .sc-item { width: 220px; height: 160px; }
  .sc-front-num { font-size: 2.1rem; }
  .stats-carousel-wrap { padding: 70px 0 28px; }
  .stats-section { padding: 60px 0 70px; }
  .stats-carousel { gap: 20px; animation-duration: 26s; }
  .tq-note { width: calc(100vw - 36px); border-radius: 14px; }
  .thankyou-zone { max-width: 100%; padding: 0 18px; height: 150px; }
}
