@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Nunito:wght@500;700;800;900&display=swap');

:root {
  --bg: #fffbf0;         /* Warm sunny background */
  --bg-soft: #f9f3e5;    /* Soft arena earth tone */
  --panel: #ffffff;      /* Solid white for contrast */
  --panel-soft: rgba(255, 255, 255, 0.9);
  --line: #e2d1b0;       /* Earthy border tone */
  --text: #2d2417;       /* Deep warm brown for text */
  --muted: #7a6e5a;      /* Muted brown for secondary text */
  --cyan: #3db5ff;       /* Sky blue (from water monster) */
  --lime: #6fd354;       /* Grass green (from nature monster) */
  --gold: #ffb800;       /* Golden yellow (from logo) */
  --coral: #ff5c00;      /* Fire orange (from fire monster) */
  --primary: var(--coral);
  --secondary: var(--cyan);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: 
    radial-gradient(circle at 15% 15%, rgba(61, 181, 255, 0.15), transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(255, 184, 0, 0.15), transparent 40%),
    var(--bg);
  background-attachment: fixed;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(255, 251, 240, 0.85);
  border-bottom: 2px solid var(--line);
}

.header-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  height: 48px;
  width: auto;
  border-radius: 14px;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand:hover .brand-logo {
  transform: scale(1.1) rotate(-5deg);
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 207, 64, 0.45), rgba(76, 203, 255, 0.35));
  border: 1px solid rgba(31, 47, 75, 0.08);
  font-size: 22px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.menu-toggle {
  display: none;
}
.mobile-drawer, .drawer-overlay {
  display: none;
}
.brand-title {
  font-family: 'Bangers', cursive;
  font-size: 28px;
  letter-spacing: 1.5px;
  line-height: 1;
  background: linear-gradient(135deg, var(--coral), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-sub {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6d86a0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
  background: var(--bg-soft);
  border: 2px solid var(--line);
}

.hero {
  padding: 64px 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-card,
.panel,
.article-card,
.feature-card,
.guide-card,
.stat-card,
.cta-panel {
  border: 2px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: 0 12px 0 var(--line); /* Playful border depth */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover,
.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 0 var(--line);
}

.hero-copy {
  padding: 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--secondary);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  border: 2px solid var(--line);
}

.hero h1,
.page-title {
  margin: 18px 0 12px;
  font-family: 'Bangers', cursive;
  font-size: clamp(52px, 8vw, 92px);
  line-height: 0.95;
  letter-spacing: 2px;
  color: var(--primary);
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.05);
}

.hero p,
.lead,
.article-card p,
.guide-card p,
.feature-card p,
.panel p,
.cta-panel p,
.content p,
.content li {
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
  margin-bottom: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.4px;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--coral), var(--gold));
  box-shadow: 0 6px 0 #b34100;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(2px);
  box-shadow: 0 4px 0 #b34100;
}

.btn-secondary {
  color: var(--text);
  background: var(--bg-soft);
  border: 2px solid var(--line);
  box-shadow: 0 6px 0 var(--line);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  transform: translateY(2px);
  box-shadow: 0 4px 0 var(--line);
}

.hero-card {
  padding: 24px;
  display: grid;
  gap: 16px;
  overflow: hidden;
}

.hero-preview-img-wrap {
  padding: 0;
  border-radius: 24px;
  min-height: 320px;
  border: 2px solid var(--line);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 0 var(--line);
}

.hero-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hero-preview-img-wrap:hover .hero-preview-img {
  transform: scale(1.05);
}

.arena-ring,
.arena-core,
.arena-orb,
.arena-ui {
  position: absolute;
}

.arena-ring {
  inset: 36px;
  border-radius: 50%;
  border: 1px dashed rgba(44, 89, 160, 0.2);
}

.arena-core {
  width: 112px;
  height: 112px;
  left: calc(50% - 56px);
  top: calc(50% - 56px);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #b1ff77, #20d897 65%, #0f7f70 100%);
  box-shadow: 0 0 50px rgba(66, 217, 255, 0.28);
  font-size: 46px;
}

.arena-orb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: 0 0 24px currentColor;
}

.arena-orb.o1 {
  top: 68px;
  left: 52px;
  color: #ffd84d;
  background: #ffd84d;
}

.arena-orb.o2 {
  right: 72px;
  top: 92px;
  color: #42d9ff;
  background: #42d9ff;
}

.arena-orb.o3 {
  bottom: 74px;
  left: 88px;
  color: #ff795d;
  background: #ff795d;
}

.arena-orb.o4 {
  right: 92px;
  bottom: 64px;
  color: #8cff7a;
  background: #8cff7a;
}

.arena-ui {
  left: 20px;
  right: 20px;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.ui-pill {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.mini-card {
  padding: 14px;
  border-radius: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.mini-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
}

.section {
  padding: 24px 0;
}

.section-head {
  margin-bottom: 18px;
}

.section-tag {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 12px;
  font-weight: 900;
}

.section h2,
.content h2 {
  margin: 8px 0 10px;
  font-family: 'Bangers', cursive;
  letter-spacing: 1px;
  font-size: 38px;
  color: var(--text);
}

.content h3 {
  margin: 26px 0 10px;
  font-size: 22px;
  color: var(--primary);
}

.feature-grid,
.guide-grid,
.stat-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.guide-card,
.stat-card {
  padding: 22px;
}

.feature-card h3,
.guide-card h3,
.stat-card h3 {
  margin: 12px 0 10px;
  font-size: 22px;
}

.card-kicker {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  border: 1px solid var(--line);
}

.stat-value {
  font-family: 'Bangers', cursive;
  font-size: 42px;
  line-height: 1;
  letter-spacing: 1px;
  color: var(--lime);
}

.content-wrap {
  padding: 40px 0 64px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
}

.article-card {
  padding: 32px;
}

.content ul {
  margin: 0;
  padding-left: 22px;
}

.content li + li {
  margin-top: 8px;
}

.sidebar-stack {
  display: grid;
  gap: 18px;
  align-content: start;
}

.panel,
.cta-panel {
  padding: 24px;
}

.panel h3,
.cta-panel h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.link-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.link-list a {
  text-decoration: none;
  color: var(--text);
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.link-list a:hover {
  border-color: var(--line);
  transform: translateX(4px);
}

.footer {
  padding: 28px 0 42px;
  color: var(--muted);
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid rgba(31, 47, 75, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

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

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

@media (max-width: 980px) {
  .hero-grid,
  .content-grid,
  .feature-grid,
  .guide-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .site-shell {
    width: calc(100% - 32px);
  }

  .site-header .header-inner,
  .footer-inner {
    padding: 16px 0;
  }

  .hero {
    padding-top: 32px;
  }

  .hero h1,
  .page-title {
    font-size: clamp(48px, 10vw, 64px);
  }

  .hero-preview-img-wrap {
    min-height: 300px;
  }
}

@media (max-width: 720px) {
  /* Header & Navigation Drawer */
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    padding: 12px 0;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
  }

  .menu-toggle span {
    display: block;
    width: 28px;
    height: 4px;
    background: var(--text);
    border-radius: 4px;
  }

  /* Mobile Drawer */
  .mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg);
    z-index: 1000;
    padding: 80px 24px 24px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .mobile-drawer.open {
    right: 0;
  }

  .drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(45, 36, 23, 0.4);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
  }

  .drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-drawer a {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    background: var(--bg-soft);
    border: 2px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 4px 0 var(--line);
  }

  .mobile-drawer a.active {
    background: var(--coral);
    color: #fff;
    border-color: #b34100;
    box-shadow: 0 4px 0 #b34100;
  }

  /* Hero & Layout Fixes */
  .hero {
    padding-top: 24px;
  }

  .hero h1, .page-title {
    font-size: clamp(38px, 12vw, 48px);
    text-align: center;
    line-height: 1.1;
  }

  .hero p, .lead {
    text-align: center;
    font-size: 15px;
    padding: 0 10px;
  }

  .hero-copy, .hero-card, .feature-card, .guide-card, .stat-card, .article-card, .panel, .cta-panel {
    padding: 24px 20px;
    border-radius: 20px;
    box-shadow: 0 6px 0 var(--line);
  }

  .cta-row {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
    justify-content: center;
  }

  .mini-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }

  .hero-preview-img-wrap {
    min-height: 240px;
  }

  .section h2, .content h2 {
    font-size: 28px;
    text-align: center;
  }

  .section-head {
    text-align: center;
  }

  .footer-inner {
    text-align: center;
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    height: 38px;
  }

  .brand-title {
    font-size: 22px;
  }

  .hero h1, .page-title {
    font-size: 36px;
  }

  .hero p, .lead {
    font-size: 14px;
    padding: 0;
  }

  .hero-preview-img-wrap {
    min-height: 180px;
  }

  .footer-links {
    justify-content: center;
    gap: 10px;
  }

  .footer-links a {
    font-size: 13px;
  }
}
