:root {
  --sapphire-dark: #0a1628;
  --sapphire-mid: #0d1b3e;
  --sapphire-light: #1a3a6b;
  --gold: #d4af37;
  --gold-light: #f0d060;
  --cream: #f5f0e8;
  --text-light: #e8e0d0;
}

* { box-sizing: border-box; }

body {
  background-color: var(--sapphire-dark);
  color: var(--cream);
  font-family: 'Georgia', serif;
}

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

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

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

@keyframes glow {
  0%, 100% { box-shadow: 0 0 10px var(--gold), 0 0 20px var(--gold); }
  50% { box-shadow: 0 0 20px var(--gold), 0 0 40px var(--gold-light); }
}

.gold-shimmer {
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

.glow-btn {
  animation: glow 2s ease-in-out infinite;
}

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

.marquee-wrapper {
  overflow: hidden;
  width: 100%;
}

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

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

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

.prose h2 {
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--sapphire-light);
  padding-bottom: 0.4rem;
}

.prose h3 {
  color: var(--gold-light);
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.prose p {
  color: var(--cream);
  line-height: 1.8;
  margin-bottom: 1rem;
}

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

.prose a:hover {
  color: var(--gold);
}

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

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

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

.prose blockquote {
  border-left: 4px solid var(--gold);
  padding-left: 1rem;
  color: var(--gold-light);
  font-style: italic;
  margin: 1.5rem 0;
  background: rgba(212,175,55,0.07);
  border-radius: 0 0.5rem 0.5rem 0;
}

.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 th {
  background: var(--sapphire-light);
  color: var(--gold);
  padding: 0.6rem 1rem;
  text-align: left;
  font-weight: 700;
  border: 1px solid var(--sapphire-light);
}

.prose td {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(212,175,55,0.2);
  color: var(--cream);
  background: rgba(10,22,40,0.6);
}

.prose tr:hover td {
  background: rgba(26,58,107,0.5);
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  border: 2px solid var(--gold);
  margin: 1.5rem 0;
}

.nav-bg {
  background: linear-gradient(135deg, #0a1628 0%, #0d1b3e 100%);
  border-bottom: 1px solid rgba(212,175,55,0.3);
}

.mobile-menu-bg {
  background: #0a1628;
  border-top: 1px solid rgba(212,175,55,0.3);
}

.card-sapphire {
  background: linear-gradient(135deg, #0d1b3e 0%, #1a3a6b 100%);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-sapphire:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(212,175,55,0.25);
}

.btn-gold {
  background: linear-gradient(135deg, #d4af37, #f0d060);
  color: #0a1628;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  display: inline-block;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.btn-gold:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 20px rgba(212,175,55,0.5);
}

.btn-outline-gold {
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  display: inline-block;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  background: transparent;
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: #0a1628;
}

.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 900;
  font-size: 0.75rem;
}

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

.section-subtitle {
  color: var(--cream);
  text-align: center;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.game-card {
  background: linear-gradient(160deg, #0d1b3e, #1a3a6b);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  flex-shrink: 0;
  width: 200px;
}

.game-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(212,175,55,0.3);
}

.game-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.faq-item {
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  background: rgba(26,58,107,0.5);
  padding: 1rem 1.25rem;
  cursor: pointer;
  color: var(--gold-light);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  border: none;
}

.faq-answer {
  background: rgba(10,22,40,0.8);
  padding: 1rem 1.25rem;
  color: var(--cream);
  line-height: 1.7;
  display: none;
}

.faq-answer.open {
  display: block;
}

.payment-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.word-cloud span {
  display: inline-block;
  margin: 0.3rem;
  padding: 0.35rem 0.85rem;
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 2rem;
  color: var(--gold-light);
  font-size: 0.9rem;
  transition: background 0.2s;
}

.word-cloud span:hover {
  background: rgba(212,175,55,0.25);
}

.step-badge {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0a1628;
  font-weight: 900;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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