/* VikingsCasino custom styles */
.cta-btn-primary {
  background: linear-gradient(135deg, #1e90ff 0%, #1060cc 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.cta-btn-primary:hover {
  background: linear-gradient(135deg, #4db8ff 0%, #1e90ff 100%);
  color: #fff;
}
.cta-btn-secondary {
  background: transparent;
  border: 2px solid #2a3448;
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.cta-btn-secondary:hover {
  border-color: #1e90ff;
  color: #00d4ff;
}
.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  color: #8899b0;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
}
.mobile-nav-link:hover {
  color: #00d4ff;
  background: #1c2434;
}
.hero-section { position: relative; }
.hero-overlay {
  background: linear-gradient(180deg, rgba(14, 17, 23, 0.55) 0%, rgba(14, 17, 23, 0.92) 100%);
}
.hero-title-glow { text-shadow: 0 0 24px rgba(77, 184, 255, 0.45); }
.rune-pattern {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(45, 63, 92, 0.15) 10px,
    rgba(45, 63, 92, 0.15) 20px
  );
}
.bonus-badge { background: rgba(28, 36, 52, 0.85); }
.section-label {
  display: inline-block;
  color: #1e90ff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.section-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: #fff;
}
/* Featured games marquee */
.games-marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 4%,
    #000 96%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 4%,
    #000 96%,
    transparent
  );
}

.games-marquee-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 1.25rem;
  width: max-content;
  padding: 0.25rem 0 1rem;
  animation: games-marquee-scroll 50s linear infinite;
  will-change: transform;
}

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

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

.games-marquee-track .game-card {
  flex: 0 0 auto;
  width: min(260px, 78vw);
}

.game-card {
  background: #1c2434;
  border: 1px solid #2a3448;
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 24px rgba(30, 144, 255, 0.25);
}
.game-img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; flex-shrink: 0; }
.game-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.game-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 17, 23, 0.65);
  opacity: 0;
  transition: opacity 0.2s;
}
.game-card:hover .game-overlay { opacity: 1; }
.game-play-btn {
  background: #1e90ff;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.game-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.game-title {
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.game-meta { margin-bottom: 0.25rem; }
.game-rtp {
  font-size: 0.75rem;
  color: #8899b0;
}
.game-cta {
  display: block;
  text-align: center;
  margin-top: auto;
  padding: 0.5rem;
  background: #1e90ff;
  color: #fff;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.875rem;
}

@media (prefers-reduced-motion: reduce) {
  .games-marquee-container {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .games-marquee-track {
    animation: none;
    overflow-x: auto;
    width: 100%;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: #2a3448 #161c27;
  }
  .games-marquee-track .game-card {
    scroll-snap-align: start;
  }
}
.step-card {
  background: #1c2434;
  border: 1px solid #2a3448;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
}
.step-badge {
  width: 2rem;
  height: 2rem;
  margin: 0 auto 0.75rem;
  border-radius: 9999px;
  background: #1e90ff;
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-cta {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: #1e90ff;
  color: #fff;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.875rem;
}
/* Inner pages (markdown) */
.page-hero {
  background: linear-gradient(180deg, #161c27 0%, #0e1117 100%);
  border-bottom: 1px solid #2a3448;
}
.page-title {
  font-size: clamp(1.625rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin: 0;
}
.page-inner {
  width: 100%;
}
.page-lead {
  margin-top: 0.75rem;
  color: #c5d0de;
  font-size: 1.0625rem;
  line-height: 1.65;
}
.page-content {
  background: #0e1117;
}

.prose-casino {
  color: #e2e8f0;
  font-size: 1rem;
  line-height: 1.75;
}
.prose-casino > :first-child {
  margin-top: 0;
}
.prose-casino > :last-child {
  margin-bottom: 0;
}
.prose-casino h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 1rem;
  line-height: 1.3;
}
.prose-casino h2 {
  color: #4db8ff;
  font-size: 1.375rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #2a3448;
  line-height: 1.35;
}
.prose-casino h3 {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1.75rem 0 0.75rem;
  line-height: 1.4;
}
.prose-casino h4 {
  color: #e2e8f0;
  font-size: 1rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
}
.prose-casino p {
  color: #a8b8cc;
  margin: 0 0 1.25rem;
}
.prose-casino strong {
  color: #e2e8f0;
  font-weight: 600;
}
.prose-casino a {
  color: #00d4ff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
.prose-casino a:hover {
  color: #4db8ff;
}
.prose-casino ul,
.prose-casino ol {
  color: #8899b0;
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}
.prose-casino ul {
  list-style-type: disc;
}
.prose-casino ol {
  list-style-type: decimal;
}
.prose-casino li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}
.prose-casino li::marker {
  color: #1e90ff;
}
.prose-casino li > ul,
.prose-casino li > ol {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.prose-casino hr {
  border: none;
  border-top: 1px solid #2a3448;
  margin: 2rem 0;
}
.prose-casino blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid #1e90ff;
  background: #161c27;
  border-radius: 0 0.5rem 0.5rem 0;
  color: #8899b0;
}
.prose-casino code {
  font-size: 0.875em;
  padding: 0.15em 0.4em;
  border-radius: 0.25rem;
  background: #1c2434;
  color: #4db8ff;
}
.prose-casino pre {
  margin: 1.5rem 0;
  padding: 1rem;
  overflow-x: auto;
  border-radius: 0.5rem;
  background: #161c27;
  border: 1px solid #2a3448;
}
.prose-casino pre code {
  padding: 0;
  background: transparent;
}
.prose-table-scroll {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: 0.5rem;
  border: 1px solid #2a3448;
}
.prose-table-scroll table {
  width: 100%;
  min-width: 280px;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.prose-table-scroll th,
.prose-table-scroll td {
  border: 1px solid #2a3448;
  padding: 0.75rem 1rem;
  text-align: left;
}
.prose-table-scroll th {
  background: #161c27;
  color: #4db8ff;
  font-weight: 600;
}
.prose-table-scroll td {
  color: #8899b0;
}
.prose-table-scroll tbody tr:nth-child(even) td {
  background: rgba(28, 36, 52, 0.45);
}
