/* Mamzino Casino – Custom CSS */

:root {
  --navy: #0d1137;
  --navy-deep: #080b22;
  --navy-card: #151942;
  --navy-border: #1e265c;
  --gold: #c9a227;
  --gold-light: #f0d060;
  --gold-glow: rgba(201,162,39,0.35);
  --text-primary: #f0f0f0;
  --text-muted: #a0a8cc;
  --text-dark: #0d1137;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-wrap {
  overflow: hidden;
  width: 100%;
}

@keyframes parallax-drift {
  0%,100% { background-position: center 0%; }
  50%      { background-position: center 6%; }
}
.hero-parallax {
  animation: parallax-drift 14s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%,100% { box-shadow: 0 0 18px var(--gold-glow); }
  50%      { box-shadow: 0 0 38px rgba(201,162,39,0.6); }
}
.glow-pulse {
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes badge-pop {
  0%   { transform: scale(0.92); }
  60%  { transform: scale(1.04); }
  100% { transform: scale(1); }
}
.badge-pop {
  animation: badge-pop 0.7s ease forwards;
}

body {
  background-color: var(--navy);
  color: var(--text-primary);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Prose styles */
.prose {
  color: var(--text-primary);
  line-height: 1.8;
  font-size: 1rem;
  max-width: 100%;
}
.prose h2 {
  color: var(--gold-light);
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid var(--navy-border);
  padding-bottom: 0.35rem;
}
.prose h3 {
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.prose p {
  margin-bottom: 1.1rem;
  color: var(--text-primary);
}
.prose a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a:hover {
  color: #fff;
}
.prose ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.1rem;
}
.prose ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1.1rem;
}
.prose li {
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}
.prose blockquote {
  border-left: 4px solid var(--gold);
  padding-left: 1rem;
  margin: 1.5rem 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 var(--navy-border);
}
.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 table th {
  background-color: var(--navy-card);
  color: var(--gold-light);
  padding: 0.6rem 1rem;
  text-align: left;
  border: 1px solid var(--navy-border);
  font-weight: 700;
}
.prose table td {
  padding: 0.55rem 1rem;
  border: 1px solid var(--navy-border);
  color: var(--text-primary);
  background-color: var(--navy-deep);
}
.prose table tr:nth-child(even) td {
  background-color: var(--navy-card);
}

.section-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 1rem;
  padding: 2rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #e8b830 100%);
  color: var(--navy-deep);
  font-weight: 700;
  border-radius: 0.5rem;
  padding: 0.75rem 1.75rem;
  display: inline-block;
  text-decoration: none;
  transition: filter 0.2s, transform 0.15s;
  cursor: pointer;
  border: none;
}
.btn-primary:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--gold-light);
  font-weight: 600;
  border-radius: 0.5rem;
  padding: 0.7rem 1.6rem;
  display: inline-block;
  text-decoration: none;
  border: 2px solid var(--gold);
  transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover {
  background: var(--gold);
  color: var(--navy-deep);
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  padding: 0.4rem 0.2rem;
  border-bottom: 2px solid transparent;
}
.nav-link:hover {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.game-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
  width: 200px;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px var(--gold-glow);
}
.game-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}

.step-badge {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--gold), #e8b830);
  color: var(--navy-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.faq-item {
  border-bottom: 1px solid var(--navy-border);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--gold-light);
  font-size: 1rem;
  font-weight: 600;
  padding: 1.1rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-answer {
  display: none;
  color: var(--text-primary);
  padding-bottom: 1rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  display: block;
}
.faq-item.open .faq-icon {
  transform: rotate(180deg);
}
.faq-icon {
  transition: transform 0.25s;
  color: var(--gold);
}

.provider-cloud span {
  display: inline-block;
  background: var(--navy-deep);
  border: 1px solid var(--navy-border);
  border-radius: 2rem;
  padding: 0.35rem 0.9rem;
  margin: 0.3rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.2s, border-color 0.2s;
}
.provider-cloud span:hover {
  color: var(--gold-light);
  border-color: var(--gold);
}

.mobile-menu {
  background-color: var(--navy-deep);
  border-top: 2px solid var(--navy-border);
}

@media (max-width: 640px) {
  .prose h2 { font-size: 1.3rem; }
  .prose h3 { font-size: 1.05rem; }
  .section-card { padding: 1.25rem; }
}
