:root {
  /* DINGDONGTOGEL palette — black + cyan from dingdongtogel72.com logo */
  --navy: #05080c;
  --deep: #0b1520;
  --blue: #0891b2;
  --blue-bright: #22d3ee;
  --accent: #22d3ee;
  --accent-soft: #a5f3fc;
  --cyan: #22d3ee;
  --cyan-soft: #cffafe;
  --lavender: #ecfeff;
  --ink: #071018;
  --muted: #5b6b75;
  --line: #c5d4dc;
  --bg: #f4fbfd;
  --card: #ffffff;
  --ok: #22c55e;
  --gold: #67e8f9;
  --radius: 14px;
  --shadow: 0 10px 26px rgba(5, 8, 12, 0.16);
  --max: 1120px;
  --grad-brand: linear-gradient(115deg, #0891b2 0%, #22d3ee 52%, #67e8f9 100%);
  --grad-dark: linear-gradient(160deg, #05080c 0%, #0b1520 48%, #164e63 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(ellipse at top right, rgba(131, 0, 0, 0.12), transparent 46%),
    radial-gradient(ellipse at bottom left, rgba(255, 192, 0, 0.12), transparent 42%),
    var(--bg);
  line-height: 1.65;
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--deep); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.skip {
  position: absolute; left: -9999px;
}
.skip:focus {
  left: 16px; top: 16px; z-index: 1000;
  background: #fff; padding: 8px 12px; border-radius: 8px;
}

.topbar {
  background: linear-gradient(90deg, #05080c, #0b1520 45%, #0b1520);
  color: #a5f3fc;
  font-size: 13px;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 40px; gap: 12px;
}
.topbar a { color: #fff; }

.header {
  background: linear-gradient(180deg, #05080c 0%, #0b1520 100%);
  border-bottom: 3px solid var(--gold);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 0;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  width: auto;
  height: 48px;
  max-width: min(260px, 68vw);
  object-fit: contain;
  object-position: left center;
  border-radius: 8px;
  background: #05080c;
}
.nav {
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
}
.nav a {
  color: #f0f5fa; font-weight: 700; font-size: 13px;
  padding: 10px 12px; border-radius: 8px; text-decoration: none;
}
.nav a:hover, .nav a[aria-current="page"] {
  background: rgba(255, 192, 0, 0.20); color: var(--gold); text-decoration: none;
}
.header-cta { display: flex; gap: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 16px; border-radius: 999px;
  font-weight: 800; font-size: 14px; border: 0; cursor: pointer;
  text-decoration: none !important;
}
.btn-outline {
  background: #ffffff;
  color: var(--deep);
  border: 1.5px solid var(--deep);
}
.btn-outline:hover {
  background: rgba(131, 0, 0, 0.06);
  color: var(--deep);
  border-color: var(--blue);
}
/* Outline on dark header/hero chrome */
.header .btn-outline,
.header-cta .btn-outline {
  background: transparent;
  color: #ecfeff;
  border: 1.5px solid rgba(255, 192, 0, 0.55);
}
.header .btn-outline:hover,
.header-cta .btn-outline:hover {
  background: rgba(255, 192, 0, 0.20);
  color: var(--gold);
  border-color: rgba(61, 255, 138, 0.8);
}
.btn-solid {
  background: var(--grad-brand);
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(10, 47, 44, 0.28);
}
.btn-lg { min-height: 48px; padding: 0 22px; font-size: 15px; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 0; background: none; cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--accent-soft); position: relative;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.hero {
  background:
    radial-gradient(circle at 18% 22%, rgba(0, 232, 168, 0.18), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(255, 192, 0, 0.20), transparent 32%),
    var(--grad-dark);
  color: #fff;
  padding: 40px 0 56px;
  position: relative;
  overflow: visible;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(61, 255, 138, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 47, 44, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 75%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 28px;
  align-items: center;
}
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent-soft); margin-bottom: 12px;
}
.hero .lead { color: #a5f3fc; font-size: 17px; max-width: 54ch; margin-bottom: 22px; }
.hero-cta-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(61, 255, 138, .28);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.hero-actions .btn-lg {
  width: 100%;
  justify-content: center;
  text-align: center;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  justify-content: center;
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #b8efe9;
  font-size: 12px;
}
.hero-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.hero-apk-link-desktop {
  display: none;
}
.chip {
  background: rgba(255,255,255,.08); border: 1px solid rgba(61, 255, 138, .35);
  border-radius: 999px; padding: 5px 10px;
  white-space: nowrap;
}
.btn-hero-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .45);
}
.btn-hero-outline:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(0, 232, 168, .55);
  color: #fff;
}

/* Hero CTA — tablet+ */
@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
  }
  .hero-actions .btn-lg {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }
  .hero-meta {
    justify-content: flex-start;
    gap: 10px;
    font-size: 13px;
  }
  .chip {
    padding: 6px 12px;
  }
}

@media (min-width: 900px) {
  .hero-cta-panel {
    padding: 18px 20px;
    gap: 14px;
  }
  .hero-actions {
    flex-direction: row;
    justify-content: flex-start;
  }
  .hero-actions .btn-lg {
    flex: 0 0 auto;
    width: auto;
    min-width: 200px;
    padding: 0 28px;
  }
  .hero-apk-btn-mobile {
    display: none;
  }
  .hero-meta {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 16px;
    padding-top: 14px;
  }
  .hero-meta-chips {
    flex: 1 1 auto;
    justify-content: flex-start;
    gap: 10px;
  }
  .hero-apk-link-desktop {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .35);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s, border-color .2s;
  }
  .hero-apk-link-desktop:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(251, 222, 68, .55);
    color: var(--gold);
  }
}

.hero-card {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.hero-card img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin: 0 auto;
  border-radius: 18px;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: transparent;
  box-shadow: 0 18px 40px rgba(7, 0, 22, 0.35);
}

.section { padding: 56px 0; }
.section.alt {
  background: linear-gradient(180deg, #fff, #ecfeff);
}
.section h2 {
  font-size: clamp(24px, 3vw, 32px); line-height: 1.25; margin-bottom: 10px;
}
.section .intro { color: var(--muted); max-width: 70ch; margin-bottom: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feature-grid { gap: 16px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.card-media {
  margin: -22px -22px 16px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #05080c;
  position: relative;
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  background: linear-gradient(160deg, #05080c, #0891b2);
}
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p, .card li { color: var(--muted); font-size: 14.5px; }
.card ul {
  margin-top: 10px;
  list-style: none;
  padding-left: 0;
}
.card li {
  position: relative;
  padding: 6px 0 6px 20px;
  line-height: 1.55;
}
.card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.85em;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.providers {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px;
}
.providers span {
  background: #ecfeff; color: var(--deep); border-radius: 999px;
  padding: 6px 12px; font-size: 13px; font-weight: 700;
}

.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  margin-bottom: 10px; padding: 4px 16px;
}
.faq summary {
  cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { color: var(--deep); }
.faq details p { color: var(--muted); padding-bottom: 14px; font-size: 14.5px; }

.steps { counter-reset: step; }
.step {
  display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start;
  margin-bottom: 16px;
}
.step::before {
  counter-increment: step; content: counter(step);
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(180deg, #0b1520, #0b1520); color: #fff; font-weight: 800;
}

.note {
  border-left: 4px solid var(--ok); background: #eefaf3; color: #134d2f;
  padding: 14px 16px; border-radius: 0 10px 10px 0; font-size: 14px; margin-top: 20px;
}

.footer {
  background: linear-gradient(180deg, #05080c 0%, #05080c 100%);
  color: #a8d9d4;
  padding: 56px 0 120px;
  border-top: 3px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px 32px;
  padding-bottom: 8px;
}
.footer-brand {
  max-width: 320px;
}
.footer-brand-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-brand-head img {
  width: auto;
  height: 44px;
  max-width: 200px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}
.footer-brand-head strong {
  color: #fff;
  font-size: 20px;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: #7eb8b2;
}
.footer h3 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(61, 255, 138, 0.28);
}
.footer ul { margin: 0; padding: 0; }
.footer li { margin: 0 0 10px; }
.footer li:last-child { margin-bottom: 0; }
.footer a {
  color: #b8f5f0;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer a:hover {
  color: #fff;
  text-decoration: none;
  padding-left: 4px;
}
.footer-cta a {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.footer-age {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(26, 138, 122, 0.45);
  font-size: 12px;
  line-height: 1.5;
  color: #8aabb0;
  text-align: center;
}
.footer-age a {
  color: var(--gold, var(--gold));
}
.footer-bottom {
  border-top: 1px solid rgba(26, 138, 122, 0.55);
  margin-top: 36px;
  padding-top: 18px;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #9e88bb;
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 8px 18px;
  flex-wrap: wrap;
}
.footer-legal a {
  color: #7eb8b2;
  font-size: 13px;
}
.footer-legal a:hover {
  color: #fff;
  padding-left: 0;
}
.copy { margin: 0; }

.floatbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  transform: none;
  width: 100%;
  max-width: none;
  display: flex;
  align-items: stretch;
  gap: 8px;
  box-sizing: border-box;
  background: rgba(15, 24, 33, 0.97);
  border: 0;
  border-top: 1px solid #0b1520;
  border-radius: 0;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
}
.floatbar a {
  flex: 1 1 0;
  min-width: 0;
  color: #ffffff !important;
  text-align: center;
  text-decoration: none !important;
  background: var(--grad-brand);
  border: 1px solid #7fcbc4;
  border-radius: 12px;
  padding: 12px 6px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.breadcrumb {
  font-size: 13px; color: var(--muted); padding: 18px 0 0;
}
.breadcrumb a { color: var(--muted); }
.page-hero {
  padding: 28px 0 8px;
}
.page-hero h1 { font-size: clamp(26px, 3.5vw, 36px); margin: 8px 0 12px; }
.page-hero .eyebrow { color: var(--deep); }

.blog-page-hero {
  padding: 18px 0 6px;
}
.blog-page-hero h1 {
  font-size: clamp(24px, 3vw, 32px);
  max-width: none;
  margin-bottom: 8px;
}
.blog-page-hero .intro {
  margin-bottom: 0;
  font-size: 15.5px;
}
.blog-listing {
  padding-top: 18px;
  padding-bottom: 56px;
}
.blog-featured {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(0, 1fr);
  overflow: hidden;
  padding: 0;
  margin-bottom: 8px;
}
.blog-featured .card-media {
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  height: 100%;
  min-height: 220px;
  overflow: hidden;
}
.blog-featured .card-media img,
.blog-card .card-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  background: linear-gradient(160deg, #05080c, #0891b2);
}
.blog-featured .blog-card-body {
  padding: 26px 30px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-featured h3 {
  font-size: clamp(20px, 2.3vw, 26px);
  line-height: 1.3;
  margin-bottom: 10px;
}
.blog-featured .blog-excerpt {
  font-size: 15px;
  -webkit-line-clamp: 4;
}
.blog-section-title {
  font-size: 18px;
  margin: 28px 0 14px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  align-items: stretch;
}
.blog-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  height: 100%;
}
.blog-card .card-media {
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
.blog-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-date {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 8px;
}
.blog-meta {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 10px;
}
.pillar-hub {
  margin: 0 0 20px;
  padding: 14px 18px;
  border-left: 4px solid var(--blue);
  background: rgba(0, 120, 130, 0.08);
  border-radius: 0 8px 8px 0;
}
.pillar-hub p { margin: 0; line-height: 1.55; }
.pillar-hub a { font-weight: 600; }
.article-faq {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.article-faq h2 {
  font-size: 22px;
  margin-bottom: 16px;
}
.article-faq details {
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  background: rgba(255,255,255,.02);
}
.article-faq summary {
  cursor: pointer;
  font-weight: 700;
  line-height: 1.4;
}
.article-faq p {
  margin-top: 10px;
  color: var(--muted);
}
.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.blog-card h3 {
  font-size: 17px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}
.blog-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}
.blog-more {
  margin-top: auto;
  font-weight: 800;
  font-size: 14px;
  align-self: flex-start;
}
.article-layout {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 56px;
}
.article-layout .page-hero h1 {
  font-size: clamp(24px, 3.2vw, 34px);
  max-width: none;
}
.article-cover {
  margin: 8px 0 24px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  background: #05080c;
}
.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  padding: 0;
  background: transparent;
  display: block;
}
.article-body {
  font-size: 16px;
  line-height: 1.8;
}
.article-body h2 { font-size: 22px; margin: 28px 0 10px; }
.article-body h3 { font-size: 18px; margin: 22px 0 8px; }
.article-body p { color: var(--muted); margin: 0 0 14px; }
.article-body ul {
  list-style: disc;
  padding-left: 1.3em;
  margin: 0 0 16px;
}
.article-body li { color: var(--muted); margin: 6px 0; }
.related-posts {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.related-posts h2 {
  font-size: 18px;
  margin-bottom: 14px;
}

/* —— Tablet / Mobile —— */
@media (max-width: 900px) {
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
  }

  .container { width: min(var(--max), calc(100% - 24px)); }

  .topbar {
    font-size: 11px;
  }
  .topbar .container {
    min-height: 34px;
    gap: 8px;
  }
  .topbar .container > span {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-row {
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 8px 0;
    position: relative;
  }
  .logo { order: 1; }
  .logo img {
    height: 44px;
    max-width: min(200px, 52vw);
  }
  .nav-toggle {
    display: grid;
    place-items: center;
    order: 2;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 192, 0, 0.20);
  }
  .nav,
  .header-cta {
    display: none;
    width: 100%;
  }
  .header.open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    order: 3;
    position: static;
    background: #05080c;
    border: 1px solid var(--gold);
    border-radius: 14px;
    padding: 8px;
    margin-top: 4px;
  }
  .header.open .nav a {
    padding: 14px 12px;
    font-size: 15px;
    border-radius: 10px;
    color: #e8ecff;
  }
  .header.open .header-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    order: 4;
    position: static;
    width: 100%;
    padding: 0 0 6px;
  }
  .header.open .header-cta .btn {
    width: 100%;
    min-height: 44px;
  }

  .hero {
    padding: 24px 0 36px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  /* Keep copy + CTA above the fold; image follows so bottom dock does not cover lead text */
  .hero-card {
    order: 0;
  }
  .hero-card img {
    max-width: min(100%, 360px);
    border-radius: 16px;
  }
  .hero h1 {
    max-width: none;
    font-size: clamp(22px, 6.5vw, 28px);
  }
  .hero .lead {
    font-size: 15px;
    max-width: none;
    margin-bottom: 16px;
  }
  .hero-cta-panel {
    padding: 12px 14px;
    gap: 12px;
    margin-bottom: 8px;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .hero-actions .btn,
  .hero-actions .btn-lg {
    min-height: 48px;
    font-size: 14px;
    width: 100%;
  }
  .hero-meta {
    padding-top: 10px;
    gap: 10px;
  }
  .hero-meta-chips {
    gap: 6px;
    justify-content: center;
  }
  .hero-meta .chip {
    font-size: 11px;
    padding: 4px 9px;
  }

  .section { padding: 40px 0; }
  .section .intro { margin-bottom: 20px; font-size: 14.5px; }
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .blog-featured {
    grid-template-columns: 1fr;
  }
  .blog-featured .card-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .blog-featured .blog-card-body {
    padding: 16px 18px 18px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }

  .feature-grid .card {
    padding: 14px;
  }
  .feature-grid .card h3 {
    font-size: 15px;
  }
  .feature-grid .card p {
    font-size: 13px;
    line-height: 1.55;
  }
  .feature-grid .card-media {
    margin: -14px -14px 12px;
    aspect-ratio: 16 / 9;
  }

  .footer {
    padding: 40px 0 calc(120px + env(safe-area-inset-bottom, 0px));
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .card { padding: 18px; }
  .card-media {
    margin: -18px -18px 14px;
    aspect-ratio: 16 / 9;
  }
  .card-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  background: linear-gradient(160deg, #05080c, #0891b2);
}

  .faq summary {
    padding: 16px 0;
    font-size: 15px;
    line-height: 1.4;
  }

  .providers span {
    font-size: 12px;
    padding: 6px 10px;
  }

  .page-hero { padding: 20px 0 4px; }
  .page-hero h1 { font-size: clamp(22px, 6vw, 28px); }

  .floatbar {
    gap: 6px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
  }
  .floatbar a {
    padding: 12px 4px;
    font-size: 12px;
    border-radius: 10px;
  }
}

@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-featured h3 { font-size: 20px; }
}

@media (max-width: 380px) {
  .floatbar a { font-size: 10px; padding: 11px 2px; }
  .chip { font-size: 12px; }
}




/* Card media fill — unified horizontal frames, no letterbox */
.card-media,
.blog-card .card-media,
.blog-featured .card-media,
.article-cover,
.feature-grid .card-media {
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  position: relative !important;
}
.card-media img,
.blog-card .card-media img,
.blog-featured .card-media img,
.article-cover img,
.feature-grid .card-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  background: linear-gradient(160deg, #05080c, #0891b2);
}
/* Logo-heavy lottery tiles: keep focal brand centered when cropping */
.feature-grid .card-media img,
.blog-card .card-media img,
.blog-featured .card-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  background: linear-gradient(160deg, #05080c, #0891b2);
}


/* dingdongtogel-image-fit */
.logo img {
  width: auto !important;
  height: 48px !important;
  max-width: min(260px, 68vw) !important;
  object-fit: contain !important;
  object-position: left center !important;
}
.hero-card img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 840 / 480;
  object-fit: cover !important;
  object-position: center center !important;
}
.card-media img,
.blog-card .card-media img,
.blog-featured .card-media img,
.article-cover img,
.feature-grid .card-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  background: linear-gradient(160deg, #05080c, #0891b2);
}
