/* ================= Design Tokens ================= */
:root{
  --bg: #111827;
  --bg-footer: #0F172A;
  --card: #1F2937;
  --card-alt: #1E293B;
  --border: rgba(255,255,255,0.08);
  --indigo: #4F46E5;
  --purple: #A855F7;
  --cyan: #22D3EE;
  --text: #F9FAFB;
  --text-muted: #9CA3AF;
  --indigo-text: #818CF8;  /* accessible indigo for text-on-dark (AA contrast) */
  --purple-text: #C084FC;  /* accessible purple for text-on-dark (AA contrast) */
  --purple-deep: #7C3AED;  /* darker purple for gradients holding white text (AA contrast) */
  --radius-lg: 20px;
  --radius-md: 16px;
  --shadow-card: 0 10px 40px -10px rgba(0,0,0,0.5);
  --font-head: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --frame-width: 430px;
  --sticky-cta-h: 68px;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth; background:#05060a;}
body{
  max-width:var(--frame-width);
  margin:0 auto;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  min-height:100vh;
  position:relative;
  box-shadow:0 0 0 1px rgba(255,255,255,0.06), 0 40px 100px -30px rgba(0,0,0,0.9);
  padding-bottom:var(--sticky-cta-h);
}
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
ul{list-style:none;}
h1,h2,h3,h4,h5{font-family:var(--font-head); font-weight:800; line-height:1.25;}
p{color:var(--text-muted);}
strong{color:var(--text);}
em{color:var(--cyan); font-style:normal;}

.container{max-width:680px; margin:0 auto; padding:0 20px;}
.container.narrow{max-width:560px;}
.center{text-align:center;}

.text-gradient{
  background:linear-gradient(90deg, var(--indigo), var(--cyan));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}

/* ================= Buttons ================= */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 22px; border-radius:12px; font-weight:700; font-size:15px;
  border:1px solid transparent; cursor:pointer; transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
  min-height:44px; white-space:nowrap;
}
.btn:active{transform:scale(0.97);}
.btn-sm{padding:9px 16px; font-size:14px; min-height:40px;}
.btn-lg{padding:16px 30px; font-size:16px;}
.btn-solid{background:var(--indigo); color:#fff;}
.btn-solid:hover{background:#4338CA; box-shadow:0 8px 24px -6px rgba(79,70,229,0.6);}
.btn-outline{border-color:rgba(255,255,255,0.25); color:var(--text);}
.btn-outline:hover{border-color:var(--cyan); color:var(--cyan);}
.btn-purple{background:var(--purple-deep); color:#fff;}
.btn-purple:hover{background:#6D28D9;}
.btn-gradient{background:linear-gradient(90deg, var(--purple-deep), var(--indigo)); color:#fff; box-shadow:0 8px 30px -8px rgba(168,85,247,0.5);}
.btn-gradient:hover{background:linear-gradient(90deg, var(--indigo), var(--purple-deep)); transform:translateY(-2px);}
.btn-light{background:#fff; color:var(--indigo);}
.btn-light:hover{background:#F3F4F6; transform:translateY(-2px);}

/* ================= Sticky top: responsible-gambling bar + header ================= */
.sticky-top{position:sticky; top:0; z-index:101;}
.top-bar{
  background:#0F172A; border-bottom:1px solid var(--border);
  min-height:32px; display:flex; align-items:center; justify-content:center;
  padding:6px 16px; text-align:center;
}
.top-bar-text{font-size:11px; color:var(--text-muted); line-height:1.4;}
.top-bar-link{color:var(--cyan); font-weight:700; margin-left:2px; white-space:nowrap;}

/* ================= Header ================= */
.site-header{
  background:rgba(17,24,39,0.8);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
  transition:box-shadow .18s ease;
}
.site-header.is-scrolled{box-shadow:0 8px 24px -12px rgba(0,0,0,0.6);}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  height:72px;
}
.logo{font-family:var(--font-head); font-weight:800; font-size:20px; color:#fff;}
.logo-accent{color:var(--indigo-text);}
.main-nav{display:none; gap:28px;}
.nav-link{font-size:14.5px; font-weight:600; color:var(--text-muted); transition:color .15s;}
.nav-link:hover{color:var(--cyan);}
.header-actions{display:flex; align-items:center; gap:10px;}
.header-cta{padding:9px 14px; font-size:13px;}

.nav-toggle{
  display:flex; flex-direction:column; justify-content:center; gap:5px;
  width:44px; height:44px; background:transparent; border:1px solid var(--border);
  border-radius:10px; cursor:pointer;
}
.nav-toggle span{display:block; width:20px; height:2px; background:#fff; margin:0 auto; transition:.25s;}
.nav-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav-toggle.open span:nth-child(2){opacity:0;}
.nav-toggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

.mobile-menu{
  position:fixed; top:0; right:-100%; width:min(84vw,340px); height:100vh; z-index:200;
  background:#0F172A; border-left:1px solid var(--border);
  padding:90px 24px 24px; display:flex; flex-direction:column; gap:6px;
  transition:right .3s ease; overflow-y:auto;
}
.mobile-menu.open{right:0;}
.mobile-link{padding:14px 8px; font-weight:600; border-bottom:1px solid var(--border); min-height:44px; display:flex; align-items:center;}
.mobile-actions{display:flex; gap:10px; margin-top:20px;}
.mobile-actions .btn{flex:1;}
.mobile-overlay{
  position:fixed; inset:0; background:rgba(0,0,0,0.6); z-index:150;
  opacity:0; pointer-events:none; transition:opacity .3s ease;
}
.mobile-overlay.open{opacity:1; pointer-events:auto;}

/* ================= Sticky Footer CTA ================= */
.sticky-cta{
  position:fixed; bottom:0; left:50%;
  width:100%; max-width:var(--frame-width); height:var(--sticky-cta-h);
  display:flex; align-items:center; justify-content:center; gap:8px;
  background:linear-gradient(90deg, var(--purple-deep), var(--indigo));
  background-size:200% 100%;
  color:#fff; font-family:var(--font-head); font-weight:800; font-size:17.5px;
  letter-spacing:.3px; z-index:250;
  animation:ctaPulse 2.4s ease-in-out infinite;
}
@keyframes ctaPulse{
  0%,100%{
    transform:translateX(-50%) scale(1); background-position:0% 50%;
    box-shadow:0 -10px 30px -8px rgba(0,0,0,0.6), 0 0 0 0 rgba(168,85,247,0.5);
  }
  50%{
    transform:translateX(-50%) scale(1.025); background-position:100% 50%;
    box-shadow:0 -10px 34px -8px rgba(0,0,0,0.6), 0 -4px 26px 2px rgba(168,85,247,0.5);
  }
}
.sticky-cta:active{filter:brightness(0.95);}
.sticky-cta .cta-icon{font-size:20px;}

/* ================= Hero ================= */
.hero{position:relative; overflow:hidden;}
.hero-bg{
  position:absolute; inset:0; z-index:-1;
  background:
    radial-gradient(600px 400px at 15% 10%, rgba(79,70,229,0.35), transparent 60%),
    radial-gradient(500px 400px at 90% 30%, rgba(168,85,247,0.25), transparent 60%),
    var(--bg);
}
.hero-inner{
  display:flex; flex-direction:column; gap:40px;
  padding:24px 20px 40px;
}
.hero-copy{text-align:center;}
.eyebrow{
  display:inline-block; font-size:13px; font-weight:700; color:var(--cyan);
  background:rgba(34,211,238,0.1); border:1px solid rgba(34,211,238,0.3);
  padding:6px 14px; border-radius:999px; margin-bottom:18px;
}
.hero h1{font-size:clamp(30px,8vw,40px); margin-bottom:16px; letter-spacing:-0.5px;}
.hero-sub{font-size:16.5px; margin:0 auto 28px; max-width:520px;}
.hero-ctas{display:flex; flex-wrap:wrap; gap:14px; margin-bottom:32px; justify-content:center;}

.glass{
  background:rgba(31,41,55,0.55);
  border:1px solid rgba(255,255,255,0.1);
  backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
}
.ai-overview-card{
  border-radius:var(--radius-md); padding:20px; max-width:520px;
  margin:0 auto; text-align:left;
}
.ai-overview-head{
  display:flex; align-items:center; gap:10px; font-weight:700; color:var(--cyan);
  margin-bottom:10px; font-size:14px; letter-spacing:.3px; text-transform:uppercase;
}
.pulse-dot{
  width:9px; height:9px; border-radius:50%; background:var(--cyan);
  box-shadow:0 0 0 rgba(34,211,238,0.6);
  animation:pulse 1.8s infinite;
}
@keyframes pulse{
  0%{box-shadow:0 0 0 0 rgba(34,211,238,0.6);}
  70%{box-shadow:0 0 0 10px rgba(34,211,238,0);}
  100%{box-shadow:0 0 0 0 rgba(34,211,238,0);}
}
.ai-overview-card p{font-size:14.5px;}

.hero-visual{position:relative;}
.hero-banner-img{
  width:100%; height:auto; border-radius:var(--radius-lg);
  box-shadow:0 20px 60px -15px rgba(79,70,229,0.5), 0 0 0 1px rgba(255,255,255,0.08);
}

.toc-strip{border-top:1px solid var(--border); border-bottom:1px solid var(--border); background:rgba(31,41,55,0.4);}
.toc-scroll{
  display:flex; gap:10px; overflow-x:auto; padding:14px 20px; scrollbar-width:none;
}
.toc-scroll::-webkit-scrollbar{display:none;}
.toc-scroll a{
  flex:0 0 auto; font-size:13.5px; font-weight:600; color:var(--text-muted);
  background:var(--card); border:1px solid var(--border); padding:8px 14px; border-radius:999px;
  transition:.2s;
}
.toc-scroll a:hover{color:var(--cyan); border-color:var(--cyan);}

.toc-section{padding-top:24px; padding-bottom:0;}
#toc.toc-card{
  background:linear-gradient(135deg, var(--indigo), var(--purple-deep));
  border-color:rgba(255,255,255,0.2);
}
#toc h2{font-size:19px; margin-bottom:4px; color:#fff;}
.toc-list{display:flex; flex-direction:column; margin-top:8px;}
.toc-list li{border-bottom:1px solid rgba(255,255,255,0.2);}
.toc-list li:last-child{border-bottom:none;}
.toc-list a{
  display:flex; align-items:center; justify-content:space-between;
  padding:13px 2px; font-size:14.5px; font-weight:600; color:#fff; min-height:44px;
}
.toc-list a:hover{color:var(--cyan);}
.toc-list a::after{content:"›"; color:rgba(255,255,255,0.65); font-size:18px; font-weight:700;}

/* ================= Sections ================= */
.section{padding:40px 0;}
.section-alt{background:linear-gradient(180deg, transparent, rgba(31,41,55,0.35), transparent);}
.section-tag{
  display:inline-block; font-size:13px; font-weight:700; color:var(--purple-text);
  background:rgba(168,85,247,0.1); border:1px solid rgba(168,85,247,0.3);
  padding:6px 14px; border-radius:999px; margin-bottom:14px;
}
.section-tag.light{color:#fff; background:rgba(255,255,255,0.15); border-color:rgba(255,255,255,0.3);}
.section-head{margin:0 auto 28px; text-align:center;}
.section-head h2{font-size:clamp(24px,6vw,32px); margin-bottom:14px;}
.section-lead{font-size:16px; max-width:520px; margin:0 auto;}
.section-lead.light, .section-head.light p, .section-head.light h2{color:#fff;}
.section h2{font-size:clamp(22px,5vw,28px); margin-bottom:16px;}
.section p{margin-bottom:14px;}
.sub-h{font-size:19px; margin:28px 0 14px; color:#fff;}
.sub-h.center{text-align:center;}

/* ================= Lottery Cards ================= */
.lottery-card{
  background:var(--card-alt); border:1px solid var(--border);
  border-radius:var(--radius-lg); box-shadow:var(--shadow-card);
  padding:28px 22px; margin-bottom:28px;
}
.lottery-card h3{font-size:21px; margin-bottom:10px;}
.lottery-card-head{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px; margin-bottom:14px;
}
.live-badge{
  display:inline-flex; align-items:center; gap:8px; font-size:12.5px; font-weight:700;
  color:var(--cyan); background:rgba(34,211,238,0.1); border:1px solid rgba(34,211,238,0.35);
  padding:5px 12px; border-radius:999px; margin-bottom:8px;
}
.day-toggle{display:flex; background:var(--card); border-radius:10px; padding:4px; border:1px solid var(--border);}
.day-btn{
  background:transparent; border:none; color:var(--text-muted); padding:8px 16px;
  border-radius:8px; font-weight:600; font-size:13.5px; cursor:pointer; min-height:38px;
}
.day-btn.active{background:var(--indigo); color:#fff;}

.province-tabs{display:flex; gap:8px; overflow-x:auto; padding:4px 0 16px; scrollbar-width:none;}
.province-tabs::-webkit-scrollbar{display:none;}
.prov-chip{
  flex:0 0 auto; background:var(--card); border:1px solid var(--border); color:var(--text-muted);
  padding:9px 16px; border-radius:999px; font-weight:600; font-size:13.5px; cursor:pointer; min-height:40px;
}
.prov-chip.active{background:var(--purple-deep); color:#fff; border-color:var(--purple-deep);}

.results-grid{display:grid; gap:10px; margin-bottom:8px;}
.prize-row{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  background:var(--card); border:1px solid var(--border); border-radius:10px; padding:12px 16px;
}
.prize-row.special{border-color:rgba(34,211,238,0.5); background:rgba(34,211,238,0.07);}
.prize-label{font-weight:600; color:var(--text-muted); font-size:14px;}
.prize-row.special .prize-label{color:var(--cyan);}
.prize-number{font-family:var(--font-head); font-weight:800; letter-spacing:1px; color:var(--cyan); font-size:15px; text-align:right;}
.prize-row.special .prize-number{color:var(--cyan); font-size:19px;}
.demo-note{font-size:12.5px; color:var(--text-muted); font-style:italic; margin-top:4px;}

.table-wrap{overflow-x:auto; border-radius:12px; border:1px solid var(--border);}
.schedule-table{width:100%; border-collapse:collapse; min-width:420px;}
.schedule-table th, .schedule-table td{
  text-align:left; padding:12px 16px; font-size:14px; border-bottom:1px solid var(--border);
}
.schedule-table th{background:var(--card); color:var(--cyan); font-weight:700;}
.schedule-table td{color:var(--text-muted);}
.schedule-table tr:last-child td{border-bottom:none;}

.checker-box{background:var(--card); border:1px solid var(--border); border-radius:14px; padding:20px; margin-top:14px;}
.checker-input-row{display:flex; gap:10px; margin-bottom:12px;}
.checker-input{
  flex:1; background:var(--bg); border:1px solid var(--border); color:var(--text);
  padding:12px 16px; border-radius:10px; font-size:15px; min-height:44px;
}
.checker-input:focus{outline:2px solid var(--purple);}
.camera-btn{
  width:44px; height:44px; border-radius:10px; background:var(--purple-deep); border:none;
  font-size:18px; cursor:pointer; flex:0 0 auto;
}
.checker-selects{display:flex; flex-wrap:wrap; gap:10px;}
.checker-select{
  flex:1; min-width:150px; background:var(--bg); border:1px solid var(--border); color:var(--text-muted);
  padding:11px 14px; border-radius:10px; font-size:14px; min-height:44px;
}
.checker-selects .btn{flex:0 0 auto;}

.tab-buttons{display:flex; gap:8px; border-bottom:1px solid var(--border); margin-bottom:20px; overflow-x:auto;}
.tab-btn{
  background:transparent; border:none; color:var(--text-muted); padding:12px 6px; margin-right:18px;
  font-weight:700; font-size:14.5px; cursor:pointer; border-bottom:2px solid transparent; min-height:44px;
}
.tab-btn.active{color:var(--indigo-text); border-color:var(--indigo-text);}
.tab-panel{display:none;}
.tab-panel.active{display:block;}

.hotcold{display:grid; gap:20px; margin-bottom:24px;}
.hc-group h4{font-size:14px; margin-bottom:10px; color:var(--text);}
.chip-row{display:flex; flex-wrap:wrap; gap:8px;}
.num-chip{
  width:42px; height:42px; display:flex; align-items:center; justify-content:center;
  border-radius:10px; font-weight:800; font-family:var(--font-head); font-size:14px;
}
.num-chip.hot{background:rgba(168,85,247,0.15); color:var(--purple-text); border:1px solid rgba(168,85,247,0.4);}
.num-chip.cold{background:rgba(34,211,238,0.1); color:var(--cyan); border:1px solid rgba(34,211,238,0.3);}

.bar-chart{display:flex; flex-direction:column; gap:12px;}
.bar-row{display:grid; grid-template-columns:28px 1fr 36px; align-items:center; gap:12px; font-size:13px; color:var(--text-muted);}
.bar{background:var(--card); border-radius:999px; height:10px; overflow:hidden;}
.bar-fill{height:100%; background:linear-gradient(90deg, var(--indigo), var(--cyan)); border-radius:999px;}
.bar-val{text-align:right; font-weight:700; color:var(--text);}

.predict-grid{display:grid; gap:14px; grid-template-columns:1fr;}
.predict-card{
  background:var(--card); border:1px solid var(--border); border-radius:14px; padding:18px;
  display:flex; flex-direction:column; gap:6px;
}
.predict-province{font-weight:700; color:var(--text); font-size:14px;}
.predict-numbers{font-family:var(--font-head); font-weight:800; font-size:22px; color:var(--purple-text); letter-spacing:1px;}
.predict-tag{font-size:12px; color:var(--purple-text); font-weight:600;}

.province-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-top:16px;}
.prov-tile{
  background:var(--card); border:1px solid var(--border); color:var(--text);
  padding:14px 10px; border-radius:12px; font-weight:600; font-size:13.5px; cursor:pointer; min-height:44px;
  transition:.2s;
}
.prov-tile:hover{border-color:var(--indigo-text); color:var(--indigo-text);}

/* ================= Casino Grid ================= */
.casino-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:16px;}
.casino-card{
  background:linear-gradient(135deg, var(--indigo), var(--purple-deep));
  border:1px solid rgba(255,255,255,0.25); border-radius:var(--radius-md);
  padding:24px 18px; text-align:center; box-shadow:var(--shadow-card); position:relative;
  transition:transform .2s ease, border-color .2s ease;
}
.casino-card:hover{transform:translateY(-4px); border-color:var(--cyan);}
.casino-card.featured{
  grid-column:1 / -1;
  background:linear-gradient(135deg, var(--purple-deep), var(--indigo));
  border-color:rgba(255,255,255,0.4);
}
.casino-grid > .casino-card:last-child:not(.featured){
  grid-column:1 / -1;
  max-width:calc(50% - 8px);
  margin:0 auto;
}
.featured-badge{
  position:absolute; top:14px; right:14px; background:#fff; color:var(--indigo);
  font-size:11px; font-weight:700; padding:4px 10px; border-radius:999px;
}
.casino-icon{font-size:38px; display:block; margin-bottom:12px;}
.casino-card h3{font-size:17px; margin-bottom:8px; color:#fff;}
.casino-card p{font-size:13.5px; margin-bottom:0; color:rgba(255,255,255,0.85);}

/* ================= Testimonials ================= */
.testimonial-grid{display:grid; gap:20px; grid-template-columns:1fr;}
.testimonial-card{
  position:relative; background:var(--card-alt); border:1px solid var(--border);
  border-radius:var(--radius-md); padding:26px 22px; box-shadow:var(--shadow-card);
}
.winner-badge{
  position:absolute; top:-12px; right:20px; background:linear-gradient(90deg, var(--purple-deep), var(--indigo));
  color:#fff; font-family:var(--font-head); font-size:11.5px; font-weight:800; padding:6px 12px; border-radius:999px;
}
.quote-icon{font-family:var(--font-head); font-size:40px; color:var(--indigo); opacity:.5; line-height:1; display:block; margin-bottom:6px;}
.testimonial-card p{color:var(--text); font-size:14.5px; margin-bottom:18px;}
.testi-author{display:flex; flex-direction:column; gap:2px;}
.testi-author strong{color:var(--cyan); font-size:14.5px;}
.testi-author span{font-size:13px; color:var(--text-muted);}
.testimonial-closing{text-align:center; font-size:14.5px; max-width:520px; margin:28px auto 0;}

/* ================= Promotions ================= */
.promo-section{background:linear-gradient(135deg, var(--indigo), var(--purple-deep));}
.promo-grid{display:grid; grid-template-columns:1fr 1fr; gap:16px;}
.promo-card{
  background:rgba(255,255,255,0.1); border:1px solid rgba(255,255,255,0.25);
  border-radius:var(--radius-md); padding:22px 16px; backdrop-filter:blur(6px);
}
.promo-amount{font-family:var(--font-head); font-size:30px; font-weight:800; color:#fff; display:block; margin-bottom:8px;}
.promo-card h3{color:#fff; font-size:16px; margin-bottom:8px;}
.promo-card p{color:rgba(255,255,255,0.85); font-size:13.5px; margin-bottom:0;}
.promo-cta{text-align:center; margin-top:32px;}

/* ================= Trust ================= */
.trust-grid{display:grid; grid-template-columns:1fr 1fr; gap:18px;}
.trust-item{text-align:center; padding:20px 12px;}
.trust-icon{font-size:34px; display:block; margin-bottom:12px;}
.trust-item h3{font-size:15.5px; color:var(--indigo-text); margin-bottom:8px;}
.trust-item p{font-size:13.5px; margin-bottom:0;}

/* ================= Guides / FAQ ================= */
.guides-grid{display:grid; grid-template-columns:1fr; gap:14px; margin-bottom:40px;}
.guide-card{
  background:var(--card-alt); border:1px solid var(--border); border-radius:var(--radius-md);
  padding:20px; display:flex; flex-direction:column; gap:6px;
}
.guide-icon{font-size:26px;}
.guide-card h3{font-size:15.5px;}
.guide-card p{font-size:13.5px; margin-bottom:0;}

.faq-wrap{max-width:760px; margin:0 auto;}
.faq-item{
  background:var(--card-alt); border:1px solid var(--border); border-radius:12px;
  padding:16px 18px; margin-bottom:10px;
}
.faq-item summary{
  cursor:pointer; font-weight:700; font-size:15px; color:var(--text);
  list-style:none; display:flex; justify-content:space-between; align-items:center; min-height:28px;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:"+"; color:var(--indigo-text); font-family:var(--font-head); font-size:20px; font-weight:800; margin-left:12px;}
.faq-item[open] summary::after{content:"–";}
.faq-item p{margin-top:12px; margin-bottom:0; font-size:14.5px;}
.inline-link{color:var(--cyan); font-weight:600;}

#legal .faq-item{
  background:linear-gradient(135deg, var(--indigo), var(--purple-deep));
  border-color:rgba(255,255,255,0.25);
}
#legal .faq-item summary{color:#fff;}
#legal .faq-item summary::after{color:#fff;}
#legal .faq-item p{color:rgba(255,255,255,0.85);}

/* ================= Conclusion ================= */
.conclusion{background:radial-gradient(700px 400px at 50% 0%, rgba(79,70,229,0.25), transparent 65%);}
.conclusion h2{font-size:clamp(26px,7vw,34px);}
.conclusion p{font-size:16px;}
.conclusion-question{color:var(--text); font-weight:700; font-size:18px; margin:20px 0 28px;}
.conclusion-ctas{display:flex; flex-wrap:wrap; gap:14px; justify-content:center;}

/* ================= Author ================= */
.author-card{
  background:linear-gradient(135deg, var(--indigo), var(--purple-deep));
  border:1px solid rgba(255,255,255,0.25); border-radius:var(--radius-lg);
  padding:28px 22px; box-shadow:var(--shadow-card); display:flex; flex-direction:column; gap:20px; align-items:center; text-align:center;
}
.author-photo{
  width:140px; height:140px; border-radius:50%; object-fit:cover;
  border:3px solid #fff; box-shadow:0 0 0 6px rgba(255,255,255,0.2);
}
.author-bio h3{font-size:20px; margin-bottom:4px; color:#fff;}
.author-role{color:var(--cyan); font-weight:700; font-size:13.5px; margin-bottom:14px;}
.author-bio p{font-size:14.5px; text-align:left; margin-bottom:12px; color:rgba(255,255,255,0.85);}
.author-links{display:flex; gap:10px; justify-content:center; margin-top:10px;}
.author-links .btn-outline{border-color:rgba(255,255,255,0.5); color:#fff;}
.author-links .btn-outline:hover{border-color:var(--cyan); color:var(--cyan);}

/* ================= Standalone Pages (About / Contact / Legal) ================= */
.breadcrumb-nav{font-size:13px; color:var(--text-muted); margin-bottom:18px;}
.breadcrumb-nav a{color:var(--cyan); font-weight:600;}
.breadcrumb-nav span{margin:0 4px;}
.page-h1{font-size:clamp(26px,7vw,34px); margin-bottom:18px;}
.page-h2{font-size:clamp(19px,5vw,22px); margin:28px 0 12px; color:#fff;}
.page-cta{display:flex; flex-wrap:wrap; gap:14px; margin-top:32px;}

.mission-grid{display:grid; grid-template-columns:1fr; gap:14px; margin:16px 0 24px;}
.mission-item{
  background:var(--card-alt); border:1px solid var(--border); border-radius:var(--radius-md);
  padding:20px; text-align:center;
}
.mission-item h3{font-size:15.5px; color:var(--indigo-text); margin:8px 0 6px;}
.mission-item p{font-size:13.5px; margin-bottom:0;}

.contact-card{
  background:var(--card-alt); border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:28px 22px; text-align:center; margin:20px 0 8px; box-shadow:var(--shadow-card);
}
.contact-card h3{font-size:16px; margin:8px 0 10px;}
.contact-email{
  font-family:var(--font-head); font-weight:800; font-size:18px; color:var(--cyan);
  display:inline-block; margin-bottom:8px;
}
.contact-card p{font-size:13.5px; margin-bottom:0;}

/* ================= Footer ================= */
.site-footer{background:var(--bg-footer); padding:56px 0 0; border-top:1px solid var(--border);}
.footer-grid{display:grid; grid-template-columns:1fr; gap:32px; padding-bottom:36px;}
.footer-col h2{font-size:14px; color:#fff; margin-bottom:14px; text-transform:uppercase; letter-spacing:.5px;}
.footer-col a{display:block; color:var(--text-muted); font-size:14px; margin-bottom:10px;}
.footer-col a:hover{color:var(--cyan);}
.footer-brand p{font-size:13.5px; margin:12px 0;}
.age-badge{color:var(--text-muted); font-size:12.5px;}

.payment-row{
  display:flex; flex-wrap:wrap; align-items:center; gap:10px; padding:20px 20px;
  border-top:1px solid var(--border); font-size:13px; color:var(--text-muted);
}
.pay-badge{
  background:var(--card); border:1px solid var(--border); color:var(--text-muted);
  padding:6px 12px; border-radius:8px; font-size:12px; font-weight:700; letter-spacing:.5px;
}
.footer-bottom{
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px;
  padding:18px 20px; border-top:1px solid var(--border); font-size:12.5px; color:var(--text-muted);
}

/* ================= Blog ================= */
a.guide-card{transition:transform .2s ease, border-color .2s ease;}
a.guide-card:hover{transform:translateY(-3px); border-color:var(--cyan);}
.guide-card.locked{opacity:.55; pointer-events:none;}
.blog-date{font-size:12px; color:var(--text-muted); display:block;}
.blog-read-more{color:var(--cyan); font-weight:700; font-size:13px; margin-top:2px;}

/* ================= Article ================= */
.article-meta{display:flex; flex-wrap:wrap; gap:10px; align-items:center; font-size:13px; color:var(--text-muted); margin-bottom:20px;}
.article-meta span{background:var(--card); border:1px solid var(--border); padding:4px 10px; border-radius:999px;}
.article-body h2{margin-top:34px;}
.article-body h3{margin-top:22px; font-size:17px; color:var(--text);}
.article-body ul{list-style:disc; padding-left:20px; margin-bottom:14px; color:var(--text-muted);}
.article-body ul li{margin-bottom:6px;}

/* Fixed mobile-viewport frame: no width breakpoints — the phone-frame body
   (max-width:var(--frame-width)) means the real screen width is not a
   reliable signal, so every grid stays at its 1–2 column mobile-first value. */
