/* Phil888 — Premium PH JILI Casino Affiliate Site
   Mobile-first | Dark Casino | Gold Accent | ~7KB minified
   Brand: Phil888 (phil888ph.com) */

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

:root{
  --bg:#0a0e1f;
  --bg-elev:#141a35;
  --bg-card:#1a2143;
  --gold:#ffc83d;
  --gold-hi:#ffe082;
  --gold-soft:rgba(255,200,61,.12);
  --red:#e63946;
  --green:#22c55e;
  --text:#f4f6ff;
  --text-mute:#a0a8c8;
  --line:rgba(255,200,61,.18);
  --shadow:0 8px 32px rgba(0,0,0,.4);
  --radius:14px;
  --max-w:1180px;
}

html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;scroll-padding-top:80px}
body{
  background:var(--bg);
  color:var(--text);
  font:16px/1.6 -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Inter',system-ui,sans-serif;
  min-height:100vh;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--gold);text-decoration:none;transition:color .2s}
a:hover{color:var(--gold-hi)}

/* === Layout helpers === */
.container{max-width:var(--max-w);margin:0 auto;padding:0 16px}
.section{padding:48px 0}
.section--alt{background:linear-gradient(180deg,var(--bg) 0%,var(--bg-elev) 100%)}
.grid{display:grid;gap:16px}
.grid-2{grid-template-columns:1fr}
.grid-3{grid-template-columns:1fr}
.grid-4{grid-template-columns:repeat(2,1fr)}

@media(min-width:640px){
  .grid-2{grid-template-columns:repeat(2,1fr)}
  .grid-3{grid-template-columns:repeat(3,1fr)}
  .grid-4{grid-template-columns:repeat(4,1fr)}
  .section{padding:64px 0}
}
@media(min-width:960px){
  .container{padding:0 32px}
}

/* === 18+ / Responsible Gaming banner === */
.gba-banner{
  background:#1a0f0a;border-bottom:1px solid #5a3a1a;
  color:#ffd089;font-size:12px;padding:8px 16px;text-align:center;
  display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;
}
.gba-banner strong{color:var(--gold);font-weight:800}
.gba-banner a{color:var(--gold);text-decoration:underline;font-weight:600}
.gba-banner .age-badge{
  display:inline-block;background:var(--red);color:#fff;
  font-weight:900;font-size:11px;padding:2px 8px;border-radius:4px;
}

/* === Header === */
.header{
  position:sticky;top:0;z-index:50;
  background:rgba(10,14,31,.92);
  backdrop-filter:saturate(180%) blur(12px);
  -webkit-backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 16px;max-width:var(--max-w);margin:0 auto;
}
.logo{
  font-weight:900;font-size:24px;letter-spacing:.5px;
  background:linear-gradient(135deg,var(--gold) 0%,var(--gold-hi) 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  display:flex;align-items:center;gap:8px;
}
.logo span{color:var(--red)}
.logo img{width:32px;height:32px;border-radius:6px;display:block}
.nav-links{display:none;gap:24px;align-items:center}
.nav-links a{color:var(--text);font-weight:500;font-size:14px}
.nav-links a:hover{color:var(--gold)}
.menu-btn{background:none;border:0;color:var(--gold);font-size:24px;cursor:pointer;padding:4px}
.nav-cta{
  display:none;background:linear-gradient(135deg,var(--gold) 0%,#ffaa00 100%);
  color:#0a0e1f;font-weight:700;padding:10px 20px;border-radius:8px;font-size:14px;
  box-shadow:0 4px 16px rgba(255,200,61,.3);
}
.nav-cta:hover{color:#0a0e1f;transform:translateY(-1px)}

@media(min-width:768px){
  .menu-btn{display:none}
  .nav-links{display:flex}
  .nav-cta{display:inline-block}
}

/* Mobile menu */
.mobile-menu{
  display:none;position:absolute;top:100%;left:0;right:0;
  background:var(--bg-elev);border-top:1px solid var(--line);
  padding:16px;
}
.mobile-menu.open{display:block}
.mobile-menu a{display:block;padding:12px 0;color:var(--text);font-weight:500}

/* === Hero === */
.hero{
  position:relative;padding:56px 0 64px;text-align:center;
  background:
    linear-gradient(180deg,rgba(10,14,31,.78) 0%,rgba(10,14,31,.92) 100%),
    url('/assets/images/hero-bg.webp') center/cover no-repeat,
    linear-gradient(180deg,var(--bg-elev) 0%,var(--bg) 100%);
  overflow:hidden;
}
.hero::before{
  content:'';position:absolute;inset:0;
  background-image:
    radial-gradient(circle at 20% 30%,rgba(255,200,61,.12) 0%,transparent 45%),
    radial-gradient(circle at 80% 70%,rgba(230,57,70,.10) 0%,transparent 45%);
  pointer-events:none;
}
.hero-content{position:relative;z-index:1}
.hero h1{
  font-size:clamp(32px,7vw,60px);font-weight:900;line-height:1.08;
  margin-bottom:18px;letter-spacing:-.8px;
  text-shadow:0 4px 28px rgba(0,0,0,.5);
}
.hero h1 .accent{
  background:linear-gradient(135deg,var(--gold) 0%,var(--gold-hi) 50%,#ffaa00 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 2px 12px rgba(255,200,61,.45));
}
.hero p{
  font-size:18px;color:#cdd3ee;max-width:660px;margin:0 auto 36px;
  line-height:1.6;
}
.hero-cta{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}

/* === Buttons === */
.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:14px 28px;border-radius:10px;font-weight:700;font-size:15px;
  cursor:pointer;border:0;transition:all .2s;text-decoration:none;
}
.btn-primary{
  background:linear-gradient(135deg,var(--gold) 0%,#ffaa00 100%);
  color:#0a0e1f;box-shadow:0 6px 20px rgba(255,200,61,.35);
  position:relative;overflow:hidden;
}
.btn-primary::before{
  content:'';position:absolute;inset:0;
  background:linear-gradient(120deg,transparent 30%,rgba(255,255,255,.35) 50%,transparent 70%);
  transform:translateX(-100%);transition:transform .6s;
}
.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 32px rgba(255,200,61,.55);color:#0a0e1f;
}
.btn-primary:hover::before{transform:translateX(100%)}
.btn-secondary{
  background:rgba(255,200,61,.04);color:var(--gold);border:2px solid var(--gold);
  backdrop-filter:blur(8px);
}
.btn-secondary:hover{
  background:var(--gold);color:#0a0e1f;transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(255,200,61,.3);
}
.btn-lg{padding:16px 36px;font-size:16px;letter-spacing:.2px}

/* === Trust bar === */
.trust-bar{
  display:flex;flex-wrap:wrap;justify-content:center;align-items:center;
  gap:12px 24px;padding:20px;background:var(--bg-card);
  border-radius:var(--radius);margin-top:24px;border:1px solid var(--line);
}
.trust-item{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text-mute)}
.trust-item strong{color:var(--gold)}
.trust-item img{width:28px;height:28px;display:block;flex-shrink:0}

/* === Cards — premium === */
.card{
  background:linear-gradient(180deg,var(--bg-card) 0%,rgba(26,33,67,.7) 100%);
  border:1px solid var(--line);
  border-radius:var(--radius);padding:24px;
  transition:transform .25s cubic-bezier(.2,.7,.2,1),box-shadow .25s,border-color .25s;
  position:relative;overflow:hidden;
}
.card::before{
  content:'';position:absolute;top:0;left:0;right:0;height:2px;
  background:linear-gradient(90deg,transparent 0%,var(--gold) 50%,transparent 100%);
  opacity:0;transition:opacity .3s;
}
.card:hover{
  transform:translateY(-6px);border-color:var(--gold);
  box-shadow:0 16px 40px rgba(255,200,61,.18),0 4px 12px rgba(0,0,0,.3);
}
.card:hover::before{opacity:1}
.card h3{
  font-size:18px;font-weight:800;margin-bottom:10px;color:var(--gold);
  letter-spacing:-.2px;
}
.card p{color:var(--text-mute);font-size:14px;line-height:1.6}

/* === Game tile === */
.game-tile{
  background:var(--bg-card);border-radius:var(--radius);overflow:hidden;
  border:1px solid var(--line);position:relative;
  transition:transform .2s,border-color .2s;
}
.game-tile:hover{transform:scale(1.03);border-color:var(--gold)}
.game-tile-img{
  aspect-ratio:1/1;background:linear-gradient(135deg,#2a3260,#1a2143);
  display:flex;align-items:center;justify-content:center;
  font-size:48px;color:var(--gold-soft);font-weight:900;
  overflow:hidden;
}
.game-tile-img img{width:100%;height:100%;object-fit:cover;display:block}
.game-tile-name{padding:12px;text-align:center;font-weight:700;font-size:14px}
.game-tile-badge{
  position:absolute;top:8px;right:8px;background:var(--red);
  color:#fff;font-size:10px;font-weight:700;padding:3px 8px;border-radius:4px;
  z-index:1;
}

/* === Section headings — premium === */
.section-head{text-align:center;margin-bottom:48px;position:relative}
.section-head h2{
  font-size:clamp(26px,4vw,40px);font-weight:900;margin-bottom:14px;
  letter-spacing:-.4px;line-height:1.15;
  display:inline-block;position:relative;padding-bottom:14px;
}
.section-head h2::after{
  content:'';position:absolute;left:50%;bottom:0;
  width:64px;height:3px;border-radius:2px;transform:translateX(-50%);
  background:linear-gradient(90deg,transparent,var(--gold),transparent);
}
.section-head h2 .accent{
  background:linear-gradient(135deg,var(--gold) 0%,var(--gold-hi) 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.section-head p{
  color:var(--text-mute);max-width:620px;margin:8px auto 0;
  font-size:16px;line-height:1.6;
}

/* === Bonus card — premium === */
.bonus-card{
  background:
    radial-gradient(ellipse at top left,rgba(255,200,61,.10) 0%,transparent 55%),
    linear-gradient(135deg,var(--bg-card) 0%,var(--bg-elev) 100%);
  border:2px solid var(--gold);border-radius:var(--radius);
  padding:36px 28px;text-align:center;position:relative;overflow:hidden;
  box-shadow:0 12px 40px rgba(255,200,61,.18),inset 0 0 60px rgba(255,200,61,.04);
}
.bonus-card::before{
  content:'';position:absolute;top:-40%;right:-30%;width:240px;height:240px;
  background:radial-gradient(circle,rgba(255,200,61,.22),transparent 60%);
  pointer-events:none;animation:glow 6s ease-in-out infinite;
}
.bonus-card::after{
  content:'';position:absolute;bottom:-40%;left:-30%;width:200px;height:200px;
  background:radial-gradient(circle,rgba(230,57,70,.15),transparent 60%);
  pointer-events:none;
}
@keyframes glow{
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.7;transform:scale(1.08)}
}
.bonus-amount{
  font-size:clamp(40px,7vw,56px);font-weight:900;
  background:linear-gradient(135deg,var(--gold) 0%,var(--gold-hi) 60%,#ffaa00 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  line-height:1;margin:10px 0;letter-spacing:-1px;
  text-shadow:0 0 30px rgba(255,200,61,.4);
  position:relative;z-index:1;
}
.bonus-card h3{
  font-size:13px;font-weight:700;color:var(--gold);
  text-transform:uppercase;letter-spacing:2px;
  position:relative;z-index:1;
}
.bonus-card p{margin:14px 0 22px;color:var(--text);position:relative;z-index:1}
.bonus-card .btn{position:relative;z-index:1}

/* === Steps — premium concentric === */
.step{
  display:flex;gap:18px;align-items:flex-start;
  padding:16px;border-radius:12px;
  background:linear-gradient(180deg,var(--bg-card) 0%,rgba(26,33,67,.5) 100%);
  border:1px solid var(--line);
  transition:transform .2s,border-color .2s,box-shadow .2s;
}
.step:hover{
  transform:translateY(-3px);border-color:rgba(255,200,61,.4);
  box-shadow:0 10px 26px rgba(0,0,0,.2);
}
.step-num{
  flex-shrink:0;width:44px;height:44px;border-radius:50%;
  background:linear-gradient(135deg,var(--gold),#ffaa00);
  color:#0a0e1f;display:flex;align-items:center;justify-content:center;
  font-weight:900;font-size:18px;
  box-shadow:0 0 0 4px rgba(255,200,61,.12),0 6px 18px rgba(255,200,61,.35);
  position:relative;
}
.step-num::after{
  content:'';position:absolute;inset:-6px;border-radius:50%;
  border:1px solid rgba(255,200,61,.3);pointer-events:none;
}
.step h4{font-size:17px;font-weight:700;margin-bottom:4px;color:var(--text)}
.step p{color:var(--text-mute);font-size:14px;line-height:1.6}

/* === FAQ — premium expand === */
.faq-item{
  background:linear-gradient(180deg,var(--bg-card) 0%,rgba(20,26,53,.5) 100%);
  border:1px solid var(--line);border-radius:12px;
  padding:18px 22px;margin-bottom:12px;
  transition:transform .2s,border-color .25s,box-shadow .25s;
  position:relative;overflow:hidden;
}
.faq-item::before{
  content:'';position:absolute;left:0;top:0;height:100%;width:3px;
  background:linear-gradient(180deg,var(--gold) 0%,#ffaa00 100%);
  opacity:0;transition:opacity .25s;
}
.faq-item:hover{
  border-color:rgba(255,200,61,.35);
  box-shadow:0 6px 20px rgba(0,0,0,.25);
}
.faq-item:hover::before,
.faq-item[open]::before{opacity:1}
.faq-item[open]{
  border-color:var(--gold);
  background:linear-gradient(180deg,rgba(255,200,61,.05) 0%,var(--bg-card) 100%);
}
.faq-item summary{
  font-weight:700;cursor:pointer;list-style:none;
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  color:var(--text);transition:color .15s;
}
.faq-item summary:hover{color:var(--gold-hi)}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{
  content:'+';color:var(--gold);font-size:22px;font-weight:300;
  width:26px;height:26px;border-radius:50%;
  border:1px solid rgba(255,200,61,.3);
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;transition:transform .25s,background .25s;
}
.faq-item[open] summary::after{
  content:'−';
  background:linear-gradient(135deg,var(--gold),#ffaa00);
  color:#0a0e1f;transform:rotate(180deg);
  border-color:transparent;
}
.faq-item p{
  margin-top:12px;color:var(--text-mute);
  font-size:14px;line-height:1.7;
  padding-top:10px;border-top:1px dashed rgba(255,200,61,.15);
}

/* === Footer === */
.footer{
  background:#06091a;border-top:1px solid var(--line);
  padding:40px 0 24px;margin-top:32px;
}
.footer-grid{
  display:grid;gap:32px;
  grid-template-columns:1fr;margin-bottom:32px;
}
@media(min-width:768px){.footer-grid{grid-template-columns:2fr 1fr 1fr 1fr}}
.footer h5{
  font-size:13px;font-weight:700;color:var(--gold);text-transform:uppercase;
  letter-spacing:1px;margin-bottom:14px;
}
.footer ul{list-style:none}
.footer ul li{margin-bottom:8px}
.footer ul a{color:var(--text-mute);font-size:14px}
.footer ul a:hover{color:var(--gold)}
.footer-disclaimer{
  border-top:1px solid var(--line);padding-top:20px;
  font-size:12px;color:var(--text-mute);line-height:1.6;
}
.footer-disclaimer p{margin-bottom:8px}
.footer-badges{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0;align-items:center}
.footer-badge{
  padding:6px 12px;border:1px solid var(--line);border-radius:6px;
  font-size:11px;color:var(--text-mute);font-weight:600;
  display:inline-flex;align-items:center;gap:6px;
}
.footer-badge img{width:18px;height:18px;display:block}

/* === Editor portraits (about page AUTHOR_BIO) === */
.editor-card{display:flex;gap:14px;align-items:flex-start}
.editor-portrait{
  width:72px;height:72px;border-radius:50%;flex-shrink:0;
  border:2px solid var(--gold);object-fit:cover;display:block;
}
.editor-card h3{margin-bottom:6px}
.editor-card p{margin:0}

/* === Article (long-form pages) — premium typography === */
.article{
  max-width:820px;margin:0 auto;padding:40px 20px 64px;
  position:relative;
}
.article h1{
  font-size:clamp(28px,5vw,44px);font-weight:900;
  margin:0 0 18px;line-height:1.15;letter-spacing:-.5px;
  background:linear-gradient(135deg,#fff 0%,var(--gold-hi) 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.article h2{
  font-size:clamp(22px,3.5vw,28px);font-weight:800;
  margin:48px 0 16px;color:var(--gold);
  padding-left:18px;position:relative;line-height:1.25;letter-spacing:-.2px;
  scroll-margin-top:80px;
}
.article h2::before{
  content:'';position:absolute;left:0;top:.18em;bottom:.18em;width:5px;
  background:linear-gradient(180deg,var(--gold) 0%,#ffaa00 100%);
  border-radius:3px;box-shadow:0 0 12px rgba(255,200,61,.45);
}
.article h3{
  font-size:clamp(17px,2.5vw,20px);font-weight:700;
  margin:32px 0 12px;color:var(--gold-hi);
  padding-left:18px;position:relative;line-height:1.35;
  scroll-margin-top:80px;
}
.article h3::before{
  content:'◆';position:absolute;left:0;top:0;color:var(--gold);
  font-size:.7em;line-height:1.7;opacity:.85;
}
.article h4{
  font-size:16px;font-weight:700;margin:20px 0 8px;color:var(--text);
}
.article p{
  margin:0 0 16px;color:var(--text);line-height:1.75;font-size:16px;
}
.article > p:first-of-type,
.article .article-meta + p{
  font-size:17px;color:#e8ecff;
}
.article ul,.article ol{margin:0 0 20px 0;padding-left:8px;list-style:none}
.article ul li,.article ol li{
  margin-bottom:10px;padding-left:28px;position:relative;
  color:var(--text);line-height:1.65;
}
.article ul li::before{
  content:'';position:absolute;left:6px;top:.65em;
  width:8px;height:8px;border-radius:50%;
  background:linear-gradient(135deg,var(--gold) 0%,#ffaa00 100%);
  box-shadow:0 0 8px rgba(255,200,61,.4);
}
.article ol{counter-reset:art-counter}
.article ol > li{counter-increment:art-counter;padding-left:36px}
.article ol > li::before{
  content:counter(art-counter);position:absolute;left:0;top:0;
  width:24px;height:24px;border-radius:50%;
  background:linear-gradient(135deg,var(--gold) 0%,#ffaa00 100%);
  color:#0a0e1f;font-weight:900;font-size:13px;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 2px 8px rgba(255,200,61,.35);
}
.article ul ul li::before,
.article ul ol li::before,
.article ol ul li::before{
  background:var(--gold-soft);box-shadow:none;width:6px;height:6px;
}
.article strong{color:var(--gold-hi);font-weight:700}
.article em{color:#fff;font-style:italic}
.article a{
  color:var(--gold);text-decoration:none;
  background-image:linear-gradient(var(--gold),var(--gold));
  background-size:0% 1px;background-position:0 100%;background-repeat:no-repeat;
  transition:background-size .25s ease;
}
.article a:hover{
  background-size:100% 1px;color:var(--gold-hi);
}
.article-meta{
  color:var(--text-mute);font-size:13px;margin:0 0 28px;
  padding:8px 14px;border-left:3px solid var(--gold);
  background:linear-gradient(90deg,var(--gold-soft) 0%,transparent 60%);
  border-radius:0 6px 6px 0;
}

/* === Section-level tables (homepage, landing pages outside .article) === */
.section table,
.section--alt table{
  width:100%;border-collapse:separate;border-spacing:0;
  margin:24px 0 0;font-size:14px;
  background:var(--bg-card);border:1px solid var(--line);
  border-radius:14px;overflow:hidden;
  box-shadow:0 10px 32px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,200,61,.06);
}
.section th,.section--alt th,
.section td,.section--alt td{
  padding:16px 18px;text-align:left;
  border-bottom:1px solid rgba(255,200,61,.08);
  color:var(--text);font-size:14px;line-height:1.55;
}
.section th,.section--alt th{
  background:linear-gradient(135deg,var(--bg-elev) 0%,#1f2750 60%,#262e5c 100%);
  color:var(--gold);font-weight:800;font-size:12px;
  text-transform:uppercase;letter-spacing:.8px;
  border-bottom:2px solid var(--gold);
  position:relative;
}
.section th:first-child::before,
.section--alt th:first-child::before{
  content:'';position:absolute;left:0;top:0;bottom:0;width:3px;
  background:linear-gradient(180deg,var(--gold),#ffaa00);
}
.section tbody tr,
.section--alt tbody tr{transition:background .15s,transform .15s}
.section tbody tr:nth-child(even),
.section--alt tbody tr:nth-child(even){background:rgba(20,26,53,.55)}
.section tbody tr:hover,
.section--alt tbody tr:hover{background:rgba(255,200,61,.07)}
.section tbody tr:last-child td,
.section--alt tbody tr:last-child td{border-bottom:0}
.section td:first-child,
.section--alt td:first-child{
  font-weight:700;color:var(--gold-hi);
  border-right:1px solid rgba(255,200,61,.08);
  background:rgba(10,14,31,.35);
}
.section td strong,
.section--alt td strong{color:var(--gold-hi);font-weight:700}

/* Editorial note below tables */
.section .container > p:has(strong),
.section--alt .container > p:has(strong){
  margin-top:16px;padding:10px 16px;
  background:rgba(255,200,61,.04);border-left:3px solid var(--gold);
  border-radius:0 6px 6px 0;font-size:13px;color:var(--text-mute);
}

/* === Article tables — premium === */
.article table{
  width:100%;border-collapse:separate;border-spacing:0;
  margin:24px 0;font-size:14px;
  background:var(--bg-card);border:1px solid var(--line);
  border-radius:12px;overflow:hidden;
  box-shadow:0 6px 24px rgba(0,0,0,.25);
}
.article th,.article td{
  padding:14px 16px;text-align:left;border-bottom:1px solid rgba(255,200,61,.08);
}
.article th{
  background:linear-gradient(135deg,var(--bg-elev) 0%,#1f2750 100%);
  color:var(--gold);font-weight:700;font-size:12px;
  text-transform:uppercase;letter-spacing:.6px;
  border-bottom:2px solid var(--gold);
}
.article tbody tr{transition:background .15s}
.article tbody tr:nth-child(even){background:rgba(20,26,53,.55)}
.article tbody tr:hover{background:rgba(255,200,61,.06)}
.article tbody tr:last-child td{border-bottom:0}
.article td strong{color:var(--gold-hi)}
.article td:first-child{font-weight:600}

/* === Glossary (dl/dt/dd) — premium === */
.article dl{
  background:linear-gradient(135deg,var(--bg-card) 0%,var(--bg-elev) 100%);
  padding:24px 28px;border-radius:12px;
  border:1px solid var(--line);border-left:4px solid var(--gold);
  margin:24px 0;box-shadow:0 4px 16px rgba(0,0,0,.18);
}
.article dl dt{
  font-weight:800;color:var(--gold);font-size:15px;
  margin-top:18px;padding-left:14px;position:relative;
  letter-spacing:.2px;
}
.article dl dt:first-child{margin-top:0}
.article dl dt::before{
  content:'';position:absolute;left:0;top:.45em;
  width:6px;height:6px;border-radius:50%;background:var(--gold);
  box-shadow:0 0 6px var(--gold);
}
.article dl dd{
  margin:6px 0 0 14px;color:var(--text-mute);font-size:14px;
  line-height:1.65;padding-bottom:6px;
}

/* === Article-level blockquote / callout === */
.article blockquote{
  margin:24px 0;padding:18px 22px;
  background:linear-gradient(135deg,rgba(255,200,61,.07) 0%,transparent 80%);
  border-left:4px solid var(--gold);border-radius:0 10px 10px 0;
  font-style:italic;color:var(--text);
}
.article blockquote::before{
  content:'\201C';color:var(--gold);font-size:32px;line-height:0;
  margin-right:6px;vertical-align:-8px;
}

/* === Inline code / kbd === */
.article code{
  background:rgba(255,200,61,.10);color:var(--gold-hi);
  padding:2px 8px;border-radius:5px;
  font-family:'SF Mono',Menlo,Consolas,monospace;font-size:.92em;
  border:1px solid rgba(255,200,61,.18);
}

/* === Address (contact card) === */
.article address{
  font-style:normal;background:var(--bg-card);
  padding:16px 20px;border-radius:10px;border:1px solid var(--line);
  border-left:4px solid var(--gold);line-height:1.7;
  display:inline-block;margin:8px 0;
}

/* === Breadcrumb chip enhancement === */
.article > .breadcrumb{
  display:inline-flex;align-items:center;gap:8px;
  padding:6px 14px;border-radius:999px;
  background:var(--bg-card);border:1px solid var(--line);
  margin-bottom:24px;font-size:12px;
}
.article > .breadcrumb a{color:var(--gold);background:none}
.article > .breadcrumb span{color:var(--text-mute);margin:0 2px}

/* === First-of-section visual divider === */
.article h2 + p::first-letter{
  color:var(--gold);font-weight:800;
}

/* === Breadcrumbs (default) === */
.breadcrumb{
  font-size:13px;color:var(--text-mute);margin-bottom:16px;
}
.breadcrumb a{color:var(--text-mute)}
.breadcrumb a:hover{color:var(--gold)}
.breadcrumb span{margin:0 6px;color:var(--line)}

/* === Trust bar premium === */
.trust-bar{
  backdrop-filter:blur(6px);
  background:linear-gradient(135deg,rgba(26,33,67,.85) 0%,rgba(20,26,53,.75) 100%);
  box-shadow:0 8px 32px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,200,61,.08);
}
.trust-item{transition:transform .2s}
.trust-item:hover{transform:translateY(-2px)}
.trust-item img{filter:drop-shadow(0 2px 6px rgba(255,200,61,.3))}

/* === Game tile premium === */
.game-tile{
  box-shadow:0 4px 16px rgba(0,0,0,.2);
  transition:transform .25s cubic-bezier(.2,.7,.2,1),border-color .25s,box-shadow .25s;
}
.game-tile:hover{
  transform:translateY(-6px) scale(1.02);
  box-shadow:0 12px 32px rgba(255,200,61,.25),0 4px 12px rgba(0,0,0,.3);
}
.game-tile-name{
  background:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.4) 100%);
  color:var(--gold-hi);
}

/* === Header logo refinement === */
.header{box-shadow:0 1px 0 rgba(255,200,61,.06),0 4px 24px rgba(0,0,0,.3)}
.logo img{box-shadow:0 2px 8px rgba(255,200,61,.25)}

/* === Section transitions === */
.section{position:relative}
.section--alt::before{
  content:'';position:absolute;left:50%;top:0;width:80px;height:2px;
  border-radius:1px;transform:translateX(-50%);
  background:linear-gradient(90deg,transparent,var(--gold),transparent);
  opacity:.6;
}

/* === Article anchor highlight on jump === */
.article h2:target,
.article h3:target{
  animation:anchorPulse 1.6s ease-out;
}
@keyframes anchorPulse{
  0%{background:rgba(255,200,61,.18);box-shadow:0 0 0 8px rgba(255,200,61,.18)}
  100%{background:transparent;box-shadow:0 0 0 0 transparent}
}

/* === Blog hub (blog/index.html) === */
.hero-blog{padding:80px 0 64px}
.hero-blog .hero-content{max-width:840px}

.blog-grid{
  display:grid;gap:28px;
  grid-template-columns:1fr;
}
@media(min-width:768px){
  .blog-grid{grid-template-columns:repeat(2,1fr)}
}
@media(min-width:1100px){
  .blog-grid{grid-template-columns:repeat(3,1fr)}
}

.blog-card{
  background:linear-gradient(180deg,var(--bg-card) 0%,rgba(20,26,53,.7) 100%);
  border:1px solid var(--line);border-radius:14px;overflow:hidden;
  display:flex;flex-direction:column;
  transition:transform .25s cubic-bezier(.2,.7,.2,1),box-shadow .25s,border-color .25s;
  position:relative;
}
.blog-card:hover{
  transform:translateY(-6px);border-color:var(--gold);
  box-shadow:0 16px 40px rgba(255,200,61,.18),0 4px 12px rgba(0,0,0,.3);
}
.blog-card-img{
  position:relative;display:block;aspect-ratio:16/9;
  background:linear-gradient(135deg,#1a2143,#0a0e1f);
  overflow:hidden;
}
.blog-card-img img{
  width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .4s ease;
}
.blog-card:hover .blog-card-img img{transform:scale(1.06)}
.blog-card-status{
  position:absolute;top:12px;left:12px;
  background:rgba(10,14,31,.85);backdrop-filter:blur(6px);
  color:var(--gold-hi);font-size:11px;font-weight:700;
  padding:6px 12px;border-radius:999px;
  border:1px solid rgba(255,200,61,.3);
  letter-spacing:.3px;
}
.blog-card-body{padding:20px 22px 24px;display:flex;flex-direction:column;gap:10px;flex:1}
.blog-category{
  display:inline-block;align-self:flex-start;
  font-size:11px;font-weight:700;letter-spacing:.8px;text-transform:uppercase;
  color:var(--gold);padding:4px 10px;
  background:var(--gold-soft);border-radius:6px;
  border:1px solid rgba(255,200,61,.2);
}
.blog-card h3{
  font-size:18px;font-weight:800;line-height:1.3;margin:4px 0 6px;
  letter-spacing:-.2px;
}
.blog-card h3 a{
  color:var(--text);text-decoration:none;
  background:none !important;
}
.blog-card h3 a:hover{color:var(--gold-hi)}
.blog-card-body p{
  color:var(--text-mute);font-size:14px;line-height:1.55;flex:1;
}
.blog-card-meta{
  display:flex;align-items:center;gap:10px;
  margin-top:8px;padding-top:14px;border-top:1px dashed rgba(255,200,61,.15);
  font-size:12px;color:var(--text-mute);
}
.blog-card-meta img{border-radius:50%;border:1.5px solid var(--gold);flex-shrink:0}
.blog-card-meta strong{color:var(--gold-hi)}

/* === Individual blog post === */
.blog-post .blog-category{
  margin-bottom:14px;font-size:12px;
}
.blog-post h1{margin-top:4px}
.blog-meta{
  display:flex;align-items:center;gap:14px;
  margin:18px 0 32px;padding:14px 18px;
  background:linear-gradient(135deg,var(--bg-card) 0%,rgba(20,26,53,.5) 100%);
  border:1px solid var(--line);border-radius:12px;
  border-left:4px solid var(--gold);
}
.blog-author-avatar{
  border-radius:50%;border:2px solid var(--gold);flex-shrink:0;
}
.blog-meta-text{font-size:13px;line-height:1.55;color:var(--text-mute)}
.blog-meta-text strong{color:var(--gold-hi)}

/* Table of contents — sticky on desktop */
.blog-toc{
  background:linear-gradient(135deg,var(--bg-card) 0%,var(--bg-elev) 100%);
  border:1px solid var(--line);border-left:4px solid var(--gold);
  border-radius:12px;padding:20px 24px;margin:0 0 32px;
}
.blog-toc h4{
  font-size:13px;font-weight:800;color:var(--gold);
  text-transform:uppercase;letter-spacing:.8px;margin-bottom:12px;
}
.blog-toc ol{
  margin:0;padding-left:0;list-style:none;
  counter-reset:toc-counter;
}
.blog-toc ol li{
  counter-increment:toc-counter;padding:6px 0 6px 30px;position:relative;
  font-size:14px;border-bottom:1px dashed rgba(255,200,61,.1);
}
.blog-toc ol li:last-child{border-bottom:0}
.blog-toc ol li::before{
  content:counter(toc-counter,decimal-leading-zero);
  position:absolute;left:0;top:6px;
  color:var(--gold);font-weight:700;font-size:12px;
  font-family:'SF Mono',monospace;
}
.blog-toc ol li a{
  color:var(--text-mute);text-decoration:none;
  background:none !important;
}
.blog-toc ol li a:hover{color:var(--gold-hi)}

@media(min-width:1280px){
  .blog-post{position:relative}
  .blog-toc{
    position:sticky;top:100px;
    float:right;clear:right;margin-left:32px;
    width:280px;max-height:calc(100vh - 140px);overflow-y:auto;
  }
}

/* Author card at bottom of post */
.blog-author-card{
  display:flex;gap:20px;align-items:flex-start;
  margin:48px 0 32px;padding:24px 26px;
  background:linear-gradient(135deg,var(--bg-card) 0%,var(--bg-elev) 100%);
  border:1px solid var(--line);border-radius:14px;
  border-left:4px solid var(--gold);
}
.blog-author-card img{
  border-radius:50%;border:3px solid var(--gold);flex-shrink:0;
}
.blog-author-card h3{
  font-size:18px;font-weight:800;color:var(--gold);margin:0 0 4px;
  padding-left:0;
}
.blog-author-card h3::before{display:none}
.blog-author-card .blog-author-title{
  font-size:13px;color:var(--text-mute);margin:0 0 12px;
  text-transform:uppercase;letter-spacing:.5px;
}
.blog-author-card p{font-size:14px;line-height:1.6;margin-bottom:8px}
.blog-author-card .blog-author-contact{
  font-size:13px;color:var(--text-mute);margin-top:8px;
}
.blog-author-card .blog-author-contact a{color:var(--gold-hi)}

/* Related posts */
.blog-related{
  margin:32px 0;padding:24px 26px;
  background:rgba(20,26,53,.4);border:1px solid var(--line);
  border-radius:12px;
}
.blog-related h3{
  font-size:14px;font-weight:800;color:var(--gold);
  text-transform:uppercase;letter-spacing:.8px;margin:0 0 14px;
  padding-left:0;
}
.blog-related h3::before{display:none}
.blog-related ul{list-style:none;padding:0;margin:0}
.blog-related li{margin-bottom:10px;padding-left:22px;position:relative}
.blog-related li::before{
  content:'→';position:absolute;left:0;top:0;color:var(--gold);font-weight:900;
}
.blog-related li a{
  color:var(--text);font-size:14px;font-weight:600;
}
.blog-related li a:hover{color:var(--gold-hi)}

/* Draft notice (placeholder for not-yet-written posts) */
.blog-draft-notice{
  margin:24px 0;padding:24px 28px;
  background:linear-gradient(135deg,rgba(255,200,61,.06) 0%,rgba(255,200,61,.02) 100%);
  border:1px dashed var(--gold);border-radius:12px;
  text-align:center;
}
.blog-draft-notice strong{
  display:block;font-size:18px;color:var(--gold);margin-bottom:10px;
  letter-spacing:.3px;
}
.blog-draft-notice p{
  font-size:15px;line-height:1.6;color:var(--text);margin:12px 0;
}
.blog-draft-notice ul{
  list-style:none;padding:0;margin:18px auto;max-width:520px;text-align:left;
}
.blog-draft-notice li{margin-bottom:10px;padding-left:24px;position:relative}
.blog-draft-notice li::before{
  content:'→';position:absolute;left:0;top:0;color:var(--gold);font-weight:900;
}
.blog-draft-notice .blog-draft-meta{
  margin-top:18px;padding-top:14px;border-top:1px dashed rgba(255,200,61,.2);
  font-size:12px;color:var(--text-mute);
}
.blog-draft-notice code{
  background:rgba(255,200,61,.10);color:var(--gold-hi);
  padding:2px 8px;border-radius:4px;
  font-family:'SF Mono',monospace;font-size:.92em;
}

/* === Print styles === */
@media print{
  .header,.footer,.sticky-cta,.mobile-menu,.menu-btn,.nav-cta,
  .gba-banner,.btn{display:none!important}
  body{background:#fff;color:#000}
  .article{max-width:100%;padding:0}
  .article h1,.article h2,.article h3{color:#000}
  .article h2::before,.article h3::before{display:none}
  .article a{color:#000;text-decoration:underline}
  .article table{box-shadow:none;border:1px solid #999}
  .article th{background:#eee;color:#000;border-bottom:2px solid #000}
}

/* === Sticky bottom CTA (mobile) === */
.sticky-cta{
  position:fixed;bottom:0;left:0;right:0;z-index:40;
  background:rgba(10,14,31,.96);backdrop-filter:blur(12px);
  border-top:1px solid var(--line);padding:12px 16px;
  display:flex;gap:8px;
}
.sticky-cta .btn{flex:1;padding:12px;font-size:14px;justify-content:center}
@media(min-width:768px){.sticky-cta{display:none}}

/* === Utilities === */
.text-center{text-align:center}
.mt-0{margin-top:0}
.mb-0{margin-bottom:0}
.mt-2{margin-top:16px}
.mt-3{margin-top:24px}
.mt-4{margin-top:32px}

/* Accessibility */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
:focus-visible{outline:2px solid var(--gold);outline-offset:2px;border-radius:4px}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
