@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Roboto:wght@400;500;700&display=swap');

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

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-tertiary: #1a1a1a;
  --card-bg: #1e1e1e;
  --input-bg: #2a2a2a;
  
  --accent-red: #e31e24;
  --accent-red-hover: #ff3b3b;
  --accent-red-dark: #c41e3a;
  
  --accent-gold: #ffd700;
  --accent-gold-hover: #f5c518;
  --accent-gold-dark: #daa520;
  
  --text-primary: #ffffff;
  --text-muted: #b0b0b0;
  --text-dark: #666666;
  
  --border-light: #333333;
  --border-dark: #222222;
  
  --color-success: #28a745;
  --color-danger: #dc3545;
  --color-warning: #ffc107;
  
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 30px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.text-gold { color: var(--accent-gold); }
.text-red { color: var(--accent-red); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  font-weight: 600;
  font-size: 14px;
  border: none;
  outline: none;
  text-decoration: none;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-red {
  background-color: var(--accent-red);
  color: var(--text-primary);
}

.btn-red:hover:not(:disabled) {
  background-color: var(--accent-red-hover);
  box-shadow: 0 0 20px rgba(227, 30, 36, 0.5);
}

.btn-gold {
  background-color: var(--accent-gold);
  color: #000;
}

.btn-gold:hover:not(:disabled) {
  background-color: var(--accent-gold-hover);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

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

.btn-outline:hover:not(:disabled) {
  background-color: var(--accent-red);
  color: var(--text-primary);
  box-shadow: 0 0 15px rgba(227, 30, 36, 0.3);
}

.btn-success { background-color: var(--color-success); color: #fff; }
.btn-danger { background-color: var(--color-danger); color: #fff; }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-full { width: 100%; }

/* Forms */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-control, .form-select {
  width: 100%;
  background-color: var(--input-bg);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  font-family: inherit;
  font-size: 14px;
}

.form-control:focus, .form-select:focus {
  border-color: var(--accent-red);
  box-shadow: 0 0 10px rgba(227, 30, 36, 0.3);
  outline: none;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b0b0b0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

.form-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-error {
  display: block;
  color: var(--color-danger);
  font-size: 12px;
  margin-top: 4px;
}

/* Cards */
.card {
  background-color: var(--card-bg);
  border: 1px solid var(--input-bg);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.card-header {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

/* Tables */
.table-responsive {
  overflow-x: auto;
}

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

.table-dark th {
  background-color: var(--bg-tertiary);
  color: var(--text-muted);
  padding: 12px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
}

.table-dark td {
  padding: 12px;
  border-bottom: 1px solid var(--border-dark);
  font-size: 14px;
}

.table-dark tr:hover td {
  background-color: var(--card-bg);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-new { background-color: var(--color-success); color: #fff; }
.badge-hot { background-color: var(--accent-red); color: #fff; animation: pulse 2s infinite; }
.badge-top { background-color: var(--accent-gold); color: #000; }
.badge-pending { background-color: var(--color-warning); color: #000; }
.badge-approved { background-color: var(--color-success); color: #fff; }
.badge-rejected { background-color: var(--color-danger); color: #fff; }

/* Navigation */
.top-bar {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-dark);
  padding: 6px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.marquee-container {
  flex: 1;
  overflow: hidden;
  margin-right: 20px;
  position: relative;
  height: 24px;
  display: flex;
  align-items: center;
}

.marquee-text {
  display: inline-block;
  white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
  position: absolute;
}

.login-inline-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.login-inline-form .form-control {
  height: 32px;
  padding: 4px 10px;
  font-size: 13px;
  width: 150px;
}

.login-inline-form .btn {
  height: 32px;
  padding: 0 16px;
  font-size: 13px;
}

.navbar {
  background-color: var(--bg-primary);
  padding: 10px 20px;
  border-bottom: 1px solid var(--border-dark);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.brand-logo {
  font-size: 28px;
  font-weight: 900;
  color: var(--accent-gold);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
  margin-bottom: 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu {
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
  width: 100%;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-decoration: none;
  color: var(--text-muted);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
  min-width: 80px;
}

.nav-item:hover, .nav-item.active {
  color: var(--accent-gold);
  background-color: rgba(255, 215, 0, 0.1);
}

.nav-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

/* Hero Banner */
.hero-section {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 21/9;
  min-height: 200px;
  background-color: var(--card-bg);
}

.hero-slide {
  width: 100%;
  height: 100%;
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  display: flex;
  animation: fadeIn 0.5s ease-in-out;
}

.hero-slide img.banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.hero-content h2 {
  font-size: clamp(24px, 4vw, 48px);
  color: #fff;
  text-shadow: 0 4px 12px rgba(0,0,0,0.8);
  margin-bottom: 16px;
}

.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-round);
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hero-dot.active {
  background-color: var(--accent-red);
  transform: scale(1.2);
}

/* Togel Grid */
.togel-section {
  max-width: 1200px;
  margin: 0 auto 30px;
  padding: 0 20px;
}

.togel-grid {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.togel-box {
  text-align: center;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  min-width: 120px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}

.togel-box::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
  animation: shimmer 3s infinite;
}

.togel-box-1 { background: linear-gradient(135deg, #c41e3a, #8a0014); }
.togel-box-2 { background: linear-gradient(135deg, #0056b3, #002d5e); }
.togel-box-3 { background: linear-gradient(135deg, #6f42c1, #3c1e7a); }
.togel-box-4 { background: linear-gradient(135deg, #28a745, #145523); }
.togel-box-5 { background: linear-gradient(135deg, #fd7e14, #9a4603); }
.togel-box-6 { background: linear-gradient(135deg, #e83e8c, #8a174d); }

.togel-box-name {
  font-size: 11px;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  letter-spacing: 1px;
}

.togel-box-number {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.togel-box-date {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* Jackpot Section */
.jackpot-wrapper {
  max-width: 1200px;
  margin: 0 auto 30px;
  padding: 0 20px;
}

.jackpot-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #1a1a1a, #2a0808);
  border-radius: var(--radius-lg);
  padding: 24px 40px;
  border: 1px solid var(--accent-red);
  box-shadow: 0 8px 32px rgba(227, 30, 36, 0.15);
  flex-wrap: wrap;
  gap: 20px;
}

.jackpot-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.jackpot-logo {
  font-size: 40px;
  animation: pulse 2s infinite;
}

.jackpot-info h3 {
  color: var(--accent-gold);
  margin: 0 0 8px 0;
  font-size: 20px;
}

.jackpot-right {
  text-align: right;
}

.jackpot-label {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.jackpot-amount {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  color: var(--accent-gold);
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.3);
  font-family: monospace;
}

/* Provider Tabs */
.provider-tabs {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}

.provider-tab {
  padding: 8px 20px;
  background-color: var(--input-bg);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition-fast);
  border: 1px solid var(--border-light);
}

.provider-tab.active, .provider-tab:hover {
  background-color: var(--accent-red);
  color: #fff;
  border-color: var(--accent-red);
  box-shadow: 0 4px 12px rgba(227, 30, 36, 0.3);
}

/* Game Grid */
.game-section {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.game-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background-color: var(--card-bg);
  border: 1px solid var(--input-bg);
}

.game-card:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 12px 24px rgba(227, 30, 36, 0.3);
  border-color: var(--accent-red);
  z-index: 2;
}

.game-card-thumb {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 10px;
  position: relative;
}

.game-card-title {
  padding: 12px 10px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  background-color: var(--bg-tertiary);
}

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.game-card:hover .game-card-overlay {
  opacity: 1;
}

.game-card .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Sport Cards */
.sport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.sport-card {
  background-color: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--input-bg);
  transition: all var(--transition-fast);
}

.sport-card:hover {
  border-color: var(--border-light);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.sport-card-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--accent-red);
  margin-bottom: 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 8px;
}

.sport-card-teams {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.sport-card-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  text-align: center;
}

.team-logo {
  width: 40px;
  height: 40px;
  background-color: var(--input-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.team-name {
  font-size: 14px;
  font-weight: 600;
}

.sport-card-score {
  font-size: 28px;
  font-weight: 900;
  color: var(--accent-gold);
  padding: 0 16px;
}

.sport-card-odds {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.odd-btn {
  background-color: var(--input-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px;
  display: flex;
  justify-content: space-between;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 13px;
  transition: all var(--transition-fast);
}

.odd-btn:hover {
  background-color: var(--border-light);
}

.odd-val {
  color: var(--accent-gold);
  font-weight: 700;
}

/* Payment Section */
.payment-section {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 30px 20px;
  background-color: var(--bg-tertiary);
  border-radius: var(--radius-lg);
}

.payment-section-title {
  text-align: center;
  margin-bottom: 24px;
  font-size: 20px;
}

.payment-category {
  margin-bottom: 20px;
}

.payment-category h4 {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.payment-badge {
  background-color: var(--card-bg);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.payment-badge:hover {
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-dark);
  padding: 50px 20px 30px;
  text-align: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 13px;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.footer-links a {
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
}

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

.footer-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
}

.trust-badge-icon {
  width: 48px;
  height: 48px;
  background-color: var(--input-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--accent-gold);
  border: 1px solid var(--border-light);
}

.footer-providers {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--border-dark);
}

.provider-logo {
  padding: 8px 16px;
  background-color: var(--input-bg);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.footer-copyright {
  font-size: 13px;
  color: var(--text-dark);
  padding-top: 20px;
}

/* LiveChat Widget */
.livechat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.livechat-btn {
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-dark));
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 20px rgba(227, 30, 36, 0.4);
  animation: pulse 2s infinite;
  border: none;
  transition: transform 0.2s;
}

.livechat-btn:hover {
  transform: scale(1.05);
}

.livechat-popup {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 320px;
  background-color: var(--card-bg);
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-light);
  z-index: 10000;
  display: none;
  overflow: hidden;
}

.livechat-popup.active {
  display: block;
  animation: slideUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.livechat-header {
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-dark));
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.livechat-header h4 {
  margin: 0;
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.livechat-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  opacity: 0.8;
}

.livechat-close:hover {
  opacity: 1;
}

.livechat-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.modal {
  background-color: var(--card-bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transform: scale(0.95);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal {
  transform: scale(1);
  opacity: 1;
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  font-size: 18px;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Toast */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  padding: 16px 24px;
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  animation: slideInRight 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  min-width: 300px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast-success { background-color: var(--color-success); }
.toast-error { background-color: var(--color-danger); }
.toast-warning { background-color: var(--color-warning); color: #000; }

/* Loading */
.loading-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(10, 10, 10, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  flex-direction: column;
  gap: 20px;
}

.loading-overlay.active {
  display: flex;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid var(--border-light);
  border-top-color: var(--accent-red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-dark);
}

/* Animations */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.8; transform: scale(0.98); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes slideInRight { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes marqueeScroll { from { transform: translateX(100vw); } to { transform: translateX(-100%); } }
@keyframes shimmer { 0% { background-position: -200px 0; } 100% { background-position: 200px 0; } }
@keyframes countUp { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: scale(1); } }
@keyframes glowPulse { 0%,100% { box-shadow: 0 0 5px rgba(227,30,36,0.5); } 50% { box-shadow: 0 0 20px rgba(227,30,36,0.8); } }

/* Auth Layout */
.auth-layout {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.auth-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, #1a0808 0%, #0a0a0a 100%);
  z-index: 1;
}

.auth-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, #eee, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 40px 70px, #fff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 50px 160px, #ddd, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 90px 40px, #fff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 130px 80px, #fff, rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: stars 4s linear infinite;
}

@keyframes stars {
  0% { transform: translateY(0); }
  100% { transform: translateY(-200px); }
}

.auth-card {
  position: relative;
  z-index: 10;
  background: rgba(30, 30, 30, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
}

.auth-card-wide {
  max-width: 800px;
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-logo {
  font-size: 32px;
  font-weight: 900;
  color: var(--accent-gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-slider {
    aspect-ratio: 16/9;
  }
  .game-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
}

@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    gap: 12px;
  }
  .marquee-container {
    margin-right: 0;
    width: 100%;
  }
  .login-inline-form {
    width: 100%;
    justify-content: center;
  }
  .nav-item {
    padding: 8px 12px;
    min-width: 70px;
  }
  .nav-icon {
    font-size: 20px;
  }
  .hero-slider {
    aspect-ratio: 4/3;
    min-height: 150px;
  }
  .hero-content h2 {
    font-size: 24px;
  }
  .form-two-col {
    grid-template-columns: 1fr;
  }
  .jackpot-section {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .jackpot-right {
    text-align: center;
  }
  .game-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .nav-item {
    padding: 6px 8px;
    font-size: 10px;
    min-width: 60px;
  }
  .game-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
  .jackpot-amount {
    font-size: 28px;
  }
  .auth-card {
    padding: 24px 20px;
  }
}
