/* Clean & Friendly homepage (English relaunch front door).
   Self-contained: the page body is .home-clean (NOT .arcade-home), so none of
   easytest.css's dark arcade theme applies. Tokens match the test cards. */
:root {
  --et-cream: #FFF6EF;
  --et-ink: #1F1733;
  --et-mute: #6B6480;
  --et-purple: #8257E6;
  --et-purple-dark: #6C3FD4;
  --et-purple-soft: #F3EFFB;
  --et-coral: #FF6B5E;
  --et-card-radius: 18px;
  --et-card-shadow: 0 18px 40px rgba(130, 87, 230, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body.home-clean {
  background: var(--et-cream);
  color: var(--et-ink);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

.home-shell {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Nav */
.home-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}
.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--et-ink);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.home-brand .brand-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--et-purple);
  color: #fff;
  font-weight: 800;
}
.home-nav-tag { color: var(--et-mute); font-size: 13px; font-weight: 600; }

/* Hero */
.home-hero {
  text-align: center;
  padding: 48px 0 40px;
}
.home-eyebrow {
  display: inline-block;
  color: var(--et-purple);
  background: var(--et-purple-soft);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.home-hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 16px;
}
.home-hero p {
  color: var(--et-mute);
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  max-width: 560px;
  margin: 0 auto 28px;
}
.home-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: var(--et-purple);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(130, 87, 230, 0.3);
  transition: background 180ms ease, transform 180ms ease;
}
.home-cta:hover { background: var(--et-purple-dark); transform: translateY(-2px); }

/* Section heading */
.home-section { padding: 16px 0 8px; }
.home-section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--et-purple);
  margin: 28px 0 14px;
}

/* Test card grid */
.home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 760px) { .home-grid { grid-template-columns: 1fr; } }

.home-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  background: #fff;
  border: 1px solid #F1ECF9;
  border-radius: var(--et-card-radius);
  box-shadow: var(--et-card-shadow);
  padding: 22px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.home-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(130, 87, 230, 0.18); }
.home-card-emoji { font-size: 26px; }
.home-card h3 { color: var(--et-ink); font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; }
.home-card p { color: var(--et-mute); font-size: 0.95rem; flex: 1; }
.home-card-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--et-purple);
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: 4px;
}

/* Ad slot (light) */
.home-ad {
  margin: 40px auto;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #E7E0F5;
  border-radius: var(--et-card-radius);
  background: #fff;
  color: var(--et-mute);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.home-ad .adsbygoogle { display: block; width: 100%; }
/* Collapse the slot entirely when AdSense reports no fill, so a new/blocked visitor
   never sees a large empty dashed box as their first impression. (The home only loads
   clean-home.css, so the easytest.css collapse rules don't apply here.) */
.home-ad:has(.adsbygoogle[data-ad-status="unfilled"]) {
  min-height: 0;
  margin: 0;
  border: 0;
  padding: 0;
}
.home-ad .adsbygoogle[data-ad-status="unfilled"] { display: none; }

/* Footer */
.home-footer {
  text-align: center;
  color: var(--et-mute);
  font-size: 14px;
  padding: 40px 0 56px;
}
