/* MyCasino777 Custom CSS */

:root {
  --gold: #ffd700;
  --ruby: #c0392b;
  --midnight: #07102a;
  --midnight-mid: #0d1b3e;
  --silver: #c8d0e0;
  --text-light: #e8eaf6;
  --text-muted: #9aa5c4;
}

body {
  background-color: var(--midnight);
  color: var(--text-light);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

@keyframes glow-pulse {
  0%, 100% { text-shadow: 0 0 8px #ffd700, 0 0 20px #ffd700; }
  50% { text-shadow: 0 0 20px #ffd700, 0 0 40px #c0392b, 0 0 60px #ffd700; }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

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

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

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

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

.shimmer-btn {
  background: linear-gradient(90deg, #ffd700 0%, #fff5a0 40%, #ffd700 60%, #c8a600 100%);
  background-size: 200% auto;
  animation: shimmer 2.5s linear infinite;
  color: #07102a;
  font-weight: 800;
}

.shimmer-btn:hover {
  background-size: 200% auto;
  filter: brightness(1.1);
}

.float-anim {
  animation: float 3s ease-in-out infinite;
}

/* Prose styles for Markdown content */
.prose {
  color: var(--text-light);
  max-width: 100%;
  line-height: 1.8;
  font-size: 1rem;
}

.prose h2 {
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid rgba(255,215,0,0.3);
  padding-bottom: 0.4rem;
}

.prose h3 {
  color: #e8b4b8;
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.prose p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.prose a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: #fff5a0;
}

.prose ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.prose ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose blockquote {
  border-left: 4px solid var(--gold);
  padding-left: 1rem;
  margin-left: 0;
  color: var(--text-muted);
  font-style: italic;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.5rem auto;
  display: block;
  border: 2px solid rgba(255,215,0,0.2);
}

.prose table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  white-space: nowrap;
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1.5rem;
}

.prose thead {
  background-color: rgba(255,215,0,0.15);
}

.prose th {
  color: var(--gold);
  font-weight: 700;
  padding: 0.6rem 1rem;
  text-align: left;
  border: 1px solid rgba(255,215,0,0.2);
}

.prose td {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-light);
}

.prose tr:nth-child(even) {
  background-color: rgba(255,255,255,0.04);
}

/* Nav */
.nav-link {
  color: var(--silver);
  font-weight: 500;
  transition: color 0.2s;
  padding: 0.4rem 0.75rem;
  border-radius: 0.375rem;
}

.nav-link:hover {
  color: var(--gold);
  background-color: rgba(255,215,0,0.08);
}

/* Cards */
.card-casino {
  background: linear-gradient(135deg, #0d1b3e 0%, #111e45 100%);
  border: 1px solid rgba(255,215,0,0.18);
  border-radius: 1rem;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card-casino:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(255,215,0,0.18);
}

/* Stars */
.star-gold { color: var(--gold); }

/* Section titles */
.section-title {
  color: var(--gold);
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

/* Steps */
.step-badge {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #ffd700, #c8a600);
  color: #07102a;
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(255,215,0,0.4);
}

/* Hero parallax bg */
.hero-section {
  background-image: url('/images/hero.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.hero-overlay {
  background: linear-gradient(to bottom, rgba(7,16,42,0.82) 0%, rgba(7,16,42,0.92) 100%);
  position: absolute;
  inset: 0;
}

/* Hero headline: readable on busy background (no animated glow) */
.hero-banner-title {
  color: #ffe566;
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.55),
    0 2px 8px rgba(0, 0, 0, 0.75),
    0 4px 24px rgba(0, 0, 0, 0.45);
}

.hero-banner-title > span:last-child {
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.5),
    0 2px 10px rgba(0, 0, 0, 0.7);
}

/* Hero: outline "Live Casino" — no inline colors so :hover works */
.btn-live-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn-live-hero:hover {
  background-color: var(--gold);
  color: var(--midnight);
  border-color: var(--gold);
}

.btn-live-hero:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Provider word cloud */
.provider-tag {
  display: inline-block;
  background: rgba(255,215,0,0.08);
  border: 1px solid rgba(255,215,0,0.2);
  color: var(--silver);
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.92rem;
  transition: background 0.2s, color 0.2s;
}

.provider-tag:hover {
  background: rgba(255,215,0,0.18);
  color: var(--gold);
}

/* Mobile menu */
#mobile-menu {
  background-color: #0d1b3e;
  border-top: 2px solid rgba(255,215,0,0.2);
}

/* Overflow helper */
.tbl-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
