:root {
  --background: #000000;
  --foreground: #f8f8f8; /* Light gray for text */
  --primary: #ffffff; /* Electric Blue */
  /* --primary-05: rgba(0, 191, 255, 0.05); NEW: Very light primary for subtle gradients */
  --primary-10: rgba(167 164 48 / 28%);
  --primary-15: rgba(229, 255, 0, 0.15);
  --primary-20: rgba(144, 146, 41, 0.1);
  --primary-25: rgba(251, 255, 0, 0.25);
  --primary-30: rgba(144, 146, 41, 0.1);
  --primary-50: rgba(238, 255, 0, 0.5);
  --secondary-10: rgba(54, 54, 26, 0.1);
  --secondary-20: rgba(72, 75, 40, 0.2);
  --secondary-30: rgba(54, 51, 26, 0.3);
  --secondary-40: rgba(26, 31, 54, 0.4);
  --secondary-50: rgba(94, 97, 50, 0.5);
  --secondary-60: rgba(26, 31, 54, 0.6);
  --secondary-dark: #42462a; /* Slightly lighter navy for MyPrize */

  --yellow-400: #facc15;
  --yellow-600: #ca8a04;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --amber-600: #d97706;
  --amber-800: #9a3412;
  --blue-800: #c9cc00; /* Darker blue for gradients */
}

.winky-rough {
  font-family: "Winky Rough", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

/* Base Body Styles */
.page-body {
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  margin: 0px;
  overflow-x: hidden; /* Prevent horizontal scroll from animations */
}

/* Content Wrapper for Z-index */
.content-wrapper {
  position: relative;
  z-index: 10;
}

/* Particles Background */
.particles-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: transparent;
}

/* Container for max-width and centering */
.container {
  max-width: 1400px; /* 2xl */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem; /* px-4 */
  padding-right: 1rem; /* px-4 */
}

/* Responsive padding for containers */
@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem; /* sm:px-6 */
    padding-right: 1.5rem; /* sm:px-6 */
  }
}
@media (min-width: 1024px) {
  .container {
    padding-left: 2rem; /* lg:px-8 */
    padding-right: 2rem; /* lg:px-8 */
  }
}

/* Section Padding */
.section-padding-y {
  padding-top: 5rem; /* py-20 */
  padding-bottom: 5rem; /* py-20 */
}
.section-padding-y-lg {
  padding-top: 4rem; /* py-16 */
  padding-bottom: 4rem; /* py-16 */
}
.section-padding-x {
  padding-left: 1rem; /* px-4 */
  padding-right: 1rem; /* px-4 */
}
.section-padding-bottom {
  padding-bottom: 4rem; /* pb-16 */
}
.section-margin-bottom {
  margin-bottom: 4rem; /* mb-16 */
}

/* Text Alignment */
.text-center {
  text-align: center;
}

/* Colors */
.text-white {
  color: white;
}
.text-gray-300 {
  color: var(--gray-300);
}
.text-gray-400 {
  color: var(--gray-400);
}
.text-gray-500 {
  color: var(--gray-500);
}
.primary-text {
  color: var(--primary);
}

/* Typography */
.text-4xl {
  font-size: 2.25rem; /* 36px */
  line-height: 2.5rem; /* 40px */
}
.text-6xl {
  font-size: 3.75rem; /* 60px */
  line-height: 1;
}
.text-3xl {
  font-size: 1.875rem; /* 30px */
  line-height: 2.25rem; /* 36px */
}
.text-2xl {
  font-size: 1.5rem; /* 24px */
  line-height: 2rem; /* 32px */
}
.text-xl {
  font-size: 1.25rem; /* 20px */
  line-height: 1.75rem; /* 28px */
}
.text-lg {
  font-size: 1.125rem; /* 18px */
  line-height: 1.75rem; /* 28px */
}
.text-base {
  font-size: 1rem; /* 16px */
  line-height: 1.5rem; /* 24px */
}
.text-sm {
  font-size: 0.875rem; /* 14px */
  line-height: 1.25rem; /* 20px */
}
.text-xs {
  font-size: 0.75rem; /* 12px */
  line-height: 1rem; /* 16px */
}
.font-bold {
  font-weight: 700;
}
.font-semibold {
  font-weight: 600;
}
.font-medium {
  font-weight: 500;
}
.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.tabular-nums {
  font-variant-numeric: tabular-nums;
}
.uppercase {
  text-transform: uppercase;
}
.tracking-wide {
  letter-spacing: 0.025em;
}
.bg-clip-text {
  -webkit-background-clip: text;
  background-clip: text;
}
.text-transparent {
  color: transparent;
}

/* Responsive Typography */
@media (min-width: 768px) {
  .md-text-6xl {
    font-size: 3.75rem;
    line-height: 1;
  }
  .md-text-5xl {
    font-size: 3rem;
    line-height: 1;
  }
  .md-text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
  .md-text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  .md-text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

/* Spacing Utilities */
.gap-sm > *:not(:first-child) {
  margin-left: 0.5rem; /* space-x-2 */
}
.gap-md > *:not(:first-child) {
  margin-left: 0.75rem; /* space-x-3 */
}
.gap-lg > *:not(:first-child) {
  margin-left: 1rem; /* space-x-4 */
}
.gap-xl > *:not(:first-child) {
  margin-left: 1.5rem; /* space-x-6 */
}
.gap-2xl > *:not(:first-child) {
  margin-left: 2rem; /* space-x-8 */
}
.stack-sm > *:not(:first-child) {
  margin-top: 1rem; /* space-y-4 */
}
.stack-lg > *:not(:first-child) {
  margin-top: 2rem; /* space-y-8 */
}
.margin-bottom-lg {
  margin-bottom: 3rem; /* mb-12 */
}
.margin-bottom-md {
  margin-bottom: 2rem; /* mb-8 */
}
.margin-bottom-sm {
  margin-bottom: 1.5rem; /* mb-6 */
}
.margin-bottom-xs {
  margin-bottom: 1rem; /* mb-4 */
}
.margin-bottom-xxs {
  margin-bottom: 0.75rem; /* mb-3 */
}
.margin-bottom-xxxs {
  margin-bottom: 0.5rem; /* mb-2 */
}
.margin-top-auto {
  margin-top: auto;
}
.margin-top-sm {
  margin-top: 0.5rem; /* mt-2 */
}
.margin-top-xs {
  margin-top: 0.25rem; /* mt-1 */
}
.margin-left-md {
  margin-left: 0.75rem; /* ml-3 */
}
.margin-right-md {
  margin-right: 0.75rem; /* mr-3 */
}
.margin-right-sm {
  margin-right: 0.5rem; /* mr-2 */
}

/* Flexbox Utilities */
.flex-group {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.flex-row-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.flex-grow {
  flex-grow: 1;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}

/* Grid Utilities */
.grid-layout {
  display: grid;
  gap: 2rem; /* gap-8 */
}
@media (min-width: 768px) {
  .md-grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .lg-grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem; /* lg:gap-12 */
  }
}

/* Sizing */
.w-full {
  width: 100%;
}
.w-fit {
  width: fit-content;
}
.w-2 {
  width: 0.5rem;
}
.w-12 {
  width: 3rem;
}
.w-16 {
  width: 4rem;
}
.w-20 {
  width: 5rem;
}
.h-2 {
  height: 0.5rem;
}
.h-1 {
  height: 0.25rem;
}
.h-12 {
  height: 3rem;
}
.h-16 {
  height: 4rem;
}
.h-20 {
  height: 5rem;
}
.h-0-5 {
  height: 0.125rem;
}
.min-w-120px {
  min-width: 120px;
}
.min-w-50px {
  min-width: 50px;
}

/* Borders and Shadows */
.border-default {
  border-width: 1px;
  border-style: solid;
  border-color: var(--secondary); /* Default border color */
}
.border-2px {
  border-width: 2px;
  border-style: solid;
}
.border-bottom {
  border-bottom-width: 1px;
  border-bottom-style: solid;
}
.border-primary-20 {
  border-color: var(--primary-20);
}
.border-primary-30 {
  border-color: var(--primary-30);
}
.border-primary-50 {
  border-color: var(--primary-50);
}
.border-secondary-dark {
  border-color: var(--secondary-dark);
}
.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.shadow-primary-15 {
  box-shadow: 0 10px 15px -3px var(--primary-15), 0 4px 6px -2px var(--primary-15);
}
.shadow-primary-20 {
  box-shadow: 0 10px 15px -3px var(--primary-20), 0 4px 6px -2px var(--primary-20);
}
.shadow-primary-25 {
  box-shadow: 0 10px 15px -3px var(--primary-25), 0 4px 6px -2px var(--primary-25);
}
.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Filters and Opacity */
.blur-default {
  filter: blur(8px);
}
.blur-xl {
  filter: blur(24px);
}
.opacity-0 {
  opacity: 0;
}
.opacity-30 {
  opacity: 0.3;
}
.opacity-50 {
  opacity: 0.5;
}
.opacity-70 {
  opacity: 0.7;
}
.opacity-100 {
  opacity: 1;
}

/* Transitions */
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-200 {
  transition-duration: 200ms;
}
.duration-300 {
  transition-duration: 300ms;
}
.duration-500 {
  transition-duration: 500ms;
}

/* Hover Effects (Group-like) */
.group:hover .group-hover-opacity-60 {
  opacity: 0.6;
}
.group:hover .group-hover-opacity-100 {
  opacity: 1;
}
.group:hover .group-hover-scale-110 {
  transform: scale(1.1);
}
.group:hover .group-hover-scale-105 {
  transform: scale(1.05);
}
.group:hover .group-hover-shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.group:hover .group-hover-shadow-primary-25 {
  box-shadow: 0 10px 15px -3px var(--primary-25), 0 4px 6px -2px var(--primary-25);
}
.group:hover .group-hover-shadow-primary-15 {
  box-shadow: 0 10px 15px -3px var(--primary-15), 0 4px 6px -2px var(--primary-15);
}
.group:hover .group-hover-shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.group:hover .group-hover-border-primary {
  border-color: var(--primary);
}
.group:hover .group-hover-border-primary-50 {
  border-color: var(--primary-50);
}
.group:hover .group-hover-bg-primary {
  background-color: var(--primary);
}
.group:hover .group-hover-bg-primary-10 {
  background-color: var(--primary-10);
}
.group:hover .group-hover-bg-primary-20 {
  background-color: var(--primary-20);
}
.group:hover .group-hover-text-white {
  color: white;
}
.group:hover .group-hover-text-primary {
  color: var(--primary);
}
.group:hover .group-hover-grayscale-0 {
  filter: grayscale(0);
}
.group:hover .group-hover-rotate-12 {
  transform: rotate(12deg);
}
.group:hover .group-hover-translate-x-2 {
  transform: translateX(0.5rem);
}
.cursor-pointer {
  cursor: pointer;
}
.grayscale {
  filter: grayscale(100%);
}

/* Display */
.hidden {
  display: none;
}
@media (min-width: 768px) {
  .md-hidden {
    display: none;
  }
  .md-flex {
    display: flex;
  }
}

/* Dividers */
.divide-y > *:not(:first-child) {
  border-top-width: 1px;
  border-color: var(--secondary-50);
}

/* --- Component Specific Styles --- */

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgb(27 27 10 / 95%); /* bg-background-95 */
  backdrop-filter: blur(4px); /* backdrop-blur-sm */
  border-bottom: 1px solid var(--secondary); /* border-b border-secondary */
}

.navbar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 4rem; /* h-16 */
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem; /* space-x-3 */
  text-decoration: none;
}

.logo-image {
  border-radius: 0.5rem; /* rounded-lg */
}

.logo-text {
  color: white;
  font-weight: 700;
  font-size: 1.25rem; /* text-xl */
}

.nav-links-desktop {
  display: none; /* hidden */
  align-items: center;
  gap: 2rem; /* space-x-8 */
}
@media (min-width: 768px) {
  .nav-links-desktop {
    display: flex; /* md:flex */
  }
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* space-x-2 */
  transition: color 150ms ease-in-out; /* transition-colors */
  position: relative;
  color: white;
  text-decoration: none;
}
.nav-link:hover {
  color: var(--primary);
}
.nav-link.active {
  color: var(--primary);
}

.nav-indicator {
  position: absolute;
  bottom: -1rem; /* -bottom-4 */
  left: 0;
  right: 0;
  height: 0.125rem; /* h-0.5 */
  background-color: var(--primary);
  border-radius: 9999px; /* rounded-full */
}

.mobile-menu-button {
  display: block; /* md:hidden */
  color: white;
  padding: 0.5rem; /* p-2 */
  border-radius: 0.375rem; /* rounded-md */
  background: none;
  border: none;
  cursor: pointer;
}
@media (min-width: 768px) {
  .mobile-menu-button {
    display: none; /* md:hidden */
  }
}

.mobile-nav-menu {
  padding-top: 1rem; /* py-4 */
  border-top: 1px solid var(--secondary); /* border-t border-secondary */
}
@media (min-width: 768px) {
  .mobile-nav-menu {
    display: none; /* md:hidden */
  }
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* space-y-4 */
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-weight: 500;
  border-radius: 0.375rem;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all 300ms ease-in-out; /* transition-all duration-300 */
}

.button-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.button-sm {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}

.button-primary {
  background-image: linear-gradient(to right, #ffe082, #fbc02d); /* bright and warm yellow */
  color: #000000; /* dark gray for contrast */
  font-weight: 600;
  padding: 1rem 2rem; /* px-8 py-4 */
  border-radius: 0.75rem; /* rounded-xl */
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 
              0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
  transition: all 0.3s ease;
}

.button-primary:hover {
  background-image: linear-gradient(to right, #fbc02d, #f57f17); /* slightly deeper golden yellow */
  transform: scale(1.05); /* hover:scale-105 */
}

.button-secondary {
  background-image: linear-gradient(to right, var(--secondary-dark), var(--secondary));
  color: white;
  font-weight: 700;
  padding: 1rem; /* py-4 */
  border-radius: 0.75rem; /* rounded-xl */
  border: 1px solid var(--primary-30); /* border border-primary-30 */
}
.button-secondary:hover {
  background-image: linear-gradient(to right, var(--primary-20), var(--primary-10)); /* hover:from-[#00BFFF]/20 hover:to-[#00BFFF]/10 */
  box-shadow: 0 10px 15px -3px var(--primary-15), 0 4px 6px -2px var(--primary-15); /* group-hover:shadow-lg group-hover:shadow-primary-15 */
  transform: scale(1.05); /* group-hover:scale-105 */
  border-color: var(--primary); /* group-hover:border-primary */
}

.button-primary-gradient {
  background-image: linear-gradient(to right, #ffe082, #fbc02d); /* bright and warm yellow */
  color: #000000; /* dark gray for contrast */
  font-weight: 600;
  padding: 1rem 2rem; /* px-8 py-4 */
  border-radius: 0.75rem; /* rounded-xl */
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 
              0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
  transition: all 0.3s ease;
}

.button-primary-gradient:hover {
  background-image: linear-gradient(to right, #fbc02d, #f57f17); /* slightly deeper golden yellow */
  transform: scale(1.05); /* hover:scale-105 */
}

.button-ghost {
  background-color: transparent;
  color: var(--foreground);
  border: none;
  transition: all 200ms ease-in-out; /* transition-all duration-200 */
  border-radius: 0.5rem; /* rounded-lg */
  padding: 0.75rem 1rem; /* IMPROVEMENT: Increased padding for better click area */
}
.button-ghost:hover {
  color: white;
  background-color: var(--primary-10); /* hover:bg-[#00BFFF]/10 */
}
.button-ghost.active-filter {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.button-icon {
  transition: transform 300ms ease-in-out; /* transition-transform duration-300 */
}
.button-primary:hover .button-icon,
.button-secondary:hover .button-icon,
.button-primary-gradient:hover .button-icon {
  transform: rotate(12deg); /* group-hover:rotate-12 */
}

/* Cards */
.card {
  background-color: var(--secondary);
  border-radius: 0.5rem; /* rounded-lg */
  border: 1px solid var(--secondary); /* border-default */
  position: relative;
  overflow: hidden;
}

.card-content {
  padding: 2rem; /* p-8 */
  display: flex;
  flex-direction: column;
  height: 100%;
}

.view-leaderboard-btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.view-leaderboard-btn {
  background: linear-gradient(90deg, #facc15 0%, #c9cc00 100%);
  color: #222;
  font-weight: 700;
  border: none;
  border-radius: 2.5rem;
  box-shadow: 0 4px 24px 0 rgba(250, 204, 21, 0.25), 0 1.5px 6px 0 rgba(201, 204, 0, 0.15);
  padding: 0.85rem 2.5rem;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
  cursor: pointer;
  outline: none;
  position: relative;
  overflow: hidden;
}
.view-leaderboard-btn:hover, .view-leaderboard-btn:focus {
  background: linear-gradient(90deg, #ffe066 0%, #facc15 100%);
  color: #111;
  box-shadow: 0 8px 32px 0 rgba(250, 204, 21, 0.35), 0 2px 8px 0 rgba(201, 204, 0, 0.18);
  transform: translateY(-2px) scale(1.04);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px; /* rounded-full */
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  transition: all 300ms ease-in-out; /* transition-all duration-300 */
}

.badge-featured {
  background-color: var(--primary-20);
  color: var(--primary);
  border-color: var(--primary-50);
}
.badge-featured:hover {
  background-color: var(--primary);
  color: white;
}

.badge-premium {
  background-color: var(--secondary-dark);
  color: white;
  border-color: var(--secondary-dark);
}
.badge-premium:hover {
  background-color: var(--primary-20);
  color: var(--primary);
  border-color: var(--primary-50);
}

/* --- Home Page Specific --- */

/* Hero Section */
.hero-section {
  position: relative;
  padding: 5rem 1rem; /* py-20 px-4 */
  overflow: hidden;
}
.hero-content {
  position: relative;
}
.hero-text-center {
  text-align: center;
  margin-bottom: 4rem; /* mb-16 */
}
.hero-logo-wrapper {
  margin-bottom: -4rem; /* mb-8 */
}
.hero-logo {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem; /* mb-6 */
}
.hero-title {
  font-size: 2.25rem; /* text-4xl */
  font-weight: 700;
  margin-bottom: 1.5rem; /* mb-6 */
  background-image: linear-gradient(to right, white, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom right, var(--primary-10), transparent);
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem; /* md:text-6xl */
  }
}
.hero-subtitle {
  font-size: 1.25rem; /* text-xl */
  line-height: 1.75rem;
  color: var(--gray-300);
  margin-bottom: 2rem; /* mb-8 */
  max-width: 48rem; /* max-w-3xl */
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem; /* md:text-2xl */
  }
}

.prize-pool-display {
  display: inline-flex;
  align-items: center;
  background-image: linear-gradient(to right, var(--primary-20), var(--secondary-20));
  border-radius: 1rem; /* rounded-2xl */
  padding: 1rem 1.5rem; /* px-6 py-4 */
  margin-bottom: 3rem; /* mb-12 */
  border: 1px solid var(--primary-30);
}
.prize-pool-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}
.prize-icon {
  color: var(--primary);
  margin-right: 0.75rem; /* mr-3 */
}
.prize-number {
  font-size: 1.875rem; /* text-3xl */
  line-height: 2.25rem;
  font-weight: 700;
  color: #ffe81a;
  text-shadow: #ff5d00 0 0 8px;
}
@media (min-width: 768px) {
  .prize-number {
    font-size: 2.25rem; /* md:text-4xl */
    line-height: 2.5rem;
  }
}
.prize-label {
  font-size: 1.125rem; /* text-lg */
  line-height: 1.75rem;
  color: var(--gray-300);
  margin-left: 0.75rem; /* ml-3 */
}

.signup-cards-grid {
  display: grid;
  gap: 2rem; /* gap-8 */
  max-width: 64rem; /* max-w-5xl */
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem; /* mb-16 */
}
@media (min-width: 768px) {
  .signup-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* md:grid-cols-2 */
  }
}

.signup-card-wrapper {
  position: relative;
  border: solid 1px yellow;
  border-radius: 1rem;
  box-shadow:
    0 0 8px rgba(255, 255, 0, 0.3),
    0 0 16px rgba(255, 255, 0, 0.3),
    0 0 24px rgba(255, 255, 0, 0.2);
}
.signup-card-glow-rainbet {
  position: absolute;
  inset: -0.125rem; /* -inset-0.5 */
  background-image: linear-gradient(to right, #ffe082, #fdd835); /* yellow glow */
  border-radius: 1rem; /* rounded-2xl */
  opacity: 0.3;
  transition: opacity 500ms ease-in-out; /* transition duration-500 */
}

.signup-card {
  background-color: var(--secondary);
  border-color: var(--primary-30);
  border-radius: 1rem; /* rounded-2xl */
  transition: all 500ms ease-in-out; /* transition-all duration-500 */
  height: 100%;
}
.signup-card:hover {
  border-color: var(--primary);
}

.signup-card-myprize {
  background-color: var(--secondary);
  border-color: var(--secondary-dark);
  border-radius: 1rem; /* rounded-2xl */
  transition: all 500ms ease-in-out; /* transition-all duration-500 */
  height: 100%;
}
.signup-card-myprize:hover {
  border-color: var(--primary-50);
}

.signup-card-glow-myprize {
  position: absolute;
  inset: -0.125rem; /* -inset-0.5 */
  background-image: linear-gradient(to right, var(--secondary), var(--secondary-dark));
  border-radius: 1rem; /* rounded-2xl */
  filter: blur(8px); /* blur */
  opacity: 0.3;
  transition: opacity 500ms ease-in-out; /* transition duration-500 */
}
.signup-card-wrapper:hover .signup-card-glow-myprize {
  opacity: 0.6;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem; /* mb-6 */
}
.card-logo {
  transition: transform 300ms ease-in-out; /* transition-transform duration-300 */
}
.signup-card-wrapper:hover .card-logo {
  transform: scale(1.1); /* group-hover:scale-110 */
}

.card-features {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* space-y-4 */
  flex-grow: 1;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem; /* space-x-3 */
  transition: transform 300ms ease-in-out; /* transition-transform duration-300 */
}
.signup-card-wrapper:hover .feature-item {
  transform: translateX(0.5rem); /* group-hover:translate-x-2 */
}
.feature-item.animation-delay-75 {
  transition-delay: 75ms;
}
.feature-item.animation-delay-150 {
  transition-delay: 150ms;
}
.feature-item.animation-delay-200 {
  transition-delay: 200ms;
}

.feature-dot {
  width: 0.5rem; /* w-2 */
  height: 0.5rem; /* h-2 */
  background-color: var(--primary);
  border-radius: 9999px; /* rounded-full */
  transition: transform 300ms ease-in-out; /* transition-transform duration-300 */
}
.signup-card-wrapper:hover .feature-dot {
  transform: scale(1.5); /* group-hover:scale-150 */
}
.feature-text {
  color: white;
  font-weight: 500;
}

/* Leaderboard Rules Section */
.rules-section {
  padding: 4rem 1rem; /* py-16 px-4 */
  background-color: var(--secondary-30);
}
.rules-grid {
  display: grid;
  gap: 2rem; /* gap-8 */
}
@media (min-width: 768px) {
  .rules-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* md:grid-cols-3 */
  }
}

.rule-card {
  background-color: var(--secondary-50);
  border: solid 1px rgba(255, 255, 0, 0.473);
  transition: all 300ms ease-in-out; /* transition-all duration-300 */
}
.rule-card:hover {
  border-color: var(--primary);
  transform: scale(1.05); /* hover:scale-105 */
  box-shadow: 0 10px 15px -3px var(--primary-20), 0 4px 6px -2px var(--primary-20); /* hover:shadow-lg hover:shadow-primary-20 */
}

.rule-icon {
  color: var(--primary);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem; /* mb-4 */
  transition: transform 300ms ease-in-out; /* transition-transform duration-300 */
}
.rule-card:hover .rule-icon {
  transform: scale(1.1); /* hover:scale-110 */
}
.rule-title {
  font-size: 1.25rem; /* text-xl */
  line-height: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem; /* mb-3 */
  color: white;
}
.rule-description {
  color: var(--gray-300);
}

/* Sponsor Logos Section */
.sponsor-section {
  padding: 4rem 1rem; /* py-16 px-4 */
}
.sponsor-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem; /* gap-12 */
}
@media (min-width: 640px) {
  .sponsor-logos {
    flex-direction: row; /* sm:flex-row */
  }
}

.sponsor-logo-wrapper {
  cursor: pointer;
  transition: all 300ms ease-in-out; /* transition-all duration-300 */
}
.sponsor-logo-wrapper:hover {
  transform: scale(1.1); /* hover:scale-110 */
}
.sponsor-logo {
  filter: grayscale(100%); /* grayscale */
  opacity: 0.7;
  transition: all 300ms ease-in-out; /* transition-all duration-300 */
}
.sponsor-logo-wrapper:hover .sponsor-logo {
  filter: grayscale(0); /* group-hover:grayscale-0 */
  opacity: 1; /* group-hover:opacity-100 */
}

/* Quick Leaderboard Preview Section */
.leaderboard-preview-section {
  padding: 4rem 1rem; /* py-16 px-4 */
}
.section-title {
  font-size: 1.875rem; /* text-3xl */
  line-height: 2.25rem;
  font-weight: 700;
  margin-bottom: 2rem; /* mb-8 */
}
@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem; /* md:text-4xl */
    line-height: 2.5rem;
  }
}
.section-description {
  font-size: 1.25rem; /* text-xl */
  line-height: 1.75rem;
  color: var(--gray-300);
  margin-bottom: 2rem; /* mb-8 */
}

/* Footer */
.site-footer {
  padding: 2rem 1rem; /* py-8 px-4 */
  border-top: 1px solid var(--secondary); /* border-t border-secondary */
}
.footer-text {
  color: var(--gray-400);
}

/* --- Leaderboard Page Specific --- */

/* Leaderboard Header */
.leaderboard-header-section {
  position: relative;
  padding: 4rem 1rem; /* py-16 px-4 */
  overflow: hidden;
}
.leaderboard-header-gradient-overlay {
  position: absolute;
  inset: 0;
  /* IMPROVEMENT: Adjusted gradient to be more subtle and not interfere with timer */
  background-image: linear-gradient(to bottom right, var(--primary-05), transparent);
  pointer-events: none; /* Ensure it doesn't block clicks */
}
.leaderboard-header-content {
  position: relative;
}
.leaderboard-title {
  margin-bottom: 1rem; /* mb-4 */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  height: 20px;
}
@media (min-width: 768px) {
  .leaderboard-title {
    height: 40px;
  }
}

.leaderboard-logos-row {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.leaderboard-logo-separator {
  display: inline-block;
  width: 2px;
  height: 40px;
  border-radius: 1px;
  margin: 0 0.5rem;
}

.leaderboard-subtitle {
  font-size: 1.25rem; /* text-xl */
  line-height: 1.75rem;
  color: var(--gray-300);
  margin-bottom: 2rem; /* mb-8 */
}

.prize-pool-display-leaderboard {
  display: inline-flex;
  align-items: center;
  background-image: linear-gradient(to right, var(--primary-20), var(--secondary-40));
  border-radius: 9999px; /* rounded-full */
  padding: 1rem 1.5rem; /* px-6 py-4 */
  border: 1px solid var(--primary-30);
  margin-bottom: 2rem; /* mb-8 */
}
.prize-icon-sm {
  color: var(--primary);
  margin-right: 0.75rem; /* mr-3 */
}
.prize-number-sm {
  font-size: 2rem; /* text-2xl */
  line-height: 2rem;
  font-weight: 700;
  color: #ffe81a;
  text-shadow: #ff5d00 0 0 8px;
}
.prize-label-sm {
  color: var(--gray-300);
  font-size: large;
  margin-left: 0.5rem; /* ml-2 */
}

/* Countdown Timer */
.countdown-timer-wrapper {
  margin-bottom: 2rem; /* mb-8 */
  transition: opacity 0.5s ease-in-out; /* IMPROVEMENT: Animation for hiding/showing */
}
.countdown-timer-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem; /* space-x-3 */
  background-color: var(--secondary-40);
  border-radius: 0.75rem; /* rounded-xl */
  padding: 1rem; /* p-4 */
  border: 1px solid var(--primary-20);
  flex-wrap: wrap; /* IMPROVEMENT: Allow wrapping on small screens */
}
.time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.time-unit-box {
  position: relative;
  background-color: var(--secondary);
  border: 1px solid var(--primary-30);
  border-radius: 0.5rem; /* rounded-lg */
  padding: 0.75rem; /* p-3 */
  min-width: 50px;
  text-align: center;
}
.time-unit-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to top, var(--primary-10), transparent);
  border-radius: 0.5rem; /* rounded-lg */
  pointer-events: none;
}
.time-value {
  font-size: 1.25rem; /* text-xl */
  line-height: 1.75rem;
  font-weight: 700;
  color: yellow;
  font-variant-numeric: tabular-nums;
}
.time-label {
  font-size: 1rem; /* text-xs */
  font-weight: 600;
  line-height: 1rem;
  color: var(--gray-400);
  margin-top: 0.5rem; /* mt-2 */
  text-transform: uppercase;
  letter-spacing: 0.025em; /* tracking-wide */
}
.time-separator {
  color: var(--primary);
  font-size: 1.25rem; /* text-xl */
  line-height: 1.75rem;
  font-weight: 700;
}

/* IMPROVEMENT: Mobile optimization for timer */
@media (max-width: 640px) {
  .countdown-timer-inner {
    gap: 0.5rem; /* Smaller gap on mobile */
    padding: 0.75rem; /* Slightly less padding */
  }
  .time-unit-box {
    padding: 0.5rem; /* Smaller padding */
    min-width: 40px; /* Smaller min-width */
  }
  .time-value {
    font-size: 1rem; /* Smaller font size */
  }
  .time-label {
    font-size: 0.625rem; /* Even smaller label */
  }
  .time-separator {
    font-size: 1rem; /* Smaller separator */
  }
}

/* Time Filter Buttons */
.time-filter-buttons {
  display: inline-flex;
  background-color: var(--secondary-60);
  border-radius: 0.75rem; /* rounded-xl */
  padding: 0.25rem; /* p-1 */
  border: 1px solid var(--primary-20);
}
.icon-mr {
  margin-right: 0.5rem; /* mr-2 */
}

/* Top 3 Podium */
.top-3-podium-grid {

  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  gap: 2rem; /* gap-8 */
  /* IMPROVEMENT: Ensure it stacks on mobile */
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .top-3-podium-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* md:grid-cols-3 */
    gap: 2rem; /* md:gap-8 */
  }
  .top-3-podium-grid > div:nth-child(1) {
    order: 2; /* (for rank 1) */
  }
  .top-3-podium-grid > div:nth-child(2) {
    order: 1; /* (for rank 2) */
  }
  .top-3-podium-grid > div:nth-child(3) {
    order: 3; /* (for rank 3) */
  }
}

.podium-card-wrapper {
  position: relative;
}
.podium-card-wrapper:hover .podium-card-glow {
  opacity: 1;
}

.podium-card {
  position: relative;
  border-width: 2px; /* border-2 */
  border-style: solid;
  border-radius: 1rem; /* rounded-2xl */
  overflow: hidden;
  transition: all 500ms ease-in-out; /* transition-all duration-500 */
  padding: 2rem; /* IMPROVEMENT: Increased padding for thickness */
  min-height: 280px; /* IMPROVEMENT: Ensure consistent height */
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.podium-card:hover {
  border-color: var(--primary);
  transform: scale(1.05); /* hover:scale-105 */
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); /* hover:shadow-2xl */
}
@media (min-width: 1024px) {
  .podium-card.rank-1 {
    transform: scale(1.1); /* lg:scale-110 */
    padding: 2.5rem; /* IMPROVEMENT: Even more padding for rank 1 */
    min-height: 320px; /* IMPROVEMENT: Taller for rank 1 */
  }
}

.podium-card-rank-indicator {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.25rem; /* h-1 */
  background-image: linear-gradient(to right, transparent, currentColor, transparent);
  opacity: 0.5;
}

.podium-card-content {
  padding: 0; /* Reset padding as it's on the card now */
  text-align: center;
  position: relative;
}

.podium-avatar {
  width: 5rem; /* w-20 */
  height: 5rem; /* h-20 */
  border-radius: 9999px; /* rounded-full */
  display: flex;
  align-items: center;
  justify-content: center;
  border-width: 2px; /* border-2 */
  border-style: solid;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem; /* mb-4 */
  font-size: 1.25rem; /* text-xl */
  line-height: 1.75rem;
  font-weight: 700;
  transition: transform 300ms ease-in-out; /* transition-transform duration-300 */
}
.podium-card-wrapper:hover .podium-avatar {
  transform: scale(1.1); /* group-hover:scale-110 */
}

.podium-username {
  font-size: 1.5rem; /* text-2xl */
  line-height: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem; /* mb-2 */
  transition: color 300ms ease-in-out; /* transition-colors duration-300 */
}
.podium-card-wrapper:hover .podium-username {
  color: var(--primary);
}

.podium-rank-text {
  font-size: 0.875rem; /* text-sm */
  line-height: 1.25rem;
  margin-bottom: 1rem; /* mb-4 */
  font-weight: 600;
}

.podium-wagered-amount {
  margin-bottom: 1rem; /* mb-4 */
}
.podium-wagered-value {
  font-size: 1.875rem; /* text-3xl */
  line-height: 2.25rem;
  font-weight: 700;
  color: var(--primary);
  transition: transform 300ms ease-in-out; /* transition-transform duration-300 */
}
.podium-card-wrapper:hover .podium-wagered-value {
  transform: scale(1.1); /* group-hover:scale-110 */
}
.podium-wagered-label {
  font-size: 0.875rem; /* text-sm */
  line-height: 1.25rem;
  color: var(--gray-400);
  margin-top: 0.25rem; /* mt-1 */
}

.podium-prize-badge {
  border-width: 2px; /* border-2 */
  padding: 0.25rem 0.75rem; /* px-3 py-1 */
  font-size: 1rem; /* text-base */
  line-height: 1.5rem;
  font-weight: 700;
  transition: transform 300ms ease-in-out; /* transition-transform duration-300 */
}
.podium-card-wrapper:hover .podium-prize-badge {
  transform: scale(1.1); /* group-hover:scale-110 */
}

/* Rank Specific Styles for Top 3 */
.rank-1-color {
  color: greenyellow;
}
.rank-1-bg {
  background-image: linear-gradient(to bottom right, rgba(252, 204, 21, 0.2), rgba(202, 138, 4, 0.1));
}
.rank-1-border {
  border-color: rgba(252, 204, 21, 0.5);
}
.rank-1-glow {
  box-shadow: 0 10px 15px -3px rgba(252, 204, 21, 0.2), 0 4px 6px -2px rgba(252, 204, 21, 0.2);
}

.rank-2-color {
  color: greenyellow;
}
.rank-2-bg {
  background-image: linear-gradient(to bottom right, rgba(209, 213, 219, 0.2), rgba(107, 114, 128, 0.1));
}
.rank-2-border {
  border-color: rgba(209, 213, 219, 0.5);
}
.rank-2-glow {
  box-shadow: 0 10px 15px -3px rgba(209, 213, 219, 0.2), 0 4px 6px -2px rgba(209, 213, 219, 0.2);
}

.rank-3-color {
  color: greenyellow;
}
.rank-3-bg {
  background-image: linear-gradient(to bottom right, rgba(217, 119, 6, 0.2), rgba(154, 52, 18, 0.1));
}
.rank-3-border {
  border-color: rgba(217, 119, 6, 0.5);
}
.rank-3-glow {
  box-shadow: 0 10px 15px -3px rgba(217, 119, 6, 0.2), 0 4px 6px -2px rgba(217, 119, 6, 0.2);
}

.rank-default-color {
  color: var(--primary);
}
.rank-default-bg {
  background-color: var(--primary-5);
}
.rank-default-border {
  border-color: var(--primary-30);
}
.rank-default-glow {
  box-shadow: 0 10px 15px -3px var(--primary-10), 0 4px 6px -2px var(--primary-10);
}

/* Remaining Leaderboard */
.remaining-leaderboard-card {
  background-color: rgb(42 44 32 / 40%);
  border-color: var(--primary-20);
  border-radius: 1rem; /* rounded-2xl */
}

.card-header-ranking {
  padding: 1.5rem; /* p-6 */
  border-bottom: 1px solid var(--primary-20);
}
.ranking-title {
  font-size: 1.5rem; /* text-2xl */
  line-height: 2rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
}
.icon-mr-lg {
  margin-right: 0.75rem; /* mr-3 */
}

/* Mobile Horizontal Scroll Container - NEW */
.leaderboard-scroll-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Mobile optimizations for leaderboard rows */
@media (max-width: 768px) {
  .leaderboard-scroll-container {
    /* Add horizontal scrollbar styling */
    scrollbar-width: thin;
    scrollbar-color: var(--primary-30) var(--secondary-40);
  }

  .leaderboard-scroll-container::-webkit-scrollbar {
    height: 8px;
  }

  .leaderboard-scroll-container::-webkit-scrollbar-track {
    background: var(--secondary-40);
    border-radius: 4px;
  }

  .leaderboard-scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary-30);
    border-radius: 4px;
  }

  .leaderboard-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-50);
  }
}

.leaderboard-list {
  /* Already has divide-y via JS */
  min-width: 600px; /* Ensure minimum width for horizontal scroll on mobile */
}

/* Enhanced row separators */
.leaderboard-row {
  padding: 1rem 1.5rem; /* IMPROVEMENT: Reduced vertical padding for less height */
  transition: all 300ms ease-in-out; /* transition-all duration-300 */
  cursor: pointer;
  border-bottom: 1px solid var(--secondary-50); /* Add explicit border for better separation */
}

.leaderboard-row:last-child {
  border-bottom: none; /* Remove border from last row */
}

.leaderboard-row:hover {
  background-color: var(--primary-5);
  border-bottom-color: var(--primary-20); /* Enhance border on hover */
}

.leaderboard-row-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 560px; /* Ensure content doesn't compress too much on mobile */
}

.leaderboard-player-info {
  display: flex;
  align-items: center;
  gap: 1.5rem; /* space-x-6 */
  min-width: 250px; /* Prevent compression */
}

.leaderboard-rank-box {
    margin-left: 4px;
  width: 3rem; /* w-12 */
  height: 3rem; /* h-12 */
  border-radius: 0.75rem; /* rounded-xl */
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid;
  font-weight: 700;
  font-size: 20px;
  transition: transform 300ms ease-in-out; /* transition-transform duration-300 */
  flex-shrink: 0; /* Prevent shrinking */
}
.leaderboard-row:hover .leaderboard-rank-box {
  transform: scale(1.1); /* group-hover:scale-110 */
}

.leaderboard-avatar-info {
  display: flex;
  align-items: center;
  gap: 1rem; /* space-x-4 */
  min-width: 180px; /* Prevent compression */
}

.leaderboard-avatar {
  width: 3rem; /* w-12 */
  height: 3rem; /* h-12 */
  border-radius: 9999px; /* rounded-full */
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid;
  font-weight: 700;
  font-size: 0.875rem; /* text-sm */
  line-height: 1.25rem;
  transition: transform 300ms ease-in-out; /* transition-transform duration-300 */
  flex-shrink: 0; /* Prevent shrinking */
}
.leaderboard-row:hover .leaderboard-avatar {
  transform: scale(1.1); /* group-hover:scale-110 */
}

.leaderboard-username {
  font-weight: 700;
  color: white;
  font-size: 1.125rem; /* text-lg */
  line-height: 1.75rem;
  transition: color 300ms ease-in-out; /* transition-colors duration-300 */
  white-space: nowrap; /* Prevent text wrapping */
  overflow: hidden;
  text-overflow: ellipsis;
}
.leaderboard-row:hover .leaderboard-username {
  color: var(--primary);
}
.leaderboard-rank-label {
  font-size: 0.875rem; /* text-sm */
  line-height: 1.25rem;
  color: var(--gray-400);
  white-space: nowrap; /* Prevent text wrapping */
}

.leaderboard-stats {
  display: flex;
  align-items: center;
  gap: 2rem; /* space-x-8 */
  flex-shrink: 0; /* Prevent shrinking */
}

.leaderboard-wagered {
  text-align: right;
  min-width: 120px; /* Ensure consistent width */
}
.leaderboard-wagered-value {
  font-size: 1.5rem; /* text-2xl */
  line-height: 2rem;
  font-weight: 700;
  color: var(--primary);
  transition: transform 300ms ease-in-out; /* transition-transform duration-300 */
  white-space: nowrap; /* Prevent text wrapping */
}
.leaderboard-row:hover .leaderboard-wagered-value {
  transform: scale(1.1); /* group-hover:scale-110 */
}
.leaderboard-wagered-label {
    margin-top: -1.5rem;
  font-size: 0.875rem; /* text-sm */
  line-height: 1.25rem;
  color: var(--gray-400);
  white-space: nowrap; /* Prevent text wrapping */
}

.leaderboard-prize-column {
  min-width: 80px;
  text-align: right;
  flex-shrink: 0; /* Prevent shrinking */
}
.leaderboard-prize-value {
  color: greenyellow;
  border-color: var(--primary-50);
  padding: 0.25rem 0.75rem; /* px-3 py-1 */
  transition: all 300ms ease-in-out; /* transition-all duration-300 */
  white-space: nowrap; /* Prevent text wrapping */
}

.leaderboard-no-prize {
  color: var(--gray-500);
  font-size: 1.125rem; /* text-lg */
  line-height: 1.75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Mobile responsive adjustments */
@media (max-width: 640px) {
  .leaderboard-row {
    padding: 0.75rem 1rem; /* Reduce padding on small screens */
  }

  .leaderboard-row-inner {
    min-width: 500px; /* Slightly smaller min-width for very small screens */
    max-height: 4rem;
    overflow-y: hidden;
  }

  .leaderboard-player-info {
    gap: 1rem; /* Reduce gap on small screens */
    min-width: 200px;
  }

  .leaderboard-avatar-info {
    min-width: 150px;
  }

  .leaderboard-stats {
    gap: 1.5rem; /* Reduce gap on small screens */
  }

  .leaderboard-username {
    font-size: 1rem; /* Slightly smaller font on mobile */
  }

  .leaderboard-wagered-value {
    font-size: 1.25rem; /* Slightly smaller font on mobile */
  }
}

.leaderboard-info-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem; /* Add spacing between Prize Pool, Timer, and Buttons */
}

/* Updated Live Stream Section Styles - Matching Site Theme */
.live-stream-section {
    background: linear-gradient(135deg, var(--secondary-30) 0%, var(--background) 100%);
    padding: 4rem 1rem;
    position: relative;
    overflow: hidden;
}

.live-stream-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, var(--primary-05) 0%, transparent 50%);
    pointer-events: none;
}

.live-stream-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.live-stream-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    background-image: linear-gradient(to right, white, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.live-stream-description {
    font-size: 1.25rem;
    color: var(--gray-300);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stream-embed-container {
    background: var(--secondary-40);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--primary-30);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
}

.stream-embed-container::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--primary), var(--blue-800), var(--primary));
    border-radius: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    filter: blur(8px);
}

.stream-embed-container:hover::before {
    opacity: 0.6;
}

.stream-embed-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 60px -12px rgba(251, 255, 0, 0.3);
    border-color: var(--primary);
}

.stream-player-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    border-radius: 1rem 1rem 0 0;
    overflow: hidden;
}

.stream-player-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.stream-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    padding: 1.5rem;
    pointer-events: none;
}

.stream-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(220, 38, 38, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    width: fit-content;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.live-text {
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

/* When offline: change background and dot color */
.live-indicator.offline {
    background: rgba(107, 114, 128, 0.9); /* Tailwind gray-500 */
}

.live-dot.offline {
    background: white;
    animation: none;
    opacity: 0.6;
}

.live-text.offline {
    color: white;
    opacity: 0.8;
}

.stream-details {
    color: white;
}

.streamer-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: white;
}

.stream-category {
    font-size: 1.125rem;
    color: #22c55e;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.viewer-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.viewer-count {
    font-weight: 500;
}

.stream-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: var(--secondary-50);
    border-top: 1px solid var(--primary-20);
}

.streamer-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.streamer-avatar {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--primary), var(--blue-800));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid var(--primary-30);
  transition: all 0.3s ease;
}

.streamer-avatar:hover {
  border-color: var(--primary);
  transform: scale(1.05);
}

.streamer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.streamer-info {
    display: flex;
    flex-direction: column;
}

.streamer-username {
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
}

.follower-count {
    color: var(--gray-300);
    font-size: 0.875rem;
}

.watch-on-kick-btn {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.3);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.watch-on-kick-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 255, 136, 0.4);
    background: linear-gradient(135deg, #00cc6a, #00ff88);
    border-color: rgba(0, 255, 136, 0.5);
}

/* Enhanced Footer Styles */
.enhanced-footer {
    background: linear-gradient(135deg, rgb(37 38 23 / 60%) 0%, #000000 100%);
    border-top: 1px solid var(--primary-20);
    padding: 3rem 0 1.5rem;
    position: relative;
}

.enhanced-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 3rem;
    }
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

/* .footer-logo img {
    border-radius: 0.5rem;
} */

.footer-brand-name {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.footer-description {
    color: var(--gray-300);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--primary-30);
    border-radius: 0.5rem;
    color: var(--gray-300);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-20);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.social-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-section-title {
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.25rem 0;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-disclaimer {
    color: var(--gray-400);
    font-size: 0.875rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--secondary-40);
}

.footer-bottom {
    border-top: 1px solid var(--secondary-40);
    padding-top: 1.5rem;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-copyright {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.footer-credit {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.footer-author {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-author:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .live-stream-title {
        font-size: 2rem;
    }
    
    .live-stream-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .stream-overlay {
        padding: 1rem;
    }
    
    .streamer-name {
        font-size: 1.25rem;
    }
    
    .stream-category {
        font-size: 1rem;
    }
    
    .stream-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .watch-on-kick-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .live-stream-section {
        padding: 2rem 1rem;
    }
    
    .stream-overlay {
        padding: 0.75rem;
    }
    
    .live-indicator {
        padding: 0.375rem 0.75rem;
    }
    
    .streamer-name {
        font-size: 1.125rem;
    }
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* IMPROVEMENT: New animation for fade out/in effect */
@keyframes fadeOutIn {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 0;
    transform: translateY(20px); /* Move slightly down during fade out */
  }
  51% {
    opacity: 0;
    transform: translateY(-20px); /* Move slightly up before fade in */
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.animate-slide-up {
  animation: slideUp 0.8s ease-out forwards;
  opacity: 0;
}

.animate-slide-in-left {
  animation: slideInLeft 0.6s ease-out forwards;
  opacity: 0;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* IMPROVEMENT: Apply new fade out/in animation */
.animate-fade-out-in {
  animation: fadeOutIn 0.8s ease-in-out forwards;
}

/* Animation delays */
.animation-delay-75 {
  animation-delay: 0.075s;
}
.animation-delay-150 {
  animation-delay: 0.15s;
}
.animation-delay-200 {
  animation-delay: 0.2s;
}
.animation-delay-400 {
  animation-delay: 0.4s;
}
.animation-delay-600 {
  animation-delay: 0.6s;
}
.animation-delay-800 {
  animation-delay: 0.8s;
}
.animation-delay-1000 {
  animation-delay: 1.0s;
}
.animation-delay-1200 {
  animation-delay: 1.2s;
}
.animation-delay-1400 {
  animation-delay: 1.4s;
}
.animation-delay-1600 {
  animation-delay: 1.6s;
}