/* ============================================
   GorillaCasinos – Custom CSS & Animations
   Jungle Vault Theme: Deep Emerald + Gold
============================================ */

/* ---- Variables ---- */
:root {
  --gold-400: #fbbf24;
  --gold-500: #f59e0b;
  --jungle-400: #4ade80;
  --jungle-700: #15803d;
  --jungle-900: #14532d;
  --jungle-950: #052e16;
  --stone-800: #292524;
  --stone-900: #1c1917;
  --stone-950: #0c0a09;
}

/* ---- Global Reset ---- */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  background-color: var(--stone-950);
  color: #f3f4f6;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
  color: #0c0a09;
  font-weight: 700;
  border-radius: 0.75rem;
  padding: 0.75rem 2rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 4px 20px rgba(251, 191, 36, 0.35);
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px rgba(251, 191, 36, 0.55);
  filter: brightness(1.1);
}

.btn-primary:active {
  transform: translateY(0) scale(0.99);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fbbf24;
  font-weight: 600;
  border-radius: 0.75rem;
  padding: 0.75rem 2rem;
  text-decoration: none;
  border: 2px solid #fbbf24;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: #fbbf24;
  color: #0c0a09;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(251, 191, 36, 0.3);
}

/* ---- Hero ---- */
.hero-bg {
  background-color: var(--stone-950);
}

/* ---- Jungle SVG Overlay ---- */
.jungle-overlay {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 600'%3E%3Cpath d='M0 600 Q100 500 50 400 Q0 300 80 200 L0 200Z' fill='%23052e16' opacity='0.6'/%3E%3Cpath d='M800 600 Q700 480 750 350 Q800 220 720 150 L800 150Z' fill='%23052e16' opacity='0.6'/%3E%3Cpath d='M0 600 Q150 550 100 450 Q50 350 120 280 L0 280Z' fill='%23065f46' opacity='0.3'/%3E%3Cpath d='M800 600 Q650 540 680 420 Q710 300 640 230 L800 230Z' fill='%23065f46' opacity='0.3'/%3E%3Ccircle cx='120' cy='580' r='80' fill='%23052e16' opacity='0.4'/%3E%3Ccircle cx='680' cy='560' r='70' fill='%23052e16' opacity='0.4'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  opacity: 0.7;
}

/* ---- Bonus Badge ---- */
.bonus-badge {
  background: linear-gradient(135deg, rgba(5,46,22,0.95) 0%, rgba(6,78,59,0.95) 100%);
  border: 2px solid #f59e0b;
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.4), inset 0 1px 0 rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 40px rgba(245, 158, 11, 0.4); }
  50%       { box-shadow: 0 0 70px rgba(245, 158, 11, 0.7), 0 0 20px rgba(74, 222, 128, 0.2); }
}

/* ---- Marquee ---- */
.marquee-wrap {
  position: relative;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee-scroll 40s linear infinite;
  width: max-content;
}

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

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

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

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(245, 158, 11, 0.25);
}

/* ---- Step Cards ---- */
.step-badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0c0a09;
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.5);
  z-index: 10;
}

.step-card {
  position: relative;
  padding-top: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(22, 163, 74, 0.2);
}

/* ---- Review Blocks ---- */
.review-block {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(245, 158, 11, 0.15);
}

/* ---- Provider Word Cloud ---- */
.provider-cloud {
  line-height: 2;
}

.provider-tag {
  color: #d1d5db;
  transition: color 0.2s ease, transform 0.2s ease;
  cursor: default;
  display: inline-block;
}

.provider-tag:hover {
  color: #fbbf24;
  transform: scale(1.1);
}

/* ---- Promo Cards ---- */
.promo-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(74, 222, 128, 0.15);
}

/* ---- FAQ ---- */
.faq-item {
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.1);
}

.faq-btn {
  background: none;
  border: none;
  cursor: pointer;
}

/* ---- Parallax Layer (decorative) ---- */
.parallax-layer {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* ---- Stone texture background overlay ---- */
.stone-texture {
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255,255,255,0.015) 2px,
      rgba(255,255,255,0.015) 4px
    );
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #1c1917;
}
::-webkit-scrollbar-thumb {
  background: #44403c;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #f59e0b;
}

/* ============================================
   PROSE STYLING
============================================ */
.prose-gorilla {
  color: #d1d5db;
  font-size: 1rem;
  line-height: 1.75;
  max-width: 75ch;
}

.prose-gorilla h1,
.prose-gorilla h2,
.prose-gorilla h3,
.prose-gorilla h4 {
  color: #fbbf24;
  font-family: Georgia, serif;
  line-height: 1.3;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.prose-gorilla h1 { font-size: 2rem; }
.prose-gorilla h2 { font-size: 1.5rem; }
.prose-gorilla h3 { font-size: 1.25rem; }

.prose-gorilla p {
  margin-bottom: 1em;
  color: #d1d5db;
}

.prose-gorilla a {
  color: #4ade80;
  text-decoration: underline;
  text-decoration-color: rgba(74,222,128,0.3);
  transition: color 0.2s ease;
}

.prose-gorilla a:hover {
  color: #fbbf24;
}

.prose-gorilla ul,
.prose-gorilla ol {
  margin-left: 1.5rem;
  margin-bottom: 1em;
}

.prose-gorilla ul { list-style-type: disc; }
.prose-gorilla ol { list-style-type: decimal; }

.prose-gorilla li {
  margin-bottom: 0.4em;
  color: #d1d5db;
}

.prose-gorilla strong {
  color: #fbbf24;
  font-weight: 700;
}

.prose-gorilla em {
  color: #86efac;
  font-style: italic;
}

.prose-gorilla blockquote {
  border-left: 3px solid #f59e0b;
  padding-left: 1rem;
  color: #9ca3af;
  font-style: italic;
  margin: 1.5em 0;
}

.prose-gorilla table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
  font-size: 0.9rem;
}

.prose-gorilla table thead tr {
  background: #14532d;
}

.prose-gorilla table th {
  color: #fbbf24;
  padding: 0.6rem 1rem;
  text-align: left;
  border: 1px solid #292524;
}

.prose-gorilla table td {
  color: #d1d5db;
  padding: 0.6rem 1rem;
  border: 1px solid #292524;
}

.prose-gorilla table tbody tr:nth-child(even) {
  background: #1c1917;
}

.prose-gorilla table tbody tr:hover {
  background: #292524;
}

.prose-gorilla code {
  background: #292524;
  padding: 0.1em 0.4em;
  border-radius: 0.25rem;
  font-size: 0.9em;
  color: #86efac;
}

.prose-gorilla pre {
  background: #1c1917;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin-bottom: 1.5em;
}

.prose-gorilla hr {
  border: none;
  border-top: 1px solid #292524;
  margin: 2em 0;
}

.prose-gorilla img {
  max-width: 100%;
  border-radius: 0.5rem;
  margin: 1.5em 0;
}

/* lg prose size */
.prose-gorilla.lg\:prose-xl {
  font-size: 1.125rem;
}

/* ---- Container max-width ---- */
.max-w-8xl {
  max-width: 1440px;
}

/* ---- Shimmer animation for skeleton/loading ---- */
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ---- Entrance Animations ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

/* ---- Gold shimmer text ---- */
@keyframes goldShimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.text-gold-shimmer {
  background: linear-gradient(90deg, #f59e0b, #fde68a, #f59e0b, #d97706);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 4s linear infinite;
}

/* ---- Sticky header shadow on scroll ---- */
header {
  transition: box-shadow 0.3s ease;
}

/* ---- Focus styles ---- */
button:focus-visible,
a:focus-visible {
  outline: 2px solid #f59e0b;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- Mobile responsive table ---- */
@media (max-width: 640px) {
  .prose-gorilla table {
    font-size: 0.8rem;
  }
}
