/* === GRADIENT-VIBRANT STYLE === */
:root {
  --primary: #6c3de8;
  --primary-dark: #4a1fa8;
  --secondary: #ff6b35;
  --accent: #00d4aa;
  --bg: #0d0d1a;
  --bg-card: #14142a;
  --bg-card2: #1a1a35;
  --text: #e8e8f0;
  --text-muted: #9090b0;
  --border: #2a2a50;
  --gold: #ffd700;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(108, 61, 232, 0.25);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

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

/* HEADER */
.site-header {
  background: linear-gradient(135deg, #0d0d1a 0%, #1a1040 100%);
  border-bottom: 2px solid var(--primary);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(108, 61, 232, 0.3);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo a {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-header nav {
  display: flex;
  gap: 24px;
}

.site-header nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.site-header nav a:hover { color: var(--accent); }

/* BREADCRUMB */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }

/* MAIN */
.main-content {
  padding: 32px 20px 60px;
}

/* STATS BAR */
.stats-bar {
  display: flex;
  gap: 32px;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card2) 100%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 14px 20px;
  margin-bottom: 28px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.stats-bar strong {
  color: var(--gold);
  font-size: 1.1rem;
}

/* HEADINGS */
h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, var(--accent) 50%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 800;
  margin: 48px 0 16px;
  color: #fff;
  padding-bottom: 10px;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, var(--primary), var(--accent)) 1;
}

h3 {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--accent);
}

p {
  margin-bottom: 16px;
  color: var(--text);
}

strong { color: #fff; }

/* CASINO TABLE */
.casino-table {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.casino-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
}

.casino-table thead {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.casino-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  white-space: nowrap;
}

.casino-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text);
  vertical-align: middle;
}

.casino-table tbody tr:hover {
  background: var(--bg-card2);
}

/* CTA BUTTON */
.btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary), #ff9520);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

main .btn-cta {
  margin: 20px 0;
  padding: 14px 32px;
  font-size: 1.1rem;
}

/* FAQ */
.faq-list {
  margin: 16px 0;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-q {
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

/* AUTHOR BOX */
.author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card2) 100%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 48px;
}

.author-avatar {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.author-info strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.author-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 8px;
  margin-bottom: 0;
}

/* FOOTER */
.site-footer {
  background: linear-gradient(135deg, #0a0a14 0%, #12102a 100%);
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.site-footer p { margin-bottom: 8px; color: var(--text-muted); }

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer a:hover { color: var(--accent); }

.site-footer nav {
  margin-top: 12px;
}

.site-footer nav a {
  margin: 0 6px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .stats-bar { flex-direction: column; gap: 8px; }
  .author-box { flex-direction: column; }
  .casino-table th, .casino-table td { padding: 10px 10px; font-size: 0.8rem; }
  .site-header nav { display: none; }
}

/* Counters pulse */
.reg-counter, .online-counter {
  animation: pulse-gold 2s ease-in-out infinite;
}

@keyframes pulse-gold {
  0%, 100% { color: var(--gold); }
  50% { color: #fff; }
}
