/* BetRivers Players Club — Global Styles */
:root {
  --color-primary: #f5c518;
  --color-gold: #f5c518;
  --color-gold-bright: #ffd84d;
  --color-gold-dim: rgba(245,197,24,0.12);
  --color-bg: #0b1529;
  --color-bg-mid: #0f1e38;
  --color-bg-card: #122040;
  --color-bg-elevated: #1a2d52;
  --color-bg-nav: #0d1b35;
  --color-text: #ffffff;
  --color-text-muted: #8a9bbf;
  --color-border: rgba(255,255,255,0.08);
  --color-border-gold: rgba(245,197,24,0.22);
  --font-main: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --nav-height: 70px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--color-gold); }

/* ===== NAV ===== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,27,53,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(245,197,24,0.15);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 32px;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
.nav-logo img { height: 46px; width: auto; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: block;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-menu > li > a:hover,
.nav-menu > li.active > a {
  color: var(--color-text);
  background: rgba(255,255,255,0.05);
}
/* Outline button (Contest Winners, Download App) */
.nav-menu .nav-outline > a {
  border: 1.5px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
  padding: 7px 18px;
  border-radius: 6px;
}
.nav-menu .nav-outline > a:hover {
  border-color: rgba(255,255,255,0.55);
  color: #fff;
  background: rgba(255,255,255,0.05);
}
/* Gold primary button (Play Now) */
.nav-menu .nav-gold > a {
  background: var(--color-gold);
  color: #000;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 6px;
}
.nav-menu .nav-gold > a:hover {
  background: #ffe066;
  color: #000;
}
/* App dropdown */
.nav-app-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #0d1b35;
  border: 1px solid rgba(245,197,24,0.15);
  border-radius: 10px;
  min-width: 210px;
  padding: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  z-index: 100;
}
.nav-menu .has-app-dropdown:hover .nav-app-dropdown { display: block; }
.nav-menu .has-app-dropdown > a::after { content: ' ▾'; font-size: 10px; }
.nav-app-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 7px;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.nav-app-dropdown a:hover { color: #fff; background: rgba(255,255,255,0.07); }
.nav-app-dropdown a svg { flex-shrink: 0; opacity: 0.7; }
.nav-app-dropdown a:hover svg { opacity: 1; }

/* Dropdown */
.nav-menu .has-dropdown > a::after { content: ' ▾'; font-size: 10px; }
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #0d1b35;
  border: 1px solid rgba(245,197,24,0.15);
  border-radius: 10px;
  min-width: 240px;
  padding: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  z-index: 100;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: 13px;
  color: var(--color-text-muted);
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.dropdown a:hover { color: var(--color-text); background: rgba(255,255,255,0.05); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }

/* Mobile nav */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav { padding: 0 20px; }
  .nav-menu {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(13,27,53,0.99);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-bottom: 1px solid rgba(245,197,24,0.15);
    gap: 2px;
  }
  .nav-menu.open { display: flex; }
  .nav-menu > li > a { padding: 12px 16px; }
  .dropdown {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,0.03);
    border-radius: 4px;
    padding: 4px 0 4px 12px;
    margin-top: 4px;
  }
  .has-dropdown.open .dropdown { display: block; }
}

/* ===== PAGE WRAP ===== */
.page-wrap { padding-top: var(--nav-height); min-height: 100vh; }

/* ===== HERO ===== */
.hero {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(245,197,24,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(10,25,60,0.9) 0%, transparent 60%),
    linear-gradient(180deg, #0b1529 0%, #0f1e38 100%);
  padding: 80px 24px 60px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 16px;
  padding: 6px 16px;
  background: var(--color-gold-dim);
  border: 1px solid var(--color-border-gold);
  border-radius: 100px;
}
.live-dot { width: 7px; height: 7px; background: #ff4444; border-radius: 50%; animation: blink 1.4s infinite; flex-shrink: 0; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 20px; }
.hero h1 span { color: var(--color-primary); }
.hero p { font-size: 1.1rem; color: var(--color-text-muted); max-width: 600px; margin: 0 auto 32px; }

/* ===== EMBED SECTION ===== */
.embed-section { max-width: 1100px; margin: 0 auto; padding: 48px 24px; }
.embed-section h2 { font-size: 1.4rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 24px; }
.embed-section h2 span { color: var(--color-primary); }
.embed-wrap {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: 12px; border: 1px solid var(--color-border-gold); background: #000;
}
.embed-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.embeds-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 900px) { .embeds-grid { grid-template-columns: 1fr 1fr; } }

/* ===== SHOWS GRID ===== */
.section { max-width: 1400px; margin: 0 auto; padding: 56px 24px; }
.section-header { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.section-header h2 { font-size: 1.3rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.section-header .line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--color-border-gold), transparent); }
.section-header .tag { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-primary); border: 1px solid var(--color-primary); padding: 3px 10px; border-radius: 100px; }

.shows-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }

.show-card {
  background: linear-gradient(160deg, #122040 0%, #0d1a35 100%);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.show-card:hover { transform: translateY(-5px); border-color: var(--color-border-gold); box-shadow: 0 12px 40px rgba(245,197,24,0.12); }
.show-card-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: #0b1529; display: block; }
.show-card-body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.show-card-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #f5c518; }
.show-card h3 { font-size: 1rem; font-weight: 700; line-height: 1.3; margin: 0; }
.show-card p { font-size: 0.84rem; color: var(--color-text-muted); flex: 1; line-height: 1.5; margin: 0; }
.show-card-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--color-gold); margin-top: 10px; transition: gap 0.2s; }
.show-card-link:hover { gap: 10px; color: var(--color-gold); }
.show-card-link::after { content: '→'; }

/* Featured cards */
.featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 56px; }
@media (max-width: 700px) { .featured-grid { grid-template-columns: 1fr; } }

.featured-card {
  background: linear-gradient(135deg, #122040 0%, #0f1e38 100%);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.featured-card:hover { border-color: var(--color-border-gold); box-shadow: 0 12px 40px rgba(245,197,24,0.08); }
.featured-card .fc-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-gold); }
.featured-card h2 { font-size: 1.5rem; font-weight: 800; line-height: 1.2; }
.featured-card p { font-size: 0.9rem; color: var(--color-text-muted); flex: 1; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 6px; font-size: 14px; font-weight: 700; letter-spacing: 0.03em; transition: all 0.2s; cursor: pointer; border: none; text-decoration: none; }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: #ff1111; color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--color-text); border: 1px solid var(--color-border-gold); color: var(--color-gold); }
.btn-outline:hover { background: var(--color-gold-dim); }

/* ===== CONTEST WINNERS ===== */
.winners-page { max-width: 1000px; margin: 0 auto; padding: 48px 24px 80px; }
.winners-page h1 { font-size: 2rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 48px; }
.winners-page h1 span { color: var(--color-primary); }

.contest-section { margin-bottom: 44px; }

.contest-section-header {
  display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
}
.contest-section-header h2 {
  font-size: 10px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--color-gold); white-space: nowrap;
}
.contest-section-header::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(245,197,24,0.25), transparent);
}
.winners-sublabel {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; color: rgba(255,255,255,0.28);
  margin: 18px 0 8px; display: block; width: 100%;
}
.winners-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (max-width: 700px) {
  .winners-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .winners-list { grid-template-columns: 1fr; }
}

.winner-item {
  display: flex; align-items: center; justify-content: center;
  padding: 8px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 100px;
  font-size: 0.83rem; font-weight: 600; color: rgba(255,255,255,0.85);
  text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.winner-item .winner-date { display: none; }
.winner-item .winner-name { color: inherit; }

/* ===== HOME WINNERS SECTION ===== */
.home-winners-section { padding: 72px 32px 80px; background: transparent; }
.home-winners-inner { max-width: 1400px; margin: 0 auto; }
.home-winners-inner .section-eyebrow { margin-bottom: 48px; }

.hw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}

.hw-card {
  background: #0f1e38;
  border: 1px solid rgba(245,197,24,0.12);
  border-radius: 14px;
  overflow: hidden;
}

.hw-card-header {
  background: rgba(245,197,24,0.08);
  border-bottom: 1px solid rgba(245,197,24,0.15);
  padding: 14px 18px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-gold);
}

.hw-card .winners-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex-wrap: nowrap;
  padding: 8px 10px 12px;
  max-height: 480px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(245,197,24,0.2) transparent;
}

.hw-card .winner-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px;
  background: none;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  white-space: normal;
}

.hw-card .winner-item:hover { background: rgba(255,255,255,0.04); cursor: default; }

.hw-card .winner-item .winner-date {
  display: block;
  font-size: 11px;
  color: var(--color-text-muted);
  min-width: 38px;
  flex-shrink: 0;
}

.hw-card .winner-item .winner-name { color: #fff; }

.hw-card .winner-item.hw-sublabel {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  padding: 10px 6px 4px;
  border: none;
  background: none;
  cursor: default;
  opacity: 0.8;
}

@media (max-width: 1100px) {
  .hw-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hw-grid { grid-template-columns: 1fr; }
  .home-winners-section { padding: 48px 16px 60px; }
}

/* ===== SHOW PAGE ===== */
.show-page { max-width: 960px; margin: 0 auto; padding: 48px 24px; }
.show-page-header { margin-bottom: 36px; }
.show-page-header .show-type { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 10px; }
.show-page-header h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.show-page-header p { font-size: 1.05rem; color: var(--color-text-muted); max-width: 700px; line-height: 1.7; }

/* ===== NEWS ===== */
.news-page { max-width: 960px; margin: 0 auto; padding: 48px 24px; }
.news-page h1 { font-size: 2rem; font-weight: 800; text-transform: uppercase; margin-bottom: 12px; }
.news-page .subtitle { color: var(--color-text-muted); margin-bottom: 40px; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.news-card { background: linear-gradient(135deg, #122040 0%, #0f1e38 100%); border: 1px solid var(--color-border); border-radius: 10px; padding: 24px; transition: border-color 0.2s; }
.news-card:hover { border-color: var(--color-border-gold); }
.news-card .news-meta { font-size: 11px; color: var(--color-primary); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
.news-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.news-card p { font-size: 0.875rem; color: var(--color-text-muted); }

/* ===== SPONSOR STRIP ===== */
.sponsor-strip { background: var(--color-bg-mid); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: 14px 24px; text-align: center; }
.sponsor-strip img { height: 44px; margin: 0 auto; opacity: 0.7; transition: opacity 0.2s; }
.sponsor-strip img:hover { opacity: 1; }

/* ===== FOOTER ===== */
.site-footer { background: #08112a; border-top: 1px solid rgba(245,197,24,0.1); padding: 48px 24px 32px; margin-top: 80px; }
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 700px) { .footer-top { grid-template-columns: 1fr; } }
.footer-col h4 { font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: #556; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--color-text); }
.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: 30px; }
.footer-desc { font-size: 13px; color: var(--color-text-muted); line-height: 1.7; max-width: 280px; }
.footer-bottom { border-top: 1px solid var(--color-border); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.45); }
.footer-legal { font-size: 11px; color: rgba(255,255,255,0.3); max-width: 1400px; margin: 16px auto 0; line-height: 1.6; }
footer { background: #08112a; border-top: 1px solid rgba(245,197,24,0.1); padding: 48px 24px 32px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 48px; margin-bottom: 32px; }
.footer-brand img { height: 30px; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; color: var(--color-text-muted); line-height: 1.7; max-width: 280px; }
.footer-rsp { display: flex; justify-content: center; padding: 24px 0 0; border-top: 1px solid var(--color-border); margin-top: 8px; }
.footer-rsp img { height: 28px; opacity: 0.5; filter: grayscale(1); transition: opacity 0.2s; }
.footer-rsp img:hover { opacity: 0.8; }

/* ===== UTILITY ===== */
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--color-border-gold), transparent); margin: 0; }
