/* Freerolls Brasil — redesign visual gold/navy inspirado na referência enviada. */
:root {
  --rf-black: #05070c;
  --rf-navy: #101827;
  --rf-navy-2: #172337;
  --rf-gold: #ffc400;
  --rf-gold-2: #ffda3d;
  --rf-line: rgba(255,255,255,.13);
}

html, body { background: var(--rf-black) !important; }
body { color: #fff !important; }
#sidebar { display: none !important; }
#fbSiteSidebar, #fbSidebarMobileBtn, .fb-sidebar-overlay { display: none !important; }
body.fb-has-sidebar, body.fb-has-sidebar.fb-sidebar-collapsed { padding-left: 0 !important; }
.main-wrap, html.sidebar-compact .main-wrap { padding-left: 0 !important; }
#sidebarCollapseBtn, #menuBtn, .home-top-nav { display: none !important; }
.content-wrap { max-width: 1540px; margin: 0 auto; padding-left: 28px !important; padding-right: 28px !important; }

.site-redesign-header {
  height: 92px;
  padding: 0 5.3% !important;
  background: rgba(5,7,12,.96) !important;
  border-bottom: 1px solid rgba(255,255,255,.15) !important;
  gap: 28px !important;
}
.redesign-brand { display:flex; align-items:center; gap:10px; min-width:230px; text-decoration:none; line-height:.82; }
.redesign-brand img { width:54px; height:54px; object-fit:contain; filter: drop-shadow(0 0 8px rgba(255,196,0,.25)); }
.redesign-brand span { display:flex; flex-direction:column; font-size:24px; letter-spacing:-1.2px; }
.redesign-brand strong { color:#fff; font-weight:900; }
.redesign-brand b { color:var(--rf-gold); font-weight:900; }
.redesign-nav { display:flex; align-items:stretch; align-self:stretch; gap:28px; flex:1; }
.redesign-nav-global { gap:clamp(12px,1.45vw,24px); min-width:0; overflow-x:auto; scrollbar-width:none; }
.redesign-nav-global::-webkit-scrollbar { display:none; }
.site-redesign-global { position:sticky; top:0; z-index:100; display:flex; align-items:center; width:100%; }
.site-redesign-global + #sidebar { display:none !important; }
.site-redesign-global + .main-wrap { padding-left:0 !important; }
.redesign-nav a { display:flex; align-items:center; position:relative; color:#f4f4f5; font-size:16px; font-weight:700; text-decoration:none; white-space:nowrap; }
.redesign-nav a:hover, .redesign-nav a.is-active { color:var(--rf-gold); }
.redesign-nav a.is-active::after { content:""; position:absolute; left:0; right:0; bottom:12px; height:3px; background:var(--rf-gold); }
.redesign-search { max-width:42px !important; padding:0 !important; background:transparent !important; box-shadow:none !important; }
.redesign-search svg { width:30px; height:30px; color:#fff !important; }
.redesign-search input { display:none; }
.redesign-login { display:flex; align-items:center; gap:8px; background:var(--rf-gold); color:#080b10 !important; border-radius:999px; padding:13px 24px; font-weight:900; text-decoration:none; white-space:nowrap; }
.redesign-login:hover { background:var(--rf-gold-2); transform:translateY(-1px); }
.header-actions { gap:16px !important; }
#themeBtn, #refreshBtn { display:none !important; }

.lobby-hero {
  min-height: 390px;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border:0 !important;
  border-radius:0 !important;
  background-color:#090c12 !important;
  background-image: linear-gradient(90deg, rgba(5,7,12,.96) 0%, rgba(5,7,12,.84) 29%, rgba(5,7,12,.12) 73%, rgba(5,7,12,.22) 100%), url('../img/hero-freerolls-jacks.png') !important;
  background-size:cover !important;
  background-position:center !important;
  box-shadow:none !important;
  display:flex;
  align-items:center;
  padding:58px 50px !important;
}
.lobby-hero::after { content:""; position:absolute; inset:auto 0 0; height:1px; background:rgba(255,255,255,.1); }
body.app-theme .lobby-hero.theme-hero { background-color:#090c12 !important; background-image:linear-gradient(90deg, rgba(5,7,12,.96) 0%, rgba(5,7,12,.84) 29%, rgba(5,7,12,.12) 73%, rgba(5,7,12,.22) 100%), url('../img/hero-freerolls-jacks.png') !important; background-size:cover !important; background-position:center !important; }
.lobby-glow, .lobby-orbit, .lobby-chip, .poker-table, .lobby-visual-caption { display:none !important; }
.lobby-hero-copy { max-width:690px; z-index:2; }
.lobby-kicker { color:var(--rf-gold) !important; font-size:12px !important; font-weight:800; letter-spacing:.13em; }
.lobby-live-dot { background:var(--rf-gold) !important; box-shadow:0 0 12px var(--rf-gold) !important; }
.lobby-hero h1 { margin:14px 0 4px !important; font-size:clamp(48px,6vw,78px) !important; line-height:.96 !important; font-weight:900 !important; letter-spacing:-2px; color:#fff !important; text-shadow:0 4px 20px rgba(0,0,0,.5) !important; }
.lobby-hero h1 em { color:var(--rf-gold); font-style:italic; }
.redesign-hero-subtitle { font-size:clamp(24px,3vw,34px); line-height:1.05; color:#fff; margin:0 0 16px; font-weight:800; }
.lobby-description { max-width:580px; font-size:18px !important; line-height:1.42 !important; color:#f2f2f4 !important; }
.lobby-actions { margin-top:24px !important; }
.lobby-cta-primary { background:var(--rf-gold) !important; color:#090b10 !important; border:0 !important; border-radius:999px !important; font-size:16px !important; font-weight:900 !important; padding:15px 25px !important; box-shadow:0 8px 22px rgba(255,196,0,.2); }
.lobby-cta-primary:hover { background:var(--rf-gold-2) !important; transform:translateY(-2px); }
.lobby-cta-secondary { color:#fff !important; border-color:rgba(255,255,255,.35) !important; }
.lobby-stats { display:none !important; }

.redesign-benefits { display:grid; grid-template-columns:repeat(4,1fr); background:linear-gradient(100deg,#111827,#1a2031); border:1px solid var(--rf-line); border-radius:18px; margin:-1px 0 20px; position:relative; z-index:3; overflow:hidden; }
.redesign-benefits > div { min-height:78px; display:flex; align-items:center; gap:14px; padding:15px 28px; border-right:1px solid var(--rf-line); }
.redesign-benefits > div:last-child { border-right:0; }
.benefit-icon { color:var(--rf-gold); font-size:30px; line-height:1; font-weight:900; }
.redesign-benefits strong, .redesign-benefits small { display:block; }
.redesign-benefits strong { color:#fff; font-size:15px; }
.redesign-benefits small { color:#c4c8d0; font-size:13px; margin-top:4px; }

#sponsorBanners { margin-bottom:20px !important; }
#sponsorBanners > section { background:linear-gradient(100deg,#111827,#1a2031) !important; border-color:var(--rf-line) !important; }
#sponsorBanners a[class*="bg-spotify-green"] { background:var(--rf-gold) !important; color:#080b10 !important; }
#sponsorBanners a[class*="bg-spotify-card"] { background:transparent !important; border-color:rgba(255,255,255,.25) !important; }

#freerollsContainer { background:transparent; }
.tc-card { background:linear-gradient(100deg,#111827,#192438) !important; border-color:rgba(255,196,0,.18) !important; border-radius:14px !important; }
.tc-card:hover { border-color:rgba(255,196,0,.6) !important; }
.tc-ring-fg, .tc-room, .tc-accent-blue { stroke:var(--rf-gold) !important; color:var(--rf-gold) !important; }
.tc-seat { background:linear-gradient(145deg,#d99c00,var(--rf-gold)) !important; color:#111 !important; }
.tc-copy:hover { background:var(--rf-gold) !important; color:#111 !important; }

.content-wrap > a, .content-wrap section[aria-labelledby="home-articles-heading"], #patrocinadores, #como, #salas { --tw-bg-opacity:1; }
.fb-table-card, .content-wrap section[aria-labelledby="home-articles-heading"] article { background:linear-gradient(145deg,#111827,#192438) !important; border-color:var(--rf-line) !important; }
.content-wrap section[aria-labelledby="home-articles-heading"] .text-spotify-green, #patrocinadores .text-spotify-green { color:var(--rf-gold) !important; }
.content-wrap section[aria-labelledby="home-articles-heading"] a.text-spotify-green { color:var(--rf-gold) !important; }

.fb-site-footer { background:#070a10 !important; border-top:1px solid var(--rf-line) !important; }
.fb-site-footer-mark { background:var(--rf-gold) !important; color:#111 !important; }
.fb-social-telegram { color:#29a9ea !important; background:rgba(41,169,234,.10) !important; }
.fb-social-telegram:hover { background:rgba(41,169,234,.22) !important; }

@media (max-width: 1100px) {
  .site-redesign-header { gap:15px !important; padding:0 24px !important; }
  .redesign-brand { min-width:auto; }
  .redesign-brand span { font-size:18px; }
  .redesign-brand img { width:42px; height:42px; }
  .redesign-nav { gap:16px; }
  .redesign-nav a { font-size:13px; }
  .redesign-login { padding:11px 16px; }
  .content-wrap { padding-left:16px !important; padding-right:16px !important; }
}
@media (max-width: 800px) {
  .site-redesign-header { height:76px; }
  .redesign-nav { display:none; }
  .site-redesign-global .redesign-nav { display:flex; position:absolute; left:16px; right:16px; top:76px; height:42px; align-items:center; gap:18px; padding:0 4px; background:#0a0e16; border:1px solid var(--rf-line); border-radius:0 0 12px 12px; }
  .site-redesign-global .redesign-nav a { font-size:12px; min-height:42px; }
  .site-redesign-global .redesign-nav a.is-active::after { bottom:3px; }
  .site-redesign-global { margin-bottom:42px; }
  .redesign-brand { flex:1; }
  .redesign-search { margin-left:auto; }
  .redesign-login { padding:10px 14px; font-size:13px; }
  .lobby-hero { min-height:470px; padding:40px 24px !important; background-position:64% center !important; }
  .lobby-hero::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(5,7,12,.93),rgba(5,7,12,.48)); }
  .lobby-hero-copy { position:relative; }
  .lobby-hero h1 { font-size:52px !important; }
  .lobby-description { font-size:16px !important; }
  .redesign-benefits { grid-template-columns:repeat(2,1fr); border-radius:14px; }
  .redesign-benefits > div { padding:14px 16px; min-height:70px; }
  .redesign-benefits > div:nth-child(2) { border-right:0; }
  .redesign-benefits > div:nth-child(-n+2) { border-bottom:1px solid var(--rf-line); }
  .benefit-icon { font-size:24px; }
  .redesign-benefits strong { font-size:13px; }
  .redesign-benefits small { font-size:11px; }
}
@media (max-width: 480px) {
  .redesign-brand span { font-size:16px; }
  .redesign-brand img { width:38px; height:38px; }
  .redesign-login { font-size:0; padding:10px 13px; }
  .redesign-login span { font-size:18px; }
  .lobby-hero { min-height:470px; padding:34px 20px !important; }
  .lobby-hero h1 { font-size:43px !important; letter-spacing:-1px; }
  .redesign-hero-subtitle { font-size:22px; }
  .lobby-cta-primary { font-size:14px !important; padding:13px 18px !important; }
}
