/* Jasminslots Custom CSS - Jasmine Crown Reels Theme */

:root {
  --emerald-deep: #064e3b;
  --emerald-mid: #065f46;
  --emerald-light: #0a7a5a;
  --gold: #d4af37;
  --gold-light: #f5e6a3;
  --ivory: #fdf6e3;
  --ivory-dim: #f0e6c8;
  --royal: #7c3aed;
  --royal-light: #a78bfa;
  --dark-overlay: rgba(4, 38, 28, 0.85);
}

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

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

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

@keyframes petalSpin {
  0% { transform: rotate(0deg) scale(1); opacity: 0.6; }
  50% { transform: rotate(180deg) scale(1.1); opacity: 1; }
  100% { transform: rotate(360deg) scale(1); opacity: 0.6; }
}

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

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

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

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

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

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

.petal-spin {
  animation: petalSpin 8s linear infinite;
}

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

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

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

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

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

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

.prose-jasmin a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.prose-jasmin ul {
  list-style: none;
  padding-left: 1.2rem;
  margin-bottom: 1.2rem;
}

.prose-jasmin ul li::before {
  content: '✦';
  color: var(--gold);
  margin-right: 0.5rem;
}

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

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

.prose-jasmin blockquote {
  border-left: 4px solid var(--gold);
  padding-left: 1rem;
  color: var(--ivory-dim);
  font-style: italic;
  margin: 1.5rem 0;
}

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

.prose-jasmin .table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
}

.prose-jasmin table th {
  background-color: var(--emerald-mid);
  color: var(--gold);
  padding: 0.65rem 1rem;
  text-align: left;
  font-weight: 700;
  border: 1px solid var(--gold);
}

.prose-jasmin table td {
  padding: 0.55rem 1rem;
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--ivory);
  background-color: rgba(6, 78, 59, 0.5);
}

.prose-jasmin table tr:nth-child(even) td {
  background-color: rgba(6, 95, 70, 0.4);
}

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

/* Nav */
.nav-link {
  color: var(--gold-light);
  font-weight: 500;
  transition: color 0.2s;
  padding: 0.35rem 0.75rem;
  border-radius: 0.375rem;
}

.nav-link:hover {
  color: var(--gold);
  background-color: rgba(212, 175, 55, 0.12);
}

/* CTA buttons */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, #b8860b 100%);
  color: var(--emerald-deep);
  font-weight: 800;
  padding: 0.8rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
}

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

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  text-decoration: none;
  border: 2px solid var(--gold);
  transition: background 0.2s, color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
}

.btn-secondary:hover {
  background: var(--gold);
  color: var(--emerald-deep);
}

.bonus-badge {
  background: linear-gradient(135deg, rgba(212,175,55,0.18) 0%, rgba(6,78,59,0.9) 100%);
  border: 2px solid var(--gold);
  border-radius: 1.25rem;
  padding: 1.5rem 2rem;
  display: inline-block;
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.25);
}

.step-badge {
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  background: linear-gradient(135deg, var(--gold), #b8860b);
  color: var(--emerald-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.25rem;
  box-shadow: 0 2px 12px rgba(212,175,55,0.4);
}

.promo-card {
  background: linear-gradient(145deg, rgba(6,95,70,0.7) 0%, rgba(6,78,59,0.95) 100%);
  border: 1px solid rgba(212,175,55,0.4);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: transform 0.2s, border-color 0.2s;
}

.promo-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.game-card {
  flex: 0 0 auto;
  width: 220px;
  border-radius: 0.875rem;
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.35);
  background: rgba(6,78,59,0.9);
  transition: transform 0.25s;
}

.game-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--gold);
}

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

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

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

.faq-question:hover {
  background: rgba(6,95,70,0.8);
}

.faq-answer {
  display: none;
  padding: 1rem 1.25rem;
  color: var(--ivory);
  background: rgba(4,38,28,0.6);
  line-height: 1.7;
  font-size: 0.95rem;
}

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

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-icon {
  transition: transform 0.25s;
  color: var(--gold);
}

.provider-cloud span {
  display: inline-block;
  margin: 0.35rem;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-weight: 600;
  background: rgba(6,95,70,0.55);
  border: 1px solid rgba(212,175,55,0.3);
  color: var(--gold-light);
  transition: background 0.2s, color 0.2s;
  cursor: default;
}

.provider-cloud span:hover {
  background: var(--gold);
  color: var(--emerald-deep);
}

.payment-icon {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,175,55,0.15);
  border-radius: 0.375rem;
  color: var(--gold);
  font-size: 1.1rem;
}

.section-divider {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0;
  opacity: 0.5;
}

/* Review tabs */
.review-tab {
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(212,175,55,0.3);
  color: var(--ivory-dim);
  background: transparent;
  transition: all 0.2s;
  font-size: 0.9rem;
}

.review-tab.active, .review-tab:hover {
  background: var(--gold);
  color: var(--emerald-deep);
  border-color: var(--gold);
}

.review-panel {
  display: none;
}

.review-panel.active {
  display: block;
}

/* Burger menu */
#mobile-menu {
  background-color: #042614;
  border-top: 2px solid var(--gold);
}

/* SVG decorative pattern */
.jasmin-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4af37' fill-opacity='0.07'%3E%3Cpath d='M30 0 C32 8 38 10 38 18 C38 26 32 28 30 36 C28 28 22 26 22 18 C22 10 28 8 30 0Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Responsive table wrappers */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}
