/*
Theme Name: Ringbet88 Press
Theme URI: https://www.ringbet-88.com/
Author: Tim Redaksi Ringbet88
Author URI: https://www.ringbet-88.com/
Description: Tema portal informasi slot Ringbet88 — ringan, cepat, dan ramah SEO dengan gaya biru-merah-emas.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ringbet88-press
Tags: dark, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

:root {
  --bg: #070d1d;
  --bg2: #0b1530;
  --bg3: #101d42;
  --bg4: #16254e;
  --line: #1e2d59;
  --line2: #2a3c6e;
  --gold: #ffc832;
  --gold2: #ff9d00;
  --goldsoft: #ffdd7a;
  --red: #e6394b;
  --red2: #c1121f;
  --text: #e9eefb;
  --muted: #94a3c7;
  --white: #ffffff;
  --radius: 12px;
  --radius-s: 8px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
  --grad-gold: linear-gradient(135deg, #ffd24d 0%, #ffb400 45%, #ff8a00 100%);
  --grad-red: linear-gradient(135deg, #ff4d5e 0%, #e6394b 55%, #c1121f 100%);
  --max: 1200px;
}

/* ============ Base ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Kanit', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text);
  background:
    radial-gradient(900px 420px at 85% -140px, rgba(230, 57, 75, .16), transparent 65%),
    radial-gradient(1000px 500px at 8% -180px, rgba(28, 70, 160, .28), transparent 60%),
    var(--bg);
  overflow-x: hidden;
  max-width: 100%;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--goldsoft); }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: 1.9rem; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.1em; }
li { margin-bottom: .4em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .95rem; }
th, td { padding: .6rem .8rem; border: 1px solid var(--line); text-align: left; }
th { background: var(--bg4); color: var(--goldsoft); font-weight: 600; }
td { background: rgba(16, 29, 66, .5); }
/* Scrollable tables on narrow screens (prevents horizontal page overflow) */
@media (max-width: 760px) {
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
}
.entry-content table td, .entry-content table th { overflow-wrap: break-word; min-width: 4.5rem; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .72rem 1.7rem; border-radius: var(--radius-s);
  font-weight: 700; font-size: 1rem; letter-spacing: .3px;
  border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-gold { background: var(--grad-gold); color: #22150a !important; box-shadow: 0 6px 18px rgba(255, 170, 0, .35); }
.btn-red { background: var(--grad-red); color: #fff !important; box-shadow: 0 6px 18px rgba(230, 57, 75, .35); }
.btn-ghost { background: transparent; color: var(--gold) !important; border: 2px solid var(--gold); box-shadow: none; }
.btn-lg { padding: .95rem 2.3rem; font-size: 1.08rem; }

/* ============ Topbar ============ */
.topbar { background: linear-gradient(90deg, #131f45, #1a1230 60%, #2a1020); border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 12px; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-item .dot { width: 7px; height: 7px; border-radius: 50%; background: #37d67a; box-shadow: 0 0 8px #37d67a; }
.topbar a { color: var(--gold); }
.tb-hide { display: none; }
@media (min-width: 640px) { .tb-hide { display: inline-flex; } }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(8, 14, 32, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-stuck { box-shadow: 0 8px 26px rgba(0, 0, 0, .5); }
.hd { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.custom-logo-link img, .site-logo img { width: 178px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: .5rem .9rem; border-radius: var(--radius-s);
  color: var(--text); font-weight: 500; font-size: .98rem;
}
.main-nav a:hover { background: var(--bg3); color: var(--gold); }
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { color: var(--gold); background: var(--bg3); }
.hd-cta { display: flex; gap: 10px; align-items: center; }
.hd-cta .btn { padding: .5rem 1.15rem; font-size: .9rem; }
.nav-toggle { display: none; margin-left: auto; background: 0; border: 0; color: var(--gold); padding: 8px; cursor: pointer; }
.nav-toggle svg { display: block; width: 28px; height: 28px; }
@media (max-width: 1024px) {
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg2); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 12px 20px 18px; max-height: 75vh; overflow: auto;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: .7rem 1rem; font-size: 1.02rem; }
  .nav-toggle { display: block; }
  .hd-cta .btn-ghost { display: none; }
}

/* ============ Hero slider ============ */
.hero { position: relative; overflow: hidden; }
.hero-slider { position: relative; aspect-ratio: 1920 / 613; max-height: 520px; background: var(--bg2); }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; pointer-events: none;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 13, 29, .05) 40%, rgba(7, 13, 29, .88) 100%);
}
.hero-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.hero-dots button {
  width: 11px; height: 11px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .35); transition: all .2s;
}
.hero-dots button.is-active { background: var(--gold); box-shadow: 0 0 10px var(--gold); transform: scale(1.15); }
.hero-strip { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-strip .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding-top: 12px; padding-bottom: 12px; }
.hero-strip span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; font-weight: 500; }
.hero-strip svg { width: 17px; height: 17px; color: var(--gold); flex: none; }

/* ============ Sections ============ */
.section { padding: 46px 0 10px; }
.sec-head { text-align: center; margin-bottom: 28px; }
.sec-kicker {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 6px;
}
.sec-head h2 { font-size: 1.7rem; margin: 0 0 6px; }
.sec-head p { color: var(--muted); max-width: 640px; margin: 0 auto; font-size: .98rem; }
.goldline { width: 74px; height: 4px; border-radius: 4px; background: var(--grad-gold); margin: 10px auto 0; }

/* Feature cards */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat {
  background: linear-gradient(180deg, var(--bg3), var(--bg2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; text-align: center; transition: border-color .2s, transform .2s;
}
.feat:hover { border-color: var(--gold); transform: translateY(-4px); }
.feat-ico {
  width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 25%, rgba(255, 200, 50, .25), rgba(255, 157, 0, .08));
  border: 1px solid rgba(255, 200, 50, .45);
}
.feat-ico svg { width: 26px; height: 26px; color: var(--gold); }
.feat h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: .88rem; margin: 0; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .feat-grid { grid-template-columns: 1fr; } }

/* Game grid */
.game-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.game-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg3);
  display: block; color: var(--text);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.game-card:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 12px 26px rgba(0, 0, 0, .5); color: var(--text); }
.game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.game-name {
  display: block; padding: 8px 6px 9px; text-align: center;
  font-size: .8rem; font-weight: 600; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.badge-hot {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  background: var(--grad-red); color: #fff; font-size: .62rem; font-weight: 700;
  letter-spacing: 1px; padding: 3px 8px; border-radius: 5px; text-transform: uppercase;
}
@media (max-width: 1024px) { .game-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .game-grid { grid-template-columns: repeat(3, 1fr); } }

/* Providers */
.prov-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 12px; }
.prov-card {
  background: var(--bg3); border: 1px solid var(--line); border-radius: var(--radius-s);
  padding: 13px 8px; display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, transform .2s;
}
.prov-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.prov-card img { max-height: 34px; width: auto; object-fit: contain; filter: saturate(1.05); }
@media (max-width: 1024px) { .prov-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 480px) { .prov-grid { grid-template-columns: repeat(3, 1fr); } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; background: var(--bg2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 22px 22px;
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: -16px; left: 20px;
  font-size: 1.5rem; font-weight: 800; color: #241403;
  background: var(--grad-gold); border-radius: 8px; padding: 2px 12px;
  box-shadow: 0 6px 14px rgba(255, 170, 0, .4);
}
.step h3 { margin-top: 8px; font-size: 1.08rem; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* Why list */
.why-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: center; }
.why-item { display: flex; gap: 14px; margin-bottom: 20px; }
.why-ico {
  flex: none; width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 200, 50, .1); border: 1px solid rgba(255, 200, 50, .35);
}
.why-ico svg { width: 22px; height: 22px; color: var(--gold); }
.why-item h3 { font-size: 1.02rem; margin-bottom: 4px; }
.why-item p { margin: 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) { .why-wrap { grid-template-columns: 1fr; } }

/* CTA banner */
.cta-banner {
  position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(600px 260px at 50% -60px, rgba(255, 200, 50, .25), transparent 70%),
    linear-gradient(135deg, #14224a, #1c1030 65%, #33121f);
  border: 1px solid var(--line2); border-radius: 16px;
  padding: 40px 26px; margin: 10px 0 40px;
}
.cta-banner h2 { font-size: 1.6rem; margin-bottom: 8px; }
.cta-banner p { color: var(--muted); max-width: 560px; margin: 0 auto 20px; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius-s);
  margin-bottom: 12px; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 15px 18px;
  font-weight: 600; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; font-weight: 600; line-height: 1; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-body { padding: 14px 18px 16px; color: var(--muted); font-size: .95rem; }
.faq-body p { margin: 0; }

/* Payment strip */
.pay-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.pay-strip img { height: 30px; width: auto; }

/* ============ Post cards ============ */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card {
  background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.post-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.pc-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg3); }
.pc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.post-card:hover .pc-thumb img { transform: scale(1.06); }
.pc-cat {
  position: absolute; top: 10px; left: 10px;
  background: var(--grad-red); color: #fff; font-size: .68rem; font-weight: 700;
  letter-spacing: .6px; padding: 4px 10px; border-radius: 5px; text-transform: uppercase;
}
.pc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.pc-body h3 { font-size: 1.05rem; margin-bottom: 8px; line-height: 1.4; }
.pc-body h3 a { color: var(--text); }
.pc-body h3 a:hover { color: var(--gold); }
.pc-excerpt { color: var(--muted); font-size: .9rem; margin: 0 0 12px; flex: 1; }
.pc-meta { display: flex; gap: 14px; font-size: .78rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .card-grid { grid-template-columns: 1fr; } }

/* ============ Page / single ============ */
.page-hero {
  background:
    radial-gradient(700px 240px at 12% -40px, rgba(255, 200, 50, .14), transparent 65%),
    linear-gradient(180deg, var(--bg2), var(--bg));
  border-bottom: 1px solid var(--line); padding: 30px 0 26px;
}
.page-hero h1 { margin: 4px 0 8px; }
.page-hero .meta-row { color: var(--muted); font-size: .85rem; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.layout { max-width: 860px; margin: 0 auto; padding: 30px 20px 50px; }
.layout-wide { max-width: 1080px; }
.breadcrumbs { font-size: .82rem; color: var(--muted); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs .sep { color: var(--line2); }

/* Entry content typography */
.entry-content { font-size: 1.02rem; }
.entry-content h2 {
  margin: 1.6em 0 .6em; font-size: 1.35rem; color: var(--goldsoft);
  padding-left: 14px; border-left: 4px solid var(--gold);
}
.entry-content h3 { margin: 1.3em 0 .5em; color: var(--text); }
.entry-content a { text-decoration: underline; text-decoration-color: rgba(255, 200, 50, .5); text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { color: var(--muted); }
.entry-content strong { color: var(--goldsoft); }
.entry-content table { box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.entry-content img { border-radius: var(--radius-s); margin: 6px auto 14px; }
.img-frame { background: var(--bg3); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; margin: 18px 0; }
.img-frame img { margin: 0 auto; }
.img-frame figcaption { text-align: center; color: var(--muted); font-size: .84rem; margin-top: 8px; }

/* Featured float box on single */
.single-feat {
  float: right; width: 230px; margin: 4px 0 14px 20px;
  background: var(--bg3); border: 1px solid var(--line2); border-radius: var(--radius); padding: 10px;
}
.single-feat img { border-radius: 8px; width: 100%; }
.single-feat .cap { text-align: center; font-size: .78rem; color: var(--muted); margin-top: 8px; }
@media (max-width: 640px) { .single-feat { float: none; width: 220px; margin: 0 auto 18px; } }

/* CTA box */
.cta-box {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  background:
    radial-gradient(300px 120px at 90% -20px, rgba(255, 200, 50, .22), transparent 70%),
    linear-gradient(120deg, #17244d, #241534);
  border: 1px solid var(--line2); border-radius: var(--radius);
  padding: 18px 22px; margin: 6px 0 26px;
}
.cta-box p { margin: 0; font-weight: 600; }
.cta-box .btns { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 620px) { .cta-box { flex-direction: column; text-align: center; } .cta-box .btns { justify-content: center; } }

/* Related */
.related { margin-top: 44px; }
.related h2 { font-size: 1.3rem; margin-bottom: 18px; }
.post-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 34px; }
.post-nav a {
  flex: 1; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius-s);
  padding: 12px 16px; font-size: .88rem; color: var(--muted);
}
.post-nav a:hover { border-color: var(--gold); color: var(--text); }
.post-nav .next { text-align: right; }

/* Author box */
.author-box {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; margin-top: 34px;
}
.author-box .ava { flex: none; width: 58px; height: 58px; border-radius: 50%; background: var(--grad-gold); display: flex; align-items: center; justify-content: center; font-weight: 800; color: #241403; font-size: 1.4rem; }
.author-box .role { color: var(--gold); font-size: .8rem; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; }
.author-box p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }

/* Archive hero */
.archive-hero {
  background: linear-gradient(180deg, var(--bg2), var(--bg));
  border-bottom: 1px solid var(--line); padding: 34px 0;
}
.archive-hero .count { color: var(--gold); font-size: .85rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.archive-hero p { color: var(--muted); max-width: 720px; margin: 8px 0 0; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin: 36px 0 10px; }
.pagination .page-numbers {
  min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 8px; color: var(--text); padding: 0 12px;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--grad-gold); color: #241403; border-color: transparent; font-weight: 700; }

/* Search form */
.search-form { display: flex; max-width: 460px; margin: 0 auto; }
.search-form input[type="search"] {
  flex: 1; padding: .8rem 1rem; border-radius: 8px 0 0 8px; border: 1px solid var(--line2);
  background: var(--bg3); color: var(--text); font-family: inherit; font-size: .95rem; outline: none;
}
.search-form input[type="search"]:focus { border-color: var(--gold); }
.search-form button { border-radius: 0 8px 8px 0; }

/* 404 */
.error-404 { text-align: center; padding: 70px 20px 90px; }
.error-404 .code {
  font-size: 6.2rem; font-weight: 800; line-height: 1;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 22px rgba(255, 170, 0, .3));
}
.error-404 h1 { font-size: 1.5rem; margin: 10px 0 8px; }
.error-404 p { color: var(--muted); }
.links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 760px; margin: 26px auto 34px; }
.links-grid a {
  background: var(--bg2); border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 10px; font-size: .9rem; color: var(--text);
}
.links-grid a:hover { border-color: var(--gold); color: var(--gold); }
@media (max-width: 620px) { .links-grid { grid-template-columns: repeat(2, 1fr); } }

/* Portal (masuk) page */
.portal { text-align: center; max-width: 620px; margin: 0 auto; padding: 54px 20px 70px; }
.portal .shield {
  width: 86px; height: 86px; margin: 0 auto 18px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255, 200, 50, .3), rgba(255, 157, 0, .08));
  border: 1px solid rgba(255, 200, 50, .5); display: flex; align-items: center; justify-content: center;
}
.portal .shield svg { width: 40px; height: 40px; color: var(--gold); }
.portal .btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 24px 0; }
.portal .note { color: var(--muted); font-size: .86rem; max-width: 470px; margin: 0 auto; }
.portal .count { color: var(--gold); font-weight: 800; font-size: 1.15rem; }

/* ============ Footer ============ */
.site-footer { margin-top: 30px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg2), #060b18); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 30px; padding: 42px 0 26px; }
.foot-col h3 { font-size: 1rem; color: var(--goldsoft); letter-spacing: .5px; margin-bottom: 14px; }
.foot-col .logo img { width: 175px; margin-bottom: 14px; }
.foot-col p { color: var(--muted); font-size: .9rem; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col ul li { margin-bottom: 9px; }
.foot-col ul a { color: var(--muted); font-size: .92rem; }
.foot-col ul a:hover { color: var(--gold); }
.foot-contact li { display: flex; gap: 9px; align-items: flex-start; color: var(--muted); font-size: .92rem; }
.foot-contact svg { width: 17px; height: 17px; color: var(--gold); flex: none; margin-top: 4px; }
.foot-pay { border-top: 1px solid var(--line); padding: 20px 0; }
.foot-pay .label { text-align: center; color: var(--muted); font-size: .78rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.foot-badges { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 16px; }
.foot-badges img { height: 38px; width: auto; opacity: .9; }
.foot-bottom { border-top: 1px solid var(--line); padding: 16px 0 22px; text-align: center; color: var(--muted); font-size: .82rem; }
.foot-bottom .disc { max-width: 840px; margin: 8px auto 0; font-size: .74rem; color: #6b7aa0; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* Back to top */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 800;
  width: 44px; height: 44px; border-radius: 10px; border: 0; cursor: pointer;
  background: var(--grad-gold); color: #241403; font-size: 1.2rem; font-weight: 800;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; box-shadow: 0 8px 20px rgba(0, 0, 0, .45);
}
.to-top.is-show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }

/* WP core alignments */
.alignleft { float: left; margin: 6px 18px 10px 0; }
.alignright { float: right; margin: 6px 0 10px 18px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.sticky { border-color: var(--gold); }
