/* BetWest Casino – Custom CSS */

/* =========================================================
   Keyframe Animations
   ========================================================= */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0.5rem #059669; }
  50% { box-shadow: 0 0 2rem #10b981; }
}

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

@keyframes parallax-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1rem); }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(1.5rem); }
  to { opacity: 1; transform: translateY(0); }
}

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

body {
  background-color: #050d08;
  color: #e2e8f0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, video, table {
  max-width: 100%;
}

/* =========================================================
   Hero Pattern (SVG CSS background)
   ========================================================= */
.hero-pattern {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 2rem,
    rgba(16, 185, 129, 0.04) 2rem,
    rgba(16, 185, 129, 0.04) 4rem
  );
}

/* =========================================================
   Marquee
   ========================================================= */
.marquee-track {
  display: flex;
  gap: 2rem;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

/* =========================================================
   Prose – Markdown content styling
   ========================================================= */
.prose {
  color: #cbd5e1;
  max-width: 100%;
  font-size: 1rem;
  line-height: 1.8;
}

.prose h2 {
  color: #34d399;
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #064e3b;
  line-height: 1.3;
}

.prose h3 {
  color: #a7f3d0;
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.prose p {
  margin-bottom: 1.25rem;
  color: #cbd5e1;
}

.prose a {
  color: #34d399;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.prose a:hover {
  color: #10b981;
}

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

.prose ul li {
  padding-left: 1.75rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: #cbd5e1;
}

.prose ul li::before {
  content: '\2022';
  color: #10b981;
  font-size: 1.2rem;
  position: absolute;
  left: 0.5rem;
  top: 0;
  line-height: 1.7;
}

.prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  counter-reset: ordered-list;
}

.prose ol li {
  counter-increment: ordered-list;
  margin-bottom: 0.5rem;
  color: #cbd5e1;
  position: relative;
  padding-left: 0.5rem;
}

.prose blockquote {
  border-left: 4px solid #059669;
  background-color: #0a1a10;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 0.5rem 0.5rem 0;
  color: #a7f3d0;
  font-style: italic;
}

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

.prose em {
  color: #a7f3d0;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  margin: 2rem 0;
  border: 1px solid #064e3b;
  display: block;
}

/* =========================================================
   Prose Tables
   ========================================================= */
.prose table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  white-space: nowrap;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  color: #cbd5e1;
}

.prose thead tr {
  background-color: #064e3b;
  color: #34d399;
}

.prose th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  border: 1px solid #065f46;
}

.prose td {
  padding: 0.625rem 1rem;
  border: 1px solid #0a2a18;
}

.prose tbody tr:nth-child(even) {
  background-color: #0a1a10;
}

.prose tbody tr:hover {
  background-color: #0f2615;
}

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

/* =========================================================
   Utility – Glow CTA
   ========================================================= */
.btn-glow {
  animation: pulse-glow 2.5s ease-in-out infinite;
}

/* =========================================================
   Scrollbar Styling
   ========================================================= */
::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #050d08;
}

::-webkit-scrollbar-thumb {
  background: #047857;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #059669;
}

/* =========================================================
   Responsive Container
   ========================================================= */
.max-w-container {
  max-width: 1440px;
}
