/* GOLDSBET88.COM - Premium jl-bet.ph Mobile-First Architecture */
:root {
  --bg: #181c24;
  --surface: #222834;
  --surface2: #2d3545;
  --text: #f3f4f6;
  --muted: #9ca3af;
  --gold: #FFD700;
  --gold2: #FDB931;
  --green: #00e676;
  --glow: rgba(255, 215, 0, 0.15);
  --glow-green: rgba(0, 230, 118, 0.15);
  --radius: 14px;
  --border: rgba(255, 215, 0, 0.2);
}

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

body {
  background: #0d1017;
  display: flex;
  justify-content: center;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: all 0.2s;
}

a:hover {
  color: var(--gold2);
}

.app-shell {
  width: 100%;
  max-width: 440px;
  background: var(--bg);
  min-height: 100vh;
  padding-bottom: 85px;
  position: relative;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.9);
}

/* Header */
.hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(24, 28, 36, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.hdr-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
}

.hdr-logo img {
  height: 38px;
  width: 38px;
  border-radius: 8px;
  border: 1px solid var(--gold);
}

.hdr-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Language Toggle Button */
.lang-toggle {
  display: flex;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2px;
  font-size: 0.75rem;
}

.lang-btn {
  padding: 3px 8px;
  border-radius: 16px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.lang-btn.active {
  background: var(--gold);
  color: #000;
}

/* Buttons */
.btn {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #000 !important;
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.82rem;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  line-height: 1.2;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 215, 0, 0.35);
}

.btn-secondary {
  background: var(--surface2);
  color: #fff !important;
  border: 1px solid var(--border);
}

.btn-green {
  background: linear-gradient(135deg, #00e676, #00b0ff);
  color: #000 !important;
}

.btn-lg {
  padding: 12px 14px;
  font-size: 0.88rem;
  font-weight: 800;
  min-height: 46px;
  letter-spacing: 0.2px;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(255, 215, 0, 0.25);
}

.action-btns {
  display: flex;
  gap: 10px;
  margin: 16px 0;
  align-items: stretch;
}

.action-btns .btn {
  flex: 1;
  min-width: 0;
}


/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #11141b;
}

.hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 440/230;
  object-fit: cover;
  display: block;
}

.hero-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, rgba(15, 18, 25, 0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}

.hero h1 {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  margin-bottom: 4px;
}

.hero .tag {
  font-size: 0.78rem;
  color: var(--gold);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  font-weight: 600;
}

.main {
  padding: 0 14px;
}

/* E-E-A-T Callout */
.eeat-badge {
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.3);
  border-radius: var(--radius);
  padding: 10px 12px;
  margin: 14px 0 10px;
  font-size: 0.8rem;
  color: #a7f3d0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* TL;DR Box */
.tldr {
  background: var(--glow);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin: 12px 0 16px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.tldr b {
  color: var(--gold);
}

/* Breadcrumbs */
.bc {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 10px 0;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.bc a {
  color: var(--gold);
}

/* Sections */
.section {
  margin: 22px 0;
}

.section h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.section h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 14px 0 6px;
  color: var(--gold);
}

.section p {
  color: #cbd5e1;
  font-size: 0.88rem;
  margin-bottom: 10px;
  line-height: 1.6;
}

.capsule {
  background: rgba(255, 215, 0, 0.06);
  border-left: 3px solid var(--gold);
  padding: 8px 12px;
  margin-bottom: 12px;
  border-radius: 0 8px 8px 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: #fef08a;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 14px 0;
}

.feat {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 12px 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feat-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glow);
  border-radius: 10px;
}

.feat h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: #fff;
}

.feat p {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

/* Image Showcases & Media Cards */
.img-showcase {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 18px 0;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  position: relative;
  background: var(--surface);
}

.img-showcase img {
  width: 100%;
  height: auto;
  aspect-ratio: 440/220;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.img-showcase:hover img {
  transform: scale(1.03);
}

.img-showcase-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  background: linear-gradient(to top, rgba(15, 18, 25, 0.95), rgba(15, 18, 25, 0.6) 70%, transparent);
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Trust Badges Strip */
.trust-strip {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  margin: 14px 0;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
}

.trust-item .icon {
  font-size: 1rem;
}

.trust-item .green {
  color: var(--green);
}

/* Card Grids for Hubs */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 14px 0;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.card img {
  width: 100%;
  height: 85px;
  object-fit: cover;
  display: block;
}

.card span {
  display: block;
  padding: 8px;
  font-weight: 700;
  font-size: 0.78rem;
  text-align: center;
  color: #fff;
}

/* Comparison Tables */
.table-wrap {
  overflow-x: auto;
  margin: 14px 0;
  border-radius: 10px;
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  text-align: left;
  background: var(--surface);
}

th, td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

th {
  background: var(--surface2);
  color: var(--gold);
  font-weight: 700;
}

tr:hover td {
  background: rgba(255, 215, 0, 0.03);
}

/* Steps List */
.steps {
  counter-reset: step;
  margin: 14px 0;
}

.step {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  align-items: flex-start;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--glow);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--gold);
}

.step div h4 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: #fff;
}

.step div p {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

/* Responsible Gaming */
.responsible-gaming {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius);
  padding: 14px;
  margin: 20px 0;
  font-size: 0.8rem;
  color: #fca5a5;
}

.rg-badge {
  display: inline-block;
  background: #ef4444;
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

/* CTA Box */
.cta-box {
  text-align: center;
  padding: 22px 14px;
  margin: 22px 0;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(0, 230, 118, 0.05));
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.cta-box h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 6px;
}

.cta-box p {
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 14px;
}

/* FAQ Accordion */
.faq {
  margin: 16px 0;
}

.faq details {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
}

.faq summary {
  padding: 12px 36px 12px 12px;
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  color: #fff;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold);
}

.faq details[open] summary::after {
  content: '-';
}

.faq .ans {
  padding: 0 12px 12px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* Footer */
footer {
  background: #10131a;
  padding: 22px 14px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

footer p {
  color: #64748b;
  font-size: 0.72rem;
  margin-bottom: 6px;
}

footer a {
  color: var(--gold);
}

/* Mobile Fixed Bottom Navigation (jl-bet.ph stack) */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 440px;
  background: rgba(20, 24, 32, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  justify-content: space-around;
  padding: 8px 0 12px;
  z-index: 100;
  border-top: 1px solid var(--border);
}

.ni {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.68rem;
  transition: color 0.2s;
  gap: 2px;
}

.ni.on, .ni:hover {
  color: var(--gold);
}

.ni em {
  font-size: 1.25rem;
  font-style: normal;
}
