/* ── crayonmuncherz · style.css ──────────────────────────── */

:root {
  --bg-deep:      #160f08;
  --bg-mid:       #1e1409;
  --bg-surface:   #271a0c;
  --bg-card:      #30200e;
  --brown-primary: #c8874a;
  --brown-light:   #dba86a;
  --brown-pale:    #eecb9a;
  --silver:       #f5e8d0;
  --silver-dim:   #c4a478;
  --text:         #f5e8d0;
  --text-dim:     #c4a478;
  --text-muted:   #7a5c38;
  --live-red:     #e05c2a;
  --border:       rgba(200,135,74,0.15);
  --border-glow:  rgba(200,135,74,0.4);
  --glow-sm:      0 0 12px rgba(200,135,74,0.3);
  --glow-md:      0 0 24px rgba(200,135,74,0.4), 0 0 48px rgba(200,135,74,0.15);
  --glow-lg:      0 0 40px rgba(200,135,74,0.5), 0 0 80px rgba(200,135,74,0.2);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(200,135,74,0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 28% 8%,  rgba(219,168,106,0.5) 0%, transparent 100%),
    radial-gradient(2px 2px at 48% 26%, rgba(200,135,74,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 68% 12%, rgba(219,168,106,0.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 84% 35%, rgba(200,135,74,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 22% 55%, rgba(219,168,106,0.3) 0%, transparent 100%),
    radial-gradient(2px 2px at 58% 62%, rgba(200,135,74,0.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 78% 75%, rgba(219,168,106,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 82%, rgba(200,135,74,0.3) 0%, transparent 100%),
    radial-gradient(2px 2px at 92% 90%, rgba(219,168,106,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 6%  90%, rgba(200,135,74,0.5) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(200,135,74,0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(200,135,74,0.05) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

#snow-canvas, #paw-cursor-layer, .star-layer { position: fixed; inset: 0; pointer-events: none; }
#snow-canvas { z-index: 1; }
#paw-cursor-layer { z-index: 9999; }
.star-layer { z-index: 0; }

/* Nav */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 60px;
  background: rgba(26,15,30,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Fredoka One', sans-serif;
  font-size: 1.25rem;
  color: var(--brown-primary);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-logo:hover { color: var(--brown-light); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--brown-primary); }

.nav-right { display: flex; align-items: center; gap: 1rem; }

.nav-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(224,92,42,0.15);
  border: 1px solid rgba(224,92,42,0.4);
  color: var(--live-red);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s;
}
.nav-live:hover { background: rgba(224,92,42,0.25); }

.live-dot {
  width: 7px; height: 7px;
  background: var(--live-red);
  border-radius: 50%;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-dim);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Hero */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 2rem 4rem;
  overflow: hidden;
}

.hero-badge {
  display: inline-block;
  background: rgba(200,135,74,0.1);
  border: 1px solid var(--border-glow);
  color: var(--brown-primary);
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: 'Fredoka One', sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  color: var(--brown-light);
  text-shadow: var(--glow-md);
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}

.countdown-wrap { margin-bottom: 1.5rem; }
.countdown-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  background: rgba(200,135,74,0.08);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem 2rem;
}
.countdown-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.countdown-day   { font-size: 0.9rem; color: var(--text-dim); font-weight: 600; }
.countdown-timer {
  font-family: 'Fredoka One', sans-serif;
  font-size: 1.6rem;
  color: var(--brown-primary);
  letter-spacing: 0.04em;
}

.live-card {
  display: none;
  max-width: 480px;
  width: 100%;
  background: rgba(200,135,74,0.08);
  border: 1px solid rgba(224,92,42,0.4);
  border-radius: 14px;
  overflow: hidden;
  margin: 1.5rem auto 0;
  box-shadow: var(--glow-sm);
}
.live-card.visible { display: flex; }
.live-card img { width: 160px; height: 90px; object-fit: cover; }
.live-card-info {
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
}
.live-badge {
  display: inline-block;
  background: var(--live-red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  width: fit-content;
}
.live-title { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.live-game  { font-size: 0.78rem; color: var(--text-dim); }

/* Yeen character */
.yeen-silhouette {
  margin-top: 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  font-family: 'Nunito', sans-serif;
}
.btn-primary {
  background: var(--brown-primary);
  color: #160f08;
  box-shadow: var(--glow-sm);
}
.btn-primary:hover {
  background: var(--brown-light);
  transform: translateY(-2px);
  box-shadow: var(--glow-md);
}
.btn-outline {
  background: transparent;
  color: var(--brown-primary);
  border: 1px solid var(--border-glow);
}
.btn-outline:hover {
  background: rgba(200,135,74,0.1);
  border-color: var(--brown-primary);
  transform: translateY(-2px);
}

/* Divider */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
  max-width: 800px;
  margin: 0 auto;
}

/* Sections */
section {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-label {
  display: inline-block;
  color: var(--brown-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.section-header h2 {
  font-family: 'Fredoka One', sans-serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.02em;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: center;
}
.about-art { display: flex; justify-content: center; }
.yeen-circle {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(200,135,74,0.15) 0%, rgba(200,135,74,0.05) 70%, transparent 100%);
  border: 2px solid var(--border-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  box-shadow: var(--glow-md);
  animation: floatCircle 4s ease-in-out infinite;
}
@keyframes floatCircle {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
.about-text h3 {
  font-family: 'Fredoka One', sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--brown-primary);
  margin-bottom: 1rem;
}
.about-text p { color: var(--text-dim); margin-bottom: 1.5rem; line-height: 1.8; }

/* Social */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.social-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  text-decoration: none;
  transition: all 0.2s;
}
.social-card:hover {
  border-color: var(--border-glow);
  background: rgba(200,135,74,0.08);
  transform: translateY(-3px);
  box-shadow: var(--glow-sm);
}
.social-icon { font-size: 1.6rem; flex-shrink: 0; }
.social-platform { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.social-label { font-size: 0.9rem; font-weight: 600; color: var(--text); }

/* Schedule */
.schedule-grid { display: flex; flex-direction: column; gap: 0.75rem; max-width: 640px; margin: 0 auto; }
.schedule-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 1rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  transition: border-color 0.2s;
}
.schedule-row:hover { border-color: var(--border-glow); }
.schedule-day { font-family: 'Fredoka One', sans-serif; font-size: 1rem; font-weight: 400; color: var(--brown-primary); }
.schedule-label { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.schedule-game  { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.1rem; }
.schedule-time  { font-size: 0.82rem; color: var(--text-dim); text-align: right; white-space: nowrap; }

/* Panels */
.panels-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.panel-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.panel-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
  box-shadow: var(--glow-sm);
}
.panel-card img { width: 100%; height: 160px; object-fit: cover; }
.panel-body { padding: 1.25rem; }
.panel-body h3 {
  font-family: 'Fredoka One', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--brown-primary);
  margin-bottom: 0.5rem;
}
.panel-body p { font-size: 0.88rem; color: var(--text-dim); }

/* Support */
.tiers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.25rem; }
.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.tier-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
  box-shadow: var(--glow-sm);
}
.tier-emoji  { font-size: 2rem; margin-bottom: 0.5rem; }
.tier-label  { font-family: 'Fredoka One', sans-serif; font-size: 1.05rem; font-weight: 400; color: var(--text); margin-bottom: 0.35rem; }
.tier-amount { font-size: 1.3rem; font-weight: 700; color: var(--brown-primary); margin-bottom: 0.5rem; }
.tier-desc   { font-size: 0.82rem; color: var(--text-muted); }

/* Discord */
.discord-wrapper { display: flex; justify-content: center; margin-top: 1rem; }

/* Games */
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 1rem; }
.game-card { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.game-art {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
}
.game-card:hover .game-art {
  border-color: var(--border-glow);
  transform: translateY(-3px);
  box-shadow: var(--glow-sm);
}
.game-art img { width: 100%; height: 100%; object-fit: cover; }
.game-art-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.game-name { font-size: 0.72rem; color: var(--text-dim); text-align: center; line-height: 1.3; font-weight: 600; }
.game-date { font-size: 0.65rem; color: var(--text-muted); }

/* VODs */
.vods-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.vod-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
  display: block;
}
.vod-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
  box-shadow: var(--glow-sm);
}
.vod-thumb { position: relative; aspect-ratio: 16/9; background: var(--bg-surface); overflow: hidden; }
.vod-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vod-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(26,15,30,0.4);
  opacity: 0; transition: opacity 0.2s;
}
.vod-card:hover .vod-play { opacity: 1; }
.vod-play-icon {
  width: 44px; height: 44px;
  background: var(--brown-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #160f08;
}
.vod-duration {
  position: absolute; bottom: 6px; right: 8px;
  background: rgba(26,15,30,0.85); color: var(--text);
  font-size: 0.72rem; padding: 0.15rem 0.4rem; border-radius: 4px;
}
.vod-info { padding: 0.85rem 1rem; }
.vod-title { font-size: 0.86rem; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; line-height: 1.4; }
.vod-meta  { display: flex; gap: 0.75rem; font-size: 0.74rem; color: var(--text-muted); }

/* Footer */
footer {
  position: relative; z-index: 2;
  text-align: center; padding: 2.5rem 2rem;
  color: var(--text-muted); font-size: 0.85rem;
  border-top: 1px solid var(--border);
}
footer a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--brown-primary); }

/* Responsive */
@media (max-width: 768px) {
  nav { padding: 0 1.25rem; }
  .nav-links {
    position: fixed;
    top: 60px; right: 0;
    width: 220px;
    background: var(--bg-mid);
    border-left: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    border-bottom-left-radius: 12px;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    transform: translateX(120%);
    transition: transform 0.3s;
  }
  .nav-links.open { transform: none; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.75rem 1.5rem; }
  .hamburger { display: flex; }

  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-art { justify-content: center; }

  .schedule-row { grid-template-columns: 90px 1fr; }
  .schedule-time { display: none; }

  section { padding: 3rem 1.25rem; }
  .hero { padding: 80px 1.25rem 3rem; }
}

#paw-cursor-layer .paw-print {
  position: absolute;
  width: 20px; height: 20px;
  pointer-events: none;
  opacity: 0.6;
  animation: fadePaw 1.2s ease-out forwards;
  transform: translate(-50%, -50%);
}
@keyframes fadePaw {
  0%   { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0;   transform: translate(-50%, -50%) scale(0.5); }
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: rgba(200,135,74,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(200,135,74,0.5); }
::selection { background: rgba(200,135,74,0.3); color: var(--text); }
