:root {
  --bg: #faf8f5;
  --surface: #f3f0eb;
  --card: #ffffff;
  --card2: #f8f6f2;
  --line: rgba(90, 154, 104, 0.18);
  --line2: rgba(45, 52, 54, 0.08);
  --text: #2d3436;
  --muted: #6b7c8f;
  --accent: #5a9a68;
  --accent2: #3d7a52;
  --pink: #f4d4d8;
  --pink-text: #b85c6b;
  --orange: #e07b54;
  --sky: #d4e8f0;
  --radius: 20px;
  --radius-sm: 14px;
  --wrap: 1180px;
  --shadow: 0 20px 50px rgba(45, 52, 54, 0.08);
  --shadow-lg: 0 28px 70px rgba(45, 52, 54, 0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent2); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }
.container { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
h1, h2, h3, .section-head h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: -0.01em; }

.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line2);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 80px; gap: 1rem;
}
.logo {
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--text); font-weight: 600; font-size: 1.08rem;
}
.logo-img {
  width: 44px; height: 44px; border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(90, 154, 104, 0.2);
  border: 2px solid #fff;
}
.logo em { color: var(--accent); font-style: italic; font-family: Georgia, serif; }

.nav-main {
  display: flex; align-items: center; gap: 0.2rem;
  background: #fff;
  border: 1px solid var(--line2);
  border-radius: 999px;
  padding: 0.35rem;
  box-shadow: 0 8px 30px rgba(45, 52, 54, 0.06);
}
.nav-main a {
  color: var(--muted); padding: 0.55rem 1.1rem; border-radius: 999px;
  font-size: 0.9rem; font-weight: 500;
}
.nav-main a:hover { color: var(--text); background: var(--surface); }
.nav-main a.active {
  color: var(--pink-text); background: var(--pink);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.7rem 1.5rem; border-radius: 999px; border: none;
  font-weight: 600; font-size: 0.9rem; cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn .btn-arrow { width: 16px; height: 16px; flex-shrink: 0; }
.btn:active { transform: scale(0.97); }
.btn-green {
  background: linear-gradient(135deg, #4a8f5c, #6db87a);
  color: #fff; box-shadow: 0 10px 28px rgba(74, 143, 92, 0.28);
}
.btn-orange {
  background: linear-gradient(135deg, #d96a45, var(--orange));
  color: #fff; box-shadow: 0 10px 28px rgba(224, 123, 84, 0.25);
}
.btn-ghost {
  background: #fff; border: 1px solid var(--line2);
  color: var(--text); box-shadow: 0 4px 16px rgba(45,52,54,0.04);
}
.btn-green:hover, .btn-orange:hover { color: #fff; filter: brightness(1.03); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line2);
  border-radius: 12px; background: #fff; cursor: pointer; padding: 11px;
  flex-direction: column; justify-content: space-between;
  box-shadow: 0 4px 12px rgba(45,52,54,0.06);
}
.nav-toggle span {
  display: block; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.hero {
  position: relative;
  padding: 4.5rem 0 3rem;
  overflow: hidden;
  min-height: clamp(480px, 72vh, 640px);
  background:
    radial-gradient(ellipse 80% 90% at 85% 20%, rgba(244, 212, 216, 0.35) 0%, transparent 65%),
    linear-gradient(180deg, #fff 0%, var(--bg) 55%, var(--sky) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center;
  position: relative; z-index: 1;
}
.hero-copy { max-width: 540px; }
.hero-eyebrow {
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent); margin-bottom: 1rem; font-weight: 600;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 3.75rem); line-height: 1.06; margin-bottom: 1.15rem;
  color: var(--text);
}
.hero h1 span { color: var(--accent); font-style: italic; }
.hero p { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.7rem; line-height: 1.8; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.7rem; }
.tag {
  font-size: 0.74rem; padding: 0.42rem 0.9rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line2); color: var(--muted);
  box-shadow: 0 2px 8px rgba(45,52,54,0.04);
}
.tag-green { border-color: rgba(90,154,104,0.25); color: var(--accent2); background: #f0f8f2; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-visual { position: relative; }
.hero-frame {
  position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden;
  border: 4px solid #fff;
  box-shadow: var(--shadow-lg);
}
.hero-frame img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.hero-float {
  position: absolute; bottom: 1.5rem; left: -1.25rem;
  background: #fff;
  border: 1px solid var(--line2); border-radius: var(--radius-sm);
  padding: 1rem 1.25rem; min-width: 170px;
  box-shadow: var(--shadow);
}
.hero-float strong { display: block; font-size: 1.6rem; color: var(--accent); font-family: Georgia, serif; }
.hero-float span { font-size: 0.78rem; color: var(--muted); }

.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  margin: -2rem auto 3.5rem; position: relative; z-index: 2;
  width: min(100% - 2.5rem, var(--wrap));
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line2); border-radius: var(--radius-sm);
  padding: 1.3rem 1rem; text-align: center;
  box-shadow: var(--shadow);
}
.stat-card strong {
  display: block; font-size: 1.75rem; color: var(--accent);
  font-family: Georgia, serif; font-weight: 600; line-height: 1.1;
}
.stat-card span { font-size: 0.76rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; }

section { padding: 4rem 0; }
.section-alt {
  background: var(--surface);
  border-block: 1px solid var(--line2);
  position: relative;
}
.section-alt.has-bg::before {
  content: ""; position: absolute; inset: 0; opacity: 0.12;
  background: url("../images/bg.webp") center/cover no-repeat;
  pointer-events: none;
}
.section-alt.has-bg > .container { position: relative; z-index: 1; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 2.75rem; }
.section-head .eyebrow {
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent); margin-bottom: 0.55rem; font-weight: 600;
}
.section-head h2 { font-size: clamp(1.85rem, 3.5vw, 2.4rem); margin-bottom: 0.65rem; color: var(--text); }
.section-head p { color: var(--muted); font-size: 1rem; line-height: 1.75; }

.bento-games {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
}
.bento-games .game-card { grid-column: auto; }
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.game-card {
  background: var(--card); border: 1px solid var(--line2); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.game-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.game-card .thumb { position: relative; overflow: hidden; }
.game-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform 0.4s; }
.game-card:hover img { transform: scale(1.04); }
.game-card .body { padding: 1.15rem 1.2rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.game-label {
  display: inline-block; font-size: 0.66rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--accent); font-weight: 700; margin-bottom: 0.45rem;
  background: #f0f8f2; padding: 0.25rem 0.65rem; border-radius: 999px;
}
.game-card h3 { font-size: 1.05rem; margin-bottom: 0.45rem; }
.game-card p { color: var(--muted); font-size: 0.84rem; margin-bottom: 1rem; line-height: 1.6; flex: 1; }
.game-card .btn { margin-top: auto; align-self: flex-start; }

.split-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center;
}
.split-panel.reverse .split-img { order: 2; }
.split-panel.reverse .split-copy { order: 1; }
.split-img {
  border-radius: var(--radius); overflow: hidden;
  border: 4px solid #fff; box-shadow: var(--shadow-lg);
}
.split-img img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.split-copy h2 { font-size: clamp(1.65rem, 3vw, 2.1rem); margin-bottom: 0.85rem; }
.split-copy p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1rem; line-height: 1.8; }
.split-list { list-style: none; margin: 1.35rem 0; }
.split-list li {
  padding: 0.65rem 0; border-bottom: 1px solid var(--line2);
  color: var(--muted); font-size: 0.9rem;
}
.split-list li strong { color: var(--text); font-weight: 600; }

.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
.feature {
  background: #fff; border: 1px solid var(--line2); border-radius: var(--radius);
  padding: 1.6rem; transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 8px 24px rgba(45,52,54,0.04);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
  width: 52px; height: 52px; margin-bottom: 1rem; border-radius: 14px;
  background: linear-gradient(135deg, #f0f8f2, var(--sky));
  display: grid; place-items: center; color: var(--accent);
}
.feature-icon .ui-icon {
  width: 26px; height: 26px; display: block;
}
.feature h3 { font-size: 1.02rem; margin-bottom: 0.45rem; font-family: inherit; font-weight: 600; }
.feature p { color: var(--muted); font-size: 0.86rem; line-height: 1.65; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.step {
  padding: 1.6rem 1.3rem;
  background: #fff; border: 1px solid var(--line2); border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(45,52,54,0.04);
}
.step-num {
  width: 40px; height: 40px; margin-bottom: 1rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), #fff);
  border: 2px solid var(--pink);
  display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; color: var(--pink-text);
}
.step h3 { font-size: 1.02rem; margin-bottom: 0.45rem; font-family: inherit; font-weight: 600; }
.step p { color: var(--muted); font-size: 0.84rem; line-height: 1.65; }

.cta-band {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line2); margin: 0 auto;
  max-width: var(--wrap); width: min(100% - 2.5rem, var(--wrap));
  box-shadow: var(--shadow-lg);
}
.cta-band img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35;
}
.cta-band .inner {
  position: relative; padding: 3.5rem 2.5rem; text-align: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(250,248,245,0.88));
}
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 0.7rem; }
.cta-band p { color: var(--muted); margin-bottom: 1.35rem; max-width: 500px; margin-inline: auto; }

.faq {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.faq details {
  background: #fff; border: 1px solid var(--line2); border-radius: var(--radius-sm);
  padding: 1.1rem 1.15rem;
  box-shadow: 0 4px 16px rgba(45,52,54,0.03);
  transition: border-color 0.2s;
  align-self: start;
}
.faq details[open] { border-color: rgba(90,154,104,0.3); }
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 0.9rem; list-style: none; color: var(--text);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 0.65rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-q { flex: 1; line-height: 1.45; }
.faq-chevron {
  width: 18px; height: 18px; flex-shrink: 0; color: var(--accent);
  transition: transform 0.25s; margin-top: 0.05rem;
}
.faq details[open] .faq-chevron { transform: rotate(180deg); }
.faq p { color: var(--muted); font-size: 0.84rem; margin-top: 0.65rem; line-height: 1.7; }

.form-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 2rem; align-items: start;
}
.contact-page { padding-bottom: 2.5rem; }
.contact-info { display: flex; flex-direction: column; gap: 0.85rem; }
.contact-card h3 { font-size: 0.96rem; margin-bottom: 0.4rem; font-weight: 600; }
.contact-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.tt-form .form-group { margin-bottom: 0.95rem; }
.form-group label { display: block; font-size: 0.84rem; margin-bottom: 0.4rem; font-weight: 500; color: var(--muted); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.8rem 1.05rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line2); background: #fff; color: var(--text); font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: rgba(90,154,104,0.45);
  box-shadow: 0 0 0 3px rgba(90,154,104,0.12);
}
.form-group textarea { min-height: 140px; resize: vertical; }

.page-title { padding: 2.75rem 0 1.25rem; }
.page-title h1 { font-size: clamp(1.85rem, 4vw, 2.5rem); margin-bottom: 0.5rem; }
.page-title p { color: var(--muted); font-size: 1rem; }
.game-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.85rem; margin-bottom: 1.25rem;
}
.pill {
  background: #fff; border: 2px solid rgba(90,154,104,0.18);
  padding: 0.55rem 1.15rem; border-radius: 999px; font-size: 0.88rem;
  box-shadow: 0 4px 14px rgba(45,52,54,0.08);
}
.pill b { color: #2a8a48; font-size: 1.05rem; font-weight: 800; }
.game-wrap {
  background: linear-gradient(180deg, #fff8f0, #e8f4ff);
  border: 2px solid rgba(90,154,104,0.2); border-radius: var(--radius);
  padding: 1.5rem; display: flex; justify-content: center;
  box-shadow: var(--shadow-lg);
}
.game-wrap canvas {
  max-width: 100%; border-radius: var(--radius-sm);
  touch-action: manipulation;
  box-shadow: 0 16px 48px rgba(30,60,90,0.18);
  background: #fff;
}
.game-hud {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.65rem; margin-bottom: 1rem;
}
.game-hud .pill b { min-width: 1.5rem; display: inline-block; text-align: center; }
.game-note { text-align: center; color: var(--muted); margin: 1.1rem 0 0.5rem; font-size: 0.88rem; }
.game-links { text-align: center; color: var(--muted); margin: 0.5rem 0 2.5rem; font-size: 0.88rem; }
.card {
  background: #fff; border: 1px solid var(--line2);
  border-radius: var(--radius); padding: 1.4rem;
  box-shadow: var(--shadow);
}

.policy-body { padding: 2.75rem 0 3.5rem; max-width: 820px; }
.policy-body h1 { font-size: clamp(1.85rem, 4vw, 2.3rem); margin-bottom: 0.55rem; }
.policy-body .meta { color: var(--muted); font-size: 0.86rem; margin-bottom: 1.75rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line2); }
.policy-body .lead { font-size: 1.04rem; color: var(--muted); line-height: 1.85; margin-bottom: 1.5rem; }
.policy-body h2 { font-size: 1.3rem; margin: 2.25rem 0 0.75rem; font-family: Georgia, serif; }
.policy-body h3 { font-size: 1.04rem; margin: 1.5rem 0 0.5rem; color: var(--accent); font-weight: 600; }
.policy-body p, .policy-body li { color: var(--muted); line-height: 1.8; }
.policy-body ul, .policy-body ol { margin: 0.75rem 0 1.25rem 1.35rem; }
.policy-body .policy-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.policy-body .policy-nav a {
  font-size: 0.8rem; padding: 0.45rem 0.85rem; border-radius: 999px;
  border: 1px solid var(--line2); color: var(--muted); background: #fff;
}

.site-footer {
  background: #fff;
  border-top: 1px solid var(--line2);
  padding: 4rem 0 1.5rem; margin-top: 1rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.8fr repeat(4, 1fr); gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand p {
  color: var(--muted); font-size: 0.88rem; line-height: 1.75;
  margin-top: 0.95rem; max-width: 300px;
}
.footer-tags {
  display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1rem;
}
.footer-tags span {
  font-size: 0.7rem; padding: 0.35rem 0.75rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line2); color: var(--muted);
}
.footer-col h4, .footer-grid > div > h4 {
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent); margin-bottom: 0.95rem; font-weight: 600;
}
.footer-col ul, .footer-grid ul { list-style: none; }
.footer-col li, .footer-grid li { margin-bottom: 0.55rem; }
.footer-col a, .footer-grid a { color: var(--muted); font-size: 0.86rem; }
.footer-col a:hover, .footer-grid a:hover { color: var(--text); }
.footer-meta {
  display: block; color: var(--muted); font-size: 0.82rem; line-height: 1.5;
}
.footer-note {
  padding: 1.2rem 1.35rem; background: var(--surface);
  border: 1px solid var(--line2); border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}
.footer-note p {
  color: var(--muted); font-size: 0.8rem; line-height: 1.7; margin: 0;
}
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 0.75rem; padding-top: 1.4rem; border-top: 1px solid var(--line2);
  font-size: 0.78rem; color: var(--muted);
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent); }

.popup {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(45, 52, 54, 0.45); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 1rem;
}
.popup.show { display: flex; }
.popup-box {
  background: #fff; border: 1px solid var(--line2);
  border-radius: var(--radius); padding: 2.5rem; max-width: 440px; width: 100%; text-align: center;
  box-shadow: var(--shadow-lg);
}
.popup-box h2 { font-size: 1.45rem; margin-bottom: 0.7rem; }
.popup-box p { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.5rem; }
.popup-actions { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }

.cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 99998;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--line2);
  padding: 1rem 0; display: none;
  box-shadow: 0 -12px 40px rgba(45, 52, 54, 0.08);
}
.cookie-bar.show { display: block; }
.cookie-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.cookie-inner p { color: var(--muted); font-size: 0.86rem; flex: 1; }
.cookie-btns { display: flex; gap: 0.5rem; }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid, .split-panel { grid-template-columns: 1fr; gap: 2rem; }
  .split-panel.reverse .split-img, .split-panel.reverse .split-copy { order: unset; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .bento-games, .games-grid { grid-template-columns: repeat(2, 1fr); }
  .faq { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-main {
    position: fixed; top: 80px; left: 1rem; right: 1rem;
    background: #fff; border: 1px solid var(--line2);
    flex-direction: column; padding: 0.85rem; display: none;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
  }
  .nav-main.open { display: flex; }
  .nav-main a { width: 100%; text-align: center; }
  .footer-grid, .features, .steps, .stats-bar,
  .bento-games, .games-grid, .faq { grid-template-columns: 1fr; }
  .cookie-inner { flex-direction: column; align-items: stretch; }
  .hero { padding: 2.75rem 0 2rem; }
  .hero-float { left: 0.5rem; bottom: 0.75rem; }
}
