@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Nunito+Sans:wght@300;400;600;700&display=swap');

:root {
  --coral: #e76f51;
  --cream: #fef3e8;
  --sand: #f4e4d0;
  --brown: #3d2c2e;
  --warm-gray: #6b5e5e;
  --peach: #f4a261;
  --light-coral: rgba(231,111,81,0.1);
}

* { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: 'Nunito Sans', sans-serif;
  background: var(--cream);
  color: var(--brown);
  line-height: 1.75;
}

h1,h2,h3,h4 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--coral);
  font-weight: 700;
}

a { color: var(--coral); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--peach); }

/* Navigation */
.navbar {
  background: white;
  box-shadow: 0 2px 20px rgba(61,44,46,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 68px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--coral);
}

.site-brand svg { width: 38px; height: 38px; }

.nav-menu { display: flex; gap: 2rem; list-style: none; }

.nav-menu a {
  color: var(--warm-gray);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.3rem 0;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.current::after { width: 100%; }

.nav-menu a:hover,
.nav-menu a.current { color: var(--coral); }

.menu-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--coral);
  border-radius: 3px;
}

/* Hero section with wave */
.welcome-section {
  background: linear-gradient(170deg, var(--cream) 0%, var(--sand) 50%, white 100%);
  padding: 5rem 2rem 6rem;
  text-align: center;
  position: relative;
}

.welcome-section h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.welcome-section p {
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  color: var(--warm-gray);
}

.coral-btn {
  display: inline-block;
  background: var(--coral);
  color: white;
  padding: 0.85rem 2.5rem;
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(231,111,81,0.3);
}

.coral-btn:hover {
  background: var(--peach);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244,162,97,0.4);
}

/* Sections */
.main-section {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.heading-center {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2rem;
}

/* Three cards */
.card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.info-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(61,44,46,0.05);
  transition: 0.3s;
  border: 1px solid var(--sand);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(231,111,81,0.12);
}

.card-emoji { font-size: 2.5rem; margin-bottom: 1rem; }

.info-card h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }

/* Game area */
.game-area {
  max-width: 960px;
  margin: 2rem auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(61,44,46,0.1);
  background: white;
  border: 2px solid var(--sand);
}

.game-area iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

/* Two column */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin: 2rem 0;
}

.text-box {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 2px 15px rgba(61,44,46,0.04);
  border: 1px solid var(--sand);
}

.text-box h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

/* Numbers ribbon */
.ribbon {
  display: flex;
  justify-content: space-around;
  background: var(--coral);
  border-radius: 20px;
  padding: 2.5rem;
  margin: 2rem 0;
  color: white;
}

.ribbon-item { text-align: center; }

.ribbon-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 700;
}

.ribbon-text {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* Page inner */
.page-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.page-inner h1 {
  font-size: 2.6rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.page-inner h2 { font-size: 1.7rem; margin: 2rem 0 0.8rem; }
.page-inner p { margin-bottom: 1rem; color: var(--warm-gray); }
.page-inner ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.page-inner li { margin-bottom: 0.5rem; color: var(--warm-gray); }

/* Footer */
.foot {
  background: var(--brown);
  color: var(--sand);
  padding: 3rem 2rem;
  text-align: center;
}

.foot-inner { max-width: 1400px; margin: 0 auto; }

.foot-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.foot-links a { color: var(--sand); font-size: 0.9rem; }
.foot-links a:hover { color: var(--peach); }

.rg-area {
  border-top: 1px solid rgba(244,228,208,0.15);
  padding-top: 1.5rem;
  margin-top: 0.5rem;
}

.rg-area p { font-size: 0.8rem; opacity: 0.6; margin-bottom: 0.6rem; }
.rg-area a { color: var(--peach); margin: 0 0.6rem; font-size: 0.85rem; }

/* Age Modal */
.age-screen {
  position: fixed;
  inset: 0;
  background: rgba(61,44,46,0.92);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-card {
  background: white;
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.age-card h2 { font-size: 2rem; margin-bottom: 0.8rem; }
.age-card p { color: var(--warm-gray); margin-bottom: 2rem; }

.age-actions { display: flex; gap: 1rem; justify-content: center; }

.age-actions button {
  padding: 0.8rem 2rem;
  border-radius: 40px;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.3s;
  border: 2px solid var(--coral);
}

.age-accept { background: var(--coral); color: white; }
.age-accept:hover { background: var(--peach); border-color: var(--peach); }

.age-decline { background: transparent; color: var(--coral); }
.age-decline:hover { background: var(--light-coral); }

.age-denied { display: none; }
.age-denied h3 { color: #c0392b; font-size: 1.4rem; }

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: white;
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  }
  .nav-menu.open { display: flex; }
  .welcome-section h1 { font-size: 2rem; }
  .card-row { grid-template-columns: 1fr; }
  .split-section { grid-template-columns: 1fr; }
  .ribbon { flex-direction: column; gap: 1.5rem; }
  .game-area iframe { height: 380px; }
  .foot-links { flex-direction: column; align-items: center; }
}
