/* =====================================================
   VinnieWinners Casino - Custom CSS
   Cheerful palette, rounded UI, casual fun atmosphere
   ===================================================== */

/* ----- CSS Variables ----- */
:root {
  --vw-primary: #FF6B35;
  --vw-primary-dark: #E55A2B;
  --vw-secondary: #FFBA08;
  --vw-secondary-dark: #E5A707;
  --vw-accent: #7B2CBF;
  --vw-accent-light: #9D4EDD;
  --vw-dark: #1A1A2E;
  --vw-darker: #0F0F1A;
  --vw-light: #F8F9FA;
  --vw-gray: #6C757D;
  --vw-success: #2ECC71;
  --vw-gradient: linear-gradient(135deg, var(--vw-primary) 0%, var(--vw-secondary) 100%);
  --vw-radius: 1rem;
  --vw-radius-lg: 1.5rem;
  --vw-radius-xl: 2rem;
  --vw-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.25);
  --vw-shadow-glow: 0 0 2rem rgba(255, 107, 53, 0.4);
}

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

@keyframes parallax-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-1.25rem) rotate(2deg); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 1.25rem rgba(255, 107, 53, 0.4); }
  50% { box-shadow: 0 0 2.5rem rgba(255, 186, 8, 0.6); }
}

@keyframes badge-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

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

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

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ----- Animation Utilities ----- */
.animate-marquee {
  animation: marquee 25s linear infinite;
}

.animate-parallax {
  animation: parallax-float 6s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

.animate-badge-bounce {
  animation: badge-bounce 2s ease-in-out infinite;
}

.animate-shimmer {
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

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

.animate-spin-slow {
  animation: spin-slow 20s linear infinite;
}

/* ----- Marquee Container ----- */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-flex;
  gap: 2rem;
}

/* ----- SVG Patterns ----- */
.pattern-dots {
  background-image: radial-gradient(circle, var(--vw-accent) 1px, transparent 1px);
  background-size: 1.25rem 1.25rem;
}

.pattern-grid {
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 2.5rem 2.5rem;
}

/* ----- Navigation ----- */
.nav-sticky {
  backdrop-filter: blur(0.75rem);
  -webkit-backdrop-filter: blur(0.75rem);
}

.mobile-menu {
  background-color: var(--vw-darker);
  backdrop-filter: blur(1rem);
  -webkit-backdrop-filter: blur(1rem);
}

.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  width: 0;
  height: 0.125rem;
  background: var(--vw-gradient);
  border-radius: 0.125rem;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* ----- Buttons ----- */
.btn-primary {
  background: var(--vw-gradient);
  color: white;
  border-radius: var(--vw-radius);
  padding: 0.875rem 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  box-shadow: var(--vw-shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.5rem 1.5rem rgba(255, 107, 53, 0.5);
}

.btn-secondary {
  background: transparent;
  border: 0.125rem solid var(--vw-secondary);
  color: var(--vw-secondary);
  border-radius: var(--vw-radius);
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--vw-secondary);
  color: var(--vw-dark);
}

/* ----- Cards ----- */
.card-game {
  background: linear-gradient(145deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--vw-radius-lg);
  overflow: hidden;
  transition: all 0.4s ease;
}

.card-game:hover {
  transform: translateY(-0.5rem);
  box-shadow: var(--vw-shadow);
  border-color: var(--vw-primary);
}

.card-promo {
  background: linear-gradient(145deg, var(--vw-darker) 0%, var(--vw-dark) 100%);
  border-radius: var(--vw-radius-lg);
  border: 1px solid rgba(255,186,8,0.2);
  transition: all 0.3s ease;
}

.card-promo:hover {
  border-color: var(--vw-secondary);
  box-shadow: 0 0 1.5rem rgba(255, 186, 8, 0.2);
}

/* ----- Hero Section ----- */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,15,26,0.7) 0%, rgba(26,26,46,0.9) 100%);
}

/* ----- Bonus Badge ----- */
.bonus-badge {
  background: linear-gradient(135deg, var(--vw-dark) 0%, var(--vw-darker) 100%);
  border: 0.1875rem solid transparent;
  background-clip: padding-box;
  position: relative;
  border-radius: var(--vw-radius-xl);
}

.bonus-badge::before {
  content: '';
  position: absolute;
  inset: -0.1875rem;
  background: var(--vw-gradient);
  border-radius: var(--vw-radius-xl);
  z-index: -1;
}

/* ----- Steps Section ----- */
.step-badge {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--vw-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  color: white;
  box-shadow: var(--vw-shadow-glow);
}

.step-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
  border-radius: var(--vw-radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
}

.step-card:hover {
  border-color: var(--vw-primary);
  transform: translateY(-0.25rem);
}

/* ----- Tables ----- */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--vw-radius);
}

.payment-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.payment-table th {
  background: linear-gradient(135deg, var(--vw-primary) 0%, var(--vw-primary-dark) 100%);
  color: white;
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
}

.payment-table th:first-child {
  border-radius: var(--vw-radius) 0 0 0;
}

.payment-table th:last-child {
  border-radius: 0 var(--vw-radius) 0 0;
}

.payment-table td {
  background: rgba(255,255,255,0.03);
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--vw-light);
}

.payment-table tr:last-child td:first-child {
  border-radius: 0 0 0 var(--vw-radius);
}

.payment-table tr:last-child td:last-child {
  border-radius: 0 0 var(--vw-radius) 0;
}

.payment-table tr:hover td {
  background: rgba(255,107,53,0.1);
}

/* ----- Providers Cloud ----- */
.provider-tag {
  background: linear-gradient(145deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--vw-light);
  transition: all 0.3s ease;
}

.provider-tag:hover {
  background: var(--vw-primary);
  border-color: var(--vw-primary);
  color: white;
}

/* ----- FAQ Section ----- */
.faq-item {
  background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--vw-radius);
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.faq-question {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--vw-light);
  font-weight: 600;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--vw-secondary);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: rgba(248,249,250,0.8);
  line-height: 1.7;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* ----- Footer ----- */
.footer-section {
  background: linear-gradient(180deg, var(--vw-dark) 0%, var(--vw-darker) 100%);
}

.age-badge {
  width: 3rem;
  height: 3rem;
  border: 0.1875rem solid var(--vw-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--vw-primary);
}

/* ----- Decorative Elements ----- */
.decoration-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  pointer-events: none;
}

.decoration-circle-1 {
  width: 25rem;
  height: 25rem;
  background: var(--vw-primary);
  top: -12.5rem;
  right: -6.25rem;
  filter: blur(5rem);
}

.decoration-circle-2 {
  width: 18.75rem;
  height: 18.75rem;
  background: var(--vw-accent);
  bottom: -9.375rem;
  left: -6.25rem;
  filter: blur(4rem);
}

/* =====================================================
   PROSE STYLING - Inner Pages Typography
   ===================================================== */

.prose {
  color: var(--vw-light);
  font-size: 1.0625rem;
  line-height: 1.8;
  max-width: 100%;
}

/* ----- Prose Headings ----- */
.prose h2 {
  color: var(--vw-secondary);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 0.1875rem solid var(--vw-primary);
  line-height: 1.3;
}

.prose h3 {
  color: var(--vw-light);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1rem;
}

.prose h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 0.25rem;
  background: var(--vw-gradient);
  border-radius: 0.125rem;
}

.prose h4 {
  color: rgba(248, 249, 250, 0.9);
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

/* ----- Prose Paragraphs ----- */
.prose p {
  margin-bottom: 1.25rem;
  color: rgba(248, 249, 250, 0.85);
}

.prose p:first-of-type {
  font-size: 1.125rem;
  color: var(--vw-light);
}

/* ----- Prose Links ----- */
.prose a {
  color: var(--vw-secondary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.prose a:hover {
  color: var(--vw-primary);
  border-bottom-color: var(--vw-primary);
}

/* ----- Prose Lists ----- */
.prose ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.prose ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.625rem;
  color: rgba(248, 249, 250, 0.85);
}

.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.625rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--vw-gradient);
  border-radius: 50%;
}

.prose ol {
  list-style: none;
  counter-reset: prose-counter;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.prose ol li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 0.75rem;
  counter-increment: prose-counter;
  color: rgba(248, 249, 250, 0.85);
}

.prose ol li::before {
  content: counter(prose-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--vw-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8125rem;
  color: white;
}

/* ----- Prose Tables ----- */
.prose .table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
  border-radius: var(--vw-radius);
}

.prose table {
  width: 100%;
  min-width: 31.25rem;
  border-collapse: separate;
  border-spacing: 0;
}

.prose table th {
  background: linear-gradient(135deg, var(--vw-primary) 0%, var(--vw-primary-dark) 100%);
  color: white;
  padding: 0.875rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9375rem;
  white-space: nowrap;
}

.prose table th:first-child {
  border-radius: var(--vw-radius) 0 0 0;
}

.prose table th:last-child {
  border-radius: 0 var(--vw-radius) 0 0;
}

.prose table td {
  background: rgba(255, 255, 255, 0.03);
  padding: 0.875rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(248, 249, 250, 0.9);
  font-size: 0.9375rem;
}

.prose table tr:last-child td:first-child {
  border-radius: 0 0 0 var(--vw-radius);
}

.prose table tr:last-child td:last-child {
  border-radius: 0 0 var(--vw-radius) 0;
}

.prose table tr:hover td {
  background: rgba(255, 107, 53, 0.08);
}

/* ----- Prose Blockquotes ----- */
.prose blockquote {
  background: linear-gradient(145deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 186, 8, 0.05) 100%);
  border-left: 0.25rem solid var(--vw-primary);
  border-radius: 0 var(--vw-radius) var(--vw-radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
}

.prose blockquote p {
  margin-bottom: 0;
  color: var(--vw-light);
}

/* ----- Prose Images ----- */
.prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--vw-radius-lg);
  margin: 1.5rem 0;
  box-shadow: var(--vw-shadow);
}

/* ----- Prose Strong/Emphasis ----- */
.prose strong {
  color: var(--vw-secondary);
  font-weight: 700;
}

.prose em {
  color: var(--vw-light);
  font-style: italic;
}

/* ----- Prose HR ----- */
.prose hr {
  border: none;
  height: 0.125rem;
  background: var(--vw-gradient);
  margin: 2rem 0;
  border-radius: 0.125rem;
  opacity: 0.5;
}

/* =====================================================
   Responsive Adjustments
   ===================================================== */

@media (max-width: 64rem) {
  .prose h2 {
    margin-top: 2rem;
  }
  
  .prose h3 {
    margin-top: 1.5rem;
  }
}

@media (max-width: 48rem) {
  .prose {
    font-size: 1rem;
  }
  
  .prose table {
    min-width: 25rem;
  }
  
  .prose ol li {
    padding-left: 2rem;
  }
  
  .prose ol li::before {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.75rem;
  }
}

/* ----- Smooth Scroll ----- */
html {
  scroll-behavior: smooth;
}

/* ----- Selection ----- */
::selection {
  background: var(--vw-primary);
  color: white;
}

/* ----- Scrollbar ----- */
::-webkit-scrollbar {
  width: 0.5rem;
  height: 0.5rem;
}

::-webkit-scrollbar-track {
  background: var(--vw-darker);
}

::-webkit-scrollbar-thumb {
  background: var(--vw-primary);
  border-radius: 0.25rem;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--vw-secondary);
}
