/* ==============================================
   CapoSino Casino – Custom CSS
   Theme: Stahl Luxe (Graphite + Electric Blue)
   ============================================== */

/* ── Reset & Base ─────────────────────────────── */
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  word-break: break-word;
}

body {
  overflow-x: hidden;
  word-break: break-word;
  background-color: #0d0f12;
  color: #e8eef4;
  font-family: 'Inter', system-ui, sans-serif;
}

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

/* ── Typography ───────────────────────────────── */
.text-gradient-blue {
  background: linear-gradient(90deg, #1e90ff, #00c3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Scrollbar ────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #0d0f12;
}
::-webkit-scrollbar-thumb {
  background: #2c3240;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1e90ff;
}

/* ── CTA Buttons ──────────────────────────────── */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e90ff, #00c3ff);
  color: #0d0f12;
  font-weight: 700;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  border: none;
}
.cta-primary:hover {
  background: linear-gradient(135deg, #4db8ff, #1e90ff);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 144, 255, 0.45);
  color: #0d0f12;
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #1e90ff;
  font-weight: 700;
  border-radius: 0.75rem;
  border: 2px solid #1e90ff;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}
.cta-secondary:hover {
  background: rgba(30, 144, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 144, 255, 0.25);
  color: #00c3ff;
  border-color: #00c3ff;
}

.cta-game {
  background: linear-gradient(135deg, #1e90ff, #00c3ff);
  color: #0d0f12;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}
.cta-game:hover {
  background: linear-gradient(135deg, #4db8ff, #1e90ff);
  transform: scale(1.05);
}

/* ── Shadows ──────────────────────────────────── */
.shadow-blue-glow {
  box-shadow: 0 0 30px rgba(30, 144, 255, 0.3);
}

/* ── Hero Section ─────────────────────────────── */
.hero-section {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero-bg {
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-section:hover .hero-bg {
  transform: scale(1.0);
}

/* ── Bonus Badge ──────────────────────────────── */
.bonus-badge {
  background: linear-gradient(135deg, #1e90ff33, #00c3ff22);
  border-radius: 1.25rem;
  animation: badge-pulse 3s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30, 144, 255, 0.3); }
  50% { box-shadow: 0 0 0 12px rgba(30, 144, 255, 0); }
}

/* ── Section Title ────────────────────────────── */
.section-title {
  position: relative;
  display: inline-block;
  width: 100%;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #1e90ff, #00c3ff);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* ── Marquee ──────────────────────────────────── */
.marquee-wrapper {
  overflow: hidden;
}
.marquee-inner {
  display: inline-flex;
  animation: marquee-scroll 35s linear infinite;
  white-space: nowrap;
}
.marquee-wrapper:hover .marquee-inner {
  animation-play-state: paused;
}

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

/* ── Review Cards ─────────────────────────────── */
.review-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(30, 144, 255, 0.15);
}

.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(30, 144, 255, 0.15);
  border: 1px solid rgba(30, 144, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Provider Word Cloud ──────────────────────── */
.provider-cloud {
  padding: 0.5rem 0;
}

.provider-tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(44, 50, 64, 0.8);
  border: 1px solid rgba(30, 144, 255, 0.2);
  color: #b0bec5;
  transition: all 0.2s ease;
  cursor: default;
}
.provider-tag:nth-child(3n+1) { font-size: 0.8rem; color: #00c3ff; border-color: rgba(0, 195, 255, 0.3); }
.provider-tag:nth-child(3n+2) { font-size: 0.72rem; color: #b0bec5; }
.provider-tag:nth-child(3n+3) { font-size: 0.85rem; color: #1e90ff; border-color: rgba(30, 144, 255, 0.35); }
.provider-tag:hover {
  background: rgba(30, 144, 255, 0.15);
  color: #e8eef4;
  transform: scale(1.05);
}

/* ── Game Cards ───────────────────────────────── */
.game-card {
  cursor: pointer;
}
.game-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Promo Cards ──────────────────────────────── */
.promo-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(30, 144, 255, 0.18);
}

.promo-icon {
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  background: rgba(30, 144, 255, 0.1);
  border: 1px solid rgba(30, 144, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Step Cards ───────────────────────────────── */
.step-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e90ff22, #00c3ff11);
  border: 2px solid #1e90ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(30, 144, 255, 0.12);
  border: 1px solid rgba(30, 144, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(30, 144, 255, 0.15);
}

/* ── Trust Badges ─────────────────────────────── */
.trust-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(26, 30, 36, 0.8);
  border: 1px solid rgba(44, 50, 64, 0.8);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  transition: border-color 0.2s ease;
}
.trust-badge:hover {
  border-color: rgba(30, 144, 255, 0.4);
}

/* ── FAQ ──────────────────────────────────────── */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-content {
  overflow: hidden;
}

.faq-item.open .faq-answer-content {
  padding-bottom: 1.25rem;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: #00c3ff;
}

.faq-toggle:focus {
  outline: 2px solid #1e90ff;
  outline-offset: 2px;
}

.faq-toggle:focus:not(:focus-visible) {
  outline: none;
}

/* ── Age Badge ────────────────────────────────── */
.age-badge {
  background: rgba(30, 144, 255, 0.1);
}

/* ── Footer Links ─────────────────────────────── */
.footer-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.footer-link:hover {
  text-decoration: none;
}

/* ── Nav Links ────────────────────────────────── */
.nav-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.mobile-nav-link {
  text-decoration: none;
}

/* ── Tables ───────────────────────────────────── */
table {
  width: 100%;
  border-collapse: collapse;
}

th {
  text-align: left;
  font-weight: 700;
}

.home-table-wrap {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  max-width: 100%;
}

.home-table {
  width: 100%;
  min-width: 48rem;
  table-layout: auto;
}

@media (min-width: 992px) {
  .home-table {
    min-width: 100%;
  }
}

.home-table th,
.home-table td {
  word-break: normal;
  overflow-wrap: normal;
}

.home-table thead th {
  white-space: nowrap;
}

.home-table tbody td:first-child {
  min-width: 11rem;
}

.home-table-compact {
  min-width: 18rem;
}

/* ── Prose Casino Styles ──────────────────────── */
.prose-casino {
  color: #b0bec5;
  font-size: 1rem;
  line-height: 1.8;
  max-width: 100%;
  word-break: break-word;
}

.prose-casino h1,
.prose-casino h2,
.prose-casino h3,
.prose-casino h4,
.prose-casino h5,
.prose-casino h6 {
  color: #e8eef4;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 1em;
  margin-bottom: 0.75em;
}

.prose-casino h1 { font-size: 2rem; }
.prose-casino h2 { font-size: 1.5rem; border-bottom: 1px solid #2c3240; padding-bottom: 0.5rem; }
.prose-casino h3 { font-size: 1.25rem; color: #4db8ff; }

.prose-casino p {
  margin-bottom: 1.25em;
  color: #b0bec5;
}

.prose-casino a {
  color: #1e90ff;
  text-decoration: underline;
  transition: color 0.2s ease;
}
.prose-casino a:hover {
  color: #00c3ff;
}

.prose-casino strong {
  color: #e8eef4;
  font-weight: 700;
}

.prose-casino em {
  color: #b0bec5;
  font-style: italic;
}

.prose-casino ul,
.prose-casino ol {
  margin: 1em 0 1.25em 1.5rem;
  color: #b0bec5;
}

.prose-casino ul { list-style-type: disc; }
.prose-casino ol { list-style-type: decimal; }

.prose-casino li {
  margin-bottom: 0.4em;
  line-height: 1.7;
}

.prose-casino blockquote {
  border-left: 3px solid #1e90ff;
  padding-left: 1rem;
  color: #b0bec5;
  font-style: italic;
  margin: 1.5em 0;
  background: rgba(30, 144, 255, 0.06);
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 0.75rem 1rem;
}

.prose-casino code {
  background: rgba(44, 50, 64, 0.8);
  color: #00c3ff;
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.875em;
  font-family: 'Courier New', monospace;
}

.prose-casino pre {
  background: #1a1e24;
  border: 1px solid #2c3240;
  border-radius: 0.5rem;
  padding: 1rem;
  overflow-x: auto;
  margin: 1.5em 0;
}

.prose-casino pre code {
  background: transparent;
  padding: 0;
  color: #b0bec5;
}

.prose-casino hr {
  border: none;
  border-top: 1px solid #2c3240;
  margin: 2em 0;
}

.prose-casino img {
  border-radius: 0.75rem;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5em auto;
}

/* ── Prose Table ──────────────────────────────── */
.prose-casino .prose-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  margin: 1.5em 0;
  border-radius: 0.5rem;
}

.prose-casino .prose-table-scroll table {
  margin-top: 0;
  margin-bottom: 0;
}

.prose-casino table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.875rem;
  overflow: hidden;
}

.prose-casino thead tr {
  background: #2c3240;
}

.prose-casino th {
  padding: 0.75rem 1rem;
  color: #00c3ff;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.prose-casino td {
  padding: 0.6rem 1rem;
  border-top: 1px solid rgba(44, 50, 64, 0.5);
  color: #b0bec5;
}

.prose-casino tr:nth-child(even) td {
  background: rgba(26, 30, 36, 0.4);
}

.prose-casino tr:hover td {
  background: rgba(30, 144, 255, 0.06);
}

/* ── Overflow-x helper for all tables ────────── */
.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  max-width: 100%;
}

/* ── Parallax Effect ──────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .parallax-section {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
  }
}

/* ── Animations ───────────────────────────────── */
@keyframes float-up {
  0%   { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

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

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(30, 144, 255, 0.4); }
  50%       { box-shadow: 0 0 24px rgba(30, 144, 255, 0.7); }
}

.animate-float {
  animation: float-up 0.7s ease forwards;
}

.animate-glow {
  animation: glow-pulse 2.5s ease-in-out infinite;
}

/* ── Responsive Utilities ─────────────────────── */
@media (max-width: 640px) {
  .hero-section {
    min-height: 75vh;
  }
  .bonus-badge {
    width: 100%;
  }
  .prose-casino h1 { font-size: 1.6rem; }
  .prose-casino h2 { font-size: 1.3rem; }
}

@media (max-width: 1024px) {
  .section-title { font-size: 1.75rem; }
}

/* ── Header Scroll Effect ─────────────────────── */
#site-header {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* ── Logo Text ────────────────────────────────── */
.logo-text {
  text-decoration: none;
}

/* ── Burger Menu Lines ────────────────────────── */
.burger-line {
  display: block;
  pointer-events: none;
}