:root {
  --emerald: #2d6a4f;
  --emerald-dark: #143528;
  --emerald-light: #86c9a3;
  --gold: #c9a227;
  --gold-light: #e8d5a3;
  --ink: #0a110d;
  --panel: rgba(10, 17, 13, 0.90);
  --text: #f4efe4;
  --muted: #c5d4c0;
  --border: rgba(201, 162, 39, 0.36);
  --shadow: 0 0 28px rgba(201, 162, 39, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--ink);
  color: var(--text);
  overflow-x: hidden;
}

a { color: var(--gold-light); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* ===== RAIN + SHARK BACKGROUND ===== */
.blue-shark-effect {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 17, 13, 0.4), rgba(10, 17, 13, 0.78)),
    radial-gradient(circle at 20% 10%, rgba(45, 106, 79, 0.38), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(201, 162, 39, 0.14), transparent 35%),
    #0a110d;
  overflow: hidden;
}

.rain-line {
  position: absolute;
  top: -20%;
  width: 1px;
  height: 120%;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.18), transparent);
  animation: rainFall linear infinite;
}

@keyframes rainFall {
  from { transform: translateY(-10%); }
  to { transform: translateY(10%); }
}

.shark-fly {
  position: absolute;
  font-size: 28px;
  filter: drop-shadow(0 0 6px rgba(201, 162, 39, 0.55));
  animation: sharkFly linear infinite;
  opacity: 0.85;
}

@keyframes sharkFly {
  0% { transform: translateY(110vh) rotate(-8deg); opacity: 0; }
  10% { opacity: 0.9; }
  90% { opacity: 0.9; }
  100% { transform: translateY(-20vh) rotate(8deg); opacity: 0; }
}

/* ===== WRAP ===== */
#wrap {
  position: relative;
  z-index: 1;
  max-width: 1425px;
  margin: 0 auto;
  padding: 0 16px 48px;
}

/* ===== TOP BAR ===== */
.top-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 16px 0 20px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(10, 17, 13, 0.82);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-size: 13px;
}

.top-stats .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(45, 106, 79, 0.16);
  border: 1px solid rgba(201, 162, 39, 0.28);
  white-space: nowrap;
}

.top-stats .btn-top-login {
  margin-left: auto;
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--emerald-light), var(--emerald-dark));
  border: 1px solid var(--gold);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

/* ===== HEADER NAV ===== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.site-logo img {
  width: min(220px, 55vw);
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(45, 106, 79, 0.16);
  border: 1px solid rgba(201, 162, 39, 0.28);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

/* ===== HERO GRID ===== */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr);
  gap: 20px;
  margin-bottom: 28px;
  align-items: start;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.banner-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.banner-main {
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 320px;
}

.banner-main a {
  display: block;
  width: 100%;
  height: 100%;
}

.banner-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.banner-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
}

.banner-thumbs img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  background: #0a110d;
  border-radius: 8px;
  border: 1px solid var(--border);
  opacity: 0.75;
  cursor: pointer;
  flex: 0 0 auto;
}

@media (min-width: 901px) {
  .banner-main {
    min-height: 420px;
  }
}

@media (min-width: 1200px) {
  .banner-main {
    min-height: 520px;
  }
}

.banner-thumbs img.active { opacity: 1; border-color: var(--gold); }

/* ===== INFO CARD (สล็อตเว็บตรง-card) ===== */
.สล็อตเว็บตรง-card,
.slot-card {
  background: linear-gradient(145deg, rgba(10, 17, 13, 0.96), rgba(27, 67, 50, 0.92));
  border: 2px solid var(--gold);
  border-radius: 22px;
  padding: 22px 20px;
  box-shadow: 0 0 28px rgba(201, 162, 39, 0.22), inset 0 0 18px rgba(255,255,255,0.04);
}

.slot-card-head h2 {
  margin: 0 0 16px;
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.35;
  color: #fff;
  text-align: center;
}

.info-container {
  background: linear-gradient(145deg, #1b4332, var(--emerald-dark));
  border: 1px solid var(--gold);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: 0 0 16px rgba(201, 162, 39, 0.22);
}

.info-head {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.info-head h3 {
  margin: 0;
  font-size: 16px;
  text-align: center;
  color: #fff;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.info-row:last-child { border-bottom: none; }

.info-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

.info-text { font-weight: 600; }

.info-number {
  background: linear-gradient(180deg, #f3e6c0, var(--gold-light));
  color: #111;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--gold);
}

.bonus-wrap {
  background: rgba(10, 17, 13, 0.55);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 16px;
}

.bonus-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.bonus-head h3 { margin: 0; font-size: 15px; color: var(--gold-light); }

.bonus-item {
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border-left: 3px solid var(--gold);
  font-size: 14px;
}

.cta-buttons-gold {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-gold {
  display: inline-block;
  min-width: 140px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--gold);
}

.btn-login-gold {
  background: transparent;
  color: #fff;
}

.btn-register-gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: #111;
}

/* ===== RTP SLOT BAR ===== */
.rtp-section {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
}

.section-title {
  margin: 0 0 14px;
  font-size: 20px;
  text-align: center;
  color: #fff;
}

.rtp-game-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.rtp-game-name { font-size: 14px; font-weight: 600; }

.rtp-bar-wrap {
  grid-column: 1 / -1;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}

.rtp-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--emerald), var(--gold-light));
  width: 0;
  transition: width 1.2s ease;
}

.rtp-pct {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-light);
}

/* ===== RTP CALENDAR ===== */
.rtp-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 22px;
}

@media (max-width: 760px) {
  .rtp-calendar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.rtp-day {
  background: rgba(10, 17, 13, 0.85);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
}

.rtp-day .date { font-size: 12px; color: var(--muted); }
.rtp-day .val { font-size: 18px; font-weight: 800; margin: 4px 0; }
.rtp-day .tag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(45, 106, 79, 0.28);
  color: #dce8d8;
}

/* ===== STAT CARDS ROW ===== */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 24px;
}

@media (max-width: 760px) {
  .stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.stat-card {
  background: #fff;
  color: #111;
  border-radius: 14px;
  padding: 16px 12px;
  text-align: center;
  border: 1px solid rgba(201, 162, 39, 0.4);
}

.stat-card .label {
  font-size: 13px;
  color: #1b4332;
  font-weight: 700;
}

.stat-card .value {
  margin-top: 6px;
  font-size: 17px;
  font-weight: 800;
}

/* ===== ARTICLE BOX ===== */
.article-box {
  background: linear-gradient(145deg, rgba(10, 17, 13, 0.96), rgba(27, 67, 50, 0.9));
  border: 2px solid var(--gold);
  border-radius: 18px;
  padding: 24px 20px;
  margin-bottom: 24px;
  box-shadow: 0 0 24px rgba(201, 162, 39, 0.22);
}

.article-meta-time time { color: var(--muted); }

.article-box h1 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.35;
  text-align: center;
}

.article-box h2 {
  margin: 24px 0 12px;
  font-size: 22px;
  color: var(--gold-light);
  padding-left: 12px;
  border-left: 4px solid var(--gold);
}

.article-box p {
  color: #dce8d8;
  line-height: 1.75;
  font-size: 15px;
  text-align: justify;
}

.highlight-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  margin: 16px 0;
}

/* ===== FAQ ===== */
.faq-wrap h2 {
  text-align: center;
  margin: 0 0 14px;
  font-size: 22px;
}

.faq-item {
  margin-bottom: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(10, 17, 13, 0.75);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(45, 106, 79, 0.18);
  border: none;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer.open { max-height: 220px; }

.faq-answer p {
  margin: 0;
  padding: 14px 16px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

/* ===== REVIEWS ===== */
.reviews-section h2 {
  text-align: center;
  margin: 28px 0 16px;
  font-size: 22px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

.review-card {
  background: rgba(10, 17, 13, 0.82);
  border: 1px solid var(--gold);
  border-radius: 16px;
  padding: 16px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.review-name { font-weight: 700; }
.review-stars { color: var(--gold-light); letter-spacing: 1px; }
.review-text { color: #dce8d8; font-size: 14px; line-height: 1.65; font-style: italic; margin: 8px 0; }
.review-date { font-size: 12px; color: var(--muted); }

/* ===== FEATURE BAR ===== */
.feature-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(10,17,13,.92), rgba(45,106,79,.58), rgba(201,162,39,.22));
  border: 1px solid var(--border);
}

@media (max-width: 760px) {
  .feature-bar { grid-template-columns: 1fr 1fr; }
}

.feature-item {
  text-align: center;
  padding: 10px;
}

.feature-item .icon { font-size: 28px; margin-bottom: 6px; }
.feature-item h3 { margin: 0 0 6px; font-size: 14px; }
.feature-item p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ===== FOOTER ===== */
.site-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.footer-col h4 {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--gold-light);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li { margin-bottom: 6px; }

.footer-col a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: var(--muted);
}

.footer-bottom a { color: var(--muted); }

/* ===== LIVE FEED ===== */
.live-feed {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 50;
  max-width: 280px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(10, 17, 13, 0.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-size: 13px;
  line-height: 1.45;
  animation: feedIn 0.4s ease;
}

@keyframes feedIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== WELCOME POPUP (delay 4s, close visible) ===== */
.welcome-popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  padding: 16px;
}

.welcome-popup.show { display: flex; }

.welcome-card {
  position: relative;
  width: min(680px, 96vw);
  background: linear-gradient(145deg, #1b4332, #0a110d);
  border: 2px solid var(--gold);
  border-radius: 18px;
  padding: 0 0 20px;
  box-shadow: 0 0 30px rgba(201, 162, 39, 0.25);
  overflow: hidden;
}

.welcome-banner {
  background: #000;
  border-bottom: 1px solid rgba(201, 162, 39, 0.35);
}

.welcome-banner a {
  display: block;
  width: 100%;
}

.welcome-banner img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
}

.welcome-body {
  padding: 18px 20px 0;
}

.welcome-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(10, 17, 13, 0.82);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.welcome-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
  text-align: center;
}

.welcome-card p {
  margin: 0 0 16px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.welcome-card .cta-buttons-gold {
  padding: 0 20px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.game-cat-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; margin-bottom: 8px; border-radius: 12px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); }
.game-cat-row span:last-child { font-size: 12px; color: var(--gold-light); font-weight: 700; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 22px; }
.cat-pill { padding: 10px 16px; border-radius: 999px; background: rgba(45,106,79,0.18); border: 1px solid var(--border); color: var(--text); font-size: 14px; font-weight: 600; }


/* Jam Bangkok — pill di top-stats, tidak mendorong logo/nav */
.pgn-bkk{font-variant-numeric:tabular-nums;letter-spacing:.03em}
.pgn-bkk-clock{font-weight:700}
.pgn-bkk-tz{font-size:10px;font-weight:700;opacity:.75}

/* SET ticker */
.set-live{width:100%;max-width:none;margin:18px 0 0;padding:24px 20px;background:rgba(10,17,13,0.92);border-radius:16px;border:1px solid rgba(201,162,39,.35);box-shadow:0 8px 28px rgba(0,0,0,.35);box-sizing:border-box}
.set-live h2{font-size:22px;font-weight:700;color:var(--gold-light);margin:0 0 8px;padding-left:15px;position:relative}
.set-live h2 span{position:absolute;left:0;top:5px;bottom:5px;width:4px;background:var(--gold);border-radius:2px}
.set-live p{color:#dce8d8;font-size:15px;line-height:1.6;margin:0 0 16px}
.set-live .tradingview-widget-container{width:100%;height:420px;min-height:420px}

.d5-crumb{max-width:1100px;margin:0 auto 14px;padding:0;font-size:13px}
.d5-crumb ol{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:0;color:var(--muted)}
.d5-crumb a{color:var(--gold-light);text-decoration:none;font-weight:700}
.d5-crumb li+li::before{content:"/";margin-right:6px;color:var(--muted)}
.d5-saham{width:100%}
.d5-saham__unit{display:inline-block;margin:0 0 12px;padding:3px 10px;border-radius:999px;background:rgba(201,162,39,.18);color:var(--gold-light);font-size:12px;font-weight:800}
.d5-saham__chart{width:100%;background:#07110c;border-radius:12px;overflow:hidden;border:1px solid rgba(201,162,39,.35);min-height:420px}
.d5-saham__chart h3{margin:0;padding:10px 12px 8px;font-size:13px;color:var(--muted)}
.d5-saham__chart .tradingview-widget-container,
.d5-saham__chart .tradingview-widget-container__widget{width:100%;height:420px;min-height:420px}
.d5-saham__chart .tradingview-widget-container iframe{display:block;width:100%!important;height:420px!important;min-height:420px!important;border:0}
.d5-rtp{margin:18px 0 22px;padding:22px 16px 16px;border-radius:16px;background:linear-gradient(135deg,#0a110d 0%,#1b4332 52%,#c9a227 100%);color:#f4efe4}
.d5-rtp__head{text-align:center;margin:0 0 18px}
.d5-rtp__head h2{margin:0 0 6px;font-size:22px;color:#fff}
.d5-rtp__live{margin:0;font-size:13px;font-weight:700}
.d5-rtp__dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--gold-light);margin-right:6px;box-shadow:0 0 0 4px rgba(232,213,163,.2)}
.d5-rtp__stamp{margin:6px 0 0;color:var(--gold-light);font-size:12px;font-weight:700}
.d5-rtp__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.d5-rtp__card{background:rgba(5,9,16,.72);border:1px solid rgba(253,230,138,.28);border-radius:12px;padding:14px 12px 12px}
.d5-rtp__card.is-today{box-shadow:0 0 0 1px var(--gold-light),0 10px 24px rgba(0,0,0,.28)}
.d5-rtp__card h3{margin:0 0 6px;font-size:13px;color:var(--muted)}
.d5-rtp__pct{margin:0 0 8px;font-size:26px;font-weight:800;color:#fff}
.d5-rtp__bar{height:6px;border-radius:999px;background:rgba(255,255,255,.14);overflow:hidden;margin-bottom:8px}
.d5-rtp__bar span{display:block;height:100%;width:90%;background:linear-gradient(90deg,#143528,#2d6a4f,#c9a227)}
.d5-rtp__tag{margin:0;font-size:12px;color:var(--muted)}
.d5-rtp__note{margin:14px 0 0;font-size:12px;color:#fff6d6;text-align:center}
@media (max-width:900px){.d5-rtp__grid{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.d5-rtp__grid{grid-template-columns:1fr}.d5-rtp__pct{font-size:22px}}

.rtp-live-widget {
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(135deg, #0a110d 0%, #1b4332 52%, #c9a227 100%);
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 18px;
  padding: 22px 18px 16px;
  margin: 0 0 22px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.18);
}
.rtp-live-widget__title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--gold-light);
  text-transform: uppercase;
}
.rtp-live-widget__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0a110d;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
  border: 1px solid rgba(201, 162, 39, 0.35);
}
.rtp-live-widget__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 8px var(--gold);
  animation: rtpLivePulse 1.4s ease-in-out infinite;
}
@keyframes rtpLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}
.rtp-live-widget__meta {
  margin: 0 0 18px;
  font-size: 13px;
  color: #f4efe4;
  text-align: center;
}
.rtp-live-widget__meta span { color: var(--gold-light); font-weight: 800; }
.rtp-live-widget__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.rtp-live-widget__card {
  background: rgba(10, 17, 13, 0.82);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 12px;
  padding: 14px 10px 12px;
  color: #f4efe4;
}
.rtp-live-widget__card.is-today {
  box-shadow: 0 0 0 2px var(--gold-light), 0 0 16px rgba(201, 162, 39, 0.45);
}
.rtp-live-widget__day {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
  color: var(--gold-light);
}
.rtp-live-widget__pct {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 10px;
}
.rtp-live-widget__bar {
  height: 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  margin: 0 6px 10px;
}
.rtp-live-widget__bar span {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #143528, #2d6a4f, #c9a227);
  box-shadow: 0 0 8px rgba(201, 162, 39, 0.45);
}
.rtp-live-widget__label { font-size: 11px; color: var(--muted); }
.rtp-live-widget__note {
  margin: 14px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: #fff6d6;
  text-align: center;
}
@media (max-width: 768px) {
  .rtp-live-widget__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rtp-live-widget__title { font-size: 18px; }
  .rtp-live-widget__pct { font-size: 22px; }
}

.seo-lang{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:14px 0 8px}
.seo-lang__label{font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;opacity:.75}
.seo-lang__btns{display:flex;flex-wrap:wrap;gap:8px}
.seo-lang__btn{display:inline-flex;align-items:center;gap:8px;margin:0;padding:6px 12px;border-radius:999px;border:1px solid currentColor;background:transparent;color:inherit;font:inherit;font-size:12px;font-weight:800;line-height:1;cursor:pointer;text-decoration:none}
.seo-lang__btn[aria-selected="true"]{background:rgba(255,255,255,.14);box-shadow:0 0 0 1px currentColor}
.seo-lang__flag{display:block;width:22px;height:15px;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.25);flex:0 0 auto}
.lang-switch-mc,.switcher-language{display:none!important}

.footer-bottom{flex-direction:column;align-items:center;text-align:center}
.footer-bottom .seo-lang{margin:4px 0;color:var(--muted);justify-content:center}
.footer-bottom .seo-lang__btn{color:var(--text);border-color:var(--gold)}
.footer-bottom .seo-lang__btn[aria-selected="true"]{background:rgba(201,162,39,.16)}

/* APK listing card — from KOD pragmatic, DIGI555 / green-gold */
.apk-listing,.apk-listing *{box-sizing:border-box}
.apk-listing{
  margin:18px 0 8px;
  padding:18px 18px 0;
  background:#fff8ef;
  border:1px solid rgba(201,162,39,.42);
  border-radius:12px;
  box-shadow:0 8px 24px rgba(10,17,13,.28);
}
.apk-listing__top{display:flex;align-items:center;gap:16px}
.apk-listing__icon-link{flex:0 0 auto;line-height:0}
.apk-listing__icon{
  width:72px;height:72px;display:block;
  object-fit:cover;object-position:center;
  border-radius:16px;
  box-shadow:0 2px 8px rgba(10,17,13,.18);
  background:#143528;
}
.apk-listing__info{flex:1 1 auto;min-width:0}
.apk-listing__name{
  display:block;margin:0 0 4px;
  color:#0a110d;font-size:20px;line-height:1.25;font-weight:800;text-decoration:none;
}
.apk-listing__name:hover{color:#143528;text-decoration:underline}
.apk-listing__dev,.article-box p.apk-listing__ver{
  margin:0;line-height:1.35;color:#6b7269;text-align:left;
}
.apk-listing__dev{display:inline-block;font-size:13px;font-weight:700;letter-spacing:.02em;text-decoration:none;color:#2d6a4f}
.apk-listing__dev:hover{color:#c9a227;text-decoration:underline}
.article-box p.apk-listing__ver{margin-top:3px;font-size:12px;font-weight:400;color:#8a8f86}
.apk-listing__cta{flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.apk-listing__download,.apk-listing__download:visited{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-width:210px;padding:11px 16px;border-radius:6px;
  background:linear-gradient(180deg,#2d6a4f,#143528);
  border:1px solid var(--gold);
  color:#f4efe4;font-size:14px;font-weight:700;line-height:1;
  text-decoration:none;white-space:nowrap;
  box-shadow:0 4px 14px rgba(201,162,39,.22);
}
.apk-listing__download:hover{background:linear-gradient(180deg,#3a7d5c,#1b4332);color:#fff8ef;text-decoration:none}
.apk-listing__download svg{width:18px;height:18px;flex:0 0 auto}
.apk-listing__stats{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  margin-top:16px;padding:12px 0 14px;border-top:1px solid rgba(201,162,39,.28);
}
.apk-listing__stat{padding:0 10px;text-align:center;border-left:1px solid rgba(20,53,40,.12)}
.apk-listing__stat:first-child{border-left:0}
.apk-listing__stat strong{
  display:flex;align-items:center;justify-content:center;gap:4px;
  margin:0;color:#143528;font-size:15px;line-height:1.2;font-weight:700;
}
.apk-listing__stat span{display:block;margin-top:4px;color:#8a8f86;font-size:12px;line-height:1.3}
.apk-listing__star{color:#c9a227;font-size:13px}
.apk-listing__esrb{font-family:Georgia,"Times New Roman",serif;font-size:22px;font-weight:800;line-height:1;letter-spacing:-.04em;color:#0a110d}
.apk-extra{margin-top:8px;padding-top:8px}
.article-box h3.apk-extra__title{
  margin:0 0 14px;padding:0;border:0;
  color:var(--gold-light);font-size:20px;line-height:1.3;font-weight:800;
}
.apk-extra__grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid rgba(201,162,39,.28);margin:0 0 28px}
.apk-extra__cell{padding:13px 16px 13px 0;border-bottom:1px solid rgba(201,162,39,.22);border-right:1px solid rgba(201,162,39,.22)}
.apk-extra__cell:nth-child(2n){padding-left:18px;border-right:0}
.apk-extra__label{display:block;margin:0 0 4px;color:#dce8d8;font-size:14px;line-height:1.4;font-weight:600}
.apk-extra__value,.apk-extra a.apk-extra__value{
  display:inline-flex;align-items:center;gap:6px;margin:0;
  color:var(--muted);font-size:14px;line-height:1.4;font-weight:400;text-align:left;
}
.apk-extra__value--ver svg{width:14px;height:14px;color:var(--gold);flex:0 0 auto}
.apk-extra a.apk-extra__link{color:var(--gold-light);text-decoration:none}
.apk-extra a.apk-extra__link:hover{color:var(--gold);text-decoration:underline}
.article-box p.apk-extra__updated{margin:0 0 10px;color:var(--gold-light);font-size:15px;line-height:1.5;font-weight:700;text-align:left}
.apk-extra ul.apk-extra__notes{margin:0;padding:0;list-style:none}
.apk-extra ul.apk-extra__notes li{margin:0 0 2px;padding:0;color:var(--muted);font-size:14.5px;line-height:1.7;list-style:none}
@media (max-width:768px){
  .apk-listing{padding:14px 12px 0}
  .apk-listing__top{flex-wrap:wrap}
  .apk-listing__icon{width:60px;height:60px;border-radius:14px}
  .apk-listing__name{font-size:17px}
  .apk-listing__cta{width:100%;align-items:stretch}
  .apk-listing__download{min-width:0;width:100%}
  .apk-listing__stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 0}
  .apk-listing__stat:nth-child(odd){border-left:0}
  .apk-listing__stat:nth-child(n+3){padding-top:10px;border-top:1px solid rgba(201,162,39,.28)}
  .apk-extra{margin-top:20px}
  .article-box h3.apk-extra__title{margin:22px 0 12px;font-size:18px}
  .apk-extra__grid{grid-template-columns:1fr}
  .apk-extra__cell{padding:12px 0;border-right:0;border-bottom:1px solid rgba(201,162,39,.22)}
  .apk-extra__cell:nth-child(2n){padding-left:0}
}
