/* =========================================================
   ALTERNATIVE DESIGN - Blue/Cyan Theme
   Different layout and visual style
========================================================= */

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

:root {
  --bg-dark: #0a1628;
  --bg-card: rgba(15, 35, 60, 0.8);
  --bg-card-2: rgba(20, 45, 75, 0.6);
  --border: rgba(100, 200, 255, 0.15);
  --border-hover: rgba(100, 200, 255, 0.3);

  --text: #e8f4ff;
  --text-muted: rgba(232, 244, 255, 0.7);

  --accent: #00d4ff;
  --accent-2: #0099cc;
  --accent-glow: rgba(0, 212, 255, 0.3);

  --gradient-1: linear-gradient(135deg, #00d4ff 0%, #0066ff 100%);
  --gradient-2: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 102, 255, 0.15));

  --radius: 20px;
  --radius-sm: 12px;
  --container: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  background-image:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(0, 150, 255, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(0, 212, 255, 0.08) 0%, transparent 50%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.logo img {
  height: 32px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-muted);
  transition: all 0.2s;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.header-actions {
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s;
}

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

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(0, 212, 255, 0.1);
}

.btn-primary {
  background: var(--gradient-1);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ========== HERO - REVERSED LAYOUT ========== */
.hero {
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.hero-image {
  position: relative;
  order: -1; /* Image on the left */
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--gradient-2);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* KPIs inside hero */
.hero-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.kpi-card {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
}

.kpi-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}

.kpi-label {
  font-size: 12px;
  color: var(--text-muted);
}

/* ========== GAMES SECTION - GRID LAYOUT ========== */
.section {
  padding: 60px 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title i {
  color: var(--accent);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
}

.section-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Game Grid instead of Carousel */
.games-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

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

.game-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.15);
}

.game-thumb {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.game-card:hover .game-thumb img {
  transform: scale(1.05);
}

.game-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  color: var(--accent);
  font-size: 14px;
}

.game-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.95) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s;
}

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

.game-name {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}

.game-buttons {
  display: flex;
  gap: 8px;
}

.game-btn {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  transition: all 0.2s;
}

.game-btn-play {
  background: var(--gradient-1);
  color: #fff;
}

.game-btn-demo {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
}

/* ========== PROVIDERS - HORIZONTAL SCROLL ========== */
.providers-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 0;
  scrollbar-width: none;
}

.providers-scroll::-webkit-scrollbar {
  display: none;
}

.provider-item {
  flex: 0 0 140px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  transition: all 0.2s;
}

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

.provider-item img {
  max-height: 40px;
  max-width: 100%;
  object-fit: contain;
}

/* ========== FAQ - 2 COLUMN CARDS ========== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s;
}

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
}

.faq-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-2);
  border-radius: 8px;
  color: var(--accent);
  font-size: 18px;
  transition: transform 0.2s;
}

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

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.faq-card.is-open .faq-answer {
  display: block;
}

/* ========== FOOTER - HORIZONTAL LAYOUT ========== */
.footer {
  margin-top: 80px;
  border-top: 1px solid var(--border);
  background: rgba(5, 15, 30, 0.8);
}

.footer-main {
  padding: 48px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 16px;
  max-width: 280px;
}

.footer-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.2s;
}

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

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.2s;
}

.social-icon:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

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

.partner-logo {
  height: 40px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.partner-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.footer-copyright {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-image {
    order: 0;
    text-align: center;
  }

  .hero-image img {
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-kpis {
    grid-template-columns: repeat(2, 1fr);
  }

  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 40px 0 60px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-kpis {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .kpi-card {
    padding: 16px;
  }

  .kpi-value {
    font-size: 16px;
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .section-title {
    font-size: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .content-article {
    padding: 24px 20px;
  }

  .content-article h2 {
    font-size: 20px;
  }
}

/* ========== SEO CONTENT SECTION ========== */
.content-section {
  padding: 60px 0;
}

.content-article {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.content-article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-1);
}

.content-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
}

.content-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gradient-1);
  border-radius: 2px;
  margin-top: 16px;
}

.content-body p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
}

.content-body h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
}

.content-body h2::before {
  content: '';
  width: 4px;
  height: 24px;
  background: var(--accent);
  border-radius: 2px;
}

.content-body ul {
  margin: 16px 0 24px 0;
  padding-left: 0;
}

.content-body li {
  color: var(--text-muted);
  padding: 8px 0 8px 28px;
  position: relative;
  line-height: 1.7;
}

.content-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.content-body li strong {
  color: var(--text);
}

.content-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}

.content-body th,
.content-body td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.content-body th {
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.content-body td {
  color: var(--text-muted);
}

.content-body tr:last-child td {
  border-bottom: none;
}

.content-body tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.content-quote {
  background: var(--gradient-2);
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.content-quote p {
  color: var(--text);
  font-style: italic;
  margin: 0;
}

/* ========== CONTENT WITH SIDEBAR LAYOUT ========== */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
}

/* ========== WINNERS SIDEBAR ========== */
.winners-sidebar {
  position: sticky;
  top: 100px;
}

.winners-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  overflow: hidden;
}

.winners-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 15px;
}

.winners-header::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.winners-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.winner-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.winner-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.winner-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.winner-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.winner-info {
  flex: 1;
  min-width: 0;
}

.winner-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.winner-game {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.winner-amount {
  font-weight: 700;
  font-size: 14px;
  color: #22c55e;
  white-space: nowrap;
}

/* Winner animations */
.winner-item-new {
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.4s ease-out;
}

.winner-item-new.winner-item-visible {
  opacity: 1;
  transform: translateY(0);
}

.winner-item-removing {
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease-in;
}

/* ========== INLINE CTA BLOCKS ========== */
.cta-inline {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(20, 45, 75, 0.9) 0%, rgba(15, 35, 55, 0.95) 100%);
  border: 1px solid var(--border);
  border-left: 3px solid #22c55e;
  border-radius: var(--radius-sm);
  margin: 24px 0;
  position: relative;
  overflow: hidden;
}

.cta-inline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.cta-inline-badge {
  position: absolute;
  top: -1px;
  left: 20px;
  padding: 4px 12px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 0 0 6px 6px;
}

.cta-inline-badge.badge-green {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.cta-inline-badge.badge-yellow {
  background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
}

.cta-inline-badge.badge-cyan {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
}

.cta-inline-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.cta-inline-content {
  flex: 1;
  min-width: 0;
  padding-top: 8px;
}

.cta-inline-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cta-inline-desc {
  font-size: 13px;
  color: var(--text-muted);
}

.cta-inline-btn {
  flex-shrink: 0;
  padding: 12px 24px;
  background: #22c55e;
  color: #000;
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
  transition: all 0.2s;
  text-decoration: none;
}

.cta-inline-btn:hover {
  background: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

@media (max-width: 640px) {
  .cta-inline {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 28px;
  }

  .cta-inline-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 1024px) {
  .content-with-sidebar {
    grid-template-columns: 1fr;
  }

  .winners-sidebar {
    position: static;
    order: -1;
  }

  .winners-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .winners-list {
    grid-template-columns: 1fr;
  }
}
