:root {
  --primary: #00acc1;
  --primary-dark: #00838f;
  --accent: #00e5ff;
  --accent-glow: rgba(0, 229, 255, 0.3);
  --bg: #0a1628;
  --bg-card: #0f2035;
  --bg-alt: #081220;
  --text: #e8f4f8;
  --text-muted: #7a9bb5;
  --border: #1e3a5f;
  --radius: 12px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: #fff; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10, 22, 40, 0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 800; font-size: 1.25rem; }
.logo-icon { font-size: 1.5rem; }
.logo-text .accent { color: var(--accent); }
.logo-badge {
  font-size: 0.65rem; font-weight: 700; padding: 2px 8px;
  background: var(--primary); color: #fff; border-radius: 4px;
}
.nav { display: flex; gap: 28px; }
.nav a { color: var(--text-muted); font-weight: 500; font-size: 0.9rem; }
.nav a:hover { color: var(--accent); }
.header-actions { display: flex; gap: 10px; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 22px; border-radius: 8px; font-weight: 600; font-size: 0.9rem;
  border: 2px solid transparent; cursor: pointer; transition: all var(--transition); text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--bg); border-color: var(--primary);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 20px var(--accent-glow); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-block { width: 100%; }

.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 100px 0 60px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.95) 0%, rgba(0,131,143,0.45) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-badge {
  display: inline-block; padding: 6px 16px;
  background: rgba(0, 229, 255, 0.1); border: 1px solid var(--accent);
  border-radius: 50px; color: var(--accent); font-size: 0.8rem; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero-desc { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 32px; max-width: 600px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.stat strong { display: block; font-size: 1.5rem; color: var(--accent); font-weight: 800; }
.stat span { font-size: 0.85rem; color: var(--text-muted); }

.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.section-header p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }

.login-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.login-info h2 { font-size: 1.75rem; margin-bottom: 16px; }
.login-info p { color: var(--text-muted); margin-bottom: 24px; }
.feature-list { list-style: none; }
.feature-list li { padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.feature-list li::before { content: '→'; color: var(--accent); margin-right: 10px; }
.login-forms { display: flex; flex-direction: column; gap: 24px; }
.form-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.form-card h3 { margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; margin-bottom: 6px; color: var(--text-muted); }
.form-group input {
  width: 100%; padding: 12px 16px; background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text); font-size: 0.95rem;
}
.form-group input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }

.game-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.game-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 24px; text-align: center; transition: transform var(--transition), border-color var(--transition);
}
.game-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.game-icon { font-size: 2.5rem; margin-bottom: 16px; }
.game-card h3 { margin-bottom: 8px; }
.game-card p { color: var(--text-muted); font-size: 0.9rem; }

.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.promo-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; position: relative;
}
.promo-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.promo-tag {
  display: inline-block; padding: 4px 12px; background: rgba(0, 172, 193, 0.2);
  border-radius: 50px; font-size: 0.75rem; font-weight: 600; color: var(--accent); margin-bottom: 12px;
}
.promo-card h3 { margin-bottom: 8px; }
.promo-card p { color: var(--text-muted); font-size: 0.9rem; }

.provider-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.provider-badge {
  padding: 12px 24px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; font-size: 0.85rem; color: var(--text-muted); transition: all var(--transition);
}
.provider-badge:hover { border-color: var(--accent); color: var(--accent); }

.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; }
.faq-item summary { padding: 20px 24px; cursor: pointer; font-weight: 600; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; float: right; color: var(--accent); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 24px 20px; color: var(--text-muted); font-size: 0.95rem; }

.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 48px 0 24px; }
.footer-inner { text-align: center; }
.footer-brand { margin-bottom: 24px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 8px; }
.footer-links { display: flex; gap: 24px; justify-content: center; margin-bottom: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { color: var(--text-muted); font-size: 0.8rem; }

.page-hero {
  padding: 110px 0 50px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.page-hero h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 12px; }
.page-hero p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }
.nav a.active { color: var(--accent); font-weight: 600; }
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius); padding: 40px; text-align: center; margin-top: 48px;
}
.cta-banner h2 { margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 24px; }

.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Marquee */
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes float-icon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { box-shadow: 0 0 16px 4px var(--accent-glow); }
}

@keyframes shimmer-btn {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.marquee-bar {
  background: linear-gradient(90deg, var(--primary-dark), var(--bg-alt));
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  overflow: hidden;
}

.marquee-wrap { overflow: hidden; width: 100%; }

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.marquee-item {
  padding: 0 28px;
  white-space: nowrap;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.marquee-item strong { color: var(--accent); font-weight: 600; }
.marquee-dot { color: var(--accent); opacity: 0.5; }

.marquee-section {
  padding: 28px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.marquee-section .marquee-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.marquee-providers .marquee-track { animation-duration: 45s; }
.marquee-winners .marquee-track { animation-duration: 30s; }

.provider-pill {
  padding: 8px 20px;
  margin: 0 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: all var(--transition);
}

.provider-pill:hover { border-color: var(--accent); color: var(--accent); }

.game-icon { animation: float-icon 3s ease-in-out infinite; }
.hero-badge { animation: pulse-badge 2.5s ease-in-out infinite; }

.btn-primary.btn-shimmer {
  background: linear-gradient(90deg, var(--primary-dark), var(--accent), var(--primary-dark));
  background-size: 200% auto;
  animation: shimmer-btn 3s linear infinite;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  position: relative;
  transition: transform var(--transition), border-color var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.step-num {
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  margin: 0 auto 16px;
}

.step-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.step-card p { color: var(--text-muted); font-size: 0.9rem; }

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

.featured-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  transition: all var(--transition);
  cursor: default;
}

.featured-card:hover {
  border-color: var(--accent);
  transform: scale(1.03);
}

.featured-card .feat-icon { font-size: 2rem; margin-bottom: 10px; display: block; }
.featured-card h4 { font-size: 0.9rem; margin-bottom: 4px; }
.featured-card .rtp {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  position: absolute;
  top: 12px;
  left: 20px;
}

.testimonial-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
  padding-top: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); }

.content-block {
  max-width: 800px;
  margin: 0 auto;
}

.content-block p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.content-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.info-list {
  list-style: none;
}

.info-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  gap: 10px;
}

.info-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  text-align: center;
}

.stats-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  transition: transform var(--transition);
}

.stats-box:hover { transform: translateY(-4px); border-color: var(--accent); }

.stats-box .counter {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}

.stats-box span { font-size: 0.85rem; color: var(--text-muted); }

.promo-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
}

.promo-table th,
.promo-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.promo-table th {
  background: var(--bg-card);
  color: var(--accent);
  font-weight: 600;
}

.promo-table td { color: var(--text-muted); }

.tag-hot {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(255, 82, 82, 0.2);
  color: #ff5252;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  animation: pulse-badge 2s infinite;
}

@media (max-width: 768px) {
  .content-columns { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .game-icon,
  .hero-badge,
  .btn-shimmer,
  .tag-hot { animation: none; }
  .animate-on-scroll { opacity: 1; transform: none; }
}

@media (max-width: 900px) { .login-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
  .nav {
    position: fixed; top: 70px; left: 0; right: 0; background: var(--bg);
    flex-direction: column; padding: 20px; transform: translateY(-120%); opacity: 0; transition: all var(--transition);
  }
  .nav.open { transform: translateY(0); opacity: 1; }
  .header-actions { display: none; }
  .menu-toggle { display: flex; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
}
