/* =========================================================
   Slots Online Mais Jogados — Design v3
   Dark charcoal + coral · Ranking-first · Bold type
   (Different from previous teal-dark and blue-gold sites)
   ========================================================= */
:root {
  --bg: #12141a;
  --panel: #1a1d27;
  --panel-2: #222632;
  --line: #2e3444;
  --text: #eef0f6;
  --soft: #9aa3b5;
  --coral: #ff6b4a;
  --coral-dim: #ff6b4a22;
  --gold: #f0c14b;
  --mint: #3dd6c6;
  --radius: 16px;
  --font: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--coral); text-decoration: none; }
a:hover { color: #ff8f75; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.shell { width: min(1100px, calc(100% - 28px)); margin-inline: auto; }

/* Header — left brand, right pill nav */
.bar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(18, 20, 26, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 0;
}
.mark {
  font-weight: 900; font-size: 1.25rem; letter-spacing: -0.03em;
  color: #fff;
}
.mark b { color: var(--coral); }
.menu { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.menu > li { position: relative; }
.menu a {
  display: block; padding: 8px 12px; border-radius: 999px;
  color: var(--soft); font-weight: 700; font-size: 0.88rem;
}
.menu a:hover, .menu .active > a {
  background: var(--coral-dim); color: var(--coral);
}
.menu .drop {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 190px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 6px; box-shadow: 0 16px 40px #0008;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
}
.menu > li:hover .drop { opacity: 1; visibility: visible; transform: none; }
.menu .drop a { border-radius: 8px; color: var(--text); }
.menu .drop a:hover { background: var(--panel-2); color: var(--coral); }
.ham {
  display: none; background: none; border: 0; color: #fff;
  font-size: 1.45rem; cursor: pointer;
}

/* Hero — split ranking style */
.splash {
  padding: 48px 0 40px;
  background:
    radial-gradient(600px 280px at 80% 0%, #ff6b4a18, transparent),
    linear-gradient(180deg, #161822, var(--bg));
}
.splash-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 32px; align-items: start;
}
.splash h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.7rem);
  line-height: 1.12; letter-spacing: -0.035em; margin-bottom: 12px;
}
.splash h1 em { font-style: normal; color: var(--coral); }
.splash .lead { color: var(--soft); font-size: 1.05rem; margin-bottom: 22px; max-width: 480px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 20px; border-radius: 999px; font-weight: 800; font-size: 0.92rem;
  border: 2px solid transparent; transition: .18s;
}
.btn-hot { background: var(--coral); color: #12141a; }
.btn-hot:hover { background: #ff8f75; color: #12141a; }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--coral); color: var(--coral); }
.btn-xs { padding: 7px 14px; font-size: 0.82rem; }

/* Ranking board in hero */
.board {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
}
.board-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px; background: var(--panel-2); border-bottom: 1px solid var(--line);
}
.board-head strong { font-size: 0.95rem; }
.board-head span { color: var(--soft); font-size: 0.8rem; }
.rank-row {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 12px;
  align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line);
}
.rank-row:last-child { border-bottom: 0; }
.rank-row:hover { background: #1f2430; }
.num {
  width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center; font-weight: 900; font-size: 0.9rem;
  background: var(--panel-2); color: var(--soft);
}
.num.t1 { background: var(--coral); color: #12141a; }
.num.t2 { background: var(--gold); color: #12141a; }
.num.t3 { background: #6b8cff; color: #fff; }
.rank-row h3 { font-size: 0.98rem; margin-bottom: 2px; }
.rank-row p { color: var(--soft); font-size: 0.8rem; }

/* Sections */
.sec { padding: 48px 0; }
.sec-h { margin-bottom: 26px; }
.sec-h h2 {
  font-size: 1.55rem; letter-spacing: -0.02em; margin-bottom: 6px;
}
.sec-h p { color: var(--soft); max-width: 520px; }
.sec.tint { background: #151820; border-block: 1px solid var(--line); }

/* Category chips row */
.chips {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px;
}
.chip-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-radius: 14px;
  background: var(--panel); border: 1px solid var(--line);
  color: var(--text); font-weight: 700; font-size: 0.9rem;
  transition: .15s;
}
.chip-link:hover { border-color: var(--coral); color: var(--coral); }
.chip-link i { font-style: normal; opacity: 0.7; }

/* Card grid */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: .18s;
}
.card:hover { border-color: #3d4558; transform: translateY(-3px); }
.card-art {
  height: 120px;
  background: linear-gradient(135deg, #2a2030, #1e2a3a);
  display: grid; place-items: center; font-size: 2.3rem;
}
.card-body { padding: 14px 16px 16px; }
.card-body h3 { font-size: 1.02rem; margin-bottom: 6px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tag {
  font-size: 0.72rem; font-weight: 800; padding: 3px 8px; border-radius: 999px;
  background: var(--coral-dim); color: var(--coral);
}
.tag.dim { background: #ffffff10; color: var(--soft); }
.card-body p { color: var(--soft); font-size: 0.88rem; }

/* Feature strip */
.strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.strip article {
  padding: 20px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line);
}
.strip h3 { font-size: 1rem; margin-bottom: 6px; }
.strip p { color: var(--soft); font-size: 0.9rem; }

/* Page top */
.page-head {
  padding: 32px 0 24px; border-bottom: 1px solid var(--line);
  background: #151820;
}
.bc { font-size: 0.84rem; color: var(--soft); margin-bottom: 8px; }
.bc a { color: var(--soft); }
.bc a:hover { color: var(--coral); }
.page-head h1 {
  font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.02em; margin-bottom: 6px;
}
.page-head > .shell > p { color: var(--soft); max-width: 620px; }

/* Content layout */
.split {
  display: grid; grid-template-columns: 1fr 260px; gap: 28px;
  padding: 32px 0 52px;
}
.article h2 {
  font-size: 1.25rem; margin: 26px 0 10px; padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.article h3 { font-size: 1.05rem; margin: 18px 0 8px; }
.article p { color: #c5cad6; margin-bottom: 12px; }
.article ul, .article ol { margin: 0 0 14px 1.15rem; color: #c5cad6; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li { margin-bottom: 5px; }

.sidebox {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px; margin-bottom: 14px;
}
.sidebox h3 {
  font-size: 0.92rem; margin-bottom: 10px; padding-bottom: 8px;
  border-bottom: 1px solid var(--line); color: var(--gold);
}
.sidebox a {
  display: block; padding: 6px 0; color: var(--soft); font-size: 0.88rem; font-weight: 600;
}
.sidebox a:hover { color: var(--coral); }

/* Table */
.tbl-wrap {
  overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius);
  margin: 18px 0; background: var(--panel);
}
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--panel-2); color: var(--gold); font-weight: 800; }
td { color: #c5cad6; }
tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq details {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; margin-bottom: 8px; padding: 2px 14px;
}
.faq summary {
  cursor: pointer; font-weight: 800; padding: 12px 0; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { color: var(--coral); }
.faq details p { color: var(--soft); padding-bottom: 12px; font-size: 0.92rem; }

/* Footer */
.foot {
  background: #0d0f14; border-top: 1px solid var(--line);
  padding: 40px 0 24px; margin-top: 12px;
}
.foot-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 28px;
}
.foot h4 { color: #fff; font-size: 0.9rem; margin-bottom: 10px; }
.foot a { display: block; color: var(--soft); font-size: 0.86rem; padding: 3px 0; }
.foot a:hover { color: var(--coral); }
.foot-end {
  border-top: 1px solid var(--line); padding-top: 16px;
  text-align: center; color: #6b7385; font-size: 0.82rem;
}

.center { text-align: center; }
.mt-18 { margin-top: 18px; }
.mt-26 { margin-top: 26px; }

@media (max-width: 920px) {
  .splash-grid, .cards, .strip, .foot-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .ham { display: block; }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--panel); flex-direction: column; padding: 10px;
    border-bottom: 1px solid var(--line);
  }
  .menu.open { display: flex; }
  .menu .drop {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; display: none; background: transparent;
  }
  .menu > li:hover .drop { display: block; }
  .splash-grid, .cards, .strip, .foot-grid { grid-template-columns: 1fr; }
}