/* Frenchieland Frenchies — Candy Cosmos Theme */
@import url('https://fonts.googleapis.com/css2?family=Jua&family=Nunito:wght@400;600;700;800&family=Shrikhand&display=swap');

:root {
  /* Watercolor pastel palette */
  --wc-pink: #f4b8c8;
  --wc-rose: #e8a8bc;
  --wc-peach: #f9c9a0;
  --wc-peach-deep: #f0b088;
  --wc-yellow: #fff0c8;
  --wc-blue: #a8d8f0;
  --wc-blue-soft: #c5e8f8;
  --wc-cream: #fffbf7;
  --wc-white: #fefefe;
  --sky-light: #f5f9fc;
  --sky-pale: #fafcfe;
  --pink-pastel: #f4c4d4;
  --pink-soft: #e8a0b8;
  --pink-hot: #d87898;
  --lavender: #d8c8e8;
  --gold: #f0d878;
  --gold-deep: #e8c060;
  --cream: #fffaf6;
  --chocolate: #7a5c48;
  --text: #6d5c72;
  --text-soft: #7a6a80;
  --text-muted: #9a8a9e;
  --stroke: #fff;
  --stroke-soft: #e8d0dc;
  --font-title: 'Shrikhand', cursive;
  --font-description: 'Jua', sans-serif;
  --font-ui: 'Nunito', system-ui, sans-serif;
  --header-h: 72px;
  --max-w: 1140px;
  --radius: 20px;
  --radius-pill: 999px;
  --shadow-glow: 0 0 24px rgba(244, 184, 200, 0.3), 0 0 40px rgba(168, 216, 240, 0.2);
  --shadow-card: 0 6px 24px rgba(200, 180, 190, 0.15), inset 0 1px 0 rgba(255,255,255,0.9);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-description);
  background: var(--wc-cream);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Watercolor wash — pink top-left, peach/yellow top-right, blue bottom-left, cream center */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 6% 10%, rgba(244, 184, 200, 0.5), transparent 68%),
    radial-gradient(ellipse 50% 40% at 94% 6%, rgba(255, 240, 200, 0.55), transparent 62%),
    radial-gradient(ellipse 55% 50% at 90% 50%, rgba(249, 201, 160, 0.4), transparent 68%),
    radial-gradient(ellipse 60% 55% at 8% 92%, rgba(168, 216, 240, 0.5), transparent 70%),
    radial-gradient(ellipse 75% 65% at 48% 42%, rgba(255, 251, 247, 0.92), transparent 78%),
    linear-gradient(160deg, #fef6f2 0%, #fffbf7 45%, #f8fbfe 100%);
  pointer-events: none;
  z-index: 0;
}

main { flex: 1; position: relative; z-index: 1; }

a { color: #7aafd4; text-decoration: none; transition: color 0.2s, filter 0.2s; }
a:hover { color: var(--pink-hot); }

img { max-width: 100%; height: auto; display: block; }

/* ── Title typography — Shrikhand by Jonny Pinhorn ── */
.candy-title,
.logo .title-top,
.logo .title-bottom,
.page-hero h1,
.section-title,
.article-header h1,
.article-body h2,
.article-body h3,
.card h3,
.zone-card-body h3,
.feature-banner-caption h3,
.info-card h3,
.footer-col h4,
.tier-table th {
  font-family: var(--font-title);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

/* ── Description typography — Jua by Woowahan Brothers ── */
.hero-tagline,
.section-subtitle,
.page-hero p,
.card p,
.zone-card-body p,
.feature-banner-caption p,
.article-meta,
.article-body p,
.article-body ul,
.article-body ol,
.article-body li,
.tier-table td,
.breadcrumb,
.play-tip,
.footer-brand p,
.footer-col a,
.footer-bottom,
.info-card p {
  font-family: var(--font-description);
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-decoration: none;
}

.logo .title-top {
  font-size: clamp(1rem, 3vw, 1.25rem);
  background: linear-gradient(180deg, #fff0c8 0%, #f9c9a0 45%, #f0b088 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 0;
  filter: drop-shadow(1px 1px 0 rgba(232, 200, 180, 0.5));
}

.logo .title-bottom {
  font-size: clamp(0.95rem, 2.8vw, 1.15rem);
  background: linear-gradient(180deg, #f4c4d4 0%, #e8a0b8 50%, #d8b0e0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(1px 1px 0 rgba(232, 200, 210, 0.4));
}

.logo-compact .title-top { font-size: 0.85rem; }
.logo-compact .title-bottom { font-size: 0.8rem; }

/* ── Header — glossy candy bar ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(255, 251, 247, 0.94) 0%, rgba(255, 245, 250, 0.9) 100%);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(244, 196, 212, 0.35);
  box-shadow: 0 2px 16px rgba(200, 180, 190, 0.12);
  height: var(--header-h);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-desktop {
  display: flex;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  display: block;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  color: var(--text);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  text-shadow: none;
  transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  background: rgba(244, 184, 200, 0.25);
  border-color: rgba(244, 196, 212, 0.45);
  color: var(--text);
}

.nav-play {
  background: linear-gradient(180deg, #f4c4d4 0%, #e8a0b8 50%, #d87898 100%) !important;
  border: 2px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 4px 14px rgba(216, 120, 152, 0.28), inset 0 1px 0 rgba(255,255,255,0.5) !important;
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(140, 80, 100, 0.2) !important;
}

.nav-play:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(255, 79, 163, 0.55), inset 0 1px 0 rgba(255,255,255,0.4) !important;
  color: #fff !important;
}

.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.7);
  border: 2px solid rgba(184, 169, 217, 0.4);
  color: var(--text);
  padding: 0.45rem 0.65rem;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(255, 251, 247, 0.98);
  border-bottom: 1px solid rgba(244, 196, 212, 0.4);
  padding: 1rem;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 99;
  box-shadow: 0 8px 24px rgba(200, 180, 190, 0.15);
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  padding: 0.8rem 1rem;
  border-radius: 14px;
  color: var(--text);
  font-family: var(--font-ui);
  font-weight: 700;
  border: 2px solid transparent;
}

.nav-mobile a:hover {
  background: rgba(255, 196, 221, 0.35);
  border-color: rgba(255, 158, 199, 0.4);
}

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

.container-narrow { max-width: 780px; }

.nav-mobile a:hover {
  background: rgba(244, 184, 200, 0.25);
  border-color: rgba(244, 196, 212, 0.45);
}

/* ── Hero — homepage artwork ── */
.hero {
  position: relative;
  text-align: center;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: min(82vh, 780px);
  min-height: 320px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 0%, transparent 70%, rgba(255, 251, 247, 0.08) 100%);
  pointer-events: none;
}

.hero-actions {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 7%;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 1.25rem;
}

.hero-tagline {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 580px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 0.75rem;
  line-height: 1.6;
}

.container-top {
  padding-top: 0.5rem;
}


/* ── Buttons — glossy candy pills ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 1.05rem;
  border: 2px solid rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
  text-decoration: none;
  text-shadow: none;
}

.btn:hover { transform: translateY(-3px); filter: brightness(1.06); }

.btn-primary {
  background: linear-gradient(180deg, #f4c4d4 0%, #e8a0b8 50%, #d87898 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(216, 120, 152, 0.28), inset 0 2px 0 rgba(255,255,255,0.45);
  text-shadow: 0 1px 2px rgba(140, 80, 100, 0.15);
}

.btn-primary:hover { color: #fff; box-shadow: 0 8px 24px rgba(216, 120, 152, 0.35), inset 0 2px 0 rgba(255,255,255,0.5); }

.btn-secondary {
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(197, 232, 248, 0.85));
  color: var(--text);
  border-color: rgba(168, 216, 240, 0.55);
  box-shadow: 0 4px 14px rgba(168, 216, 240, 0.22), inset 0 1px 0 rgba(255,255,255,0.85);
  text-shadow: none;
}

.btn-secondary:hover { color: var(--text); }

.btn-gold {
  background: linear-gradient(180deg, #fff0c8 0%, #f9c9a0 50%, #f0b088 100%);
  color: var(--chocolate);
  text-shadow: none;
  border-color: rgba(255,255,255,0.8);
  box-shadow: 0 4px 16px rgba(249, 201, 160, 0.3);
}

/* ── Frosting cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.35rem;
}

.card {
  background: linear-gradient(160deg, rgba(255,255,255,0.82) 0%, rgba(255, 251, 247, 0.78) 100%);
  border: 1px solid rgba(244, 196, 212, 0.35);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  backdrop-filter: blur(6px);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 184, 200, 0.55);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 0.85rem;
  background: linear-gradient(135deg, rgba(244, 196, 212, 0.5), rgba(168, 216, 240, 0.45));
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 3px 10px rgba(200, 180, 190, 0.15);
}

.sticker-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.sticker-inline {
  width: 1.35em;
  height: 1.35em;
  object-fit: contain;
  vertical-align: -0.25em;
  display: inline-block;
}

.sticker-btn {
  width: 1.1em;
  height: 1.1em;
  object-fit: contain;
  vertical-align: -0.15em;
  margin-right: 0.35rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--text);
  text-shadow: none;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card-tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.65rem;
  border: 1.5px solid rgba(255,255,255,0.35);
}

.tag-guide { background: linear-gradient(135deg, rgba(197,223,245,0.85), rgba(158,201,232,0.7)); color: var(--text); }
.tag-lore { background: linear-gradient(135deg, rgba(212,196,240,0.85), rgba(184,169,217,0.7)); color: var(--text); }
.tag-dev { background: linear-gradient(135deg, rgba(255,230,180,0.85), rgba(255,212,59,0.6)); color: var(--chocolate); border-color: rgba(255,255,255,0.6); }

/* Zone cards with game backgrounds */
.zone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.35rem;
}

.zone-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
  background: #fff;
}

.zone-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.zone-card-img {
  height: 140px;
  overflow: hidden;
  position: relative;
}

.zone-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zone-card-body {
  padding: 1.25rem 1.35rem 1.4rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(245, 250, 255, 0.9));
}

.zone-card-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  text-shadow: none;
}

.zone-ground h3 { color: #e8956a; }
.zone-sky h3 { color: #5ba8d4; }
.zone-space h3 { color: #b88ae8; }

.zone-card-body p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ── Section titles ── */
.section-title {
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  text-align: center;
  margin: 0 0 0.5rem;
  background: linear-gradient(180deg, #fff0c8 0%, #f9c9a0 30%, #f4c4d4 65%, #a8d8f0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(1px 1px 0 rgba(255,255,255,0.8));
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 2rem;
  font-size: 1rem;
}

.section-wrap {
  margin-bottom: 2.5rem;
}

/* Rainbow divider */
.rainbow-divider {
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #f4b8c8, #fff0c8, #f9c9a0, #a8d8f0, #d8b0e0, #f4c4d4);
  margin: 2.5rem auto;
  max-width: 320px;
  box-shadow: 0 0 12px rgba(244, 184, 200, 0.2);
  opacity: 0.85;
}

/* ── Feature strip with menu art ── */
.feature-banner {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-card);
  margin-bottom: 2rem;
  position: relative;
}

.feature-banner img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.feature-banner-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(0deg, rgba(255, 251, 247, 0.75) 0%, transparent 100%);
}

.feature-banner-caption h3 {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
  color: var(--text);
  -webkit-text-stroke: 0.5px rgba(255, 255, 255, 0.9);
  paint-order: stroke fill;
  text-shadow:
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff,
    1px 1px 0 #fff,
    0 0 10px rgba(255, 255, 255, 0.95),
    0 0 20px rgba(255, 255, 255, 0.7);
}

.feature-banner-caption p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.5;
  -webkit-text-stroke: 0.35px rgba(255, 255, 255, 0.85);
  paint-order: stroke fill;
  text-shadow:
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff,
    1px 1px 0 #fff,
    0 0 8px rgba(255, 255, 255, 0.9),
    0 0 16px rgba(255, 255, 255, 0.65);
}

/* ── Ad slots — candy wrapper style ── */
.ad-banner {
  background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(232, 244, 252, 0.65));
  border: 2px dashed rgba(255, 196, 221, 0.55);
  border-radius: var(--radius);
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  margin: 1.5rem 0;
}

.ad-skyscraper {
  background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(232, 244, 252, 0.65));
  border: 2px dashed rgba(255, 196, 221, 0.55);
  border-radius: var(--radius);
  min-height: 600px;
  width: 100%;
  max-width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  text-align: center;
  padding: 1rem 0.5rem;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

/* ── Guide article layout with side rails ── */
.container-article {
  max-width: 1280px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.article-side-rail {
  display: none;
}

.article-main {
  min-width: 0;
  max-width: 780px;
  margin: 0 auto;
  width: 100%;
}

.rail-slot {
  background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(232, 244, 252, 0.65));
  border: 2px dashed rgba(255, 196, 221, 0.55);
  border-radius: var(--radius);
  min-height: 600px;
  width: 100%;
  max-width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  text-align: center;
  padding: 1rem 0.5rem;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.rail-slot-label {
  opacity: 0.55;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

@media (min-width: 1100px) {
  .article-layout {
    grid-template-columns: 160px minmax(0, 780px) 160px;
  }

  .article-side-rail {
    display: block;
  }

  .article-main {
    margin: 0;
    max-width: none;
  }
}

/* Legacy aliases (older JS injection) */
.article-ad-rail { display: none; }
.ad-skyscraper { min-height: 600px; }
@media (min-width: 1100px) {
  .article-ad-rail { display: block; }
}

.play-frame-wrap {
  background: linear-gradient(160deg, rgba(255,255,255,0.9), rgba(232, 244, 252, 0.85));
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.play-frame-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 30px rgba(158, 201, 232, 0.2);
  z-index: 1;
}

.play-frame-wrap iframe {
  display: block;
  width: 100%;
  height: min(70vh, 600px);
  border: none;
  background: #000;
  position: relative;
  z-index: 0;
}

.play-fullscreen-btn {
  position: absolute;
  top: 0.65rem;
  left: auto;
  right: 0.65rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  margin: 0;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.45), rgba(232, 244, 252, 0.45));
  color: var(--pink-hot);
  opacity: 0.45;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(200, 180, 190, 0.15);
  transition: transform 0.15s, opacity 0.15s, background 0.15s, color 0.15s;
  pointer-events: auto;
}

.play-fullscreen-btn .play-fs-exit {
  display: none;
}

.play-frame-wrap.is-fullscreen .play-fullscreen-btn .play-fs-enter {
  display: none;
}

.play-frame-wrap.is-fullscreen .play-fullscreen-btn .play-fs-exit {
  display: block;
}

.play-fullscreen-btn:hover {
  transform: scale(1.05);
  opacity: 0.85;
  background: linear-gradient(135deg, rgba(255, 240, 248, 0.75), rgba(220, 238, 252, 0.75));
  color: var(--text);
}

.play-fullscreen-btn:focus-visible {
  outline: 2px solid var(--pink-hot);
  outline-offset: 2px;
  opacity: 0.85;
}

.play-frame-wrap.is-fullscreen .play-fullscreen-btn {
  background: rgba(20, 20, 30, 0.45);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  opacity: 0.45;
}

.play-frame-wrap.is-fullscreen .play-fullscreen-btn:hover {
  background: rgba(40, 40, 55, 0.7);
  color: #fff;
  opacity: 0.85;
}

.play-frame-wrap:fullscreen,
.play-frame-wrap:-webkit-full-screen {
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 0;
  border: none;
  display: flex;
  flex-direction: column;
  background: #000;
}

.play-frame-wrap:fullscreen iframe,
.play-frame-wrap:-webkit-full-screen iframe {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
}

/* Fallback when browser blocks native fullscreen API */
.play-frame-wrap.is-pseudo-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: none;
  z-index: 10000;
  border-radius: 0;
  border: none;
  display: flex;
  flex-direction: column;
  background: #000;
}

.play-frame-wrap.is-pseudo-fullscreen iframe {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
}

body.play-pseudo-fs-active {
  overflow: hidden;
}

.play-sidebar .card { margin-bottom: 1rem; }

.play-tip {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 1rem 1.15rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(232, 244, 252, 0.8));
  border-radius: 14px;
  border: 2px solid rgba(255, 196, 221, 0.45);
  line-height: 1.65;
}

.play-tip strong { color: var(--pink-hot); }

.play-tip-controls {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}

.play-tip-controls p {
  margin: 0;
}

.play-tip-note {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.play-tip code {
  background: rgba(197, 223, 245, 0.5);
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  font-size: 0.85em;
  color: var(--text);
}

.play-game-error {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 2px solid rgba(255, 107, 107, 0.45);
  background: rgba(255, 240, 240, 0.92);
  color: #7a1f1f;
  font-size: 0.9rem;
  line-height: 1.55;
}

.play-game-error a { color: #b42318; font-weight: 700; }

/* ── Play page ── */
.play-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.play-ad {
  background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(232, 244, 252, 0.65));
  border: 2px dashed rgba(255, 196, 221, 0.55);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  overflow: hidden;
}

.play-ad-label {
  pointer-events: none;
}

.monetag-play-active .play-ad-label {
  display: none;
}

.play-ad-sidebar {
  min-height: 250px;
  width: 100%;
}

.play-ad-bottom {
  min-height: 90px;
  width: 100%;
  margin-top: 0.25rem;
}

/* ── Page hero (inner pages) ── */
.page-hero {
  text-align: center;
  padding: 2.5rem 1.25rem 1.5rem;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(244, 184, 200, 0.2), transparent);
  pointer-events: none;
}

.page-hero h1 {
  position: relative;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  background: linear-gradient(180deg, #fff0c8 0%, #f9c9a0 40%, #f4c4d4 75%, #a8d8f0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(1px 1px 0 rgba(255,255,255,0.8));
  margin: 0 0 0.75rem;
}

.page-hero p {
  position: relative;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Article ── */
.article-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(255, 196, 221, 0.4);
}

.article-header h1 {
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  background: linear-gradient(180deg, #fff0c8 0%, #f9c9a0 35%, #f4c4d4 70%, #a8d8f0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(1px 1px 0 rgba(255,255,255,0.8));
  margin: 0 0 1rem;
}

.article-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.article-body h2 {
  color: #d8a860;
  font-size: 1.3rem;
  margin: 2rem 0 0.75rem;
  text-shadow: none;
}

.article-body h3 {
  color: #d87898;
  font-size: 1.08rem;
  margin: 1.5rem 0 0.5rem;
}

.article-body p { margin: 0 0 1rem; color: var(--text-soft); }

.article-body ul, .article-body ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
  color: var(--text-soft);
}

.article-body li { margin-bottom: 0.4rem; }

.article-body strong { color: var(--text); }

.article-body a { color: #6b8fd4; text-decoration: underline; text-underline-offset: 2px; }

.tier-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1rem 0 1.5rem;
  font-size: 0.9rem;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255, 196, 221, 0.4);
  background: rgba(255,255,255,0.6);
}

.tier-table th,
.tier-table td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid rgba(184, 169, 217, 0.2);
  text-align: left;
}

.tier-table th {
  background: linear-gradient(180deg, rgba(197, 223, 245, 0.9), rgba(212, 196, 240, 0.8));
  color: var(--text);
}

.tier-table tr:nth-child(even) td { background: rgba(255, 255, 255, 0.45); }
.tier-table tr:last-child td { border-bottom: none; }

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--pink-hot); }

/* ── Forms ── */
.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.75);
  border: 2px solid rgba(255, 196, 221, 0.45);
  border-radius: 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--pink-hot);
  box-shadow: 0 0 0 3px rgba(255, 158, 199, 0.25);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  font-size: 0.95rem;
  display: none;
}

.form-status:not(:empty) {
  display: block;
}

.form-status-success {
  background: rgba(168, 216, 240, 0.35);
  border: 2px solid rgba(168, 216, 240, 0.55);
  color: var(--text);
}

.form-status-error {
  background: rgba(244, 184, 200, 0.35);
  border: 2px solid rgba(232, 160, 184, 0.55);
  color: var(--text);
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.5;
}

.info-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.9), rgba(245, 250, 255, 0.85));
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.info-card h3 {
  color: #d45da0;
  margin: 0 0 0.5rem;
}

/* ── Footer — pastel sky base ── */
.site-footer {
  background: linear-gradient(180deg, rgba(255, 251, 247, 0.85) 0%, rgba(168, 216, 240, 0.2) 100%);
  border-top: 1px solid rgba(244, 196, 212, 0.35);
  padding: 2.5rem 1.25rem 1.5rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #f4b8c8, #fff0c8, #f9c9a0, #a8d8f0, #d8b0e0);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0.75rem 0 0;
  line-height: 1.55;
}

.footer-col h4 {
  color: #e8a830;
  font-size: 0.95rem;
  margin: 0 0 0.85rem;
  text-shadow: none;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li { margin-bottom: 0.45rem; }

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-col a:hover { color: var(--pink-soft); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--pink-hot); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: block; }
  .hero { min-height: 280px; max-height: 70vh; }
  .hero-actions { bottom: 5%; }
  .hero-tagline { font-size: 0.95rem; padding: 1rem 1.25rem 0.5rem; }
  .play-frame-wrap iframe { height: 55vh; min-height: 320px; }
  .tier-table { font-size: 0.8rem; }
  .tier-table th, .tier-table td { padding: 0.55rem; }
  .zone-card-img { height: 110px; }
}

@media (min-width: 900px) {
  .play-layout { grid-template-columns: 1fr 280px; }
}
