/*
Theme Name: CrazyTime Stats BD
Theme URI: https://crazytime-bd-stats.com
Description: Custom theme for Crazy Time Bangladesh stats & results site
Version: 1.1
Author: CEO Master
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #f5a623;
  --primary-dark: #d4891a;
  --secondary: #1a1a2e;
  --bg-dark: #0f0f1a;
  --bg-card: #16213e;
  --bg-card2: #1a1a35;
  --text: #e0e0e0;
  --text-muted: #999;
  --accent: #e94560;
  --green: #00c851;
  --border: #2a2a4a;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(0,0,0,0.4);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== HEADER ===== */
.site-header {
  background: var(--secondary);
  border-bottom: 2px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.site-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}
.site-logo span { color: #fff; }

/* Desktop nav */
.main-nav { display: flex; align-items: center; }
.main-nav ul { display: flex; list-style: none; gap: 2px; }
.main-nav a {
  color: var(--text);
  padding: 7px 11px;
  border-radius: 7px;
  font-weight: 500;
  font-size: 0.85rem;
  transition: background 0.15s;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--primary);
  color: #000;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  background: var(--secondary);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
}
.mobile-nav ul { list-style: none; }
.mobile-nav li { border-bottom: 1px solid var(--border); }
.mobile-nav a {
  display: block;
  padding: 12px 4px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
}
.mobile-nav a:active { color: var(--primary); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(160deg, var(--secondary) 0%, var(--bg-dark) 100%);
  padding: 40px 0 36px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.25;
}
.hero h1 .highlight { color: var(--primary); }

.hero p {
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 24px;
}

.hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn-primary { background: var(--primary); color: #000; }
.btn-primary:hover { background: var(--primary-dark); color: #000; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #000; }

.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ===== STATS SECTION ===== */
.stats-section { padding: 36px 0; }

.section-header { margin-bottom: 20px; }
.section-title { font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.section-subtitle { color: var(--text-muted); font-size: 0.9rem; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== RESULTS TABLE ===== */
.results-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
}

.results-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 300px;
}

.results-table-wrap th {
  background: var(--secondary);
  color: var(--primary);
  padding: 11px 12px;
  text-align: left;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.results-table-wrap td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.results-table-wrap tr:last-child td { border-bottom: none; }
.results-table-wrap tr:hover td { background: rgba(255,255,255,0.02); }

.badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
}
.badge-1  { background: #1e3a1e; color: #6ecf6e; }
.badge-2  { background: #3a1e1e; color: #e94560; }
.badge-5  { background: #1e2a3a; color: #4a9eff; }
.badge-10 { background: #3a2e1e; color: var(--primary); }
.badge-bonus { background: #2a1e3a; color: #b44eff; }

/* ===== CASINO SECTION ===== */
.casino-section {
  padding: 36px 0;
  background: var(--bg-card2);
}

.casino-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.casino-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  transition: border-color 0.15s;
}
.casino-card:hover { border-color: var(--primary); }

.casino-name { font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: 6px; }
.casino-rating { color: #f5a623; font-size: 1rem; margin-bottom: 8px; }
.casino-bonus { font-size: 0.85rem; color: var(--primary); font-weight: 600; margin-bottom: 16px; line-height: 1.4; }

/* ===== CONTENT ===== */
.content-section { padding: 40px 0; }

.content-section h2 {
  font-size: 1.3rem;
  color: #fff;
  margin: 28px 0 10px;
  border-left: 3px solid var(--primary);
  padding-left: 12px;
}
.content-section h2:first-child { margin-top: 0; }

.content-section p {
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.75;
  font-size: 0.95rem;
}

/* ===== LIVE DOT ===== */
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 5px;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--secondary);
  border-top: 1px solid var(--border);
  padding: 32px 0 20px;
  margin-top: 48px;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.footer-col h4 {
  color: var(--primary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 7px; }
.footer-col a { color: var(--text-muted); font-size: 0.85rem; }
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}
.footer-disclaimer {
  max-width: 680px;
  margin: 8px auto 0;
  font-size: 0.75rem;
  color: #555;
  line-height: 1.5;
}

/* ===== RESPONSIVE — TABLET ===== */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .casino-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* ===== RESPONSIVE — MOBILE ===== */
@media (max-width: 480px) {
  .container { padding: 0 12px; }

  .header-inner { height: 52px; }
  .site-logo { font-size: 1.1rem; }

  .hero { padding: 28px 0 24px; }
  .hero-cta { gap: 8px; }
  .hero-cta .btn { flex: 1; min-width: 130px; }

  .stats-section { padding: 24px 0; }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .stat-card { padding: 12px 8px; }
  .stat-value { font-size: 1.3rem; }
  .stat-label { font-size: 0.65rem; }

  .section-title { font-size: 1.2rem; }

  .results-table-wrap th,
  .results-table-wrap td { padding: 9px 10px; font-size: 0.85rem; }

  .casino-section { padding: 24px 0; }
  .casino-card { padding: 16px 12px; }

  .content-section { padding: 28px 0; }
  .content-section h2 { font-size: 1.15rem; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-col h4 { font-size: 0.75rem; }
  .footer-col a { font-size: 0.8rem; }

  .btn { padding: 11px 18px; font-size: 0.9rem; }
  .btn-lg { padding: 13px 22px; }
}

/* ===== TABLE OF CONTENTS ===== */
.toc-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 32px;
}
.toc-box h4 {
  color: var(--primary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.toc-box ol {
  margin: 0;
  padding-left: 20px;
}
.toc-box li { margin-bottom: 6px; }
.toc-box a { color: var(--text-muted); font-size: 0.9rem; }
.toc-box a:hover { color: var(--primary); }

/* ===== WIN CARDS ===== */
.wins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.win-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.win-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #e94560);
}
.win-card .win-player { font-weight: 700; color: #fff; margin-bottom: 4px; }
.win-card .win-city { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 12px; }
.win-card .win-bonus { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 6px; }
.win-card .win-mult { font-size: 1.8rem; font-weight: 800; color: var(--primary); line-height: 1; }
.win-card .win-amount { font-size: 0.85rem; color: #00c851; margin-top: 4px; }

/* ===== FEATURE GRID (icons + text) ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: border-color 0.15s;
}
.feature-item:hover { border-color: var(--primary); }
.feature-icon { font-size: 1.8rem; flex-shrink: 0; }
.feature-text h4 { color: #fff; font-size: 0.95rem; margin-bottom: 4px; }
.feature-text p { color: var(--text-muted); font-size: 0.83rem; line-height: 1.5; margin: 0; }

/* ===== CASINO COMPARISON TABLE ===== */
.casino-table-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.casino-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}
.casino-table th {
  background: var(--secondary);
  color: var(--primary);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.8rem;
  text-transform: uppercase;
}
.casino-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.casino-table tr:last-child td { border-bottom: none; }
.casino-table tr:hover td { background: rgba(255,255,255,0.02); }
.casino-table .rating { color: #f5a623; }
.casino-table .bonus-text { color: var(--primary); font-weight: 600; font-size: 0.85rem; }
.casino-table .play-btn {
  display: inline-block;
  background: var(--primary);
  color: #000;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 6px;
  white-space: nowrap;
}
.casino-table .play-btn:hover { background: var(--primary-dark); color: #000; }

/* ===== INFO CALLOUT BOX ===== */
.callout {
  background: var(--bg-card2);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 24px 0;
}
.callout p { color: var(--text); margin: 0; font-size: 0.95rem; }
.callout strong { color: var(--primary); }

/* ===== SEGMENT CHIPS ===== */
.seg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.seg-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
}
.chip-1  { background: #1e3a1e; color: #6ecf6e; }
.chip-2  { background: #3a1e1e; color: #e94560; }
.chip-5  { background: #1e2a3a; color: #4a9eff; }
.chip-10 { background: #3a2e1e; color: var(--primary); }
.chip-ch { background: #1e3a28; color: #00e676; }
.chip-pa { background: #2a1e3a; color: #b44eff; }
.chip-cf { background: #1e283a; color: #29b6f6; }
.chip-ct { background: #3a1e2a; color: #ff4081; }

/* ===== IMAGE-TEXT ALTERNATING ===== */
.img-text-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  margin: 32px 0;
}
.img-text-block.reverse { direction: rtl; }
.img-text-block.reverse > * { direction: ltr; }
.img-text-block img { border-radius: var(--radius); width: 100%; height: auto; }
.img-text-block .text-side h3 { color: #fff; font-size: 1.2rem; margin-bottom: 10px; }
.img-text-block .text-side p { color: var(--text-muted); line-height: 1.7; font-size: 0.95rem; }

/* ===== SECTION DIVIDER ===== */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 36px 0;
}

/* Mobile */
@media (max-width: 600px) {
  .wins-grid { grid-template-columns: 1fr 1fr; }
  .img-text-block { grid-template-columns: 1fr; }
  .img-text-block.reverse { direction: ltr; }
}

/* ===== FAQ ACCORDION ===== */
.faq-accordion { margin: 0 0 8px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 8px;
  transition: border-color 0.15s;
}
.faq-item.open { border-color: var(--primary); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  font-size: 0.95rem;
  gap: 12px;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.faq-question:hover { background: rgba(245,166,35,0.05); }
.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.2s, background 0.15s;
  color: var(--primary);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: #000;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.2s;
  padding: 0 20px;
}
.faq-answer.open {
  max-height: 400px;
  padding: 0 20px 16px;
}
.faq-answer p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

/* ===== BREATHING SPACE ===== */
.content-section .container > h2 { margin-top: 48px; }
.content-section .container > h2:first-child { margin-top: 0; }

.section-divider { margin: 44px 0; }

/* Больше воздуха в feature-item */
.feature-item { padding: 20px 18px; }
.feature-grid { gap: 14px; margin: 32px 0; }

/* Wins grid — крупнее карточки */
.win-card { padding: 22px; }
.win-card .win-mult { font-size: 2.2rem; }
.win-card .win-player { font-size: 1.05rem; }

/* Callout — чуть больше padding */
.callout { padding: 18px 22px; margin: 28px 0; }

/* Img-text блок — больше отступ */
.img-text-block { margin: 40px 0; gap: 32px; }

/* TOC — чуть больше отступ снизу */
.toc-box { margin-bottom: 40px; padding: 22px 26px; }

/* Section titles — добавляем иконку-линию */
.content-section h2 {
  padding-left: 0;
  border-left: none;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 20px;
}

/* Casino table — лучше читается */
.casino-table th { padding: 14px 18px; font-size: 0.78rem; }
.casino-table td { padding: 16px 18px; }

/* Mobile adjustments */
@media (max-width: 480px) {
  .win-card { padding: 16px; }
  .win-card .win-mult { font-size: 1.8rem; }
  .faq-question { padding: 14px 16px; font-size: 0.88rem; }
  .faq-answer.open { padding: 0 16px 14px; }
}

/* ===== HERO IMAGE — меньше высота на мобайле ===== */
figure:first-child img,
.hero-img img {
  max-height: 420px;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 480px) {
  figure:first-child img { max-height: 220px; }
}

/* ===== CASINO TABLE → CARDS on mobile ===== */
@media (max-width: 640px) {
  .casino-table-wrap { border: none; background: transparent; }
  .casino-table thead { display: none; }
  .casino-table, .casino-table tbody, .casino-table tr { display: block; width: 100%; }
  .casino-table tr {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    padding: 16px;
  }
  .casino-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: none;
    padding: 6px 0;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .casino-table td:last-child { border-bottom: none; padding-top: 10px; }
  .casino-table td:first-child { font-size: 1rem; padding-bottom: 10px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
  .casino-table td::before {
    content: attr(data-label);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    margin-right: 8px;
  }
  .casino-table .play-btn { width: 100%; padding: 10px; font-size: 0.9rem; }
}

/* ===== TOC border-left ===== */
.toc-box { border-left: 4px solid var(--primary); }

/* ===== OVERFIX CASINO TABLE MOBILE ===== */
@media (max-width: 768px) {
  .casino-table-wrap { overflow-x: hidden; }
  .casino-table { display: block; }
  .casino-table thead { display: none !important; }
  .casino-table tbody { display: block; }
  .casino-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    padding: 16px;
    gap: 8px;
    min-width: unset !important;
  }
  .casino-table td {
    display: flex;
    flex-direction: column;
    border: none !important;
    padding: 6px 0 !important;
    font-size: 0.85rem;
  }
  .casino-table td:first-child {
    grid-column: 1 / -1;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid var(--border) !important;
    padding-bottom: 10px !important;
    margin-bottom: 4px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .casino-table td:last-child {
    grid-column: 1 / -1;
    padding-top: 8px !important;
  }
  .casino-table td::before {
    content: attr(data-label);
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
    display: block;
  }
  .casino-table td:first-child::before { display: none; }
  .casino-table .play-btn {
    width: 100%;
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 0.95rem;
  }
  .casino-table .rating { font-size: 0.9rem; }
  .casino-table .bonus-text { font-size: 0.82rem; }
  /* Fix min-width on table itself */
  .casino-table table,
  table.casino-table { min-width: unset !important; width: 100% !important; }
}

/* ===== FAQ — нативный details/summary ===== */
details.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color 0.15s;
}
details.faq-item[open] { border-color: var(--primary); }
details.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  font-size: 0.95rem;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
  gap: 12px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  transition: transform 0.2s, background 0.15s;
  line-height: 22px;
  text-align: center;
}
details.faq-item[open] summary::after {
  content: '×';
  transform: none;
  background: var(--primary);
  color: #000;
}
details.faq-item summary:hover { background: rgba(245,166,35,0.05); }
details.faq-item .faq-body {
  padding: 0 20px 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}
@media (max-width: 480px) {
  details.faq-item summary { padding: 14px 16px; font-size: 0.88rem; }
  details.faq-item .faq-body { padding: 0 16px 14px; }
}
