/* =============================================
   EVA CASINO — MAIN STYLESHEET
   ============================================= */

:root {
  --bg-dark: #0d0d1a;
  --bg-card: #161628;
  --bg-card2: #1e1e36;
  --accent: #c9a84c;
  --accent-hover: #e8c96a;
  --accent-glow: rgba(201, 168, 76, 0.35);
  --pink: #e04fa0;
  --pink-glow: rgba(224, 79, 160, 0.3);
  --text: #f0e8d8;
  --text-muted: #8a8aaa;
  --border: rgba(201, 168, 76, 0.18);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', 'Inter', Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #c9a84c, #e8c96a);
  color: #0d0d1a;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #e8c96a, #fff0a0);
  box-shadow: 0 0 22px var(--accent-glow);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent-glow);
  box-shadow: 0 0 18px var(--accent-glow);
}
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 26, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 28px;
}
.logo-link { flex-shrink: 0; }
.logo { height: 42px; width: auto; }

.main-nav {
  display: flex;
  gap: 6px;
  margin-left: 8px;
}
.main-nav a {
  padding: 8px 16px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.main-nav a:hover, .main-nav a.active {
  color: var(--accent);
  background: rgba(201, 168, 76, 0.1);
}

.header-actions { display: flex; gap: 10px; margin-left: auto; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 16px 20px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}
.mobile-nav a:hover { color: var(--accent); background: rgba(201,168,76,0.08); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('header-bg.webp') center center / cover no-repeat;
  filter: brightness(0.5);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,13,26,0.3) 0%, rgba(13,13,26,0.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 40px;
  width: 100%;
}
.hero-text { max-width: 520px; }
.hero-text h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.hero-text h1 span {
  background: linear-gradient(90deg, #c9a84c, #e04fa0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.feature-card {
  background: rgba(30, 30, 54, 0.78);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
}
.feat-icon { font-size: 1.8rem; }

/* ===== WINS SECTION ===== */
.wins-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.wins-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 0 20px;
}
.wins-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent);
}
.wins-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #5bff5b;
  box-shadow: 0 0 8px #5bff5b;
  animation: pulse-dot 1.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.wins-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-muted);
  font-size: 0.82rem;
  padding: 5px 14px;
  cursor: pointer;
  transition: var(--transition);
}
.wins-toggle:hover { border-color: var(--accent); color: var(--accent); }

.wins-ticker-wrap {
  overflow: hidden;
  width: 100%;
  padding: 4px 0;
}
.wins-ticker {
  display: flex;
  gap: 18px;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
  will-change: transform;
}
.wins-ticker:hover { animation-play-state: paused; }

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.win-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 6px 14px;
  font-size: 0.84rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.win-chip:hover { border-color: var(--accent); }
.win-player { color: var(--text-muted); }
.win-game { color: var(--text); font-weight: 600; }
.win-amount { color: #5bff5b; font-weight: 700; }
.win-mult { color: var(--accent); font-size: 0.78rem; }

.wins-expanded { padding: 16px 0 8px; }
.wins-table-wrap { overflow-x: auto; }
.wins-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.wins-table th {
  text-align: left;
  padding: 10px 14px;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.wins-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(201,168,76,0.07);
  transition: background 0.2s;
}
.wins-table tr:hover td { background: rgba(201,168,76,0.05); }
.wins-table td:nth-child(3) { color: var(--text-muted); }
.wins-table td:nth-child(4) { color: #5bff5b; font-weight: 700; }
.wins-table td:nth-child(5) { color: var(--accent); }
.win-new td { animation: flash-row 0.6s ease; }
@keyframes flash-row {
  0% { background: rgba(91,255,91,0.12); }
  100% { background: transparent; }
}

/* ===== GAMES SECTION ===== */
.games-section { padding: 56px 20px; }
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.section-header h2 {
  font-size: 1.7rem;
  font-weight: 800;
}
.see-all {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.93rem;
  transition: var(--transition);
}
.see-all:hover { color: var(--accent-hover); }

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.game-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.game-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 14px 36px rgba(0,0,0,0.55), 0 0 20px var(--accent-glow);
  border-color: var(--accent);
}
.game-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.game-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,13,26,0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.game-card:hover .game-overlay { opacity: 1; }
.game-overlay span {
  background: linear-gradient(135deg, #c9a84c, #e8c96a);
  color: #0d0d1a;
  font-weight: 800;
  font-size: 1rem;
  padding: 10px 26px;
  border-radius: 24px;
  box-shadow: 0 4px 18px var(--accent-glow);
}
.game-name {
  padding: 8px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== APP BANNER ===== */
.app-banner {
  background: linear-gradient(135deg, #1e1e36, #2a1a3a);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 20px;
}
.app-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.app-text h2 { font-size: 1.9rem; font-weight: 800; margin-bottom: 10px; }
.app-text p { color: var(--text-muted); margin-bottom: 24px; font-size: 1.05rem; }
.app-icons .app-icon { font-size: 4rem; }

/* ===== PROMO NAV ===== */
.promo-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 40px 20px;
}
.promo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}
.promo-card:hover {
  border-color: var(--accent);
  background: var(--bg-card2);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-3px);
}
.promo-icon { font-size: 2.2rem; }
.promo-label { font-weight: 700; font-size: 0.93rem; color: var(--text-muted); }
.promo-card:hover .promo-label { color: var(--accent); }

/* ===== SEO SECTION ===== */
.seo-section {
  padding: 56px 20px;
  border-top: 1px solid var(--border);
}
.seo-section h2 {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.seo-section > p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 760px;
}
.seo-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.seo-columns h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}
.seo-columns p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.92rem;
}
.seo-columns ul {
  color: var(--text-muted);
  line-height: 1.9;
  font-size: 0.92rem;
  padding-left: 18px;
}
.seo-columns li::marker { color: var(--accent); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, #161628 0%, #1e1e36 100%);
  border-bottom: 1px solid var(--border);
  padding: 64px 20px 48px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 14px;
}
.page-hero h1 span {
  background: linear-gradient(90deg, #c9a84c, #e04fa0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 28px;
}

/* ===== BONUS CARDS ===== */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 48px 20px;
}
.bonus-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}
.bonus-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
  transform: translateY(-3px);
}
.bonus-badge {
  display: inline-block;
  background: linear-gradient(135deg, #c9a84c, #e8c96a);
  color: #0d0d1a;
  font-weight: 800;
  font-size: 1.6rem;
  padding: 8px 20px;
  border-radius: 10px;
  margin-bottom: 16px;
}
.bonus-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; }
.bonus-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; margin-bottom: 20px; }
.bonus-card .btn { width: 100%; justify-content: center; }

/* ===== FAQ ===== */
.faq-list {
  padding: 48px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.98rem;
  transition: var(--transition);
  user-select: none;
}
.faq-question:hover { color: var(--accent); }
.faq-arrow {
  font-size: 1.1rem;
  transition: transform var(--transition);
  color: var(--accent);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.75;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}

/* ===== LIVE PAGE ===== */
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  padding: 48px 20px;
}
.live-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.live-card:hover {
  border-color: var(--pink);
  box-shadow: 0 0 24px var(--pink-glow);
  transform: translateY(-4px);
}
.live-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-card2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.live-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #e04fa0;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 0.5px;
}
.live-card-body { padding: 14px 16px; }
.live-card-body h3 { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.live-card-meta { color: var(--text-muted); font-size: 0.8rem; }

/* ===== SITE FOOTER ===== */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.footer-logo { height: 34px; opacity: 0.85; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.footer-disclaimer { color: var(--text-muted); font-size: 0.8rem; }
.footer-copy { color: var(--text-muted); font-size: 0.78rem; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 14px 20px;
  color: var(--text-muted);
  font-size: 0.84rem;
  display: flex;
  gap: 6px;
  align-items: center;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--text-muted); }

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a84c, #e8c96a);
  color: #0d0d1a;
  font-size: 1.3rem;
  font-weight: 900;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px var(--accent-glow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 200;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { transform: translateY(-2px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-content { flex-direction: column; align-items: flex-start; }
  .hero-features { grid-template-columns: 1fr 1fr; }
  .promo-nav { grid-template-columns: repeat(2, 1fr); }
  .seo-columns { grid-template-columns: 1fr; }
  .app-banner-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  .main-nav, .header-actions { display: none; }
  .burger { display: flex; }
  .hero-features { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .live-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .bonus-grid { grid-template-columns: 1fr; }
  .promo-nav { grid-template-columns: repeat(2, 1fr); }
  .footer-top { flex-direction: column; }
}
