/*
 * Royal138 - Royal Midnight Gold Design System
 * Design Movement: Neo-Baroque Luxury + Modern Dark UI
 * Primary: #d4af37 (Royal Gold)
 * Background: #0a0e1a (Midnight Blue-Black)
 * Card: #131a2a (Dark Slate Blue)
 * Text: #e8e6e3 (Warm White)
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #131a2a;
  --bg-card: #1a2238;
  --bg-hover: #222d47;
  --gold: #d4af37;
  --gold-light: #f0c75e;
  --gold-dark: #b8941f;
  --red: #c0392b;
  --green: #27ae60;
  --text-primary: #e8e6e3;
  --text-secondary: #9aa5b8;
  --text-muted: #6b7a94;
  --border: #2a3454;
  --border-gold: rgba(212, 175, 55, 0.3);
  --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.15);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --radius: 12px;
  --radius-sm: 8px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s var(--ease-out); }
a:hover { color: var(--gold-light); }

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 900; }
h2 { font-size: clamp(1.4rem, 3vw, 1.875rem); margin-top: 2.5rem; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.375rem); margin-top: 2rem; }
h4 { font-size: 1.1rem; margin-top: 1.5rem; }

p { margin-bottom: 1.25rem; color: var(--text-secondary); }
p:last-child { margin-bottom: 0; }

/* ========== LAYOUT ========== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.main-content {
  padding-top: 80px;
  min-height: calc(100vh - 80px);
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s var(--ease-out);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.05em;
}

/* Navigation */
.main-nav { display: none; }
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
}

.main-nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease-out);
  white-space: nowrap;
}

.main-nav a:hover, .main-nav a.active {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
}

@media (min-width: 1024px) { .main-nav { display: block; } }

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  text-align: center;
  line-height: 1.2;
}

.btn:active { transform: scale(0.97); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0e1a;
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.5);
  color: #0a0e1a;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border-gold);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-sm { padding: 0.4rem 0.875rem; font-size: 0.8rem; }
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; }

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

@media (min-width: 1024px) { .mobile-menu-btn { display: none; } }

.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 14, 26, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 2rem;
  overflow-y: auto;
}

.mobile-nav.open { display: block; }

.mobile-nav ul { list-style: none; }
.mobile-nav li { border-bottom: 1px solid var(--border); }
.mobile-nav a {
  display: block;
  padding: 1rem 0;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 500;
}

.mobile-nav .mobile-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,14,26,0.95) 0%, rgba(10,14,26,0.7) 50%, rgba(10,14,26,0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero h1 .gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 550px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ========== WINNER TICKER ========== */
.winner-ticker {
  background: linear-gradient(90deg, #1a1200, #2a1e00, #1a1200);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding: 0.6rem 0;
  overflow: hidden;
  position: relative;
}

.ticker-label {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0e1a;
  font-weight: 700;
  font-size: 0.75rem;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ticker-wrap {
  overflow: hidden;
  margin-left: 120px;
}

.ticker-content {
  display: flex;
  gap: 3rem;
  animation: ticker-scroll 30s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 500;
}

.ticker-item .amount {
  color: #fff;
  font-weight: 700;
  font-family: var(--font-mono);
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== SECTIONS ========== */
.section {
  padding: 4rem 0;
}

.section-dark { background: var(--bg-secondary); }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  margin-bottom: 0.75rem;
  margin-top: 0;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
  color: var(--gold);
  font-size: 1.2rem;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

/* ========== GAME CARDS ========== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
  position: relative;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold), var(--shadow-card);
  border-color: var(--border-gold);
}

.game-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--bg-secondary);
}

.game-card-body {
  padding: 1.25rem;
}

.game-card-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.tag-slot { background: rgba(212, 175, 55, 0.2); color: var(--gold); }
.tag-casino { background: rgba(192, 57, 43, 0.2); color: #e74c3c; }
.tag-poker { background: rgba(39, 174, 96, 0.2); color: var(--green); }
.tag-sports { background: rgba(52, 152, 219, 0.2); color: #3498db; }
.tag-gacor { background: rgba(39, 174, 96, 0.25); color: #2ecc71; }

.game-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  margin-top: 0;
  font-family: var(--font-body);
  font-weight: 600;
}

.game-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.game-card-meta .rtp {
  font-family: var(--font-mono);
  color: var(--green);
  font-weight: 600;
}

/* ========== CATEGORY CARDS ========== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: opacity 0.3s;
}

.category-card:hover::before { opacity: 1; }

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}

.category-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.category-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  margin-top: 0;
  font-family: var(--font-body);
  font-weight: 600;
}

.category-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========== LEADERBOARD ========== */
.leaderboard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.leaderboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: rgba(212, 175, 55, 0.08);
  border-bottom: 1px solid var(--border-gold);
}

.leaderboard-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.leaderboard-date {
  font-size: 0.8rem;
  color: var(--gold);
  font-family: var(--font-mono);
}

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
}

.leaderboard-table th {
  padding: 0.75rem 1.5rem;
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}

.leaderboard-table td {
  padding: 0.875rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.leaderboard-table tr:last-child td { border-bottom: none; }
.leaderboard-table tr:hover td { background: rgba(212, 175, 55, 0.04); }

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.8rem;
}

.rank-1 { background: linear-gradient(135deg, #d4af37, #f0c75e); color: #0a0e1a; }
.rank-2 { background: linear-gradient(135deg, #95a5a6, #bdc3c7); color: #0a0e1a; }
.rank-3 { background: linear-gradient(135deg, #cd7f32, #daa520); color: #0a0e1a; }
.rank-other { background: var(--bg-secondary); color: var(--text-secondary); }

.prize-amount {
  font-family: var(--font-mono);
  color: var(--gold);
  font-weight: 600;
}

/* ========== TAG CLOUD ========== */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-cloud a {
  display: inline-block;
  padding: 0.35rem 0.875rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: all 0.2s var(--ease-out);
}

.tag-cloud a:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--border-gold);
  color: var(--gold);
}

/* ========== SEARCH BOX ========== */
.search-box {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.search-box input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  padding-right: 3.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.search-box input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.search-box input::placeholder { color: var(--text-muted); }

.search-box button {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: none;
  color: #0a0e1a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.search-box button:hover {
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

/* ========== ARTICLE CONTENT ========== */
.article-content {
  max-width: 780px;
  margin: 0 auto;
}

.article-content img {
  border-radius: var(--radius);
  margin: 1.5rem 0;
  box-shadow: var(--shadow-card);
}

.article-content h2 {
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-gold);
  margin-top: 3rem;
}

.article-content h3 {
  color: var(--gold-light);
  margin-top: 2rem;
}

.article-content ul, .article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content strong {
  color: var(--text-primary);
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.article-content th {
  background: rgba(212, 175, 55, 0.1);
  padding: 0.75rem 1rem;
  text-align: left;
  border: 1px solid var(--border);
  color: var(--gold);
  font-weight: 600;
}

.article-content td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.article-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(212, 175, 55, 0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-secondary);
  font-style: italic;
}

/* ========== FAQ ACCORDION ========== */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.125rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  transition: background 0.2s;
}

.faq-question:hover { background: rgba(212, 175, 55, 0.05); }

.faq-question .faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.25rem;
  transition: transform 0.3s var(--ease-out);
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease-out);
}

.faq-item.open .faq-answer { max-height: 500px; }

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-secondary);
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--gold); }

.breadcrumb .separator { color: var(--text-muted); }
.breadcrumb .current { color: var(--gold); }

/* ========== SIDEBAR ========== */
.page-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .page-layout {
    grid-template-columns: 1fr 320px;
  }
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-widget h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  margin-top: 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--gold);
}

.sidebar-widget ul {
  list-style: none;
}

.sidebar-widget ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.sidebar-widget ul li:last-child { border-bottom: none; }

.sidebar-widget ul li a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.sidebar-widget ul li a:hover { color: var(--gold); }

/* ========== CTA CARD ========== */
.cta-card {
  background: linear-gradient(135deg, #1a1200, #2a1e00);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.cta-card h3 {
  color: var(--gold);
  margin-bottom: 0.75rem;
  margin-top: 0;
}

.cta-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

/* ========== PROMO CARDS ========== */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.promo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}

.promo-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}

.promo-card-header {
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
  border-bottom: 1px solid var(--border-gold);
}

.promo-card-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--gold);
}

.promo-card-header .promo-value {
  font-size: 2rem;
  font-weight: 900;
  font-family: var(--font-display);
  color: var(--gold-light);
  margin-top: 0.25rem;
}

.promo-card-body {
  padding: 1.5rem;
}

.promo-card-body p {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.promo-terms {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.promo-terms li {
  margin-bottom: 0.35rem;
}

/* ========== FLOATING BUTTONS ========== */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  padding: 0.75rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(10, 14, 26, 0.95) 30%);
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.floating-cta .btn {
  flex: 1;
  max-width: 280px;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
}

.floating-cta .btn-gold {
  background: linear-gradient(135deg, #d4af37, #b8941f, #d4af37);
  background-size: 200% 200%;
  animation: gold-shimmer 3s ease infinite;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
}

.floating-cta .btn-outline {
  background: rgba(10, 14, 26, 0.8);
  border: 2px solid var(--gold);
  color: var(--gold);
  backdrop-filter: blur(8px);
}

.floating-cta .btn-outline:hover {
  background: rgba(212, 175, 55, 0.15);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

@keyframes gold-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Coin particles for floating buttons */
.coin-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--gold-light);
  border-radius: 50%;
  pointer-events: none;
  animation: coin-fall 2s ease-in infinite;
  opacity: 0;
}

@keyframes coin-fall {
  0% { transform: translateY(-10px) rotate(0deg); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(40px) rotate(360deg); opacity: 0; }
}

@media (min-width: 768px) {
  .floating-cta {
    padding: 1rem 2rem;
  }
  .floating-cta .btn {
    max-width: 320px;
    padding: 1rem 2rem;
    font-size: 1.05rem;
  }
}

/* ========== FOOTER ========== */
.site-footer {
  background: #060a14;
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
  padding-bottom: 120px; /* Space for floating CTA */
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1rem;
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 3px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  font-weight: 900;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.responsible-gaming {
  background: rgba(192, 57, 43, 0.1);
  border: 1px solid rgba(192, 57, 43, 0.3);
  border-radius: var(--radius-sm);
  padding: 1rem 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.responsible-gaming strong { color: #e74c3c; }

/* ========== RTP TABLE ========== */
.rtp-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.rtp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.rtp-table th {
  background: rgba(212, 175, 55, 0.1);
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  font-weight: 600;
  border-bottom: 2px solid var(--border-gold);
}

.rtp-table td {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.rtp-table tr:hover td { background: rgba(212, 175, 55, 0.03); }

.rtp-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
}

.rtp-high { color: var(--green); }
.rtp-medium { color: var(--gold); }
.rtp-low { color: #e67e22; }

.rtp-bar {
  width: 100%;
  height: 6px;
  background: var(--bg-secondary);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 4px;
}

.rtp-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.5s var(--ease-out);
}

.rtp-bar-fill.high { background: var(--green); }
.rtp-bar-fill.medium { background: var(--gold); }
.rtp-bar-fill.low { background: #e67e22; }

/* ========== FORM STYLES ========== */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* ========== AUTH PAGES ========== */
.auth-page {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem 120px;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.auth-card .logo {
  justify-content: center;
  margin-bottom: 1.5rem;
}

.auth-card h1 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.auth-card .auth-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.auth-card .btn {
  width: 100%;
  padding: 0.875rem;
  font-size: 1rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-link {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.auth-link a { font-weight: 600; }

/* ========== PROVIDER LOGOS ========== */
.provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.provider-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s var(--ease-out);
}

.provider-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}

.provider-card h3 {
  font-size: 1rem;
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
}

.provider-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.5s var(--ease-out) forwards;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========== UTILITY ========== */
.text-gold { color: var(--gold); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none; }

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ========== SELECTION ========== */
::selection {
  background: rgba(212, 175, 55, 0.3);
  color: var(--text-primary);
}
