/* fanduel Casino — Global Stylesheet */
/* CSS class prefix: v596- | CSS variable prefix: --v596- */
/* Color palette: #DAA520 (gold) | #1A1A1A (dark) — Luxury Gold Casino Theme */

:root {
  --v596-bg: #1A1A1A;
  --v596-bg2: #222222;
  --v596-bg3: #2A2A2A;
  --v596-primary: #DAA520;
  --v596-primary-dark: #B8860B;
  --v596-primary-light: #F0C040;
  --v596-accent: #FFD700;
  --v596-text: #F5E6C8;
  --v596-text2: #C8A96E;
  --v596-text3: #8A7550;
  --v596-border: #3A3018;
  --v596-card-bg: #242010;
  --v596-success: #4CAF50;
  --v596-max-w: 430px;
  --v596-header-h: 56px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 62.5%; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--v596-bg);
  color: var(--v596-text);
  font-size: 1.4rem;
  line-height: 1.5;
  max-width: var(--v596-max-w);
  margin: 0 auto;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ====== HEADER ====== */
.v596-header {
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--v596-max-w);
  height: var(--v596-header-h);
  background: rgba(26,26,26,0.97);
  border-bottom: 2px solid var(--v596-primary);
  z-index: 1000;
  backdrop-filter: blur(8px);
  transition: background 0.3s;
}

.v596-header-scrolled {
  background: rgba(26,26,26,0.99);
  box-shadow: 0 2px 16px rgba(218,165,32,0.2);
}

.v596-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 12px;
  gap: 8px;
}

.v596-logo {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--v596-primary);
  letter-spacing: -0.5px;
  text-shadow: 0 0 10px rgba(218,165,32,0.4);
  flex-shrink: 0;
}

.v596-logo span { color: var(--v596-accent); }

.v596-header-btns { display: flex; gap: 6px; flex-shrink: 0; }

.v596-btn-register {
  background: var(--v596-primary);
  color: #1A1A1A;
  border: none;
  border-radius: 6px;
  padding: 7px 13px;
  font-size: 1.2rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.1s;
}

.v596-btn-register:hover { background: var(--v596-primary-light); }
.v596-btn-register:active { transform: scale(0.96); }

.v596-btn-login {
  background: transparent;
  color: var(--v596-primary);
  border: 1.5px solid var(--v596-primary);
  border-radius: 6px;
  padding: 6px 13px;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all 0.2s;
}

.v596-btn-login:hover { background: rgba(218,165,32,0.1); }

/* Hamburger */
.v596-hamburger {
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 4px;
  flex-shrink: 0;
}

.v596-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--v596-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.v596-hamburger-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.v596-hamburger-active span:nth-child(2) { opacity: 0; }
.v596-hamburger-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ====== OVERLAY ====== */
.v596-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9990;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.v596-overlay-show { opacity: 1; pointer-events: all; }

/* ====== MOBILE MENU ====== */
.v596-mobile-menu {
  position: fixed;
  top: 0; left: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: var(--v596-bg2);
  border-right: 2px solid var(--v596-primary);
  z-index: 9999;
  overflow-y: auto;
  transition: left 0.35s cubic-bezier(0.4,0,0.2,1);
}

.v596-menu-open { left: 0 !important; }

.v596-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--v596-border);
  background: rgba(218,165,32,0.05);
}

.v596-menu-title { font-size: 1.5rem; font-weight: 700; color: var(--v596-primary); }

.v596-menu-close {
  background: none;
  border: none;
  color: var(--v596-text2);
  font-size: 1.6rem;
  padding: 4px;
}

.v596-menu-section { padding: 12px 16px 4px; }

.v596-menu-label {
  font-size: 1rem;
  color: var(--v596-text3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--v596-border);
}

.v596-menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  font-size: 1.3rem;
  color: var(--v596-text);
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.v596-menu-link:hover, .v596-menu-active { background: rgba(218,165,32,0.1); color: var(--v596-primary); }
.v596-menu-link i, .v596-menu-link .material-icons { color: var(--v596-primary); font-size: 1.5rem; }

.v596-menu-cta { padding: 16px; margin-top: 4px; border-top: 1px solid var(--v596-border); }

/* ====== MAIN ====== */
.v596-main { padding-top: var(--v596-header-h); }

@media (max-width: 768px) {
  .v596-main { padding-bottom: 72px; }
}

/* ====== CAROUSEL ====== */
.v596-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16/7;
  overflow: hidden;
  background: var(--v596-bg2);
  cursor: pointer;
}

.v596-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.v596-slide-active { opacity: 1; }

.v596-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v596-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.v596-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(218,165,32,0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.v596-dot-active { background: var(--v596-accent); width: 18px; border-radius: 3px; }

/* ====== GAME GRID ====== */
.v596-section { padding: 18px 14px; border-bottom: 1px solid var(--v596-border); }

.v596-section-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--v596-primary);
  margin-bottom: 4px;
}

.v596-section-divider {
  width: 32px; height: 3px;
  background: linear-gradient(90deg, var(--v596-primary), transparent);
  border-radius: 2px;
  margin-bottom: 13px;
}

.v596-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.v596-game-card {
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s;
}

.v596-game-card:active { transform: scale(0.95); }

.v596-game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--v596-border);
}

.v596-game-card span {
  display: block;
  font-size: 1rem;
  color: var(--v596-text2);
  margin-top: 3px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ====== BUTTONS ====== */
.v596-cta-btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1.4rem;
  font-weight: 700;
  border: none;
  background: var(--v596-primary);
  color: #1A1A1A;
  transition: background 0.2s, transform 0.1s;
  cursor: pointer;
}

.v596-cta-btn:hover { background: var(--v596-primary-light); }
.v596-cta-btn:active { transform: scale(0.97); }

.v596-cta-btn-full { width: 100%; text-align: center; }

.v596-gold-btn {
  background: linear-gradient(135deg, var(--v596-primary), var(--v596-accent));
  color: #1A1A1A;
}

/* ====== FAQ ====== */
.v596-faq-item {
  background: var(--v596-bg3);
  border: 1px solid var(--v596-border);
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
}

.v596-faq-item.v596-faq-open { border-color: var(--v596-primary); }

.v596-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 14px;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--v596-text);
  font-size: 1.3rem;
  gap: 10px;
  line-height: 1.4;
}

.v596-faq-icon { color: var(--v596-primary); flex-shrink: 0; transition: transform 0.3s; font-size: 1.2rem; }

.v596-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }

.v596-faq-body { padding: 0 14px 14px; font-size: 1.2rem; color: var(--v596-text2); line-height: 1.6; }

.v596-faq-body a { color: var(--v596-primary); }

/* ====== FOOTER ====== */
.v596-footer {
  background: var(--v596-bg2);
  border-top: 2px solid var(--v596-primary);
  padding: 20px 14px 16px;
  text-align: center;
}

.v596-footer-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 14px;
}

.v596-footer-partners img {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: grayscale(30%) brightness(0.9);
  opacity: 0.8;
}

.v596-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 12px;
}

.v596-footer-nav a {
  font-size: 1.1rem;
  color: var(--v596-text2);
  padding: 2px 6px;
  transition: color 0.2s;
}

.v596-footer-nav a:hover { color: var(--v596-primary); }

.v596-footer-promo {
  font-size: 1.1rem;
  color: var(--v596-text3);
  line-height: 1.5;
  margin-bottom: 8px;
}

.v596-footer-copy { font-size: 1rem; color: var(--v596-text3); }

/* ====== BOTTOM NAV ====== */
.v596-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--v596-max-w);
  height: 60px;
  background: var(--v596-bg2);
  border-top: 2px solid var(--v596-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 16px rgba(218,165,32,0.12);
}

@media (min-width: 769px) {
  .v596-bottom-nav { display: none; }
}

.v596-bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: none;
  border: none;
  color: var(--v596-text3);
  min-width: 56px;
  min-height: 56px;
  padding: 4px 6px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s, transform 0.1s;
  font-size: 1rem;
}

.v596-bnav-item i, .v596-bnav-item .material-icons, .v596-bnav-item .bi { font-size: 2.2rem; line-height: 1; }

.v596-bnav-item span { font-size: 1rem; line-height: 1.1; }

.v596-bnav-item:hover { color: var(--v596-primary); }
.v596-bnav-item:active { transform: scale(0.92); }

.v596-bnav-active { color: var(--v596-accent) !important; background: rgba(218,165,32,0.1); border-radius: 8px; }

/* ====== RTP TABLE ====== */
.v596-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
}

.v596-rtp-table th {
  background: rgba(218,165,32,0.15);
  color: var(--v596-primary);
  padding: 9px 10px;
  text-align: left;
  border-bottom: 1px solid var(--v596-border);
}

.v596-rtp-table td {
  padding: 9px 10px;
  color: var(--v596-text);
  border-bottom: 1px solid var(--v596-border);
  background: var(--v596-bg3);
}

.v596-rtp-table .v596-rtp-val { color: var(--v596-primary); font-weight: 700; }

/* ====== UTILITY ====== */
.v596-badge {
  display: inline-block;
  background: var(--v596-primary);
  color: #1A1A1A;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
}

.v596-gold-text { color: var(--v596-primary); }

.v596-separator {
  height: 1px;
  background: var(--v596-border);
  margin: 14px 0;
}
