/* ===== CM8 Gaming Indonesia — Stylesheet =====
   Theme: dark premium with gold accents
   Mobile-first responsive design
*/

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #0b0c10;
  color: #e6e8ed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }

/* Theme tokens */
:root {
  --bg: #0b0c10;
  --bg-2: #111319;
  --bg-3: #161922;
  --surface: #14171f;
  --surface-2: #1a1e29;
  --border: rgba(212, 175, 55, 0.12);
  --border-strong: rgba(212, 175, 55, 0.28);
  --text: #e6e8ed;
  --muted: #9aa0aa;
  --gold: #d4af37;
  --gold-2: #f0c75e;
  --gold-soft: rgba(212, 175, 55, 0.12);
  --max-w: 1200px;
  --radius: 16px;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}
.container.narrow { max-width: 880px; }

.muted { color: var(--muted); }
.small { font-size: .9rem; }
.gold { color: var(--gold); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .75rem;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 12px;
}

/* ===== Header / Navbar ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 12, 16, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled {
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  background: rgba(11, 12, 16, 0.95);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; letter-spacing: .02em;
}
.logo-mark {
  display: block;
  width: 40px; height: 40px;
  object-fit: contain;
}
.logo-text { font-size: 1rem; }

.primary-nav ul {
  display: flex; gap: 28px; list-style: none; margin: 0; padding: 0;
}
.primary-nav a {
  font-size: .95rem; color: #c8ccd4; font-weight: 500;
  position: relative; padding: 6px 0;
}
.primary-nav a:hover { color: var(--gold); }
.primary-nav a.active { color: var(--gold); }
.primary-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--gold); border-radius: 2px;
}

.menu-toggle {
  display: none;
  background: transparent; border: 1px solid var(--border-strong);
  width: 42px; height: 42px; border-radius: 10px;
  cursor: pointer; padding: 0;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.menu-toggle span {
  display: block; width: 18px; height: 2px;
  background: var(--gold); border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1500;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.4);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 75% 10%, rgba(212,175,55,0.12), transparent 60%),
    radial-gradient(45% 45% at 15% 80%, rgba(99, 102, 241, 0.10), transparent 60%),
    linear-gradient(180deg, #0b0c10, #0b0c10);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(212,175,55,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-inner {
  text-align: center;
  max-width: 880px;
  animation: fadeUp .8s ease both;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw + 1rem, 4rem);
  line-height: 1.1;
  margin: 0 0 24px;
  font-weight: 700;
}
.hero .lead {
  font-size: clamp(1rem, 1.2vw + .8rem, 1.2rem);
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 36px;
}
.hero-cta { display: flex; justify-content: center; gap: 12px; }
.hero-stats {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
  margin-top: 56px;
}
.hero-stats > div {
  display: flex; flex-direction: column; align-items: center;
}
.hero-stats strong {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; color: var(--gold);
}
.hero-stats span { font-size: .85rem; color: var(--muted); }

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-2); }
.section-head {
  text-align: center; max-width: 720px; margin: 0 auto 56px;
}
.section-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 2.5vw + .8rem, 2.5rem);
  margin: 0 0 14px; line-height: 1.2; font-weight: 700;
}
.section-head p { margin: 0; }

/* ===== Grids ===== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }

@media (min-width: 700px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ===== Cards ===== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.card-thumb {
  aspect-ratio: 16 / 9;
  position: relative;
  background: linear-gradient(135deg, #1a1e29, #2a2f3d);
  overflow: hidden;
}
.card-thumb > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.card:hover .card-thumb > img { transform: scale(1.05); }
.card-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,12,16,0) 40%, rgba(11,12,16,0.65) 100%);
  pointer-events: none;
}
/* Distinct gradient placeholders */
.thumb-1 { background: linear-gradient(135deg, #2a1f0a, #d4af37); }
.thumb-2 { background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460); }
.thumb-3 { background: linear-gradient(135deg, #0a1f2a, #2d8b8b); }
.thumb-r1 { background: linear-gradient(135deg, #3a2a1a, #d4af37, #1a1a2e); }
.thumb-r2 { background: linear-gradient(135deg, #1a2e1a, #4a8b6f); }
.thumb-r3 { background: linear-gradient(135deg, #2e1a3a, #8b4a8b); }
.thumb-n1 { background: linear-gradient(135deg, #2a1a1a, #8b4a4a); }
.thumb-n2 { background: linear-gradient(135deg, #1a2a2a, #4a8b8b); }
.thumb-n3 { background: linear-gradient(135deg, #2a2a1a, #8b8b4a); }
.thumb-art { background: linear-gradient(135deg, #1a1a2e, #d4af37); }

.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.card-body h3 {
  margin: 4px 0 4px;
  font-size: 1.15rem; line-height: 1.35; font-weight: 600;
}
.card-body p { margin: 0; color: var(--muted); font-size: .95rem; }
.card-link {
  margin-top: auto;
  color: var(--gold); font-weight: 600; font-size: .9rem;
  display: inline-block; padding-top: 8px;
}
.card-link:hover { color: var(--gold-2); }

.tag {
  display: inline-block;
  padding: 4px 10px; border-radius: 999px;
  background: var(--gold-soft); color: var(--gold);
  font-size: .72rem; text-transform: uppercase; letter-spacing: .12em;
  font-weight: 600;
  align-self: flex-start;
}
.tag-news { background: rgba(99, 102, 241, 0.15); color: #8b8fff; }

.rating { color: var(--gold); letter-spacing: 2px; font-size: .95rem; }

/* ===== Chips ===== */
.chip-grid {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.chip {
  padding: 10px 22px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: .9rem;
  background: var(--surface);
  transition: all .2s ease;
  cursor: default;
}
.chip:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ===== Game spotlight grid ===== */
.game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 640px) { .game-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .game-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .game-grid { grid-template-columns: repeat(6, 1fr); } }

.game-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 14px 30px rgba(212, 175, 55, 0.18);
}
.game-thumb {
  aspect-ratio: 1 / 1;
  background: #0e1118;
  overflow: hidden;
}
.game-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.game-card:hover .game-thumb img { transform: scale(1.06); }
.game-meta { padding: 12px 14px 16px; }
.game-meta h3 {
  margin: 0 0 4px;
  font-size: .92rem; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.game-meta .provider {
  margin: 0; font-size: .75rem; color: var(--muted);
}

/* Make the review-card thumbnail (provider logo) actually fill the area */
.review-card .card-thumb { background: #0e1118; padding: 0; }
.review-card .card-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.review-card .card-thumb::after { display: none; }

/* ===== Category pills ===== */
.cat-row {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-bottom: 36px;
}
.cat-pill {
  padding: 10px 22px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: .88rem;
  background: var(--surface);
  color: var(--text);
  font-weight: 500;
}
.cat-pill-active {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1500;
  border-color: var(--gold);
}

/* ===== Provider tiles ===== */
.provider-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 640px) { .provider-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .provider-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .provider-grid { grid-template-columns: repeat(6, 1fr); } }

.provider-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: all .25s ease;
}
.provider-tile:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.15);
}
.provider-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: #0e1118;
}
.provider-tile span {
  font-size: .82rem;
  color: var(--muted);
  text-align: center;
}

/* ===== Tips ===== */
.tip {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .3s ease;
}
.tip:hover { border-color: var(--border-strong); }
.tip-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; color: var(--gold); font-weight: 700;
  line-height: 1;
}
.tip h3 { margin: 0 0 6px; font-size: 1.05rem; }
.tip p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ===== FAQ ===== */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .3s ease;
}
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.4rem; line-height: 1;
  transition: transform .3s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq p {
  padding: 0 22px 20px;
  margin: 0;
  color: var(--muted);
}

/* ===== About ===== */
.about { text-align: center; }
.about p { font-size: 1.05rem; color: var(--muted); }

/* ===== Footer ===== */
.site-footer {
  background: #07080b;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  margin-top: 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
}
.logo-footer { margin-bottom: 12px; }
.site-footer h4 {
  margin: 0 0 14px;
  font-size: .85rem; text-transform: uppercase; letter-spacing: .15em;
  color: var(--gold);
}
.footer-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
  color: var(--muted); font-size: .92rem;
}
.footer-list a:hover { color: var(--gold); }
.disclaimer {
  padding-top: 24px;
  font-size: .85rem; color: var(--muted);
}
.disclaimer p { margin: 6px 0; }
.copyright { text-align: center; margin-top: 16px !important; }

/* ===== Blog page ===== */
.page-head {
  padding: 80px 0 40px;
  text-align: center;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.page-head h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw + 1rem, 3rem);
  margin: 12px 0 16px;
}
.page-head p { color: var(--muted); max-width: 640px; margin: 0 auto; }

/* ===== Article page ===== */
.article {
  padding: 60px 0 80px;
}
.article-hero {
  aspect-ratio: 21 / 9;
  background: #0e1118;
  border-radius: var(--radius);
  margin-bottom: 40px;
  overflow: hidden;
  position: relative;
}
.article-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.article-meta {
  display: flex; gap: 16px; align-items: center;
  color: var(--muted); font-size: .88rem; margin-bottom: 16px;
}
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.article h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw + 1rem, 2.8rem);
  line-height: 1.2;
  margin: 0 0 24px;
}
.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 32px 0;
}
.toc h3 {
  margin: 0 0 14px;
  font-size: .8rem; text-transform: uppercase; letter-spacing: .15em;
  color: var(--gold);
}
.toc ol { margin: 0; padding-left: 20px; color: var(--muted); }
.toc li { padding: 4px 0; }
.toc a:hover { color: var(--gold); }
.prose h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin: 48px 0 16px;
  padding-top: 8px;
}
.prose h3 {
  font-size: 1.2rem;
  margin: 28px 0 12px;
  color: var(--gold-2);
}
.prose p, .prose ul, .prose ol {
  color: #c8ccd4;
  font-size: 1.03rem;
  line-height: 1.8;
}
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }

/* ===== Animations ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}

/* ===== Mobile menu ===== */
@media (max-width: 880px) {
  .menu-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    background: rgba(11, 12, 16, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    transition: transform .35s ease;
    padding: 24px 20px 32px;
  }
  .primary-nav.open { transform: translateY(0); }
  .primary-nav ul {
    flex-direction: column;
    gap: 4px;
  }
  .primary-nav a {
    display: block;
    padding: 14px 8px;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }
  .primary-nav a.active::after { display: none; }
}

@media (max-width: 600px) {
  .hero { padding: 64px 0 56px; }
  .section { padding: 56px 0; }
  .hero-stats { gap: 28px; margin-top: 36px; }
  .hero-stats strong { font-size: 1.6rem; }
  .footer-grid { gap: 24px; }
}

/* ===== Telegram floating bubble ===== */
.tg-bubble {
  position: fixed;
  bottom: 28px; right: 24px; z-index: 1000;
  display: flex; align-items: center; gap: 10px;
  background: #229ED9;
  color: #fff;
  padding: 14px 20px 14px 16px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600; font-size: .9rem;
  box-shadow: 0 6px 24px rgba(34,158,217,0.45);
  transition: transform .25s ease, box-shadow .25s ease, padding .25s ease;
  white-space: nowrap;
}
.tg-bubble:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 32px rgba(34,158,217,0.55);
}
.tg-bubble svg {
  width: 24px; height: 24px; flex-shrink: 0;
}
@media (max-width: 480px) {
  .tg-bubble { padding: 14px; border-radius: 50%; }
  .tg-label { display: none; }
}

/* ===== Platform description section ===== */
.platform-desc {
  max-width: 820px; margin: 0 auto;
  text-align: center;
}
.platform-desc p {
  color: var(--muted); line-height: 1.85; margin-bottom: 16px;
}
.platform-links {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; margin-top: 28px;
}
.platform-link {
  padding: 10px 22px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  font-size: .9rem; font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
}
.platform-link:hover {
  background: var(--gold);
  color: #1a1500;
}
.inline-link { color: var(--gold); text-decoration: underline; }

/* ===== Btn Ghost ===== */
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; border-radius: 50px;
  font-weight: 700; font-size: 1rem;
  border: 2px solid var(--gold);
  color: var(--gold); background: transparent;
  text-decoration: none;
  transition: all .25s ease;
}
.btn-ghost:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
}

/* ===== Guide article layout ===== */
.guide-article { max-width: 860px; margin: 0 auto; }

.guide-hero {
  aspect-ratio: 21 / 9;
  border-radius: var(--radius);
  overflow: hidden; margin-bottom: 40px;
  position: relative; background: #0e1118;
}
.guide-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}

.guide-body { font-size: 1.04rem; line-height: 1.85; }
.guide-intro {
  font-size: 1.08rem; color: var(--muted);
  border-left: 3px solid var(--gold);
  padding-left: 20px; margin-bottom: 36px;
}
.guide-body h2 {
  font-size: 1.4rem; margin: 40px 0 16px;
  color: var(--text); font-family: 'Playfair Display', serif;
}
.guide-body h3 {
  font-size: 1.05rem; font-weight: 700; margin: 0 0 6px;
}
.guide-body p { color: var(--muted); margin-bottom: 16px; }

/* ===== Step list ===== */
.step-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.step {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
}
.step-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1500;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-size: .95rem;
}

/* ===== FAQ list ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; cursor: pointer;
  font-weight: 600; font-size: 1rem;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { flex: 1; }
.faq-item summary::after {
  content: "+";
  color: var(--gold); font-size: 1.4rem; font-weight: 300;
  transition: transform .2s ease;
  margin-left: 12px;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 22px 20px; color: var(--muted); line-height: 1.8; }

/* ===== Guide CTA box ===== */
.guide-cta-box {
  background: linear-gradient(135deg, rgba(212,175,55,0.08), rgba(212,175,55,0.03));
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}
.guide-cta-box p {
  margin-bottom: 18px; font-size: 1rem; color: var(--muted);
}

/* ===== Guide nav links ===== */
.guide-nav-links {
  border-top: 1px solid var(--border);
  padding-top: 24px; margin-top: 16px;
}
.guide-nav-links p {
  font-size: .88rem; color: var(--muted); margin-bottom: 12px;
}
.guide-nav-links div { display: flex; flex-wrap: wrap; gap: 10px; }

/* ===== Hero CTA multi-button ===== */
.hero-cta {
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: center; margin-top: 32px;
}

/* ===== Telegram outline button ===== */
.btn-outline-tg {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 50px;
  font-weight: 700; font-size: 1rem;
  border: 2px solid #2AABEE;
  color: #2AABEE; background: transparent;
  text-decoration: none;
  transition: all .25s ease;
}
.btn-outline-tg:hover {
  background: rgba(42,171,238,0.12);
  transform: translateY(-2px);
}

/* ===== Hero sub/support/note text ===== */
.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 680px; margin: 0 auto 12px;
  line-height: 1.7;
}
.hero-support {
  font-size: .97rem;
  color: #6c7480;
  max-width: 640px; margin: 0 auto 0;
  line-height: 1.75;
}
.hero-note {
  margin-top: 20px;
  font-size: .82rem;
  color: #525a67;
  max-width: 560px; margin: 20px auto 0;
  padding: 10px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
}

/* ===== Feature Cards ===== */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.feature-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  text-decoration: none;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  cursor: pointer;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.fc-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.05));
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  color: var(--gold);
}
.fc-icon svg { width: 24px; height: 24px; }
.feature-card h3 {
  font-size: 1.05rem; font-weight: 700;
  color: var(--text); margin: 0 0 8px;
}
.feature-card p {
  font-size: .9rem; color: var(--muted);
  line-height: 1.6; flex: 1; margin: 0 0 18px;
}
.fc-link {
  font-size: .85rem; font-weight: 600;
  color: var(--gold);
  margin-top: auto;
}
.section-desc {
  color: var(--muted); max-width: 560px;
  margin: 8px auto 0; line-height: 1.7;
}

/* ===== Mobile UI improvements ===== */
@media (max-width: 880px) {
  .logo-mark { width: 46px; height: 46px; }
  .logo-text { font-size: 1.05rem; }
  .nav-wrap { height: 66px; }
  .primary-nav {
    position: fixed; top: 66px; left: 0; right: 0;
    background: rgba(11,12,16,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px 24px 32px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
    z-index: 99;
  }
  .primary-nav.open {
    transform: translateY(0);
    opacity: 1;
  }
  .primary-nav ul {
    flex-direction: column; gap: 0;
  }
  .primary-nav ul li a {
    display: block; padding: 14px 0;
    font-size: 1.05rem; font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--text);
  }
  .primary-nav ul li:last-child a { border-bottom: none; }
  .primary-nav ul li a.active { color: var(--gold); }
}

@media (max-width: 600px) {
  .hero { padding: 90px 0 70px; }
  .hero h1 { font-size: clamp(1.7rem, 6vw, 2.4rem); margin-bottom: 16px; }
  .hero-sub { font-size: 1rem; }
  .hero-support { font-size: .9rem; }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 28px;
  }
  .hero-cta .btn,
  .hero-cta .btn-ghost,
  .hero-cta .btn-outline-tg {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    justify-content: center;
  }
  .hero-note { font-size: .8rem; }
  .feature-cards { grid-template-columns: 1fr; gap: 14px; }
  .feature-card { padding: 22px 20px; }
  .platform-links { flex-direction: column; align-items: center; }
  .platform-link { width: 100%; text-align: center; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .hero-stats > div { min-width: 100px; }
  .guide-cta-box { padding: 22px 18px; }
  .step { flex-direction: row; }
  .faq-item summary { padding: 16px 18px; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 1.55rem; }
  .btn, .btn-ghost, .btn-outline-tg { padding: 14px 16px; font-size: .95rem; }
}

/* ===== Guide dual CTA buttons ===== */
.guide-cta-btns {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
}
@media (max-width: 480px) {
  .guide-cta-btns {
    flex-direction: column;
    align-items: stretch;
  }
  .guide-cta-btns .btn,
  .guide-cta-btns .btn-outline-tg {
    width: 100%; text-align: center; justify-content: center;
  }
}
