/* ==========================================================
   AngelsRO — Cute Anime Festival Theme (Pre-Renewal MMORPG)
   Version: 16.0 (Clean Sky, Glassmorphic Semi-Opaque Cards) (Wide Hero Banner, Compact Layout, 5-Tab Bar)
   ========================================================== */

:root {
  --sky-top: #4da4f0;
  --sky-mid: #76beff;
  --sky-bottom: #eef8ff;
  
  --card-bg: rgba(255, 255, 255, 0.83);
  --card-border: rgba(255, 255, 255, 0.94);
  --card-border-alt: #dbeafe;
  --card-shadow: 0 10px 30px rgba(20, 60, 130, 0.12);

  --candy-pink: #ff547b;
  --candy-pink-hover: #ff3362;
  --candy-pink-shadow: rgba(255, 84, 123, 0.35);

  --cookie-yellow: #ffe17d;
  --cookie-yellow-text: #945300;
  
  --cookie-blue: #70ccff;
  --cookie-blue-text: #035388;

  --cookie-green: #6ee7b7;
  --cookie-green-text: #065f46;

  --text-main: #2d3748;
  --text-dim: #5a6a80;
  --text-light: #8fa0b5;

  --footer-bg: #4a3b32;
  --footer-text: #e6ded8;

  --font-display: 'Fredoka', 'Nunito', sans-serif;
  --font-body: 'Nunito', 'Outfit', -apple-system, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--sky-top);
}

body.cute-event-theme {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-main);
  background:
    radial-gradient(ellipse 1200px 500px at 50% 0px, rgba(255, 255, 255, 0.7) 0%, transparent 75%),
    radial-gradient(circle 600px at 8% 280px, rgba(255, 192, 203, 0.35) 0%, transparent 60%),
    radial-gradient(circle 700px at 92% 320px, rgba(186, 230, 253, 0.45) 0%, transparent 60%),
    radial-gradient(circle 500px at 50% 750px, rgba(254, 240, 138, 0.22) 0%, transparent 60%),
    linear-gradient(180deg, #4da4f0 0%, #76beff 260px, #a6ddfc 550px, #d2edfe 900px, #eef8ff 1300px, #ffffff 100%);
  background-attachment: fixed;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ==========================================================
   Full-Page Anime Photo Background & Animated Moving Clouds
   ========================================================== */

.full-page-photo-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.photo-bg-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.full-page-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.06) brightness(1.02);
  display: block;
}

.photo-ambient-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02) 0%,
    rgba(255, 255, 255, 0.08) 180px,
    rgba(240, 248, 255, 0.22) 450px,
    rgba(235, 245, 255, 0.38) 750px,
    rgba(230, 244, 255, 0.52) 1100px,
    rgba(235, 245, 255, 0.65) 100%
  );
  pointer-events: none;
}

/* ---------- Moving Anime Clouds Drifting Across the Sky ---------- */
.sky-drifting-clouds-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 55vh;
  min-height: 400px;
  max-height: 600px;
  overflow: hidden;
  pointer-events: none;
}

.cloud-track {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: visible;
  pointer-events: none;
}

.cloud-strip {
  display: flex;
  align-items: center;
  width: 200%;
  pointer-events: none;
}

.cloud-sprite {
  flex-shrink: 0;
  display: block;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 8px 18px rgba(25, 90, 180, 0.16));
}

/* High Altitude Layer (Slow Drift: Left to Right) */
.track-slow {
  top: 10px;
  height: 170px;
  opacity: 0.88;
}

.track-slow .cloud-strip {
  animation: driftLeftToRight 85s linear infinite;
  gap: 120px;
}

.c-high-1, .c-high-1b { width: 440px; height: auto; transform: translateY(-10px); }
.c-high-2, .c-high-2b { width: 380px; height: auto; transform: translateY(15px); }
.c-high-3, .c-high-3b { width: 280px; height: auto; transform: translateY(-5px); }

/* Mid Altitude Cumulus (Medium Drift: Right to Left) */
.track-mid {
  top: 90px;
  height: 220px;
  opacity: 0.95;
}

.track-mid .cloud-strip {
  animation: driftRightToLeft 60s linear infinite;
  gap: 140px;
}

.c-mid-1, .c-mid-1b { width: 500px; height: auto; animation: cloudBob 8s ease-in-out infinite alternate; }
.c-mid-2, .c-mid-2b { width: 320px; height: auto; animation: cloudBob 9s ease-in-out infinite alternate-reverse; }
.c-mid-3, .c-mid-3b { width: 460px; height: auto; animation: cloudBob 7.5s ease-in-out infinite alternate; }

/* Lower Horizon Drift (Gentle Drift: Left to Right) */
.track-fore {
  top: 190px;
  height: 180px;
  opacity: 0.78;
}

.track-fore .cloud-strip {
  animation: driftLeftToRight 48s linear infinite;
  gap: 160px;
}

.c-fore-1, .c-fore-1b { width: 340px; height: auto; transform: translateY(5px); }
.c-fore-2, .c-fore-2b { width: 480px; height: auto; transform: translateY(-8px); }

/* Continuous GPU-accelerated Keyframes */
@keyframes driftLeftToRight {
  0% { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0%, 0, 0); }
}

@keyframes driftRightToLeft {
  0% { transform: translate3d(0%, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes cloudBob {
  0% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-8px) scale(1.02); }
  100% { transform: translateY(0px) scale(1); }
}

/* Floating Sparkles */
.photo-sparkles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 450px;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 0 0 16px rgba(118, 190, 255, 0.8);
  animation: twinkle 3s infinite ease-in-out;
  pointer-events: none;
}

.sp-1 { top: 60px; left: 6%; font-size: 1.2rem; animation-delay: 0s; }
.sp-2 { top: 140px; left: 15%; font-size: 0.9rem; animation-delay: 0.7s; color: #fef08a; }
.sp-3 { top: 90px; left: 26%; font-size: 1.1rem; animation-delay: 1.4s; }
.sp-4 { top: 200px; left: 4%; font-size: 0.85rem; animation-delay: 2.1s; }
.sp-5 { top: 70px; right: 8%; font-size: 1.3rem; animation-delay: 0.3s; color: #fbcfe8; }
.sp-6 { top: 160px; right: 18%; font-size: 1.0rem; animation-delay: 1.1s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.8) rotate(0deg); }
  50% { opacity: 0.95; transform: scale(1.2) rotate(15deg); }
}


/* ---------- Wide Top Section Wrap (Expanded Width) ---------- */
.event-wide-header-wrap {
  position: relative;
  z-index: 2;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Compact Sleek Top Bar */
.event-topbar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 4px 16px rgba(30, 110, 190, 0.12);
  padding: 4px 16px;
  margin-bottom: 30px;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  height: 40px;
  display: flex;
  align-items: center;
}

.topbar-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #334e68;
  white-space: nowrap;
}

.topbar-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fef3c7;
  color: #92400e;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  border: 1px solid #fde68a;
}

.pulsing-heart {
  display: inline-block;
  animation: pulseScale 1.8s infinite ease-in-out;
}

@keyframes pulseScale {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

.topbar-clock {
  font-size: 0.78rem;
  color: #475569;
}

.topbar-center {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-rate-note {
  color: #e11d48;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.2px;
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #dcfce7;
  color: #15803d;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  border: 1px solid #bbf7d0;
}

.dot-online {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
}

.topbar-btn-pink {
  background: linear-gradient(135deg, var(--candy-pink), #ff2456);
  color: #ffffff;
  padding: 3px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.76rem;
  box-shadow: 0 3px 8px var(--candy-pink-shadow);
  border: 1.5px solid #ffffff;
  transition: transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}

.topbar-btn-pink:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 5px 12px var(--candy-pink-shadow);
}



/* Floating Hero Stage (Over Extended Backdrop) */
.event-hero-header.hero-floating-stage {
  position: relative;
  z-index: 3;
  width: 100%;
  margin-bottom: 10px;
  padding: 10px 0 4px;
  text-align: center;
}

.hero-glass-plate {
  max-width: 860px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 14px 22px 14px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 28px rgba(30, 90, 180, 0.12);
}

.hero-event-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffe382;
  color: #8c4c00;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 2px 14px;
  border-radius: 999px;
  border: 1.5px solid #ffffff;
  box-shadow: 0 3px 8px rgba(140, 76, 0, 0.14);
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}

.ribbon-sparkle { color: #ff3366; }

.hero-event-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: #1e3a5f;
  margin: 0 0 2px;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.9);
  letter-spacing: 0.5px;
}

.hero-event-desc {
  font-size: 0.84rem;
  font-weight: 700;
  color: #3b526d;
  margin: 0 0 10px;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.8);
}

/* Compact Bubble Route */
.quick-bubble-route {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0;
}

.route-dotted-line {
  position: absolute;
  top: 21px;
  left: 26%;
  right: 26%;
  height: 2px;
  border-top: 2.5px dashed rgba(80, 140, 210, 0.35);
  z-index: 0;
}

.bubble-node {
  position: relative;
  z-index: 1;
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
  transition: transform .25s ease;
}

.bubble-node:hover { transform: translateY(-3px); }

.bubble-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2.5px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.12);
  transition: transform .25s ease, box-shadow .25s ease;
}

.bubble-circle:hover { transform: scale(1.08); }

.bubble-pink { background: linear-gradient(135deg, #ff7597, #ff3366); }
.bubble-yellow { background: linear-gradient(135deg, #ffd166, #ff9f1c); }
.bubble-cyan { background: linear-gradient(135deg, #4cc9f0, #0096c7); }
.bubble-green { background: linear-gradient(135deg, #06d6a0, #058c42); }

.bubble-emoji { font-size: 1.15rem; }

.bubble-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: #1e3a5f;
  background: rgba(255, 255, 255, 0.95);
  padding: 2px 9px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(30, 80, 140, 0.1);
  white-space: nowrap;
  border: 1px solid #e2e8f0;
}

/* ---------- Main Content Wrapper ---------- */
.event-page-wrapper {
  position: relative;
  z-index: 4;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 16px 36px;
}

/* ---------- Cute Macaron Navigation Tabs (Wide 5-Tab Bar) ---------- */
.event-nav {
  position: relative;
  z-index: 5;
  margin-bottom: 20px;
}

.nav-pills-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.macaron-tabs {
  list-style: none;
  margin: 0;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  max-width: 1120px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 28px rgba(20, 60, 130, 0.12);
}

.macaron-tabs li {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
}

.tab-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  border: 1.5px solid #e0f2fe;
  color: #475569;
  padding: 10px 14px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all .2s ease;
  white-space: nowrap;
}

.tab-icon {
  font-size: 1.15rem;
}

.tab-btn:hover {
  background: #f0f9ff;
  border-color: #bae6fd;
  transform: translateY(-2px);
  color: #0284c7;
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--candy-pink), #ff2254);
  color: #ffffff;
  border-color: #ff2254;
  box-shadow: 0 5px 14px var(--candy-pink-shadow);
  transform: translateY(-2px);
}

.tab-btn.active .tab-icon {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.tab-btn-highlight {
  border-color: #ffd166;
  background: #fffbeb;
  color: #b45309;
}

.tab-btn-highlight:hover {
  background: #fef3c7;
  border-color: #f59e0b;
}

/* ---------- Content Layout: Compact Sidebar + Main ---------- */
.event-content-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 16px;
  align-items: start;
}

/* ---------- Cute Cards General System (More Compact) ---------- */
.cute-card {
  background: var(--card-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 22px;
  border: 2px solid var(--card-border);
  box-shadow: var(--card-shadow);
  padding: 16px 20px;
  position: relative;
  margin-bottom: 14px;
}

.cute-stamp-badge {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--cookie-yellow);
  color: var(--cookie-yellow-text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 1px;
  padding: 2px 10px;
  border-radius: 10px;
  border: 2px solid #ffffff;
  box-shadow: 0 3px 6px rgba(0,0,0,0.08);
}

.stamp-cyan { background: var(--cookie-blue); color: var(--cookie-blue-text); }
.stamp-purple { background: #d8b4fe; color: #581c87; }

.cute-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  border-bottom: 2px dashed #f1f5f9;
  padding-bottom: 8px;
}

.cute-card-head h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #1e3a5f;
  margin: 0;
}

.cute-tag-pill {
  background: #ffedd5;
  color: #c2410c;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
}

/* ---------- Compact Sidebar Details ---------- */
.side-dl-text {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 10px;
  line-height: 1.45;
}

.btn-pink-candy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(135deg, var(--candy-pink), #ff2456);
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 9px 20px;
  border-radius: 999px;
  border: 2px solid #ffffff;
  box-shadow: 0 5px 14px var(--candy-pink-shadow);
  cursor: pointer;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-pink-candy:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px var(--candy-pink-shadow);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-lg {
  padding: 12px 28px;
  font-size: 0.98rem;
}

.btn-wide-pill {
  padding: 11px 32px;
  font-size: 0.98rem;
  border-radius: 999px;
}

.side-dl-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 10px;
  text-align: center;
}

.meta-tile {
  background: #f8fafc;
  border-radius: 10px;
  padding: 5px 2px;
  border: 1px solid #e2e8f0;
}

.meta-label {
  display: block;
  font-size: 0.65rem;
  color: var(--text-light);
  font-weight: 700;
}

.meta-value {
  display: block;
  font-size: 0.78rem;
  color: #1e3a5f;
  font-weight: 800;
}

/* Status List */
.cute-status-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cute-status-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 0.81rem;
  font-weight: 700;
  color: var(--text-dim);
  border-bottom: 1px solid #f1f5f9;
}

.status-badge-pill {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
}

.status-badge-pill.online { background: #dcfce7; color: #15803d; }
.status-badge-pill.offline { background: #fee2e2; color: #b91c1c; }

.status-online-item {
  background: #f0fdf4;
  margin: 5px -8px;
  padding: 7px 8px !important;
  border-radius: 12px;
  border-bottom: none !important;
}

.status-online-count {
  font-size: 0.9rem;
  font-weight: 900;
  color: #15803d;
}

.status-rate-item {
  flex-direction: column !important;
  align-items: flex-start !important;
  background: #fffbeb;
  margin: 5px -8px;
  padding: 8px !important;
  border-radius: 12px;
  border-bottom: none !important;
}

.rate-badge-title {
  font-size: 0.68rem;
  font-weight: 800;
  color: #b45309;
  letter-spacing: 0.4px;
}

.rate-badge-val {
  font-size: 0.95rem;
  font-weight: 900;
  color: #92400e;
  margin: 1px 0;
}

.rate-badge-sub {
  font-size: 0.72rem;
  color: #b45309;
  font-weight: 600;
}

.side-stats-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-top: 10px;
  text-align: center;
}

.ssd-box {
  background: #f8fafc;
  border-radius: 10px;
  padding: 6px;
  border: 1px solid #e2e8f0;
}

.ssd-label {
  display: block;
  font-size: 0.66rem;
  color: var(--text-light);
  font-weight: 700;
}

.ssd-num {
  font-size: 0.92rem;
  color: #1e3a5f;
  font-weight: 800;
}

/* Quick Nav Links in Sidebar */
.cute-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cute-nav-links li {
  margin-bottom: 4px;
}

.cute-link-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334e68;
  cursor: pointer;
  transition: all .2s ease;
}

.cute-link-btn:hover {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #0284c7;
  transform: translateX(3px);
}

.cute-arrow {
  font-style: normal;
  font-size: 1rem;
  color: #94a3b8;
}

/* ---------- Main Event Stage Cards (Compact Style) ---------- */
.event-stage-card {
  padding-top: 24px;
  border: 2.5px solid #ffeedb;
  position: relative;
}

.stage-stamp-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  border-bottom: 2px dashed #f1f5f9;
  padding-bottom: 10px;
}

.cookie-stamp-num {
  width: 42px;
  height: 42px;
  background: var(--cookie-yellow);
  color: var(--cookie-yellow-text);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  border-radius: 14px;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(148, 83, 0, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cookie-stamp-num.stamp-blue { background: var(--cookie-blue); color: var(--cookie-blue-text); }
.cookie-stamp-num.stamp-pink { background: #ffb3c6; color: #9f1239; }
.cookie-stamp-num.stamp-green { background: var(--cookie-green); color: var(--cookie-green-text); }

.stage-stamp-title {
  display: flex;
  flex-direction: column;
}

.sub-stamp-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--candy-pink);
  letter-spacing: 0.6px;
}

.stage-stamp-title h2 {
  font-family: var(--font-display);
  font-size: 1.38rem;
  color: #1e3a5f;
  margin: 1px 0 0;
}

.lead-event-desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 16px;
  line-height: 1.55;
}

/* ---------- 4 Event Reward Boxes (Compact) ---------- */
.event-rewards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.reward-box {
  border-radius: 14px;
  padding: 12px 6px 10px;
  text-align: center;
  border: 2px solid;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.reward-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.box-purple { background: rgba(247, 242, 255, 0.7); border-color: rgba(216, 180, 254, 0.85); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.box-purple .rb-badge { background: #ede9fe; color: #6b21a8; }
.box-purple .rb-title { color: #581c87; }
.box-purple .rb-desc { color: #7c3aed; }

.box-pink { background: #fff1f5; border-color: #fbcfe8; }
.box-pink .rb-badge { background: #fce7f3; color: #be185d; }
.box-pink .rb-title { color: #9f1239; }
.box-pink .rb-desc { color: #db2777; }

.box-cyan { background: #f0f9ff; border-color: #bae6fd; }
.box-cyan .rb-badge { background: #e0f2fe; color: #0369a1; }
.box-cyan .rb-title { color: #0c4a6e; }
.box-cyan .rb-desc { color: #0284c7; }

.box-yellow { background: #fffbeb; border-color: #fde68a; }
.box-yellow .rb-badge { background: #fef3c7; color: #b45309; }
.box-yellow .rb-title { color: #78350f; }
.box-yellow .rb-desc { color: #d97706; }

.rb-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}

.rb-icon {
  font-size: 1.7rem;
  margin: 2px 0 4px;
}

.rb-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 1px;
}

.rb-desc {
  font-size: 0.78rem;
  font-weight: 700;
}

.rb-sub {
  font-size: 0.68rem;
  color: var(--text-light);
  margin-top: 3px;
}

.stage-cta-center {
  text-align: center;
  margin: 6px 0 2px;
}

/* Feature Bullets Grid (Card 02) */
.feature-bullets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fb-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #f8fafc;
  border-radius: 14px;
  padding: 10px 12px;
  border: 1.5px solid #e2e8f0;
}

.fb-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.fb-gold { background: linear-gradient(135deg, #ffd166, #ff9f1c); }
.fb-pink { background: linear-gradient(135deg, #ff7597, #ff3366); }
.fb-cyan { background: linear-gradient(135deg, #4cc9f0, #0096c7); }
.fb-green { background: linear-gradient(135deg, #06d6a0, #058c42); }

.fb-text h4 {
  font-family: var(--font-display);
  font-size: 0.94rem;
  color: #1e3a5f;
  margin: 0 0 2px;
}

.fb-text p {
  font-size: 0.81rem;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.4;
}

/* News Cards Stack (Card 03) */
.news-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-candy-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #f8fafc;
  border-radius: 14px;
  padding: 12px 14px;
  border: 1.5px solid #e2e8f0;
}

.ncc-badge-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 68px;
  flex-shrink: 0;
}

.ncc-tag {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
  width: 100%;
  text-align: center;
}

.tag-pink { background: #ffe4e6; color: #e11d48; }
.tag-cyan { background: #e0f2fe; color: #0284c7; }
.tag-gold { background: #fef3c7; color: #d97706; }

.ncc-date {
  font-size: 0.68rem;
  color: var(--text-light);
  font-weight: 700;
}

.ncc-body h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: #1e3a5f;
  margin: 0 0 3px;
}

.ncc-body p {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.45;
}

/* ---------- Tables & General Sub-elements (Compact) ---------- */
.sub-section-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 20px 0 10px;
}

.sparkle-ico { font-size: 1.2rem; }

.sub-section-header h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #1e3a5f;
  margin: 0;
}

.cute-table-wrap {
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  overflow: hidden;
  margin-bottom: 16px;
}

.cute-info-table, .cute-barter-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.cute-info-table th, .cute-info-table td,
.cute-barter-table th, .cute-barter-table td {
  padding: 9px 13px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.cute-info-table tr:last-child th,
.cute-info-table tr:last-child td,
.cute-barter-table tr:last-child td {
  border-bottom: none;
}

.cute-info-table th {
  background: #f1f5f9;
  color: #334e68;
  font-weight: 800;
  width: 32%;
}

.cute-info-table td { color: #1e293b; }

.cute-barter-table thead th {
  background: #e2e8f0;
  color: #1e3a5f;
  font-weight: 800;
}

.coin-price-tag {
  text-align: right;
  font-weight: 900;
  color: #d97706;
}

.text-pink { color: var(--candy-pink); }
.text-gold { color: #d97706; }
.text-cyan { color: #0284c7; }

/* QoL Cards Grid */
.qol-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.qol-candy-box {
  background: #f8fafc;
  border-radius: 14px;
  padding: 12px 14px;
  border: 1.5px solid #e2e8f0;
}

.qcb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.qcb-head strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: #1e3a5f;
}

.coords-pill {
  background: #fef3c7;
  color: #92400e;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
}

.qol-candy-box p {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.4;
}

/* Poring Coin Feature Banner */
.poring-feature-banner {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fffbeb;
  border: 2px solid #fde68a;
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 16px;
}

.pfb-poring-icon {
  font-size: 2.4rem;
  flex-shrink: 0;
}

.pfb-details h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #92400e;
  margin: 0 0 3px;
}

.pfb-details p {
  font-size: 0.84rem;
  color: #78350f;
  margin: 0;
  line-height: 1.45;
}

/* Download Hero Box */
.cute-dl-hero-box {
  background: #f0fdf4;
  border: 2px solid #bbf7d0;
  border-radius: 18px;
  padding: 22px 18px;
  text-align: center;
  margin-bottom: 18px;
}

.tag-pink-bubble {
  background: #ffe4e6;
  color: #e11d48;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 6px;
}

.cute-dl-hero-box h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #14532d;
  margin: 0 0 4px;
}

.cute-dl-hero-box p {
  color: #166534;
  font-size: 0.88rem;
  max-width: 540px;
  margin: 0 auto 14px;
}

.dl-candy-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.btn-mint-ghost {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  background: #ffffff;
  border: 2px solid #86efac;
  border-radius: 999px;
  color: #15803d;
  font-weight: 800;
  font-size: 0.84rem;
}

.btn-mint-ghost:hover { background: #dcfce7; }

.dl-strip-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.strip-pill {
  background: #ffffff;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  color: #166534;
  border: 1px solid #bbf7d0;
}

/* Steps Row */
.cute-steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.cute-step-card {
  background: #f8fafc;
  border-radius: 14px;
  padding: 14px 10px;
  border: 1.5px solid #e2e8f0;
  text-align: center;
}

.csc-num {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--candy-pink), #ff2456);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  box-shadow: 0 3px 8px var(--candy-pink-shadow);
}

.cute-step-card h4 {
  font-family: var(--font-display);
  font-size: 0.94rem;
  color: #1e3a5f;
  margin: 0 0 3px;
}

.cute-step-card p {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.4;
}

/* ---------- Registration Form System (Compact) ---------- */
.cute-reg-form { margin-top: 6px; }

.form-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field { margin-bottom: 10px; }

.field label {
  display: block;
  font-weight: 800;
  font-size: 0.82rem;
  color: #334e68;
  margin-bottom: 4px;
}

.input-candy-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.candy-ico {
  position: absolute;
  left: 10px;
  font-size: 0.9rem;
  pointer-events: none;
}

.cute-input {
  width: 100%;
  padding: 9px 12px 9px 34px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  background: #ffffff;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.cute-input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.toggle-pass {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  padding: 3px;
}

.field-hint {
  font-size: 0.74rem;
  color: var(--text-light);
  margin-top: 2px;
}

.strength {
  display: flex;
  gap: 3px;
  margin-top: 4px;
}

.strength i {
  height: 4px;
  flex: 1;
  background: #e2e8f0;
  border-radius: 4px;
  transition: background .25s ease;
}

.strength[data-score="1"] i:nth-child(1) { background: #ef4444; }
.strength[data-score="2"] i:nth-child(-n+2) { background: #f97316; }
.strength[data-score="3"] i:nth-child(-n+3) { background: #eab308; }
.strength[data-score="4"] i:nth-child(-n+4) { background: #22c55e; }

.gender-candy-picker {
  display: flex;
  gap: 8px;
}

.gender-candy-picker input { display: none; }

.gender-candy-picker label {
  flex: 1;
  text-align: center;
  padding: 7px 10px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  background: #ffffff;
  color: #64748b;
  transition: all .2s ease;
}

.gender-candy-picker input:checked + label {
  border-color: var(--candy-pink);
  background: #fff1f5;
  color: var(--candy-pink);
}

.cute-terms-check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin: 10px 0 16px;
  cursor: pointer;
}

.cute-terms-check input {
  margin-top: 2px;
  width: 15px;
  height: 15px;
  accent-color: var(--candy-pink);
}

.field.invalid .cute-input { border-color: #ef4444; background: #fef2f2; }
.field.valid .cute-input { border-color: #22c55e; }

.alert {
  display: none;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.alert.show { display: block; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1.5px solid #fca5a5; }

.success-view {
  display: none;
  text-align: center;
  padding: 30px 16px;
}

.success-view.show { display: block; }

.success-badge {
  width: 58px;
  height: 58px;
  background: #22c55e;
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 5px 16px rgba(34, 197, 94, 0.35);
}

/* ---------- Rules & FAQ ---------- */
.rules-candy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.rule-candy-card {
  display: flex;
  gap: 10px;
  background: #f8fafc;
  border-radius: 14px;
  padding: 12px 14px;
  border: 1.5px solid #e2e8f0;
}

.rcc-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.rcc-content strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.94rem;
  color: #1e3a5f;
  margin-bottom: 2px;
}

.rcc-content p {
  font-size: 0.81rem;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.4;
}

.faq-candy-list details {
  background: #f8fafc;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  padding: 10px 14px;
  margin-bottom: 8px;
}

.faq-candy-list summary {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  color: #1e3a5f;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 20px;
}

.faq-candy-list summary::-webkit-details-marker { display: none; }

.faq-candy-list summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2rem;
  color: var(--candy-pink);
}

.faq-candy-list details[open] summary::after { content: '−'; }

.faq-candy-list p {
  font-size: 0.84rem;
  color: var(--text-dim);
  margin: 6px 0 0;
  line-height: 1.5;
}



/* ---------- Official Cocoa Event Footer ---------- */
.event-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  border-radius: 20px;
  padding: 20px 24px;
  margin-top: 26px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.footer-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.footer-sub {
  font-size: 0.72rem;
  color: #c7b9b0;
  margin: 2px 0 0;
}

.footer-nav {
  display: flex;
  gap: 12px;
}

.footer-nav a {
  color: #f5ede6;
  font-size: 0.8rem;
  font-weight: 700;
  transition: color .2s ease;
}

.footer-nav a:hover { color: #ffd166; }

/* ---------- Tab Pane Visibility ---------- */
.tab-pane { display: none; }
.tab-pane.active {
  display: block;
  animation: fadeInPane .3s ease-out;
}

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

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 992px) {
  .event-content-layout { grid-template-columns: 1fr; }
  .event-rewards-grid { grid-template-columns: 1fr 1fr; }
  .feature-bullets-grid, .qol-cards-grid, .rules-candy-grid { grid-template-columns: 1fr; }
  .hero-event-title { font-size: 1.45rem; }
  .quick-bubble-route { gap: 12px; }
  .hero-glass-plate { max-width: 95%; padding: 12px 16px; }
}

@media (max-width: 768px) {
  .event-topbar { height: auto; padding: 6px 10px; }
  .topbar-container { flex-direction: column; text-align: center; gap: 5px; white-space: normal; }
  .topbar-left, .topbar-center, .topbar-actions { justify-content: center; }
  .event-rewards-grid { grid-template-columns: 1fr; }
  .form-grid-row { grid-template-columns: 1fr; }
  .cute-steps-row { grid-template-columns: 1fr; }
  .footer-wrap { flex-direction: column; text-align: center; }
  .footer-brand { flex-direction: column; }
}

@media (max-width: 900px) {
  .macaron-tabs {
    flex-wrap: wrap;
    border-radius: 20px;
    padding: 8px;
  }
  .macaron-tabs li {
    flex: 1 1 calc(33.33% - 8px);
  }
  .tab-btn {
    font-size: 0.85rem;
    padding: 8px 10px;
  }
}

@media (max-width: 580px) {
  .macaron-tabs li {
    flex: 1 1 calc(50% - 8px);
  }
}
