/* ===== MISS ZOE FERRET — PASTEL COTTAGE THEME ===== */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@400;600;700;800&family=Comfortaa:wght@400;600;700&display=swap');

:root {
  /* Pastel Cottage Palette */
  --sage:       #8BAF8B;
  --sage-light: #B8D0B8;
  --sage-pale:  #E4EFE4;
  --sage-dark:  #4A7A4A;

  --sky:        #7AAFC4;
  --sky-light:  #AAD0E0;
  --sky-pale:   #DCEEF6;
  --sky-dark:   #3A7A99;

  --rose:       #C9818C;
  --rose-light: #E0AABA;
  --rose-pale:  #F5E0E4;

  --butter:     #E8D58A;
  --butter-pale:#FBF5D8;
  --butter-dark:#8A7020;

  --lavender:   #A99BC9;
  --lav-pale:   #EAE6F5;

  --cream:      #FAF7F0;
  --parchment:  #F3EDE0;
  --warm-white: #FEFCF8;

  --text-dark:  #2D2416;
  --text-mid:   #5A4A35;
  --text-muted: #8A7A65;
  --text-light: #B0A090;

  --shadow-soft: 0 4px 24px rgba(90,74,53,0.1);
  --shadow-card: 0 2px 12px rgba(90,74,53,0.08);
  --radius:     14px;
  --radius-lg:  20px;
}

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

body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle floral dot pattern bg */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(139,175,139,0.12) 1px, transparent 1px),
    radial-gradient(circle, rgba(122,175,196,0.1) 1px, transparent 1px);
  background-size: 32px 32px, 48px 48px;
  background-position: 0 0, 16px 16px;
  pointer-events: none;
  z-index: 0;
}

.wrap { position: relative; z-index: 1; }

/* ===== NAVBAR ===== */
.navbar {
  background: linear-gradient(90deg, #5A8F68 0%, #4A7A99 100%);
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 3px solid rgba(0,0,0,0.12);
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,0.5);
  object-fit: cover;
}

.nav-name {
  font-family: 'Fredoka One', cursive;
  font-size: 19px;
  color: white;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-link {
  font-family: 'Fredoka One', cursive;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.15s;
  letter-spacing: 0.3px;
}

.nav-link:hover { color: white; background: rgba(255,255,255,0.15); }

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #C94040;
  color: white;
  font-family: 'Fredoka One', cursive;
  font-size: 12px;
  padding: 4px 11px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.live-pill .dot {
  width: 7px; height: 7px;
  background: white; border-radius: 50%;
  animation: blink 1.2s infinite;
}

.offline-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.55);
  font-family: 'Fredoka One', cursive;
  font-size: 12px;
  padding: 4px 11px;
  border-radius: 20px;
}

@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:.3;} }

/* ===== ANNOUNCEMENT ===== */
.announcement {
  background: linear-gradient(90deg, var(--butter-pale), #FFF8E6);
  border-bottom: 2px solid var(--butter);
  padding: 10px 32px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--butter-dark);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #6DA87A 0%, #5A8FAA 60%, #7A8AC0 100%);
  padding: 60px 36px 54px;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid rgba(0,0,0,0.1);
}

/* Cottage window frame deco */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.07) 0%, transparent 50%);
  pointer-events: none;
}

/* Floating petals */
.petal {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50% 0 50% 0;
  opacity: 0.18;
  animation: float-petal 8s ease-in-out infinite;
}
.petal:nth-child(1) { background: #FFD0DC; top: 15%; left: 8%; animation-delay: 0s; }
.petal:nth-child(2) { background: #D0F0C0; top: 60%; left: 92%; animation-delay: 2s; }
.petal:nth-child(3) { background: #FFE8A0; top: 30%; left: 88%; animation-delay: 4s; width:8px;height:8px; }
.petal:nth-child(4) { background: #C0D8FF; top: 75%; left: 5%; animation-delay: 1.5s; width:10px;height:10px; }
.petal:nth-child(5) { background: #FFD0DC; top: 20%; left: 75%; animation-delay: 3s; width:14px;height:14px; }

@keyframes float-petal {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(20deg); }
}

.hero-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 44px;
  position: relative;
  z-index: 1;
}

.hero-avatar-wrap { flex-shrink: 0; position: relative; }

.hero-avatar-ring {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  padding: 5px;
  backdrop-filter: blur(4px);
  border: 3px solid rgba(255,255,255,0.4);
}

.hero-avatar-ring img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.status-badge { position: absolute; bottom: 4px; right: 4px; }

.hero-text h1 {
  font-family: 'Fredoka One', cursive;
  font-size: 54px;
  color: white;
  letter-spacing: 1px;
  line-height: 1;
  text-shadow: 2px 3px 0 rgba(0,0,0,0.2);
  margin-bottom: 6px;
}

.hero-tagline {
  font-family: 'Comfortaa', cursive;
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

.hero-bio {
  font-size: 15px;
  color: rgba(255,255,255,0.88);
  line-height: 1.75;
  max-width: 520px;
  font-weight: 600;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}

.tag-sage { background: #C8E6C9; color: #2E5E2E; }
.tag-sky  { background: #B3D9ED; color: #1A4A62; }
.tag-rose { background: #F5C6CB; color: #6A2835; }
.tag-lav  { background: var(--lav-pale); color: #4A3878; }
.tag-soft { background: rgba(255,255,255,0.22); color: rgba(255,255,255,0.9); border: 1.5px solid rgba(255,255,255,0.3); }

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 12px 28px;
  background: rgba(255,255,255,0.22);
  border: 2px solid rgba(255,255,255,0.45);
  color: white;
  font-family: 'Fredoka One', cursive;
  font-size: 17px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  backdrop-filter: blur(4px);
}

.hero-cta:hover {
  background: rgba(255,255,255,0.35);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

/* ===== STREAM SECTION ===== */
.stream-section {
  background: linear-gradient(180deg, #243B2A 0%, #1A2E3F 100%);
  padding: 36px 24px;
  border-bottom: 4px solid #151F15;
}

.stream-inner { max-width: 960px; margin: 0 auto; }

.stream-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.stream-header h2 {
  font-family: 'Fredoka One', cursive;
  font-size: 22px;
  color: white;
}

.stream-status-txt {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
}

.stream-embed {
  border-radius: 14px;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.1);
  background: #000;
  aspect-ratio: 16/9;
}

.stream-embed iframe { width: 100%; height: 100%; display: block; }

.stream-offline {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 280px;
}

.stream-offline .big-emoji { font-size: 52px; opacity: 0.3; }
.stream-offline p { font-family: 'Fredoka One', cursive; font-size: 17px; color: rgba(255,255,255,0.3); }
.stream-offline small { font-size: 12px; color: rgba(255,255,255,0.2); font-weight: 600; }

.stream-btns {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.stream-btns button {
  font-family: 'Fredoka One', cursive;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 20px;
  border: 2px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.15s;
  letter-spacing: 0.3px;
}

.btn-watch { background: var(--sage-dark); color: white; border-color: transparent; }
.btn-watch:hover { background: var(--sage); }
.btn-chat-tog { background: transparent; color: rgba(255,255,255,0.5); }
.btn-chat-tog:hover { background: rgba(255,255,255,0.1); color: white; }

/* ===== MAIN GRID ===== */
.main-grid {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

/* ===== CARDS ===== */
.card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid transparent;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.card-head {
  padding: 14px 22px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-icon {
  width: 32px; height: 32px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}

.card-head h2 {
  font-family: 'Fredoka One', cursive;
  font-size: 19px;
  letter-spacing: 0.5px;
}

.card-body { padding: 0 22px 20px; }

/* About card */
.card-about { border-color: var(--sage-pale); }
.card-about .card-head { background: var(--sage-pale); }
.card-about .card-head h2 { color: var(--sage-dark); }
.card-about .card-icon { background: var(--sage); }
.card-about .card-body p { font-size: 13.5px; line-height: 1.75; color: var(--text-mid); margin-bottom: 9px; }

.warn-box {
  background: var(--sky-pale);
  border-left: 4px solid var(--sky);
  border-radius: 0 8px 8px 0;
  padding: 9px 13px;
  margin: 10px 0;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--sky-dark);
  line-height: 1.5;
}

/* Rules card */
.card-rules { border-color: var(--sky-pale); }
.card-rules .card-head { background: var(--sky-pale); }
.card-rules .card-head h2 { color: var(--sky-dark); }
.card-rules .card-icon { background: var(--sky); }

.rules-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.rules-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: var(--text-mid); line-height: 1.55; }
.rule-num {
  flex-shrink: 0; width: 22px; height: 22px;
  background: var(--sky); color: white;
  border-radius: 50%; font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.rules-footer {
  margin-top: 12px; padding: 8px 12px;
  background: var(--sage-pale); border-radius: 8px;
  font-size: 12px; font-weight: 800; color: var(--sage-dark);
}

/* Rewards card */
.card-rewards { border-color: #F0E8D0; }
.card-rewards .card-head { background: var(--butter-pale); }
.card-rewards .card-head h2 { color: var(--butter-dark); }
.card-rewards .card-icon { background: var(--butter); }

.sub-banner {
  background: linear-gradient(90deg, var(--sage-pale), var(--sky-pale));
  border-radius: 10px;
  padding: 9px 13px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-mid);
  line-height: 1.6;
}

.sub-banner strong { color: var(--sage-dark); }

.section-label {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}

.redeem-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--parchment);
  font-size: 13px;
}
.redeem-item:last-child { border-bottom: none; }
.redeem-name { font-weight: 700; color: var(--text-dark); }
.redeem-cost {
  font-family: 'Fredoka One', cursive;
  font-size: 13px;
  color: var(--butter-dark);
  background: var(--butter-pale);
  padding: 2px 9px;
  border-radius: 10px;
}

/* Tips card */
.card-tips { border-color: var(--rose-pale); }
.card-tips .card-head { background: var(--rose-pale); }
.card-tips .card-head h2 { color: #7A3040; }
.card-tips .card-icon { background: var(--rose-light); }
.card-tips .card-body p { font-size: 13.5px; line-height: 1.7; color: var(--text-mid); margin-bottom: 9px; }

.tip-notice {
  background: var(--lav-pale);
  border: 1.5px solid var(--lavender);
  border-radius: 8px;
  padding: 9px 13px;
  font-size: 12px;
  color: #4A3878;
  font-weight: 700;
  margin-bottom: 13px;
  line-height: 1.5;
}

.tip-btn {
  display: block;
  width: 100%;
  padding: 11px;
  background: linear-gradient(90deg, var(--rose), var(--lavender));
  color: white;
  font-family: 'Fredoka One', cursive;
  font-size: 16px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  letter-spacing: 0.5px;
  border: none; cursor: pointer;
}
.tip-btn:hover { opacity: 0.88; transform: translateY(-1px); }

/* Goals card — full width */
.card-goals { border-color: var(--sage-pale); grid-column: 1 / -1; }
.card-goals .card-head { background: linear-gradient(90deg, var(--sage-pale), var(--sky-pale)); }
.card-goals .card-head h2 { color: var(--sky-dark); }
.card-goals .card-icon { background: var(--sky); }

.goals-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.goal-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-mid);
}

.goal-val { font-family: 'Fredoka One', cursive; font-size: 14px; }
.gv-sage .goal-val { color: var(--sage-dark); }
.gv-sky .goal-val { color: var(--sky-dark); }

.progress-track {
  height: 13px;
  background: var(--sage-pale);
  border-radius: 8px;
  overflow: hidden;
}
.gv-sky .progress-track { background: var(--sky-pale); }

.progress-fill { height: 100%; border-radius: 8px; transition: width 1.2s ease; }
.fill-sage { background: linear-gradient(90deg, var(--sage-dark), var(--sage-light)); }
.fill-sky  { background: linear-gradient(90deg, var(--sky-dark), var(--sky-light)); }

/* Schedule card — full width */
.card-schedule { border-color: var(--lav-pale); grid-column: 1 / -1; }
.card-schedule .card-head { background: var(--lav-pale); }
.card-schedule .card-head h2 { color: #4A3878; }
.card-schedule .card-icon { background: var(--lavender); }

.schedule-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }

.sched-item {
  background: var(--cream);
  border: 1.5px solid var(--lav-pale);
  border-radius: 10px;
  padding: 10px 13px;
  text-align: center;
}
.sched-day { font-family: 'Fredoka One', cursive; font-size: 15px; color: #4A3878; margin-bottom: 4px; }
.sched-time { font-size: 12.5px; font-weight: 700; color: var(--text-muted); }
.sched-label { font-size: 11px; color: var(--text-light); margin-top: 2px; }
.sched-empty { font-size: 13px; color: var(--text-muted); font-style: italic; text-align: center; padding: 10px; }

/* ===== FOOTER ===== */
.site-footer {
  background: linear-gradient(90deg, #4A7A52, #3A6A88);
  padding: 24px 36px;
  text-align: center;
  border-top: 4px solid rgba(0,0,0,0.15);
}
.site-footer p {
  font-family: 'Fredoka One', cursive;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
.site-footer a { color: rgba(255,255,255,0.85); text-decoration: none; }

/* ===== MAINTENANCE ===== */
.maintenance-wrap {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.maintenance-card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--sage-pale);
  padding: 48px 40px;
  max-width: 480px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.maintenance-card .big-emoji { font-size: 72px; margin-bottom: 20px; }
.maintenance-card h1 { font-family: 'Fredoka One', cursive; font-size: 32px; color: var(--sage-dark); margin-bottom: 12px; }
.maintenance-card p { font-size: 15px; color: var(--text-mid); line-height: 1.7; }

/* ===== 404 ===== */
.page-404 {
  min-height: calc(100vh - 60px);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 24px;
}
.err-card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--rose-pale);
  padding: 48px 40px;
  max-width: 460px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.err-card .big-emoji { font-size: 72px; margin-bottom: 20px; }
.err-card h1 { font-family: 'Fredoka One', cursive; font-size: 60px; color: var(--rose); line-height: 1; }
.err-card h2 { font-family: 'Fredoka One', cursive; font-size: 24px; color: var(--text-mid); margin: 8px 0 14px; }
.err-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.btn-home {
  display: inline-block;
  padding: 10px 28px;
  background: var(--sage);
  color: white;
  font-family: 'Fredoka One', cursive;
  font-size: 16px;
  border-radius: 30px;
  text-decoration: none;
  transition: opacity 0.15s;
}
.btn-home:hover { opacity: 0.85; }

/* ===== RESPONSIVE ===== */
@media (max-width: 720px) {
  .hero-inner { flex-direction: column; text-align: center; gap: 22px; }
  .hero-text h1 { font-size: 38px; }
  .main-grid { grid-template-columns: 1fr; padding: 24px 14px 60px; }
  .card-goals, .card-schedule { grid-column: 1; }
  .goals-grid { grid-template-columns: 1fr; }
  .navbar { padding: 0 16px; }
}
