/* ========================================================================
   ENJOY878 — "Emerald Energy" theme
   Near-black / neon green / gold, confident testimonial-editorial tone
   Structural signature: masthead header (centered logo, underline nav),
   asymmetric bento grid (2-span hero tile + smaller tiles), quote-card
   testimonial styling, minimal text-only bottom nav (no icons)
   ======================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

:root {
  --bg: #060f09;
  --bg-alt: #0a1a0f;
  --panel: #0e2417;
  --green: #34e26b;
  --green-bright: #7bff9e;
  --green-deep: #1c9a49;
  --gold: #ffd65a;
  --gold-deep: #d9a92a;
  --cream: #ffffff;
  --text: #ffffff;
  --muted: #f0f0f0;
  --line: rgba(52, 226, 107, 0.22);
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.5);
  --radius: 20px;
  --font-head: 'Kanit', 'K2D', sans-serif;
  --font-body: 'K2D', sans-serif;
}

body {
  background: linear-gradient(rgba(6,15,9,.2), rgba(6,15,9,.2)), url("assets/img/BG web ENJOY879.webp") center/cover fixed;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (max-width: 760px) {
  body { background: linear-gradient(rgba(6,15,9,.2), rgba(6,15,9,.2)), url("assets/img/BG mobile ENJOY879.webp") center/cover fixed; background-attachment: scroll; }
}

/* LINE floating button */
.line-fab { position: fixed; right: 16px; bottom: 84px; z-index: 65; display: flex; align-items: center; gap: 0.4rem; background: #06c755; color: #fff; padding: 0.6rem 1rem; border-radius: 999px; font-weight: 700; font-size: 0.85rem; font-family: var(--font-head); box-shadow: 0 10px 24px rgba(6,199,85,0.45); }
.line-fab svg { width: 20px; height: 20px; fill: #fff; }
@media (max-width: 760px) { .line-fab { bottom: 70px; right: 12px; padding: 0.55rem 0.8rem; } .line-fab span { display: none; } }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; color: var(--cream); line-height: 1.36; margin: 0 0 0.6rem; }
h1 { font-size: clamp(1.8rem, 4.2vw, 2.85rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.95rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1rem; color: var(--text); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.grad-text { background: linear-gradient(120deg, var(--green-bright), var(--green) 55%, var(--green-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kw { background: linear-gradient(120deg, var(--green-bright), var(--gold) 65%); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }

.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; letter-spacing: 0.12em; color: var(--green-bright); font-weight: 700; margin-bottom: 0.7rem; text-transform: uppercase; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); display: inline-block; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.76rem 1.7rem; border-radius: 10px; font-weight: 700; font-size: 0.96rem; border: 1px solid transparent; cursor: pointer; transition: transform 0.18s ease; white-space: nowrap; font-family: var(--font-head); }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #241a00; box-shadow: 0 10px 24px rgba(217, 169, 42, 0.3); }
.btn-outline { background: rgba(52, 226, 107, 0.08); color: var(--green-bright); border-color: var(--green-deep); }
.btn-outline:hover { background: rgba(52, 226, 107, 0.16); }

/* ===== HEADER — masthead: centered logo, underline nav below ===== */
.header { position: sticky; top: 0; z-index: 50; background: rgba(6, 15, 9, 0.9); backdrop-filter: blur(10px); }
.hero-figure { position: absolute; width: 120px; opacity: 0.85; pointer-events: none; z-index: 1; filter: drop-shadow(0 12px 24px rgba(0,0,0,0.5)); }
.hero-figure.hf1 { right: 1%; top: -6px; width: 100px; }
.hero-figure.hf2 { left: 1%; bottom: 6px; width: 90px; }
@media (max-width: 760px) { .hero-figure { display: none; } }
.mini-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.mini-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.mini-card img { width: 100%; }
.mini-card-body { padding: 1rem 1.1rem; }
.mini-card-body h3 { font-size: 0.98rem; margin-bottom: 0.3rem; }
.mini-card-body p { color: var(--muted); font-size: 0.86rem; margin: 0; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem 0; text-align: center; }
.logo-link { display: inline-flex; margin-bottom: 0.7rem; }
.logo-img { height: 34px; width: auto; }
.header-row2 { display: flex; justify-content: center; gap: 2rem; border-top: 1px solid var(--line); padding: 0.7rem 0 0; }
.nav-link { font-size: 0.9rem; color: var(--muted); font-weight: 600; padding-bottom: 0.7rem; border-bottom: 2px solid transparent; }
.nav-link:hover, .nav-link.active { color: var(--green-bright); border-color: var(--green); }
.header-btns { display: flex; justify-content: center; gap: 0.7rem; padding: 0.8rem 0; }
.mob-nav-row { display: none; }

/* ===== HERO ===== */
.hero { padding: 2.2rem 1.5rem 2.8rem; background: radial-gradient(circle at 15% 10%, rgba(52,226,107,0.14), transparent 55%); text-align: center; position: relative; overflow: hidden; }
.hero-inner { max-width: 780px; margin: 0 auto; position: relative; z-index: 2; }
.hero .eyebrow { justify-content: center; display: flex; }
.hero-inner p { color: var(--muted); font-size: 1.02rem; max-width: 620px; margin-inline: auto; }
.hero-actions { display: flex; justify-content: center; gap: 0.9rem; margin-top: 1.3rem; flex-wrap: wrap; }
.hero-banner { max-width: 980px; margin: 2rem auto 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }

/* ===== SECTIONS ===== */
.section { padding: 3.2rem 1.5rem; background: rgba(6, 15, 9, 0.2); }
.section.alt { background: rgba(10, 26, 15, 0.25); }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-head { max-width: 720px; margin: 0 auto 2.1rem; text-align: center; }
.section-head p { color: var(--muted); }

/* ===== GAME GRID ===== */
.provider-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.provider-card { display: block; border-radius: 14px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); transition: transform 0.18s ease; }
.provider-card:hover { transform: translateY(-4px); }
.provider-card img { width: 100%; }

/* ===== ASYMMETRIC BENTO GRID (signature layout) — 3-item testimonial-style feature grid ===== */
.bento-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 1.3rem; }
.bento-tile { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; position: relative; }
.bento-tile.wide { grid-row: span 2; }
.quote-mark { font-family: var(--font-head); font-size: 2.6rem; color: var(--green-deep); line-height: 1; margin-bottom: 0.4rem; }
.bento-tile h3 { color: var(--green-bright); margin-bottom: 0.5rem; }
.bento-tile p { color: var(--muted); font-size: 0.94rem; }
.reviewer { display: flex; align-items: center; gap: 0.6rem; margin-top: 1rem; }
.reviewer .avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(160deg, var(--green-bright), var(--green-deep)); display: flex; align-items: center; justify-content: center; }
.reviewer .avatar svg { width: 18px; height: 18px; fill: #05170a; }
.reviewer span { font-size: 0.82rem; color: var(--muted); font-weight: 600; }

/* ===== FEATURE BLOCK (full-width text + banner) ===== */
.feature-block { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem; align-items: center; }
.feature-block.flip .fb-media { order: 2; }
.feature-block.flip .fb-copy { order: 1; }
.fb-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.fb-copy p { color: var(--muted); }

/* ===== TEASER SPLIT ===== */
.teaser-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.teaser-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; }
.teaser-card img { height: 150px; object-fit: cover; width: 100%; }
.teaser-card-body { padding: 1.3rem 1.4rem; }
.teaser-card h3 { margin-bottom: 0.35rem; }
.teaser-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.9rem; }

/* ===== CTA ===== */
.cta-section { position: relative; padding: 1rem 1.5rem 4rem; }
.cta-panel { max-width: 980px; margin: 0 auto; text-align: center; padding: 2.8rem 1.6rem; border-radius: 24px; background: linear-gradient(160deg, var(--panel), var(--bg-alt)); border: 1px solid var(--green-deep); }
.cta-figure { position: absolute; right: 3%; bottom: 4.2rem; width: 130px; opacity: 0.92; pointer-events: none; z-index: 1; filter: drop-shadow(0 12px 24px rgba(0,0,0,0.5)); }
@media (max-width: 900px) { .cta-figure { display: none; } }
.cta-btns { display: flex; justify-content: center; gap: 0.9rem; margin-top: 1.3rem; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer { padding: 2.8rem 1.5rem 6.5rem; text-align: center; background: rgba(10, 26, 15, 0.9); border-top: 1px solid var(--line); }
.footer-logo { height: 56px; margin: 0 auto 1rem; }
.footer-tagline { max-width: 620px; margin: 0 auto 1rem; color: var(--muted); font-size: 0.9rem; }
.footer-copy { color: var(--muted); font-size: 0.8rem; margin: 0; }

/* ===== MINIMAL TEXT-ONLY BOTTOM NAV (no icons) ===== */
.sticky-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; align-items: center; justify-content: space-around; background: rgba(6, 15, 9, 0.97); border-top: 1px solid var(--line); padding: 0.75rem 0.5rem; }
.mnav-item { font-size: 0.82rem; color: var(--muted); font-weight: 700; padding: 0.3rem 0.2rem; position: relative; }
.mnav-item.active, .mnav-item:hover { color: var(--green-bright); }
.mnav-item.active::after { content: ""; position: absolute; left: 50%; bottom: -0.6rem; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); transform: translateX(-50%); }

/* ===== PAGE (promotion / article) ===== */
.page-hero { padding: 2.4rem 1.5rem 1rem; text-align: center; }
.page-hero .eyebrow { justify-content: center; display: flex; }
.page-hero h1 { max-width: 780px; margin: 0 auto 0.6rem; }
.page-hero p { max-width: 640px; margin: 0 auto; color: var(--muted); }
.page-main { max-width: 940px; margin: 0 auto; padding: 2.2rem 1.5rem 4rem; }
.page-cover { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 2rem; border: 1px solid var(--line); }
.page-content h2 { color: var(--green-bright); margin-top: 2.1rem; }
.page-content h2:first-child { margin-top: 0; }
.page-content ul { margin: 1rem 0; display: flex; flex-direction: column; gap: 0.55rem; }
.page-content ul li { padding-left: 1.5rem; position: relative; color: var(--muted); }
.page-content ul li::before { content: "◆"; position: absolute; left: 0; color: var(--gold); font-size: 0.7rem; top: 0.35rem; }

.promo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; margin: 1.6rem 0 2rem; }
.promo-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.promo-card .promo-tag { display: inline-block; background: rgba(52, 226, 107, 0.14); color: var(--green-bright); font-size: 0.72rem; font-weight: 700; padding: 0.22rem 0.7rem; border-radius: 999px; margin-bottom: 0.7rem; }
.promo-card h3 { margin-bottom: 0.5rem; }
.promo-card p { color: var(--muted); font-size: 0.9rem; margin: 0; }

.article-main { max-width: 780px; margin: 0 auto; padding: 2.4rem 1.5rem 4rem; }
.article-main .eyebrow { justify-content: center; display: flex; }
.article-main h1 { text-align: center; }
.article-meta { text-align: center; color: var(--muted); font-size: 0.85rem; margin-bottom: 1.8rem; }
.game-review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin: 1.8rem 0; }
.game-review-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.game-review-card h3 { color: var(--gold); margin-bottom: 0.5rem; }
.game-review-card p { color: var(--muted); font-size: 0.9rem; margin: 0; }
.action-btns { display: flex; justify-content: center; gap: 0.8rem; flex-wrap: wrap; margin-top: 2rem; }

/* ===== reveal-on-scroll ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-tile.wide { grid-row: auto; }
  .feature-block, .feature-block.flip { grid-template-columns: 1fr; }
  .feature-block.flip .fb-media, .feature-block.flip .fb-copy { order: initial; }
  .teaser-split { grid-template-columns: 1fr; }
  .promo-grid { grid-template-columns: 1fr; }
  .game-review-grid { grid-template-columns: 1fr; }
  .provider-grid { grid-template-columns: repeat(4, 1fr); }
  .mini-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .header-row2 { display: none; }
  .header-btns { display: none; }
  .provider-grid { grid-template-columns: repeat(3, 1fr); }
  body { padding-bottom: 4.4rem; }
  .sticky-bar { display: flex; }
}
