/* =========================================================
   Slots de Vídeo Online — Casino Lobby Style v5
   Black / Gold / Violet · Operator lobby UI
   ========================================================= */
:root {
  --bg: #0a0a0f;
  --panel: #12121a;
  --panel-2: #1a1a26;
  --line: #2a2a3a;
  --text: #f2f2f7;
  --muted: #8b8ba0;
  --gold: #f5c542;
  --gold-2: #ffd76a;
  --violet: #7c5cff;
  --pink: #ff4d8d;
  --green: #2ee59d;
  --radius: 12px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, 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.5;
  min-height: 100vh;
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-2); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.wrap { width: min(1240px, calc(100% - 24px)); margin-inline: auto; }

/* Top promo strip */
.ticker {
  background: linear-gradient(90deg, #1a1028, #12121a 40%, #1a1028);
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.ticker span { color: var(--pink); }

/* Header — casino operator */
.head {
  background: rgba(10, 10, 15, 0.95);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(12px);
}
.head-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 10px 0;
}
.brand {
  font-weight: 900; font-size: 1.35rem; letter-spacing: -0.03em;
  color: #fff; white-space: nowrap;
}
.brand i { font-style: normal; color: var(--gold); }
.nav {
  display: flex; align-items: center; gap: 2px; flex-wrap: wrap;
}
.nav > li { position: relative; }
.nav a {
  display: block; padding: 8px 11px; border-radius: 8px;
  color: var(--muted); font-weight: 700; font-size: 0.86rem;
}
.nav a:hover, .nav .on > a {
  color: #fff; background: #ffffff0d;
}
.nav .drop {
  position: absolute; top: 100%; left: 0; min-width: 200px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; padding: 6px; box-shadow: 0 16px 40px #000a;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
}
.nav > li:hover .drop { opacity: 1; visibility: visible; transform: none; }
.nav .drop a { color: var(--text); border-radius: 6px; }
.nav .drop a:hover { background: #ffffff0d; color: var(--gold); }

.head-actions { display: flex; gap: 8px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 999px; font-weight: 800;
  font-size: 0.88rem; border: none; cursor: pointer; transition: .15s;
}
.btn-login {
  background: transparent; color: #fff; border: 1px solid var(--line);
}
.btn-login:hover { border-color: var(--gold); color: var(--gold); }
.btn-reg {
  background: linear-gradient(135deg, var(--gold), #e6a800);
  color: #1a1200;
}
.btn-reg:hover { filter: brightness(1.08); color: #1a1200; }
.btn-play {
  background: linear-gradient(135deg, var(--violet), var(--pink));
  color: #fff; box-shadow: 0 6px 20px #7c5cff44;
}
.btn-play:hover { filter: brightness(1.08); color: #fff; }
.btn-sm { padding: 7px 12px; font-size: 0.8rem; }
.ham {
  display: none; background: none; border: 0; color: #fff;
  font-size: 1.45rem; cursor: pointer;
}

/* Hero lobby */
.lobby-hero {
  position: relative;
  padding: 36px 0 28px;
  background:
    radial-gradient(700px 300px at 20% 0%, #7c5cff22, transparent),
    radial-gradient(500px 260px at 90% 20%, #f5c54218, transparent),
    linear-gradient(180deg, #0f0f18, var(--bg));
}
.lobby-hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; align-items: stretch;
}
.hero-copy h1 {
  font-size: clamp(1.7rem, 3.8vw, 2.5rem);
  line-height: 1.12; letter-spacing: -0.03em; margin-bottom: 10px;
}
.hero-copy h1 b { color: var(--gold); }
.hero-copy p {
  color: var(--muted); font-size: 1rem; max-width: 480px; margin-bottom: 18px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  font-size: 0.72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px;
  background: #ffffff0d; color: var(--muted); border: 1px solid var(--line);
}
.badge.hot { background: #ff4d8d22; color: var(--pink); border-color: #ff4d8d44; }
.badge.live { background: #2ee59d18; color: var(--green); border-color: #2ee59d44; }

/* Promo cards */
.promo-stack { display: grid; gap: 10px; }
.promo {
  border-radius: var(--radius); padding: 16px 18px;
  background: linear-gradient(135deg, #1e1830, #12121a);
  border: 1px solid #3a2f5c;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.promo.gold {
  background: linear-gradient(135deg, #2a2210, #1a160c);
  border-color: #5c4a1e;
}
.promo h3 { font-size: 0.95rem; margin-bottom: 2px; }
.promo p { color: var(--muted); font-size: 0.8rem; }

/* Category tabs */
.tabs {
  display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto; padding: 9px 16px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line);
  color: var(--muted); font-weight: 700; font-size: 0.84rem;
  white-space: nowrap;
}
.tab:hover, .tab.on {
  background: #f5c54218; border-color: var(--gold); color: var(--gold);
}

/* Game grid — lobby tiles */
.sec { padding: 22px 0 36px; }
.sec-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 14px;
}
.sec-head h2 { font-size: 1.2rem; letter-spacing: -0.02em; }
.sec-head a { font-size: 0.86rem; font-weight: 700; color: var(--muted); }
.sec-head a:hover { color: var(--gold); }

.games {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.game {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  transition: .18s;
}
.game:hover {
  border-color: #4a4a60;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px #0006;
}
.game-thumb {
  aspect-ratio: 1 / 1;
  background: linear-gradient(145deg, #252040, #1a2438);
  display: grid; place-items: center;
  font-size: 2.2rem;
  position: relative;
}
.game-thumb::after {
  content: "▶ JOGAR";
  position: absolute; inset: 0;
  background: #0a0a0fcc;
  display: grid; place-items: center;
  font-size: 0.78rem; font-weight: 900; color: var(--gold);
  letter-spacing: 0.06em;
  opacity: 0; transition: .15s;
}
.game:hover .game-thumb::after { opacity: 1; }
.game-info { padding: 10px 10px 12px; }
.game-info h3 {
  font-size: 0.84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 4px;
}
.game-info .meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.72rem; color: var(--muted);
}
.ribbon {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  font-size: 0.65rem; font-weight: 900; padding: 3px 7px; border-radius: 6px;
  background: var(--pink); color: #fff;
}
.ribbon.new { background: var(--violet); }
.ribbon.jp { background: var(--gold); color: #1a1200; }

/* Providers row */
.providers {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.prov {
  flex: 1 1 140px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 16px; text-align: center;
  font-weight: 800; font-size: 0.9rem; color: var(--text);
  transition: .15s;
}
.prov:hover { border-color: var(--gold); color: var(--gold); }

/* Jackpot bar */
.jp-bar {
  margin: 8px 0 20px;
  background: linear-gradient(90deg, #2a1a08, #1a1408 50%, #2a1a08);
  border: 1px solid #5c4a1e;
  border-radius: 14px;
  padding: 16px 20px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
}
.jp-bar .label { color: var(--muted); font-size: 0.84rem; font-weight: 700; }
.jp-bar .amount {
  font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 900;
  color: var(--gold); letter-spacing: -0.02em;
}

/* Page */
.page-top {
  padding: 28px 0 20px;
  background: #0f0f18;
  border-bottom: 1px solid var(--line);
}
.bc { font-size: 0.8rem; color: var(--muted); margin-bottom: 8px; }
.bc a { color: var(--muted); }
.bc a:hover { color: var(--gold); }
.page-top h1 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); margin-bottom: 6px; }
.page-top p { color: var(--muted); max-width: 560px; font-size: 0.95rem; }

.split {
  display: grid; grid-template-columns: 1fr 280px; gap: 24px;
  padding: 24px 0 48px;
}
.article h2 {
  font-size: 1.15rem; margin: 22px 0 10px; color: #fff;
  padding-bottom: 6px; border-bottom: 1px solid var(--line);
}
.article p { color: var(--muted); margin-bottom: 12px; }
.article ul, .article ol { margin: 0 0 14px 1.15rem; color: var(--muted); }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li { margin-bottom: 5px; }

.side {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px; margin-bottom: 12px;
}
.side h3 {
  font-size: 0.88rem; color: var(--gold); margin-bottom: 10px;
  padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.side a {
  display: block; padding: 7px 0; color: var(--muted);
  font-size: 0.86rem; font-weight: 600;
}
.side a:hover { color: var(--gold); }
.side .cta-box {
  background: linear-gradient(135deg, #1e1830, #12121a);
  border: 1px solid #3a2f5c; border-radius: 10px;
  padding: 14px; text-align: center; margin-top: 8px;
}
.side .cta-box p { color: var(--muted); font-size: 0.82rem; margin-bottom: 10px; }

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

/* Footer */
.foot {
  background: #07070c; border-top: 1px solid var(--line);
  padding: 36px 0 20px; margin-top: 12px;
}
.foot-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-bottom: 24px;
}
.foot h4 { color: #fff; font-size: 0.86rem; margin-bottom: 10px; }
.foot a { display: block; color: var(--muted); font-size: 0.82rem; padding: 3px 0; }
.foot a:hover { color: var(--gold); }
.foot-bottom {
  border-top: 1px solid var(--line); padding-top: 14px;
  text-align: center; color: #5a5a70; font-size: 0.78rem;
}
.foot-bottom p { margin-bottom: 4px; }

/* Mobile bottom bar — casino style */
.mobile-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: #12121aee; border-top: 1px solid var(--line);
  padding: 8px 12px; gap: 8px;
  backdrop-filter: blur(10px);
}
.mobile-bar .btn { flex: 1; }

@media (max-width: 1100px) {
  .games { grid-template-columns: repeat(4, 1fr); }
  .foot-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
  .lobby-hero-grid, .split { grid-template-columns: 1fr; }
  .games { grid-template-columns: repeat(3, 1fr); }
  .head-actions .btn-login { display: none; }
}
@media (max-width: 640px) {
  .ham { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--panel); flex-direction: column; padding: 10px;
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav .drop {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; display: none; background: transparent;
  }
  .nav > li:hover .drop { display: block; }
  .games { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 64px; }
}