/* CasinoBello – Bello Fortuna Theme */
:root {
  --em-deep: #05140d;
  --em: #0b2419;
  --em-mid: #133a28;
  --em-light: #1b5a3d;
  --em-vivid: #22845c;
  --ch: #c8a44e;
  --ch-light: #e0be64;
  --ch-pale: #f3e2b3;
  --ch-bright: #ffd860;
  --text-cream: #eeebd2;
  --text-sage: #8da68b;
}

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

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 8px 2px rgba(200,164,78,0.25), inset 0 1px 0 rgba(255,255,255,0.12); }
  50%      { box-shadow: 0 0 24px 6px rgba(255,216,96,0.55), inset 0 1px 0 rgba(255,255,255,0.18); }
}

@keyframes coin-spin {
  0%   { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

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

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

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

.glow-btn {
  animation: glow-pulse 2.6s ease-in-out infinite;
  position: relative;
}

.chip-float {
  animation: float-chip 4s ease-in-out infinite;
}

/* ---- Arch Panels ---- */
.arch-panel {
  border-radius: 1.75rem 1.75rem 0.75rem 0.75rem;
  position: relative;
  overflow: hidden;
}

.arch-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--ch-light) 25%, var(--ch-bright) 50%, var(--ch-light) 75%, transparent 100%);
  z-index: 2;
}

/* ---- Coin Accent ---- */
.coin-accent {
  background: radial-gradient(circle at 38% 38%, var(--ch-bright) 0%, var(--ch) 55%, #8a6d20 100%);
  box-shadow:
    0 0 18px rgba(200,164,78,0.45),
    0 0 50px rgba(200,164,78,0.15),
    inset 0 -2px 4px rgba(0,0,0,0.25),
    inset 0 2px 4px rgba(255,255,255,0.25);
  border: 2px solid rgba(255,216,96,0.4);
}

/* ---- Gold Shimmer Line ---- */
.gold-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ch-light), var(--ch-bright), var(--ch-light), transparent);
  border: none;
  margin: 0;
}

/* ---- Section Ornament ---- */
.section-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.section-ornament::before,
.section-ornament::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ch));
}

.section-ornament::after {
  background: linear-gradient(90deg, var(--ch), transparent);
}

/* ---- Prose (Markdown pages) ---- */
.prose {
  color: var(--text-cream);
  line-height: 1.78;
  font-size: 1rem;
  max-width: 100%;
}

.prose h2 {
  color: var(--ch-light);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.65rem;
  font-weight: 700;
  margin-top: 2.4rem;
  margin-bottom: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--ch), transparent) 1;
}

.prose h3 {
  color: var(--ch);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.8rem;
  margin-bottom: 0.7rem;
}

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

.prose a {
  color: var(--ch-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

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

.prose strong {
  color: var(--ch-pale);
}

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

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

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

.prose li::marker {
  color: var(--ch);
}

.prose blockquote {
  border-left: 4px solid var(--ch);
  padding: 0.65em 1.3em;
  background: rgba(200,164,78,0.06);
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
  color: var(--ch-pale);
  font-style: italic;
}

.prose table,
.table-wrap table {
  width: 100%;
  min-width: max-content;
  border-collapse: collapse;
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-cream);
}

.prose thead th,
.table-wrap thead th {
  background: var(--em-light);
  color: var(--ch-light);
  padding: 0.7em 1em;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid var(--ch);
}

.prose tbody td,
.table-wrap tbody td {
  padding: 0.6em 1em;
  border-bottom: 1px solid rgba(200,164,78,0.12);
}

.prose tbody tr:nth-child(even),
.table-wrap tbody tr:nth-child(even) {
  background: rgba(255,255,255,0.03);
}

.prose tbody tr:hover,
.table-wrap tbody tr:hover {
  background: rgba(200,164,78,0.06);
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  margin: 1.5rem auto;
  display: block;
  border: 2px solid rgba(200,164,78,0.25);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

/* ---- Table Scroll Wrapper ---- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--em-deep); }
::-webkit-scrollbar-thumb { background: var(--ch); border-radius: 4px; }

/* ---- Parallax ---- */
.parallax-hero {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

@media (max-width: 768px) {
  .parallax-hero { background-attachment: scroll; }
}

/* ---- Provider Tags ---- */
.provider-tag {
  background: rgba(200,164,78,0.08);
  border: 1px solid rgba(200,164,78,0.25);
  color: var(--ch-light);
  transition: all 0.2s;
}

.provider-tag:hover {
  background: rgba(200,164,78,0.18);
  border-color: var(--ch);
  transform: translateY(-1px);
}

/* ---- FAQ ---- */
details summary::-webkit-details-marker { display: none; }
details summary { list-style: none; }

/* ---- Body Texture ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(34,132,92,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(200,164,78,0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

/* ---- Selection ---- */
::selection {
  background: rgba(200,164,78,0.3);
  color: #fff;
}
