/* ============================================================
   KEDAH STATE FLAG THEME — assets/style2.css
   Distribution:
     RED    #D71110  ? 50%  (dominant / primary)
     GREEN  #369D27  ? 25%  (secondary / success)
     YELLOW #FFEC00  ? 20%  (accent / highlight + Tuntut Hadiah bg)
     WHITE  #FFFFFF  ?  5%  (card interiors, inputs, QR)
   Style: glossy + modern (gradients, inner highlights, glass blur)
   ============================================================ */

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

:root {
  /* Raw Kedah palette */
  --kedah-red:         #D71110;
  --kedah-red-dark:    #A80D0C;
  --kedah-red-light:   #E83534;
  --kedah-yellow:      #FFEC00;
  --kedah-yellow-dark: #D4C400;
  --kedah-yellow-light:#FFF566;
  --kedah-green:       #369D27;
  --kedah-green-dark:  #27751B;
  --kedah-green-light: #4FBF3E;
  --kedah-white:       #FFFFFF;

  /* Semantic — RED 50% dominant */
  --primary:        #D71110;
  --primary-dark:   #A80D0C;
  --primary-light:  #E83534;

  /* Semantic — GREEN 25% secondary */
  --success:        #369D27;
  --success-dark:   #27751B;
  --success-light:  #4FBF3E;

  /* Semantic — YELLOW 20% accent */
  --accent:         #FFEC00;
  --accent-dark:    #D4C400;
  --accent-light:   #FFF566;

  /* Semantic — WHITE 5% minimal surface */
  --white:          #FFFFFF;

  /* Dark Royal Blue (for event pills) */
  --royal-blue:       #1E3A8A;
  --royal-blue-mid:   #1E40AF;
  --royal-blue-dark:  #172554;
  --royal-blue-light: #2749A8;
  --pill-gradient:       linear-gradient(135deg, #1E3A8A 0%, #1E40AF 45%, #172554 100%);
  --pill-gradient-hover: linear-gradient(135deg, #2749A8 0%, #1E40AF 45%, #1E3A8A 100%);

  /* Neutral tokens */
  --dark:   #0F1A0A;
  --grey:   #5B6B55;
  --light:  #F4F8F2;
  --border: #D6E4CE;
  --wa:     #25d366;
  --wa-dark:#128c7e;

  --danger:  var(--primary);
  --warning: var(--accent);

  /* ============================================================
     GLOSSY GRADIENT PRESETS
     ============================================================ */
  --gloss-red:    linear-gradient(135deg, #E83534 0%, #D71110 45%, #A80D0C 100%);
  --gloss-green:  linear-gradient(135deg, #4FBF3E 0%, #369D27 45%, #27751B 100%);
  --gloss-yellow: linear-gradient(135deg, #FFF566 0%, #FFEC00 45%, #D4C400 100%);
  --gloss-white:  linear-gradient(135deg, #FFFFFF 0%, #FAFCF8 50%, #F0F5EC 100%);
  --gloss-dark:   linear-gradient(135deg, #2A1A1A 0%, #1A0A0A 50%, #0F0505 100%);

  /* Inner highlight (top edge sheen) */
  --sheen: inset 0 1px 0 rgba(255,255,255,.55);
  --sheen-strong: inset 0 1px 0 rgba(255,255,255,.75), inset 0 -1px 0 rgba(0,0,0,.05);

  /* Soft layered shadows for depth */
  --shadow-sm: 0 2px 6px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.14), 0 6px 14px rgba(0,0,0,.08);
  --shadow-red:   0 12px 32px rgba(215,17,16,.35), 0 4px 10px rgba(215,17,16,.20);
  --shadow-green: 0 12px 32px rgba(54,157,39,.35), 0 4px 10px rgba(54,157,39,.20);
  --shadow-yellow:0 12px 32px rgba(212,196,0,.40), 0 4px 10px rgba(212,196,0,.25);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
i.fa-solid, i.fa-regular, i.fa-brands { line-height: 1; }

/* ============================================================
   TOPBAR  ?  glossy RED
   ============================================================ */
.topbar {
  background: var(--gloss-red);
  color: #fff;
  padding: 8px 0;
  font-size: 0.85rem;
  box-shadow: var(--shadow-sm), var(--sheen);
  position: relative;
  z-index: 101;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar .reg-no { font-size: 0.8rem; opacity: 0.95; }
.topbar i { margin-right: 6px; color: var(--accent); }

/* ============================================================
   NAVBAR  ?  glossy GREEN + YELLOW accent border
   ============================================================ */
.navbar {
  background: var(--gloss-green);
  box-shadow: 0 4px 20px rgba(54,157,39,.35), var(--sheen-strong);
  padding: 16px 0;
  position: sticky; top: 0; z-index: 100;
  border-bottom: 3px solid var(--accent);
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand-logo-img {
  height: 56px; width: auto; max-width: 200px; display: block; object-fit: contain;
  transition: transform .3s ease;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.25));
}
.brand:hover .brand-logo-img { transform: scale(1.04); }
.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-links a {
  color: #fff; text-decoration: none; padding: 8px 16px; border-radius: 8px;
  font-weight: 600; font-size: 0.9rem; transition: all .25s ease;
  position: relative;
}
.nav-links a i { margin-right: 6px; color: var(--accent); }
.nav-links a:hover {
  background: var(--gloss-red);
  box-shadow: var(--shadow-red), var(--sheen);
  transform: translateY(-1px);
}
.nav-links a:hover i { color: var(--accent); }
.nav-links .btn-nav { background: var(--gloss-red); color: #fff; box-shadow: var(--shadow-red), var(--sheen); }
.nav-links .btn-nav i { color: var(--accent); }
.nav-links .btn-nav:hover { background: var(--gloss-red); filter: brightness(1.08); }
.menu-toggle {
  display: none; background: rgba(255,255,255,.15); border: 2px solid #fff;
  border-radius: 8px; padding: 8px 12px; font-size: 1.3rem; cursor: pointer;
  color: #fff; backdrop-filter: blur(6px);
}

/* ============================================================
   HERO  ?  glossy RED gradient + glass orbs
   ============================================================ */
.hero {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255,236,0,.20) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 100%, rgba(54,157,39,.30) 0%, transparent 55%),
    linear-gradient(135deg, #E83534 0%, #D71110 45%, #8B0000 100%);
  color: #fff;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 -20px 40px -20px rgba(0,0,0,.30);
}
.hero::before {
  content: ''; position: absolute; top: -30%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255, 236, 0, 0.28) 0%, transparent 70%);
  border-radius: 50%; animation: float 15s ease-in-out infinite;
  filter: blur(2px);
}
.hero::after {
  content: ''; position: absolute; bottom: -20%; left: -5%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(54, 157, 39, 0.35) 0%, transparent 70%);
  border-radius: 50%; animation: float 20s ease-in-out infinite reverse;
  filter: blur(2px);
}
@keyframes float { 0%,100%{transform:translate(0,0);} 50%{transform:translate(30px,-30px);} }

.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 900px; margin: 0 auto; }

/* ============================================================
   HERO LOGO (responsive image with WHITE BACKGROUND behind it)
   ============================================================ */
.hero-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 24px;
  padding: 0 16px;
  animation: heroLogoFadeIn 0.8s ease-out both;
}

.hero-logo-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 260px;
  object-fit: contain;

  /* ? WHITE BACKGROUND BEHIND LOGO */
  background: #FFFFFF;
  padding: 16px 24px;
  border-radius: 20px;
  border: 3px solid rgba(255, 236, 0, 0.65);

  /* Soft glow + depth so it pops against the red hero */
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.35) inset,
    0 0 40px rgba(255, 236, 0, 0.35);

  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
  transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
}

.hero-logo-img:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.55) inset,
    0 0 55px rgba(255, 236, 0, 0.55);
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}

@keyframes heroLogoFadeIn {
  from { opacity: 0; transform: translateY(-16px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,236,0,.55);
  padding: 8px 20px; border-radius: 30px;
  font-size: .85rem; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 24px;
  backdrop-filter: blur(12px);
  box-shadow: var(--sheen), 0 4px 14px rgba(0,0,0,.15);
}
.hero-badge i { color: var(--accent); margin-right: 6px; }
.hero h1 { font-size: 3rem; font-weight: 800; line-height: 1.15; margin-bottom: 8px; letter-spacing: -.5px; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.hero h1 .highlight {
  display: block; color: var(--accent); font-size: 3.4rem;
  text-shadow: 0 4px 20px rgba(255,236,0,.55), 0 2px 6px rgba(0,0,0,.25);
}
.hero-sub { font-size: 1.1rem; opacity: .95; margin-bottom: 12px; font-weight: 500; }
.hero-desc { font-size: 1rem; opacity: .92; max-width: 680px; margin: 0 auto 32px; }

/* ============================================================
   HERO EVENT PILLS  ?  DARK ROYAL BLUE bg + YELLOW font
   ============================================================ */
.hero-event-info {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0 32px;
}

.event-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  /* ? DARK ROYAL BLUE BACKGROUND */
  background: var(--pill-gradient);
  color: var(--accent);                             /* ? YELLOW FONT */
  border: 2px solid rgba(255, 236, 0, 0.75);        /* yellow border */
  padding: 10px 22px;
  border-radius: 30px;
  font-size: .9rem;
  font-weight: 700;
  transition: all .3s ease;
  box-shadow:
    0 8px 22px rgba(30, 58, 138, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.10) inset,
    var(--sheen);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.event-pill:hover {
  background: var(--pill-gradient-hover);
  transform: translateY(-2px);
  box-shadow:
    0 12px 30px rgba(30, 58, 138, 0.70),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset,
    0 0 25px rgba(255, 236, 0, 0.35),
    var(--sheen);
  border-color: var(--accent);
}

.event-pill i {
  color: var(--accent);                             /* ? yellow icon */
  font-size: 1rem;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

.event-pill span {
  color: var(--accent);                             /* ? yellow text */
  font-weight: 700;
  letter-spacing: 0.2px;
}

.hero-banner { margin: 32px auto; max-width: 960px; width: 100%; padding: 0 10px; }
.hero-banner picture { display: block; width: 100%; }
.hero-banner-img {
  display: block; width: 100%; height: auto; max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(255,236,0,.30) inset;
  transition: transform .4s ease, box-shadow .4s ease;
}
.hero-banner-img:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(255,236,0,.45) inset;
}

.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-hero {
  padding: 16px 36px; border-radius: 12px; font-size: 1rem; font-weight: 700;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: all .3s ease; border: none; cursor: pointer;
  position: relative;
}
.btn-hero-primary {
  background: var(--gloss-yellow);
  color: var(--dark);
  box-shadow: var(--shadow-yellow), var(--sheen-strong);
}
.btn-hero-primary:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
  box-shadow: 0 18px 40px rgba(212,196,0,.55), var(--sheen-strong);
}
.btn-hero-outline {
  background: var(--gloss-green);
  color: #fff;
  border: 2px solid var(--accent);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-green), var(--sheen);
}
.btn-hero-outline:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
  box-shadow: 0 18px 40px rgba(54,157,39,.55), var(--sheen);
}
.btn-hero-disabled {
  background: rgba(255,255,255,.15); color: rgba(255,255,255,.65);
  cursor: not-allowed; border: 2px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
}
.btn-hero-disabled:hover { transform: none; }

/* ============================================================
   BIG HEARTBEAT "DAFTAR SEKARANG" BUTTON
   ============================================================ */
.btn-hero.btn-heartbeat {
  position: relative;
  padding: 22px 60px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: 16px;
  text-transform: uppercase;

  min-width: 320px;
  min-height: 68px;
  justify-content: center;

  box-shadow:
    0 18px 45px rgba(212, 196, 0, 0.55),
    0 6px 16px rgba(0, 0, 0, 0.25),
    var(--sheen-strong);

  /* ? Heartbeat animation */
  animation: heartbeat 1.4s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform;
}

.btn-hero.btn-heartbeat i {
  font-size: 1.35rem;
}

/* Heartbeat keyframes — double-thump like a real pulse */
@keyframes heartbeat {
  0%   { transform: scale(1);    }
  14%  { transform: scale(1.07); }
  28%  { transform: scale(1);    }
  42%  { transform: scale(1.07); }
  70%  { transform: scale(1);    }
  100% { transform: scale(1);    }
}

/* Subtle pulsing ring around the button */
.btn-hero.btn-heartbeat::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 20px;
  border: 2px solid rgba(255, 236, 0, 0.7);
  animation: heartbeatRing 1.4s ease-out infinite;
  pointer-events: none;
}

@keyframes heartbeatRing {
  0%   { transform: scale(1);    opacity: 0.85; }
  70%  { transform: scale(1.15); opacity: 0;    }
  100% { transform: scale(1.15); opacity: 0;    }
}

/* Hover — pause heartbeat, lift, extra glow */
.btn-hero.btn-heartbeat:hover {
  animation-play-state: paused;
  transform: translateY(-4px) scale(1.04);
  filter: brightness(1.08);
  box-shadow:
    0 24px 60px rgba(212, 196, 0, 0.70),
    0 8px 20px rgba(0, 0, 0, 0.30),
    var(--sheen-strong);
}

.btn-hero.btn-heartbeat:active {
  transform: translateY(-1px) scale(0.98);
  transition: transform 0.1s ease;
}

/* ============================================================
   COUNTDOWN  ?  glossy GREEN card + glossy RED boxes
   ============================================================ */
.event-countdown-wrap { margin-top: -60px; position: relative; z-index: 10; margin-bottom: 40px; }
.event-countdown {
  background: var(--gloss-green);
  border-radius: 24px; padding: 40px 30px;
  box-shadow: 0 24px 60px rgba(54,157,39,.40), var(--sheen-strong);
  text-align: center;
  border-top: 5px solid var(--accent);
  position: relative; overflow: hidden;
  color: #fff;
}
.event-countdown::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--success), var(--primary));
  background-size: 200% 100%;
  animation: gradientMove 3s linear infinite;
  box-shadow: 0 0 12px rgba(255,236,0,.6);
}
@keyframes gradientMove { 0%{background-position:0% 0%;} 100%{background-position:200% 0%;} }
.cd-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gloss-yellow); color: var(--dark);
  padding: 6px 16px; border-radius: 20px; font-size: .8rem;
  font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px;
  box-shadow: var(--sheen-strong), 0 4px 12px rgba(212,196,0,.45);
}
.cd-live-dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; animation: livePulse 1.5s infinite; }
@keyframes livePulse { 0%,100%{transform:scale(1);opacity:1;} 50%{transform:scale(1.4);opacity:.55;} }
.cd-title { font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: 8px; text-shadow: 0 2px 8px rgba(0,0,0,.25); }
.cd-meta {
  display: flex; justify-content: center; align-items: center; gap: 24px;
  flex-wrap: wrap; color: #fff; font-size: .95rem;
  margin: 16px 0 24px; padding: 16px 20px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: var(--sheen);
}
.cd-meta-item { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.cd-meta-item i {
  color: #fff; font-size: 1.05rem;
  background: var(--gloss-red);
  width: 32px; height: 32px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: var(--shadow-red), var(--sheen);
}
.cd-meta-divider { width: 1px; height: 24px; background: rgba(255,255,255,.3); }
.cd-grid { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cd-box {
  background: var(--gloss-red);
  color: #fff; padding: 20px 24px; border-radius: 16px; min-width: 100px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(215,17,16,.45), var(--sheen-strong);
  transition: transform .3s ease, box-shadow .3s ease;
  border: 2px solid var(--accent);
  position: relative;
}
.cd-box:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 18px 40px rgba(215,17,16,.60), var(--sheen-strong);
}
.cd-box .cd-num { font-size: 2.6rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; text-shadow: 0 2px 8px rgba(0,0,0,.30); }
.cd-box .cd-unit { font-size: .7rem; text-transform: uppercase; letter-spacing: 2px; opacity: .95; margin-top: 8px; color: var(--accent); }
.cd-box.urgent {
  background: linear-gradient(135deg, #E83534 0%, #D71110 45%, #6B0000 100%);
  animation: cdUrgent 1s infinite;
}
@keyframes cdUrgent {
  0%,100% { box-shadow: 0 8px 20px rgba(215,17,16,.35), var(--sheen-strong); }
  50%     { box-shadow: 0 8px 34px rgba(215,17,16,.75), var(--sheen-strong); }
}

/* ============================================================
   STATS  ?  glossy GREEN section, glossy WHITE cards
   ============================================================ */
.stats-section {
  padding: 60px 0;
  background:
    radial-gradient(ellipse at top, rgba(255,255,255,.10) 0%, transparent 60%),
    var(--gloss-green);
  position: relative;
}
.stats-section::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.10) 0%, transparent 30%, transparent 70%, rgba(0,0,0,.10) 100%);
  pointer-events: none;
}
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.stat-item {
  background: var(--gloss-white);
  padding: 30px 20px; border-radius: 16px; text-align: center;
  border: 1px solid var(--border);
  transition: all .3s ease;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-md), var(--sheen-strong);
}
.stat-item::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: var(--gloss-red); transform: scaleX(0); transition: transform .3s ease; transform-origin: left;
}
.stat-item:hover::before { transform: scaleX(1); }
.stat-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(0,0,0,.18), var(--sheen-strong);
}
.stat-item .stat-icon { font-size: 2.2rem; margin-bottom: 12px; display: block; color: var(--primary); filter: drop-shadow(0 2px 4px rgba(215,17,16,.25)); }
.stat-item .stat-value { font-size: 2.4rem; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.stat-item .stat-label { color: var(--grey); font-size: .9rem; font-weight: 600; }
.stat-item.accent  .stat-value { color: var(--accent-dark); }
.stat-item.accent::before  { background: var(--gloss-yellow); }
.stat-item.accent  .stat-icon { color: var(--accent-dark); }
.stat-item.success .stat-value { color: var(--success); }
.stat-item.success::before { background: var(--gloss-green); }
.stat-item.success .stat-icon { color: var(--success); }

/* ============================================================
   FEATURES  ?  glossy GREEN section, glossy WHITE cards
   ============================================================ */
.features-section {
  padding: 60px 0;
  background:
    radial-gradient(ellipse at bottom, rgba(255,255,255,.10) 0%, transparent 60%),
    var(--gloss-green);
  position: relative;
}
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; color: var(--accent); text-shadow: 0 2px 8px rgba(0,0,0,.25); }
.section-header p  { color: #fff; font-size: 1.05rem; max-width: 600px; margin: 0 auto; opacity: .95; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.feature-card {
  padding: 32px 28px; border-radius: 16px;
  background: var(--gloss-white);
  border: 1px solid var(--border);
  transition: all .3s ease; text-align: center;
  box-shadow: var(--shadow-md), var(--sheen-strong);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0,0,0,.20), var(--sheen-strong);
  border-color: var(--primary);
}
.feature-icon {
  width: 64px; height: 64px;
  background: var(--gloss-red);
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; color: var(--accent); font-size: 1.5rem;
  box-shadow: var(--shadow-red), var(--sheen-strong);
}
.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; color: var(--primary); }
.feature-card p  { color: var(--grey); font-size: .92rem; line-height: 1.6; }

/* ============================================================
   REGISTER FORM  ?  glossy GREEN section, glossy WHITE card
   ============================================================ */
.register-section {
  padding: 60px 0;
  background:
    radial-gradient(ellipse at top left, rgba(255,255,255,.12) 0%, transparent 50%),
    var(--gloss-green);
  position: relative;
}
.form-card {
  background: var(--gloss-white);
  border-radius: 24px; padding: 40px;
  box-shadow: 0 30px 70px rgba(0,0,0,.25), var(--sheen-strong);
  max-width: 800px; margin: 0 auto;
  border: 3px solid var(--primary);
  position: relative;
}
.form-card-header {
  text-align: center; margin-bottom: 32px; padding-bottom: 24px;
  border-bottom: 2px dashed var(--primary);
}
.form-card-header h2 { font-size: 1.8rem; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.form-card-header h2 i { color: var(--primary); margin-right: 8px; }
.form-card-header p { color: var(--grey); font-size: .95rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; font-size: .9rem; color: var(--dark); margin-bottom: 8px; }
.form-group label .req { color: var(--primary); }
.form-group label .opt { color: var(--grey); font-weight: 400; font-size: .8rem; font-style: italic; }
.form-group input, .form-group textarea {
  width: 100%; padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 12px; font-size: 1rem; font-family: inherit;
  transition: all .2s ease;
  background: #fff;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.04);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--success); background: #fff;
  box-shadow: 0 0 0 4px rgba(54,157,39,.20), inset 0 1px 3px rgba(0,0,0,.04);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  width: 100%; padding: 18px;
  background: var(--gloss-red);
  color: #fff; border: none; border-radius: 12px;
  font-size: 1.05rem; font-weight: 700; cursor: pointer;
  transition: all .3s ease;
  box-shadow: var(--shadow-red), var(--sheen-strong);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 18px 40px rgba(215,17,16,.55), var(--sheen-strong);
}
.btn-submit:disabled {
  opacity: .55; cursor: not-allowed; transform: none;
  background: linear-gradient(135deg, #B0B8AE 0%, #94a3b8 50%, #788078 100%);
  box-shadow: none;
}

/* Tom Select overrides */
.form-group .ts-wrapper { width: 100%; }
.form-group .ts-control {
  width: 100%; padding: 14px 18px;
  border: 2px solid var(--border); border-radius: 12px;
  font-size: 1rem; font-family: inherit;
  background: #fff; box-shadow: inset 0 1px 3px rgba(0,0,0,.04);
  min-height: 52px; line-height: 1.5;
}
.form-group .ts-wrapper.focus .ts-control {
  border-color: var(--success); background: #fff;
  box-shadow: 0 0 0 4px rgba(54,157,39,.20), inset 0 1px 3px rgba(0,0,0,.04);
}
.form-group .ts-control > input { font-size: 1rem; font-family: inherit; }
.form-group .ts-dropdown {
  border: 2px solid var(--primary); border-radius: 12px; margin-top: 4px;
  box-shadow: var(--shadow-lg); overflow: hidden; background: #fff;
}
.form-group .ts-dropdown .option { padding: 12px 18px; font-size: .95rem; }
.form-group .ts-dropdown .option.active { background: var(--gloss-red); color: #fff; }
.form-group .ts-dropdown .option:hover { background: var(--gloss-green); color: #fff; }
.form-group .ts-dropdown .option.active:hover { background: var(--gloss-red); filter: brightness(1.05); }
.form-group .ts-dropdown .no-results { padding: 12px 18px; color: var(--grey); font-style: italic; }

/* ============================================================
   SURAT SECTION  ?  glossy GREEN
   ============================================================ */
.surat-section {
  padding: 60px 0;
  background:
    radial-gradient(ellipse at bottom right, rgba(255,255,255,.12) 0%, transparent 55%),
    var(--gloss-green);
  position: relative;
}
.surat-card {
  background: var(--gloss-white);
  border-radius: 24px; padding: 40px;
  box-shadow: 0 30px 70px rgba(0,0,0,.25), var(--sheen-strong);
  max-width: 700px; margin: 0 auto;
  border: 3px solid var(--primary);
  position: relative; overflow: hidden;
}
.surat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--success), var(--accent), var(--primary));
  box-shadow: 0 0 12px rgba(255,236,0,.5);
}
.surat-header {
  text-align: center; margin-bottom: 28px; padding-bottom: 24px;
  border-bottom: 2px dashed var(--success);
}
.surat-header .surat-icon {
  width: 72px; height: 72px;
  background: var(--gloss-green);
  border-radius: 20px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; color: #fff; font-size: 2rem;
  box-shadow: var(--shadow-green), var(--sheen-strong);
}
.surat-header h2 { font-size: 1.8rem; font-weight: 800; color: var(--success); margin-bottom: 8px; }
.surat-header p  { color: var(--grey); font-size: .95rem; max-width: 500px; margin: 0 auto; }
.surat-input-wrap { display: flex; gap: 10px; margin-bottom: 16px; }
.surat-input-wrap input {
  flex: 1; padding: 16px 20px;
  border: 2px solid var(--border); border-radius: 12px;
  font-size: 1.1rem; font-family: 'Courier New', monospace;
  letter-spacing: 2px; text-align: center;
  transition: all .2s ease; background: #fff;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.04);
}
.surat-input-wrap input:focus {
  outline: none; border-color: var(--success); background: #fff;
  box-shadow: 0 0 0 4px rgba(54,157,39,.20), inset 0 1px 3px rgba(0,0,0,.04);
}
.surat-input-wrap button {
  padding: 16px 28px;
  background: var(--gloss-green);
  color: #fff; border: none; border-radius: 12px;
  font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: all .3s ease;
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
  box-shadow: var(--shadow-green), var(--sheen-strong);
}
.surat-input-wrap button:hover:not(:disabled) {
  transform: translateY(-2px); filter: brightness(1.06);
  box-shadow: 0 18px 40px rgba(54,157,39,.55), var(--sheen-strong);
}
.surat-input-wrap button:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.surat-hint { font-size: .8rem; color: var(--grey); text-align: center; display: flex; align-items: center; justify-content: center; gap: 6px; }
.surat-hint i { color: var(--success); }
.surat-result { margin-top: 20px; padding: 20px; border-radius: 14px; display: none; animation: fadeSlideIn .4s ease; }
@keyframes fadeSlideIn { from{opacity:0;transform:translateY(-8px);} to{opacity:1;transform:translateY(0);} }
.surat-result.show { display: block; }
.surat-result.success { background: #DCFCE7; border: 2px solid var(--success); color: #14532D; }
.surat-result.error   { background: #FEE2E2; border: 2px solid var(--primary); color: #7F1D1D; }
.surat-result.loading { background: var(--accent-light); border: 2px solid var(--accent-dark); color: #713F12; }
.surat-result .sr-name { font-weight: 800; font-size: 1.1rem; margin-bottom: 4px; }
.surat-result .sr-code { font-family: monospace; font-size: .9rem; opacity: .8; }
.surat-result .sr-actions { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
.surat-result .sr-actions a {
  padding: 12px 20px; border-radius: 10px; font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px; transition: all .2s ease; font-size: .9rem;
}
.surat-result .sr-actions .btn-download { background: var(--gloss-green); color: #fff; box-shadow: var(--shadow-green), var(--sheen); }
.surat-result .sr-actions .btn-download:hover { transform: translateY(-2px); filter: brightness(1.06); }
.surat-result .sr-actions .btn-preview { background: var(--gloss-red); color: #fff; box-shadow: var(--shadow-red), var(--sheen); }
.surat-result .sr-actions .btn-preview:hover { transform: translateY(-2px); filter: brightness(1.06); }

/* ============================================================
   ALERTS  ?  glossy
   ============================================================ */
.alert {
  padding: 16px 20px; border-radius: 12px; margin-bottom: 16px;
  font-weight: 500; display: none; border-left: 4px solid;
  box-shadow: var(--shadow-sm);
}
.alert.show { display: block; }
.alert i { margin-right: 8px; }
.alert-info    { background: linear-gradient(135deg, #FFFEF0 0%, var(--accent-light) 100%); color: #713F12; border-color: var(--accent-dark); }
.alert-success { background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%); color: #14532D; border-color: var(--success); }
.alert-error   { background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%); color: #7F1D1D; border-color: var(--primary); }

/* ============================================================
   CLAIM LOCKED  ?  glossy RED-tinted
   ============================================================ */
.claim-locked {
  background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 50%, #FECACA 100%);
  border: 2px solid var(--primary); padding: 30px 24px;
  border-radius: 16px; text-align: center; margin-bottom: 24px;
  box-shadow: 0 12px 30px rgba(215,17,16,.20), var(--sheen-strong);
}
.claim-locked .lock-icon { font-size: 3.5rem; color: var(--primary); margin-bottom: 16px; animation: lockShake 2s infinite; filter: drop-shadow(0 4px 8px rgba(215,17,16,.35)); }
@keyframes lockShake { 0%,100%{transform:rotate(0deg);} 10%,30%,50%,70%,90%{transform:rotate(-5deg);} 20%,40%,60%,80%{transform:rotate(5deg);} }
.claim-locked h3 { font-size: 1.4rem; color: var(--primary-dark); margin-bottom: 12px; font-weight: 800; }
.claim-locked p  { color: #7F1D1D; font-size: .95rem; margin-bottom: 8px; }
.claim-locked .lock-info {
  display: inline-block; background: #fff; padding: 12px 20px; border-radius: 12px;
  margin-top: 12px; font-weight: 600; color: var(--primary);
  border: 1px solid var(--primary);
  box-shadow: var(--shadow-sm), var(--sheen-strong);
}

/* ============================================================
   ?? TUNTUT HADIAH (CLAIM) SECTION  ?  GLOSSY YELLOW #FFEC00
   ============================================================ */
#tuntut {
  background:
    radial-gradient(ellipse at top right, rgba(255,255,255,.35) 0%, transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(212,196,0,.45) 0%, transparent 55%),
    var(--gloss-yellow);
  position: relative;
  padding: 60px 0;
  box-shadow: inset 0 0 80px rgba(212,196,0,.35);
}
#tuntut::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.20) 0%, transparent 25%, transparent 75%, rgba(0,0,0,.06) 100%);
  pointer-events: none;
}
#tuntut .form-card {
  background: var(--gloss-white);
  border: 3px solid var(--success);
  box-shadow: 0 30px 70px rgba(54,157,39,.30), 0 12px 30px rgba(212,196,0,.35), var(--sheen-strong);
}
#tuntut .form-card-header {
  border-bottom: 2px dashed var(--success);
}
#tuntut .form-card-header h2 { color: var(--success); }
#tuntut .form-card-header h2 i { color: var(--success); }
#tuntut .form-group input:focus {
  border-color: var(--success);
  box-shadow: 0 0 0 4px rgba(54,157,39,.20), inset 0 1px 3px rgba(0,0,0,.04);
}

/* ============================================================
   TICKET  ?  glossy RED + YELLOW frame + WHITE QR
   ============================================================ */
.ticket-display {
  background: var(--gloss-red);
  color: #fff; padding: 32px; border-radius: 20px; text-align: center;
  margin: 24px 0;
  box-shadow: 0 24px 55px rgba(215,17,16,.45), var(--sheen-strong);
  border: 3px solid var(--accent);
}
.ticket-display .t-label { font-size: .85rem; text-transform: uppercase; letter-spacing: 2px; opacity: .95; margin-bottom: 16px; color: var(--accent); }
.ticket-display .t-code {
  font-size: 2.5rem; font-weight: 800; font-family: 'Courier New', monospace;
  letter-spacing: 6px; margin: 16px 0; padding: 18px;
  background: rgba(255,255,255,.18);
  border-radius: 12px;
  border: 2px dashed var(--accent);
  word-break: break-all;
  backdrop-filter: blur(4px);
}
.ticket-display .t-name { font-size: 1.1rem; font-weight: 600; margin-bottom: 20px; }
.ticket-display .qr-wrap {
  display: inline-block; padding: 16px; background: #fff; border-radius: 16px;
  margin: 16px 0; border: 2px solid var(--accent);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.ticket-display .t-note { font-size: .85rem; opacity: .95; margin-top: 16px; line-height: 1.5; }
.ticket-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.ticket-actions .btn {
  flex: 1; min-width: 220px; padding: 16px 24px; border-radius: 12px;
  font-size: 1rem; font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: all .3s ease; border: none; cursor: pointer; text-align: center;
}
.ticket-actions .btn-primary {
  background: var(--gloss-red); color: #fff;
  box-shadow: var(--shadow-red), var(--sheen-strong);
  border: 2px solid var(--accent);
}
.ticket-actions .btn-primary:hover { transform: translateY(-2px); filter: brightness(1.06); }
.ticket-actions .btn-success {
  background: var(--gloss-green); color: #fff;
  box-shadow: var(--shadow-green), var(--sheen-strong);
}
.ticket-actions .btn-success:hover { transform: translateY(-2px); filter: brightness(1.06); }
@media (max-width: 640px) { .ticket-actions{flex-direction:column;} .ticket-actions .btn{min-width:100%;font-size:.95rem;padding:14px 20px;} }

/* ============================================================
   QUOTA WARNING  ?  glossy YELLOW
   ============================================================ */
.quota-warning {
  background: var(--gloss-yellow);
  border: 2px solid var(--primary); color: #713F12;
  padding: 20px; border-radius: 16px; margin-bottom: 24px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  box-shadow: 0 12px 30px rgba(212,196,0,.50), var(--sheen-strong);
}
.quota-warning .qw-icon { font-size: 2.5rem; animation: shake 1.5s infinite; color: var(--primary); filter: drop-shadow(0 3px 6px rgba(215,17,16,.35)); }
@keyframes shake { 0%,100%{transform:rotate(0deg);} 25%{transform:rotate(-10deg);} 75%{transform:rotate(10deg);} }
.quota-warning .qw-msg { flex: 1; min-width: 200px; }
.quota-warning .qw-msg strong { font-size: 1.1rem; display: block; margin-bottom: 4px; }
.quota-warning .qw-countdown {
  background: #fff; border: 2px solid var(--primary); padding: 10px 16px; border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow-sm), var(--sheen-strong);
}
.quota-warning .qw-countdown .qw-label { font-size: .7rem; text-transform: uppercase; letter-spacing: 1px; color: #713F12; margin-bottom: 4px; }
.quota-warning .qw-countdown .qw-time  { font-family: monospace; font-size: 1.3rem; font-weight: 700; color: var(--primary); }

/* ============================================================
   CLOSED BANNER  ?  glossy RED + YELLOW frame
   ============================================================ */
.closed-banner {
  background: var(--gloss-red);
  color: #fff; padding: 50px 30px; border-radius: 24px; text-align: center;
  margin: 40px 0;
  box-shadow: 0 24px 60px rgba(215,17,16,.45), var(--sheen-strong);
  border: 3px solid var(--accent);
}
.closed-banner .cb-icon { font-size: 5rem; display: block; margin-bottom: 16px; color: var(--accent); filter: drop-shadow(0 4px 10px rgba(255,236,0,.5)); }
.closed-banner h2 { font-size: 2.2rem; margin-bottom: 12px; letter-spacing: 2px; }
.closed-banner .cb-counter {
  display: inline-block; background: rgba(255,255,255,.22);
  padding: 10px 24px; border-radius: 24px; font-weight: 700; margin-top: 16px; font-size: 1rem;
  backdrop-filter: blur(6px);
  box-shadow: var(--sheen);
}

/* ============================================================
   FOOTER  ?  glossy RED dark
   ============================================================ */
.footer {
  background: linear-gradient(135deg, #A80D0C 0%, #8B0000 50%, #5A0000 100%);
  color: #FFE5E5; padding: 40px 0 20px; margin-top: 60px;
  border-top: 4px solid var(--accent);
  box-shadow: inset 0 20px 40px -20px rgba(0,0,0,.35);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.footer h4 i { color: var(--accent); margin-right: 6px; }
.footer p { font-size: .9rem; opacity: .9; line-height: 1.6; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { color: #FFE5E5; text-decoration: none; font-size: .9rem; transition: color .2s ease; }
.footer ul a:hover { color: var(--accent); }
.footer ul i { color: var(--accent); margin-right: 8px; width: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.2); padding-top: 20px; text-align: center; font-size: .85rem; opacity: .85; }

/* ============================================================
   TOAST  ?  glossy RED + YELLOW border
   ============================================================ */
.toast-popup {
  position: fixed; top: 20px; right: 20px; z-index: 9999;
  background: var(--gloss-red);
  color: #fff; padding: 16px 22px; border-radius: 12px;
  box-shadow: 0 16px 44px rgba(215,17,16,.60), var(--sheen-strong);
  max-width: 380px; display: flex; align-items: flex-start; gap: 12px;
  animation: toastIn .5s cubic-bezier(.68,-.55,.265,1.55);
  cursor: pointer;
  border: 2px solid var(--accent);
}
@keyframes toastIn  { from{transform:translateX(400px);opacity:0;} to{transform:translateX(0);opacity:1;} }
.toast-popup.hide { animation: toastOut .4s ease forwards; }
@keyframes toastOut { to{transform:translateX(400px);opacity:0;} }
.toast-popup .toast-icon { font-size: 1.8rem; animation: ring 1s infinite; color: var(--accent); filter: drop-shadow(0 2px 6px rgba(255,236,0,.5)); }
@keyframes ring { 0%,100%{transform:rotate(0);} 25%{transform:rotate(-15deg);} 75%{transform:rotate(15deg);} }
.toast-popup .toast-content { flex: 1; }
.toast-popup .toast-title { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.toast-popup .toast-msg { font-size: .9rem; opacity: .95; line-height: 1.4; }
.toast-popup .toast-close { background: rgba(255,255,255,.22); border: none; color: #fff; width: 24px; height: 24px; border-radius: 50%; cursor: pointer; font-size: 1rem; line-height: 1; flex-shrink: 0; }

/* ============================================================
   FLOATING WHATSAPP  ?  glossy brand color
   ============================================================ */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 998;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, #3EE07A 0%, #25d366 45%, #128c7e 100%);
  color: #fff !important; display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.9rem; text-decoration: none;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0, 0, 0, 0.20), var(--sheen-strong);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: waPulse 2.5s ease-in-out infinite;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.wa-float:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 16px 42px rgba(37, 211, 102, 0.70), 0 6px 16px rgba(0, 0, 0, 0.25), var(--sheen-strong);
  animation-play-state: paused;
}
.wa-float:active { transform: translateY(-2px) scale(1.02); }
.wa-float:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.wa-float i { line-height: 1; filter: drop-shadow(0 1px 2px rgba(0,0,0,.25)); }
.wa-float::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(37, 211, 102, 0.5); animation: waRing 2.5s ease-out infinite; pointer-events: none; }
.wa-float .wa-label {
  position: absolute; right: 100%; top: 50%;
  transform: translateY(-50%) translateX(-10px);
  background: var(--gloss-red); color: #fff; font-size: 0.82rem; font-weight: 600;
  white-space: nowrap; padding: 8px 14px; border-radius: 10px;
  margin-right: 12px; opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: var(--shadow-red), var(--sheen);
}
.wa-float .wa-label::after { content: ''; position: absolute; right: -5px; top: 50%; transform: translateY(-50%) rotate(45deg); width: 10px; height: 10px; background: var(--primary); }
.wa-float:hover .wa-label { opacity: 1; transform: translateY(-50%) translateX(0); }
.wa-float .wa-badge {
  position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; border-radius: 10px;
  background: var(--gloss-red); color: #fff; font-size: .68rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 6px;
  border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25), var(--sheen);
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0, 0, 0, 0.20), var(--sheen-strong); }
  50%      { box-shadow: 0 16px 42px rgba(37, 211, 102, 0.80), 0 6px 16px rgba(0, 0, 0, 0.25), var(--sheen-strong); }
}
@keyframes waRing { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.5); opacity: 0; } }

@media (max-width: 768px) { .wa-float { width: 56px; height: 56px; bottom: 16px; right: 16px; font-size: 1.75rem; } .wa-float .wa-label { display: none; } }
@media (max-width: 400px) { .wa-float { width: 52px; height: 52px; font-size: 1.6rem; bottom: 14px; right: 14px; } }
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } .wa-float::after { animation: none; opacity: 0.3; } }

/* ============================================================
   RESPONSIVE — ALL BREAKPOINTS AT BOTTOM
   ============================================================ */

/* Large desktops */
@media (min-width: 1280px) {
  .hero-logo-img { max-height: 300px; }
  .hero-banner { max-width: 1040px; }
  .brand-logo-img { height: 60px; max-width: 220px; }
}

/* Standard desktops */
@media (min-width: 1025px) and (max-width: 1279px) {
  .hero-logo-img { max-height: 270px; }
}

/* Small laptops / large tablets */
@media (min-width: 769px) and (max-width: 1024px) {
  .brand-logo-img { height: 50px; max-width: 170px; }
  .hero-logo-img { max-height: 220px; }
  .hero-banner { max-width: 720px; }

  .btn-hero.btn-heartbeat {
    padding: 20px 48px;
    font-size: 1.15rem;
    min-width: 280px;
    min-height: 62px;
  }
}

/* Tablets / big phones */
@media (max-width: 768px) {
  .hero { padding: 50px 0 80px; }
  .hero-logo-wrap { margin-bottom: 18px; }
  .hero-logo-img {
    max-height: 160px;
    max-width: 70vw;
  }
  .hero h1 { font-size: 2rem; }
  .hero h1 .highlight { font-size: 2.2rem; }
  .hero-sub { font-size: 1rem; }
  .hero-banner { margin: 24px auto; padding: 0 4px; }
  .hero-banner-img { border-radius: 14px; box-shadow: 0 12px 36px rgba(0,0,0,.35); }
  .btn-hero { padding: 14px 24px; font-size: .95rem; }

  .btn-hero.btn-heartbeat {
    padding: 18px 40px;
    font-size: 1.05rem;
    min-width: 0;
    width: 100%;
    max-width: 380px;
    min-height: 58px;
    border-radius: 14px;
    letter-spacing: 0.3px;
  }
  .btn-hero.btn-heartbeat i { font-size: 1.15rem; }

  .cd-box { min-width: 70px; padding: 14px 16px; }
  .cd-box .cd-num { font-size: 1.8rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 24px; }
  .section-header h2 { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--gloss-green);
    flex-direction: column; padding: 16px;
    box-shadow: 0 14px 34px rgba(54,157,39,.40), var(--sheen);
    border-bottom: 3px solid var(--accent);
  }
  .menu-toggle { display: block; }
  .brand { gap: 8px; }
  .brand-logo-img { height: 42px; max-width: 140px; }
  .cd-meta { flex-direction: column; gap: 12px; padding: 14px; }
  .cd-meta-divider { display: none; }
  .cd-meta-item { width: 100%; justify-content: flex-start; font-size: .9rem; }

  /* Event pills on mobile */
  .hero-event-info { flex-direction: column; align-items: stretch; gap: 8px; }
  .event-pill {
    justify-content: center;
    font-size: .85rem;
    padding: 8px 16px;
    background: var(--pill-gradient);
    color: var(--accent);
    border-color: rgba(255, 236, 0, 0.75);
  }
  .event-pill i,
  .event-pill span { color: var(--accent); }

  .claim-locked { padding: 24px 16px; }
  .claim-locked h3 { font-size: 1.15rem; }
  .claim-locked .lock-icon { font-size: 3rem; }
  .surat-card { padding: 24px; }
  .surat-header h2 { font-size: 1.5rem; }
  .surat-input-wrap { flex-direction: column; }
  .surat-input-wrap button { width: 100%; justify-content: center; }
}

/* Small phones */
@media (max-width: 520px) {
  .hero-logo-wrap { margin-bottom: 14px; padding: 0 12px; }
  .hero-logo-img {
    padding: 10px 16px;
    border-radius: 14px;
    max-height: 120px;
    max-width: 75vw;
  }
  .brand-logo-img { height: 36px; max-width: 120px; }
  .navbar { padding: 10px 0; }
  .topbar { font-size: .72rem; padding: 6px 0; }
  .topbar .reg-no { font-size: .68rem; }

  .btn-hero.btn-heartbeat {
    padding: 16px 28px;
    font-size: 0.95rem;
    min-height: 54px;
    border-radius: 12px;
  }
  .btn-hero.btn-heartbeat i { font-size: 1.05rem; }
}

/* Tiny phones */
@media (max-width: 380px) {
  .hero-logo-img {
    max-height: 100px;
    max-width: 80vw;
  }
  .btn-hero.btn-heartbeat {
    padding: 14px 22px;
    font-size: 0.88rem;
    min-height: 50px;
  }
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-logo-wrap { animation: none; }
  .hero-logo-img  { transition: none; }
  .hero-logo-img:hover { transform: none; }

  .btn-hero.btn-heartbeat,
  .btn-hero.btn-heartbeat::before {
    animation: none;
  }
}