/* ===== AureonPlay Custom CSS ===== */

:root {
  --gold: #e8a020;
  --gold-light: #f0b429;
  --gold-dark: #c87d0a;
  --sapphire: #0d1f3c;
  --sapphire-dark: #070f1e;
  --sapphire-mid: #122347;
  --ivory: #f8f4e8;
  --ivory-dark: #e8e0c8;
}

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

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

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(2rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,160,32,0.5); }
  50% { box-shadow: 0 0 0 0.75rem rgba(232,160,32,0); }
}

@keyframes sparkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}

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

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

.shimmer-text {
  background: linear-gradient(90deg, var(--gold) 0%, #fff8e1 40%, var(--gold) 60%, var(--gold-dark) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

.pulse-cta {
  animation: pulse-gold 2.5s infinite;
}

.sparkle-icon {
  animation: sparkle 2s ease-in-out infinite;
}

.fade-in-up {
  animation: fadeInUp 0.7s ease both;
}

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

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

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

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

.prose-aureon h3 {
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose-aureon p {
  margin-bottom: 1.2rem;
  color: var(--ivory-dark);
}

.prose-aureon a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: color 0.2s;
}

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

.prose-aureon ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

.prose-aureon ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

.prose-aureon li {
  margin-bottom: 0.5rem;
  color: var(--ivory-dark);
}

.prose-aureon blockquote {
  border-left: 4px solid var(--gold);
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--ivory-dark);
  background: rgba(232,160,32,0.07);
  border-radius: 0 0.5rem 0.5rem 0;
}

.prose-aureon table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.prose-aureon th {
  background: var(--gold-dark);
  color: var(--sapphire-dark);
  padding: 0.6rem 1rem;
  text-align: left;
  font-weight: 700;
}

.prose-aureon td {
  padding: 0.55rem 1rem;
  border-bottom: 1px solid rgba(232,160,32,0.2);
  color: var(--ivory-dark);
}

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

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

/* Overflow scroll wrapper for tables */
.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Sticky nav */
.nav-sticky {
  position: sticky;
  top: 0;
  z-index: 9999;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Mobile menu */
#mobile-menu {
  background: #0d1f3c;
  border-top: 2px solid var(--gold-dark);
}

/* Game card hover */
.game-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(232,160,32,0.35);
}

/* Gold border gradient */
.gold-border {
  border: 2px solid var(--gold);
  box-shadow: 0 0 12px rgba(232,160,32,0.25);
}

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

/* Step badge */
.step-badge {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--sapphire-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(232,160,32,0.4);
}
