:root {
  --ink: #1f1a17;
  --cream: #fff7ec;
  --sun: #ffb347;
  --rose: #ff6f61;
  --teal: #1d8b87;
  --sky: #7fd7ff;
  --leaf: #4caf50;
  --plum: #4a2d52;
  --sand: #f7e3c6;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(31, 26, 23, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --grid-gap: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Work Sans", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #fff1da 0%, #fff7ec 45%, #ffffff 100%);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 999;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

header {
  position: sticky;
  top: 0;
  background: rgba(255, 247, 236, 0.92);
  backdrop-filter: blur(12px);
  z-index: 50;
  border-bottom: 1px solid rgba(31, 26, 23, 0.06);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.logo img {
  width: 40px;
  height: 40px;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--rose);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--ink);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
}

.hero {
  padding: 72px 0 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2.6rem, 3vw + 1.6rem, 4.1rem);
  margin: 0 0 16px;
  line-height: 1.05;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.hero-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: -80px;
  background: radial-gradient(circle at 20% 20%, rgba(255, 111, 97, 0.18), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(31, 139, 135, 0.2), transparent 50%),
    radial-gradient(circle at 90% 70%, rgba(255, 179, 71, 0.2), transparent 50%);
  z-index: 0;
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--sand);
  font-size: 0.85rem;
  font-weight: 600;
}

.section {
  padding: 90px 0;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}

.section-title h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 1.6rem + 1.2vw, 2.8rem);
  margin: 0;
}

.section-title span {
  width: 50px;
  height: 4px;
  background: var(--teal);
  border-radius: 999px;
}

.card-grid {
  display: grid;
  gap: var(--grid-gap);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31, 26, 23, 0.06);
}

.card h3 {
  margin-top: 0;
  font-family: "Fraunces", serif;
}

.card p {
  margin-bottom: 0;
}

.activity-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(31, 26, 23, 0.18);
  background: var(--white);
  cursor: pointer;
  font-weight: 600;
}

.filter-btn.active {
  background: var(--ink);
  color: var(--white);
}

.split {
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.highlight {
  background: var(--plum);
  color: var(--white);
  padding: 36px;
  border-radius: var(--radius-lg);
}

.highlight ul {
  padding-left: 18px;
}

.stats {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.stat {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  font-size: 1.8rem;
  font-family: "Fraunces", serif;
}

.schedule {
  background: var(--sand);
  padding: 24px;
  border-radius: var(--radius-md);
}

.schedule table {
  width: 100%;
  border-collapse: collapse;
}

.schedule th,
.schedule td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(31, 26, 23, 0.1);
}

.resource-list {
  display: grid;
  gap: 14px;
}

.resource-item {
  padding: 16px 18px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 26, 23, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.resource-item span {
  font-weight: 600;
}

.badge {
  background: var(--sky);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.faq {
  display: grid;
  gap: 14px;
}

.faq button {
  width: 100%;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 26, 23, 0.1);
  background: var(--white);
  text-align: left;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq p {
  margin: 0;
  padding: 0 18px 18px;
}

footer {
  background: var(--ink);
  color: var(--white);
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

footer a {
  color: var(--white);
}

.small {
  font-size: 0.9rem;
}

.page-hero {
  padding: 60px 0 50px;
}

.page-hero h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.4rem, 1.4rem + 2vw, 3.4rem);
  margin-bottom: 12px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 6px 14px;
  background: var(--white);
  border-radius: 999px;
  border: 1px solid rgba(31, 26, 23, 0.12);
  font-weight: 600;
}

.download-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.download-card {
  border-radius: var(--radius-md);
  padding: 20px;
  background: var(--white);
  border: 1px solid rgba(31, 26, 23, 0.08);
  box-shadow: var(--shadow);
}

.download-card a {
  margin-top: 12px;
  display: inline-flex;
}

.play-lab {
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.wheel-wrap {
  position: relative;
  width: min(320px, 80vw);
  margin: 0 auto;
}

.wheel {
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: var(--shadow);
  transition: transform 1.2s cubic-bezier(0.22, 0.8, 0.25, 1);
}

.wheel-pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 20px solid var(--ink);
}

.picker-panel {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.swatch {
  width: 100%;
  height: 90px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(31, 26, 23, 0.1);
  margin: 12px 0 16px;
}

.fun-fact {
  font-weight: 600;
  margin: 0;
}

.spin-btn {
  margin-top: 16px;
}

.burst {
  animation: burst 0.6s ease;
}

@keyframes burst {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
  100% {
    transform: scale(1);
  }
}

.notice {
  background: rgba(31, 139, 135, 0.08);
  padding: 16px 20px;
  border-radius: var(--radius-md);
}

@media (max-width: 900px) {
  nav ul {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: var(--white);
    padding: 20px;
    position: absolute;
    right: 4vw;
    top: 70px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
  }

  nav ul.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 60px 0 70px;
  }

  .section {
    padding: 70px 0;
  }

  .resource-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

.reveal {
  animation: floatIn 0.7s ease forwards;
}
