/* =========================================
   EVA CASINO — Main Stylesheet
   Dark Green + Gold Design System
   ========================================= */

:root {
  --bg-dark:       #061a0c;
  --bg-card:       #0d2b14;
  --bg-nav:        #081e0e;
  --bg-header:     #0a2210;
  --green-mid:     #0f3318;
  --green-light:   #1a5228;
  --gold:          #c9a227;
  --gold-light:    #e2be55;
  --gold-dark:     #a07c10;
  --text-primary:  #f0ead6;
  --text-muted:    #8aab8e;
  --text-gold:     #d4af37;
  --border:        #1e4025;
  --border-gold:   #c9a22755;
  --radius:        10px;
  --radius-lg:     16px;
  --shadow-card:   0 4px 20px rgba(0,0,0,0.5);
  --shadow-gold:   0 0 20px rgba(201,162,39,0.3);
  --transition:    0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
}

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

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--green-light); border-radius: 3px; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-transform: uppercase;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  color: #1a0f00;
  box-shadow: 0 4px 15px rgba(201,162,39,0.4);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, #f0d070 50%, var(--gold-light) 100%);
  box-shadow: 0 6px 25px rgba(201,162,39,0.6);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: #1a0f00;
  box-shadow: var(--shadow-gold);
}

.btn-sm { padding: 8px 20px; font-size: 0.82rem; }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }

/* ─── HEADER ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border-gold);
  backdrop-filter: blur(10px);
}

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

.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-link img { height: 44px; width: auto; }

/* NAV */
.main-nav { display: flex; align-items: center; gap: 4px; }

.main-nav a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
  background: rgba(201,162,39,0.1);
}

.header-actions { display: flex; align-items: center; gap: 10px; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── MOBILE MENU ─── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 70px 0 0 0;
  background: var(--bg-nav);
  z-index: 999;
  padding: 24px 20px;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.mobile-menu a:hover, .mobile-menu a.active {
  color: var(--gold);
  background: rgba(201,162,39,0.08);
  border-color: var(--border-gold);
}

/* ─── HERO BANNER ─── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../header-bg.webp');
  background-size: cover;
  background-position: center top;
  filter: brightness(0.55);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,26,12,0.85) 0%, rgba(6,26,12,0.4) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 640px;
  margin-left: 5vw;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,162,39,0.15);
  border: 1px solid var(--border-gold);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  width: fit-content;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 1.05rem;
  color: var(--text-primary);
  opacity: 0.85;
  max-width: 480px;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* Features strip */
.features-strip {
  background: var(--green-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-right: 1px solid var(--border);
  transition: var(--transition);
}
.feature-item:last-child { border-right: none; }
.feature-item:hover { background: rgba(201,162,39,0.06); }
.feature-icon {
  font-size: 2rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(201,162,39,0.5));
}
.feature-text { display: flex; flex-direction: column; gap: 2px; }
.feature-text strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold);
}
.feature-text span { font-size: 0.78rem; color: var(--text-muted); }

/* ─── SECTION ─── */
.section { padding: 60px 0; }
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}
.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 28px;
  background: linear-gradient(to bottom, var(--gold), var(--gold-dark));
  border-radius: 2px;
  flex-shrink: 0;
}

/* ─── WINS TICKER ─── */
.wins-ticker {
  background: var(--green-mid);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 14px 20px;
  margin-bottom: 32px;
  overflow: hidden;
  position: relative;
}
.wins-ticker-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.wins-ticker-label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(74,222,128,0.3);
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74,222,128,0.3); }
  50% { box-shadow: 0 0 0 6px rgba(74,222,128,0.1); }
}
.wins-list {
  display: flex;
  gap: 20px;
  animation: scroll-wins 30s linear infinite;
  white-space: nowrap;
}
.wins-list:hover { animation-play-state: paused; }
@keyframes scroll-wins {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.win-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(6,26,12,0.6);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 50px;
  flex-shrink: 0;
}
.win-item .avatar {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--green-light), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}
.win-item .win-info { display: flex; flex-direction: column; line-height: 1.2; }
.win-item .win-name { font-size: 0.78rem; font-weight: 600; color: var(--text-primary); }
.win-item .win-amount { font-size: 0.82rem; font-weight: 800; color: #4ade80; }
.win-item .win-game { font-size: 0.72rem; color: var(--text-muted); }

/* ─── GAME GRID ─── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}

.game-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  aspect-ratio: 1 / 1;
}
.game-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 30px rgba(201,162,39,0.25);
  border-color: var(--border-gold);
}
.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.game-card:hover img { transform: scale(1.08); }
.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,26,12,0.9) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  opacity: 0;
  transition: opacity var(--transition);
}
.game-card:hover .game-card-overlay { opacity: 1; }
.game-card-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  line-height: 1.2;
}
.game-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1a0f00;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 8px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ─── CATEGORY TABS ─── */
.cat-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.cat-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.cat-tab:hover, .cat-tab.active {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(201,162,39,0.08);
}
.cat-tab .icon { font-size: 1.1rem; }

/* ─── BONUS CARDS ─── */
.bonuses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.bonus-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.bonus-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.bonus-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-3px);
}
.bonus-icon { font-size: 2.8rem; }
.bonus-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold);
}
.bonus-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.bonus-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(201,162,39,0.15);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  width: fit-content;
}

/* ─── SEO SECTION ─── */
.seo-section {
  background: var(--green-mid);
  border-top: 1px solid var(--border);
  padding: 60px 0;
}
.seo-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.seo-inner h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 20px;
}
.seo-inner h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 24px 0 10px;
}
.seo-inner p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}
.seo-inner ol, .seo-inner ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.seo-inner li { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; list-style: disc; }
.seo-inner ol li { list-style: decimal; }

/* ─── FAQ ─── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--border-gold); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  gap: 16px;
  user-select: none;
}
.faq-question:hover { color: var(--gold); }
.faq-arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: rgba(201,162,39,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
  color: var(--gold);
  font-size: 0.9rem;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0 22px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 22px 20px;
}

/* ─── LIVE WINS TABLE ─── */
.live-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.live-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.live-table thead tr {
  background: var(--green-mid);
  border-bottom: 1px solid var(--border-gold);
}
.live-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.live-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}
.live-table tr:last-child td { border-bottom: none; }
.live-table tr:hover td { background: rgba(201,162,39,0.04); }
.win-highlight { color: #4ade80; font-weight: 700; }
.new-row { animation: fadeInRow 0.5s ease; }
@keyframes fadeInRow {
  from { opacity: 0; background: rgba(74,222,128,0.08); }
  to { opacity: 1; background: transparent; }
}

/* ─── STATS BAR ─── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}
.stat-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}
.stat-value {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
  display: block;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--bg-nav);
  border-top: 1px solid var(--border);
  padding: 50px 0 30px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 30px;
}
.footer-brand img { height: 38px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 5px 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.age-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--text-muted);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: linear-gradient(135deg, var(--green-mid) 0%, var(--bg-dark) 100%);
  border-bottom: 1px solid var(--border);
  padding: 50px 0 40px;
}
.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 10px;
}
.page-hero h1 span { color: var(--gold); }
.page-hero p { color: var(--text-muted); font-size: 1rem; max-width: 540px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--text-muted); }

/* ─── PROVIDERS ─── */
.providers-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.provider-tag {
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  transition: var(--transition);
}
.provider-tag:hover {
  border-color: var(--border-gold);
  color: var(--gold);
}

/* ─── SEO FAQ / LINKS BLOCKS ─── */
.seo-article h2 { margin-top: 32px; }
.seo-article h2:first-child { margin-top: 0; }

.seo-faq { margin-top: 44px; }
.seo-faq__list { display: flex; flex-direction: column; gap: 0; }
.seo-faq__item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.seo-faq__item:last-child { border-bottom: none; }
.seo-faq__question {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.seo-faq__answer {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.seo-links { margin-top: 44px; }
.seo-links h2 { margin-bottom: 16px; }
.seo-links__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
}
.seo-links__list li { list-style: none; }
.seo-links__list a {
  display: inline-block;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.seo-links__list a:hover {
  border-color: var(--border-gold);
  color: var(--gold);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .features-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .burger { display: flex; }

  .hero { min-height: 420px; }
  .hero-content { margin-left: 0; padding: 50px 20px; }

  .features-inner { grid-template-columns: 1fr; }
  .feature-item { border-right: none; border-bottom: 1px solid var(--border); }
  .feature-item:last-child { border-bottom: none; }

  .games-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .bonuses-grid { grid-template-columns: 1fr; }

  .header-actions .btn-outline { display: none; }
}

@media (max-width: 480px) {
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .cat-tabs { gap: 6px; }
  .cat-tab { padding: 7px 12px; font-size: 0.8rem; }
}
