/* === LuckyBet Eesti — Custom Styles === */

:root {
  --color-bg:          #071429;
  --color-surface:     #0d1f3c;
  --color-surface-2:   #132848;
  --color-primary:     #1e5cda;
  --color-primary-light: #2d72f5;
  --color-cta:         #e63366;
  --color-cta-hover:   #ff4478;
  --color-accent:      #00c8ff;
  --color-text:        #ffffff;
  --color-text-muted:  #8aa3c8;
  --color-border:      #1e3a6b;
  --radius:            8px;
  --radius-lg:         16px;
}

/* === Fonts === */
.font-display {
  font-family: 'Exo 2', sans-serif;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === Hero Gradient Mesh === */
.hero-bg {
  background:
    linear-gradient(135deg, var(--color-bg) 0%, var(--color-surface) 50%, var(--color-bg) 100%);
  position: relative;
  overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(30,92,218,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 60%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(0,200,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* === Float Card Animation === */
@keyframes float-card {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

/* === Card Glow Hover === */
.card-glow {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-glow:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 24px rgba(30,92,218,0.3), 0 0 48px rgba(0,200,255,0.1);
}

/* === Hero Slider === */
.slider-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}
.slider-slide {
  min-width: 100%;
  padding: 2rem;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-text-muted);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.slider-dot.active {
  background: var(--color-accent);
  box-shadow: 0 0 8px rgba(0,200,255,0.5);
}

/* === FAQ Accordion === */
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.active {
  border-color: var(--color-primary);
}
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--color-surface);
  color: var(--color-text);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
}
.faq-btn:hover {
  background: var(--color-surface-2);
}
.faq-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: var(--color-surface);
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.25rem 1.25rem;
}

/* === Live Badge Pulse === */
.live-pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.live-pulse::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-cta);
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* === Key Facts Table === */
.facts-table {
  width: 100%;
  border-collapse: collapse;
}
.facts-table th,
.facts-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.facts-table th {
  background: var(--color-primary);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}
.facts-table tr:nth-child(even) td {
  background: var(--color-surface);
}
.facts-table tr:nth-child(odd) td {
  background: var(--color-surface-2);
}
.facts-table td:first-child {
  color: var(--color-text-muted);
  font-weight: 500;
  white-space: nowrap;
}

/* === Provider / Payment Cards === */
.logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: transform 0.2s, box-shadow 0.2s;
}
.logo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(30,92,218,0.25);
}

/* === Scroll snap for game cards === */
.games-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
}
.games-scroll::-webkit-scrollbar {
  height: 6px;
}
.games-scroll::-webkit-scrollbar-track {
  background: var(--color-surface);
  border-radius: 3px;
}
.games-scroll::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 3px;
}
.games-scroll > * {
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* === Review Article === */
.review-article {
  max-width: 860px;
  margin: 0 auto;
}
.review-article h2 {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text);
}
.review-article h3 {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--color-accent);
}
.review-article p {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.review-article ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}
.review-article li {
  margin-bottom: 0.35rem;
  line-height: 1.6;
}

/* === Slider Arrows === */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--color-border);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10;
}
.slider-arrow:hover {
  background: rgba(255,255,255,0.2);
}
.slider-arrow.prev { left: 0.5rem; }
.slider-arrow.next { right: 0.5rem; }

/* === Rating Box === */
.rating-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.rating-stars {
  color: #FFD700;
  letter-spacing: 2px;
}

/* === Author Box === */
.author-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

/* === Breadcrumb === */
.breadcrumb {
  font-size: 0.8rem;
}
.breadcrumb a {
  color: var(--color-text-muted);
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: var(--color-accent);
}
.breadcrumb .separator {
  color: var(--color-border);
  margin: 0 0.5rem;
}

/* === Blog Card === */
.blog-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 24px rgba(30,92,218,0.2);
}

/* === Methodology Grid === */
.method-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}

/* === Rating Table === */
.rating-table {
  width: 100%;
  border-collapse: collapse;
}
.rating-table th,
.rating-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.rating-table th {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.85rem;
}

/* === Step List (HowTo) === */
.step-list {
  counter-reset: step;
}
.step-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.5rem;
}
.step-item::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* === Payment Table === */
.payment-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.payment-table th {
  background: var(--color-primary);
  color: white;
  padding: 0.75rem 0.75rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
}
.payment-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
}
.payment-table tr:nth-child(even) td {
  background: var(--color-surface);
}
.payment-table tr:nth-child(odd) td {
  background: var(--color-surface-2);
}

/* === Slot Info Grid === */
.slot-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}
.slot-info-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.75rem;
  text-align: center;
}
.slot-info-label {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.slot-info-value {
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-accent);
}
