/* ========================================================================
   SORA88 — "Golden Luck" theme
   Black / gold / warm cream, luxury fortune-cat aesthetic
   Structural signature: thin gold-line header (logo-left, nav+btn-right),
   centered hero with full-width contained banner below, dedicated "lucky
   hours" schedule section (unique to this brand's asset), diamond-marker
   bottom nav
   ======================================================================== */

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

:root {
  --bg: #0b0806;
  --bg-alt: #120d09;
  --panel: #1a130d;
  --gold: #e8b84b;
  --gold-bright: #ffd97a;
  --gold-deep: #b8892a;
  --maroon: #7a1f2b;
  --cream: #fff6e6;
  --text: #ffffff;
  --muted: #f1e3c8;
  --ink-dark: #241407;
  --muted-dark: #5c4a30;
  --line: rgba(232, 184, 75, 0.25);
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.55);
  --radius: 18px;
  --font-head: 'Taviraj', 'Niramit', serif;
  --font-body: 'Niramit', sans-serif;
}

body {
  background: linear-gradient(rgba(11,8,6,.2), rgba(11,8,6,.2)), url("assets/img/Bg Web.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(11,8,6,.2), rgba(11,8,6,.2)), url("assets/img/Bg Mobile.webp") center/cover fixed; background-attachment: scroll; }
}

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; color: var(--gold-bright); line-height: 1.34; 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(--gold-bright), var(--gold) 60%, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kw { background: linear-gradient(120deg, var(--gold-bright), var(--maroon) 85%); -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.8rem; letter-spacing: 0.1em; color: var(--gold); font-weight: 700; margin-bottom: 0.7rem; text-transform: uppercase; }
.eyebrow .dot { width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold-bright); display: inline-block; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.78rem 1.8rem; border-radius: 6px; font-weight: 700; font-size: 0.98rem; 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-bright), var(--gold-deep)); color: #241400; box-shadow: 0 10px 24px rgba(184, 137, 42, 0.35); }
.btn-outline { background: rgba(232, 184, 75, 0.08); color: var(--gold-bright); border-color: var(--gold-deep); }

/* image-based CTA button (LOGIN graphic — no register image for this brand) */
.img-btn { display: inline-block; height: 44px; transition: transform 0.18s ease; }
.img-btn img { height: 100%; width: auto; display: block; }
.img-btn:hover { transform: translateY(-2px); }
.img-btn.lg { height: 54px; }
.img-btn.sm { height: 34px; }

/* LINE floating button */
.line-fab { position: fixed; right: 16px; bottom: 88px; 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: 74px; right: 12px; padding: 0.55rem 0.8rem; } .line-fab span { display: none; } }

/* ===== HEADER — thin gold top line, logo-left / nav+btn-right ===== */
.header-topline { height: 3px; background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright), var(--gold-deep)); }
.header { position: sticky; top: 0; z-index: 50; background: rgba(11, 8, 6, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1280px; margin: 0 auto; padding: 0.7rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.logo-link { display: flex; align-items: center; }
.logo-img { height: 46px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 1.5rem; }
.nav-link { font-size: 0.92rem; color: var(--muted); font-weight: 600; }
.nav-link:hover, .nav-link.active { color: var(--gold-bright); }
.header-btns { display: flex; align-items: center; gap: 0.7rem; }
.header-row2 { display: none; }

/* ===== HERO — centered text, full-width contained banner below ===== */
.hero { padding: 2.6rem 1.5rem 1rem; text-align: center; position: relative; overflow: hidden; }
.hero-figure { position: absolute; width: 110px; opacity: 0.9; pointer-events: none; z-index: 1; filter: drop-shadow(0 12px 24px rgba(0,0,0,0.35)); }
.hero-figure.hf1 { right: 1%; top: 6px; width: 100px; }
.hero-figure.hf2 { left: 1%; top: 10px; width: 92px; }
@media (max-width: 1000px) { .hero-figure { display: none; } }
.hero-inner { max-width: 820px; margin: 0 auto; }
.hero .eyebrow { justify-content: center; display: flex; }
.hero-inner p { color: var(--muted); font-size: 1.02rem; }
.hero-actions { display: flex; justify-content: center; gap: 0.9rem; margin-top: 1.3rem; flex-wrap: wrap; }
.hero-banner { max-width: 1100px; margin: 2.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(11, 8, 6, 0.2); }
.section.alt { background: rgba(18, 13, 9, 0.3); }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-head { max-width: 760px; 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; background: var(--panel); border-radius: 12px; padding: 0.6rem; border: 1px solid var(--line); transition: transform 0.18s ease; }
.provider-card:hover { transform: translateY(-4px); }
.provider-card img { width: 100%; }

/* ===== LUCKY HOURS SCHEDULE — signature section ===== */
.lucky-frame { max-width: 1100px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--gold-deep); }

/* ===== FEATURE CARD GRID (portrait) ===== */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.feature-grid .fcard { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--gold-deep); transition: transform 0.18s ease; }
.feature-grid .fcard:hover { transform: translateY(-6px); }
.feature-grid .fcard img { width: 100%; }

/* ===== 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-figure { position: absolute; right: 3%; bottom: 4rem; width: 120px; opacity: 0.95; pointer-events: none; z-index: 1; filter: drop-shadow(0 12px 24px rgba(0,0,0,0.4)); }
@media (max-width: 900px) { .cta-figure { display: none; } }
.cta-panel { max-width: 980px; margin: 0 auto; text-align: center; padding: 2.6rem 1.6rem; border-radius: 22px; background: linear-gradient(150deg, var(--panel), var(--bg)); border: 1px solid var(--gold); }
.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(18, 13, 9, 0.9); border-top: 1px solid var(--line); }
.footer-logo { height: 72px; 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; }

/* ===== BOTTOM NAV — diamond active marker ===== */
.sticky-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; align-items: center; justify-content: space-around; background: rgba(11, 8, 6, 0.97); border-top: 1px solid var(--gold-deep); padding: 0.55rem 0.4rem; }
.mnav-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.2rem; font-size: 0.64rem; color: var(--muted); font-weight: 700; padding: 0.3rem 0.1rem; position: relative; }
.mnav-item svg { width: 19px; height: 19px; fill: var(--muted); }
.mnav-item.active { color: var(--gold-bright); }
.mnav-item.active svg { fill: var(--gold-bright); }
.mnav-item.active::before { content: ""; position: absolute; top: -0.55rem; width: 6px; height: 6px; background: var(--gold-bright); transform: rotate(45deg); }

/* ===== PAGE (promotion / article) ===== */
.page-hero { padding: 2.4rem 1.5rem 1rem; text-align: center; }
.page-hero-inner { display: inline-block; background: rgba(26, 19, 13, 0.72); backdrop-filter: blur(10px); border-radius: 22px; padding: 1.8rem 2rem; max-width: 780px; border: 1px solid var(--line); }
.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: 2rem auto; padding: 2.2rem 1.5rem 4rem; background: rgba(255,251,240,0.95); border-radius: 24px; color: var(--ink-dark); }
.page-main p { color: var(--muted-dark); }
.page-main h2 { color: var(--gold-deep); margin-top: 2.1rem; }
.page-main h2:first-child { margin-top: 0; }
.page-cover { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 2rem; }
.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-dark); }
.page-content ul li::before { content: "♦"; position: absolute; left: 0; color: var(--maroon); font-size: 0.75rem; top: 0.3rem; }

.tip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin: 1.6rem 0 2rem; }
.tip-card { background: #fff; border: 1px solid #ecdfc4; border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 10px 26px rgba(36,20,7,0.08); }
.tip-card .tip-num { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--gold-deep); color: #fff; font-weight: 800; align-items: center; justify-content: center; margin-bottom: 0.8rem; font-family: var(--font-head); }
.tip-card h3 { color: var(--ink-dark); }
.tip-card p { color: var(--muted-dark); font-size: 0.9rem; margin: 0; }

.article-main { max-width: 780px; margin: 2rem auto; padding: 2.4rem 1.5rem 4rem; background: rgba(255,251,240,0.95); border-radius: 24px; color: var(--ink-dark); }
.article-main .eyebrow { justify-content: center; display: flex; }
.article-main h1 { text-align: center; color: var(--gold-deep); }
.article-main h2 { color: var(--gold-deep); margin-top: 2rem; }
.article-main p { color: var(--muted-dark); }
.article-meta { text-align: center; color: var(--muted-dark); 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: #fff; border: 1px solid #ecdfc4; border-radius: var(--radius); padding: 1.4rem; box-shadow: 0 10px 26px rgba(36,20,7,0.08); }
.game-review-card h3 { color: var(--gold-deep); margin-bottom: 0.5rem; }
.game-review-card p { color: var(--muted-dark); font-size: 0.9rem; margin: 0; }
.action-btns { display: flex; justify-content: center; align-items: 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) {
  .teaser-split { grid-template-columns: 1fr 1fr; }
  .tip-grid { grid-template-columns: 1fr; }
  .game-review-grid { grid-template-columns: 1fr; }
  .provider-grid { grid-template-columns: repeat(4, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-menu { display: none; }
  .provider-grid { grid-template-columns: repeat(3, 1fr); }
  .teaser-split { grid-template-columns: 1fr; }
  body { padding-bottom: 4.6rem; }
  .sticky-bar { display: flex; }
}
