/* ── REDIRECT BANNER ── */
.redirect-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: linear-gradient(90deg, #1a1200 0%, #2c1f00 50%, #1a1200 100%);
  border-bottom: 2px solid rgba(212,168,67,0.6);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #e8e8f0;
  box-shadow: 0 2px 16px rgba(212,168,67,0.15);
}

.redirect-banner-text {
  display: flex;
  align-items: center;
  gap: 10px;
}

.redirect-count-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: #d4a843;
  color: #0a0a0f;
  font-weight: 900;
  font-size: 15px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background .3s;
}

.redirect-banner-btn {
  display: inline-block;
  background: linear-gradient(135deg, #f0c460, #a07820);
  color: #0a0a0f;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 18px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: opacity .2s;
}

.redirect-banner-btn:hover { opacity: .85; }

.redirect-banner-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #8888a8;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 6px;
  transition: color .2s;
}

.redirect-banner-close:hover { color: #d4a843; }

:root {
  --gold: #d4a843;
  --gold-light: #f0c460;
  --gold-dark: #a07820;
  --bg-dark: #0a0a0f;
  --bg-card: #12121c;
  --bg-card2: #1a1a28;
  --text: #e8e8f0;
  --text-muted: #8888a8;
  --red: #e03a3a;
  --green: #2ecc71;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212,168,67,0.2);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 18px;
  color: #0a0a0f;
  letter-spacing: -1px;
}

.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 1px;
}

.logo-text span { color: var(--text); }

nav { display: flex; gap: 28px; }

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}

nav a:hover { color: var(--gold); }

.btn-header {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0f;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity .2s, transform .1s;
  white-space: nowrap;
}

.btn-header:hover { opacity: .9; transform: translateY(-1px); }

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/riobet.png');
  background-size: cover;
  background-position: center top;
  filter: brightness(0.35);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,15,0.3) 0%,
    rgba(10,10,15,0.1) 40%,
    rgba(10,10,15,0.85) 80%,
    rgba(10,10,15,1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(212,168,67,0.15);
  border: 1px solid rgba(212,168,67,0.4);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 .gold { color: var(--gold); }

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #0a0a0f;
  font-weight: 800;
  font-size: 16px;
  padding: 16px 36px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 24px rgba(212,168,67,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212,168,67,0.5);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 36px;
  border-radius: 10px;
  border: 2px solid var(--gold);
  text-decoration: none;
  transition: background .15s, color .15s;
}

.btn-secondary:hover {
  background: rgba(212,168,67,0.1);
}

.stats {
  background: var(--bg-card);
  border-top: 1px solid rgba(212,168,67,0.1);
  border-bottom: 1px solid rgba(212,168,67,0.1);
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--gold);
  display: block;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

section { padding: 80px 24px; }

.section-inner { max-width: 1200px; margin: 0 auto; }

.section-title {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-title .gold { color: var(--gold); }

.section-sub {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 48px;
  max-width: 560px;
}

.about-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 15px;
}

.about-text p strong { color: var(--text); }

.about-aside {
  background: var(--bg-card2);
  border: 1px solid rgba(212,168,67,0.15);
  border-radius: 16px;
  padding: 28px;
}

.about-aside h3 {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 20px;
}

.feature-list { list-style: none; }

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 14px;
  color: var(--text-muted);
}

.feature-list li:last-child { border-bottom: none; }

.feature-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

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

.game-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.game-card:hover img { transform: scale(1.06); }

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  opacity: 0;
  transition: opacity .3s;
}

.game-card:hover .game-card-overlay { opacity: 1; }

.game-card-label {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

.game-card-sub {
  color: var(--gold);
  font-size: 12px;
  margin-top: 4px;
}

.game-card-play {
  display: inline-block;
  margin-top: 10px;
  background: var(--gold);
  color: #0a0a0f;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 16px;
  border-radius: 6px;
  width: fit-content;
}

.bonus-block {
  background: linear-gradient(135deg, #1a1a28 0%, #12121c 100%);
  border: 1px solid rgba(212,168,67,0.25);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bonus-block::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(212,168,67,0.12) 0%, transparent 70%);
}

.bonus-tag {
  display: inline-block;
  background: var(--gold);
  color: #0a0a0f;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.bonus-amount {
  font-size: clamp(40px, 6vw, 70px);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}

.bonus-desc {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 32px;
}

.faq-list { max-width: 760px; }

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: inherit;
}

.faq-question:hover { color: var(--gold); }

.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(212,168,67,0.1);
  border: 1px solid rgba(212,168,67,0.3);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform .3s;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  color: var(--text-muted);
  font-size: 15px;
  padding-bottom: 20px;
  line-height: 1.8;
}

.faq-item.open .faq-answer { display: block; }

footer {
  background: var(--bg-card);
  border-top: 1px solid rgba(212,168,67,0.1);
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 14px;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color .2s;
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 13px;
}

.age-badge {
  background: rgba(224,58,58,0.15);
  border: 1px solid rgba(224,58,58,0.3);
  color: var(--red);
  font-weight: 700;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 6px;
}

@media (max-width: 900px) {
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .about-text { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  nav { display: none; }
}

@media (max-width: 560px) {
  .games-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .bonus-block { padding: 32px 20px; }
  .footer-top { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2,1fr); }
}

.live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.3); }
}

.section-alt { background: var(--bg-card); }
