/* LeoKing Casino - Custom CSS */

:root {
  --color-bg: #0f0509;
  --color-burgundy: #6b1c2e;
  --color-burgundy-light: #8b2a40;
  --color-gold: #d4af37;
  --color-gold-light: #f0d060;
  --color-cream: #f5e6c8;
  --color-velvet: #1a0a0f;
  --color-card-bg: #1e0c14;
}

* {
  box-sizing: border-box;
}

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

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

@keyframes ember-glow {
  0%, 100% { box-shadow: 0 0 10px rgba(212,175,55,0.3), 0 0 20px rgba(107,28,46,0.2); }
  50% { box-shadow: 0 0 20px rgba(212,175,55,0.6), 0 0 40px rgba(107,28,46,0.4); }
}

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

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

@keyframes pulse-gold {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

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

.ember-glow {
  animation: ember-glow 3s ease-in-out infinite;
}

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

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

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 50%, var(--color-gold) 100%);
  color: #1a0a0f;
  font-weight: 700;
  padding: 0.85em 2em;
  border-radius: 0.375rem;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  font-size: 1rem;
  letter-spacing: 0.03em;
  animation: ember-glow 3s ease-in-out infinite;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212,175,55,0.5);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--color-gold);
  font-weight: 700;
  padding: 0.75em 1.8em;
  border-radius: 0.375rem;
  text-decoration: none;
  text-align: center;
  border: 2px solid var(--color-gold);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.btn-secondary:hover {
  background: var(--color-gold);
  color: #1a0a0f;
}

.card-casino {
  background: var(--color-card-bg);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 0.75rem;
  transition: transform 0.2s, border-color 0.2s;
}

.card-casino:hover {
  transform: translateY(-4px);
  border-color: rgba(212,175,55,0.6);
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.gold-divider {
  width: 4rem;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: 0 auto 2rem;
}

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

.prose h2 {
  color: var(--color-gold);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(212,175,55,0.3);
  padding-bottom: 0.4rem;
}

.prose h3 {
  color: var(--color-gold-light);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

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

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

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

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

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

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

.prose blockquote {
  border-left: 4px solid var(--color-gold);
  padding-left: 1rem;
  margin-left: 0;
  color: rgba(245,230,200,0.8);
  font-style: italic;
  margin-bottom: 1.2rem;
}

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

.prose th {
  background: var(--color-burgundy);
  color: var(--color-gold);
  padding: 0.6rem 1rem;
  text-align: left;
  font-weight: 700;
  border: 1px solid rgba(212,175,55,0.2);
}

.prose td {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(212,175,55,0.15);
  color: var(--color-cream);
  background: rgba(30,12,20,0.8);
}

.prose tr:nth-child(even) td {
  background: rgba(107,28,46,0.15);
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  border: 1px solid rgba(212,175,55,0.2);
  margin: 1.5rem 0;
}

/* Mobile menu */
#mobile-menu {
  background: #1a0a0f;
  border-top: 1px solid rgba(212,175,55,0.2);
}

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

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

/* Responsive container */
.container-site {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container-site {
    padding: 0 2rem;
  }
}

/* Step badge */
.step-badge {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--color-burgundy), var(--color-burgundy-light));
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin: 0 auto 1rem;
}

/* Word cloud */
.word-cloud span {
  display: inline-block;
  margin: 0.3rem;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  border: 1px solid rgba(212,175,55,0.3);
  color: var(--color-cream);
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  transition: border-color 0.2s, color 0.2s;
}

.word-cloud span:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* 18+ badge */
.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  font-weight: 700;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* SVG pattern overlay */
.velvet-pattern {
  background-image: radial-gradient(circle at 1px 1px, rgba(212,175,55,0.05) 1px, transparent 0);
  background-size: 32px 32px;
}

/* Game card image */
.game-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 0.5rem 0.5rem 0 0;
}

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