/* SpinGrande Casino - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables - Matching React version exactly */
:root {
  --background: 0 0% 4%;
  --foreground: 45 10% 95%;
  --card: 0 0% 8%;
  --card-foreground: 45 10% 95%;
  --popover: 0 0% 6%;
  --popover-foreground: 45 10% 95%;
  --primary: 43 74% 49%;
  --primary-foreground: 0 0% 4%;
  --secondary: 0 70% 50%;
  --secondary-foreground: 45 10% 95%;
  --muted: 0 0% 12%;
  --muted-foreground: 0 0% 60%;
  --accent: 43 74% 49%;
  --accent-foreground: 0 0% 4%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 210 40% 98%;
  --border: 0 0% 15%;
  --input: 0 0% 15%;
  --ring: 43 74% 49%;
  --radius: 0.75rem;
  
  /* Custom casino tokens */
  --gold: 43 74% 49%;
  --gold-light: 43 80% 60%;
  --gold-dark: 43 70% 35%;
  --crimson: 0 70% 50%;
  --crimson-light: 0 75% 60%;
  --surface-elevated: 0 0% 10%;
}

/* Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  min-height: 100vh;
}

/* Typography */
.font-heading {
  font-family: 'Playfair Display', serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Text Gradients */
.text-gradient-gold {
  background: linear-gradient(135deg, hsl(var(--gold)), hsl(var(--gold-light)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-crimson {
  color: hsl(var(--crimson));
}

.text-primary {
  color: hsl(var(--primary));
}

.text-secondary {
  color: hsl(var(--secondary));
}

.text-muted-foreground {
  color: hsl(var(--muted-foreground));
}

.text-foreground {
  color: hsl(var(--foreground));
}

.text-destructive {
  color: hsl(var(--destructive));
}

/* Background Colors */
.bg-background {
  background-color: hsl(var(--background));
}

.bg-card {
  background-color: hsl(var(--card));
}

.bg-muted {
  background-color: hsl(var(--muted));
}

.bg-primary {
  background-color: hsl(var(--primary));
}

.bg-secondary {
  background-color: hsl(var(--secondary));
}

/* Layout */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.min-h-screen {
  min-height: 100vh;
}

/* Glass Effect */
.glass {
  background: hsla(var(--background), 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid hsla(var(--border), 0.5);
}

/* Card Styles */
.card-casino {
  background: linear-gradient(145deg, hsl(var(--card)), hsla(var(--card), 0.8));
  border: 1px solid hsla(var(--border), 0.5);
  border-radius: var(--radius);
  overflow: hidden;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .logo {
    font-size: 2rem;
  }
}

@media (min-width: 768px) {
  .logo {
    font-size: 2rem;
  }
}

.logo span:first-child {
  font-style: italic;
}

.logo span:last-child {
  font-style: italic;
  color: hsl(var(--secondary));
}

/* Navigation */
.nav-desktop {
  display: none;
  justify-content: center;
  gap: 2rem;
  padding: 0.75rem 0 1rem;
  border-top: 1px solid hsla(var(--border), 0.3);
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  transition: all 0.3s;
}

.nav-item:hover {
  color: hsl(var(--primary));
}

.nav-item.active {
  background: hsla(var(--secondary), 0.2);
  color: hsl(var(--secondary));
  border: 1px solid hsla(var(--secondary), 0.5);
}

.nav-item .live-dot {
  width: 8px;
  height: 8px;
  background: hsl(var(--secondary));
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-hero {
  background: linear-gradient(135deg, hsl(var(--gold)), hsl(var(--gold-light)));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 4px 30px hsla(var(--gold), 0.3);
}

.btn-hero:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 40px hsla(var(--gold), 0.5);
}

.btn-hero-outline {
  background: transparent;
  border: 1px solid hsl(var(--primary));
  color: hsl(var(--primary));
}

.btn-hero-outline:hover {
  background: hsla(var(--primary), 0.1);
}

.btn-outline {
  background: transparent;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
}

.btn-outline:hover {
  background: hsl(var(--muted));
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

/* Hero Section - React version matching */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.hero-section-small {
  min-height: 50vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay-left {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, hsl(var(--background)) 0%, hsla(var(--background), 0.95) 25%, hsla(var(--background), 0.8) 50%, hsla(var(--background), 0.4) 75%, transparent);
}

.hero-overlay-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--background)) 0%, hsla(var(--background), 0.7) 30%, hsla(var(--background), 0.3) 60%, transparent);
}

/* Extra dark overlay for better text contrast */
.hero-overlay-dark {
  position: absolute;
  inset: 0;
  background: hsla(var(--background), 0.5);
}

.hero-snow-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  pointer-events: none;
  background: radial-gradient(ellipse at top, hsla(0, 0%, 100%, 0.05), transparent);
}

.hero-glow {
  position: absolute;
  top: 50%;
  right: 25%;
  width: 24rem;
  height: 24rem;
  background: hsla(var(--primary), 0.2);
  border-radius: 50%;
  filter: blur(150px);
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.hero-container {
  position: relative;
  z-index: 10;
  padding-top: 8rem;
}

.hero-content-react {
  max-width: 42rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.25rem 1rem;
  background: hsla(var(--primary), 0.2);
  border: 1px solid hsla(var(--primary), 0.3);
  border-radius: 9999px;
  color: hsl(var(--primary));
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  animation: slide-up 0.8s ease-out forwards;
}

.hero-title-react {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  animation: slide-up 0.8s ease-out forwards;
}

@media (min-width: 768px) {
  .hero-title-react {
    font-size: 4.5rem;
  }
}

.hero-subtitle-react {
  font-size: 1.25rem;
  color: hsl(var(--crimson));
  font-weight: 500;
  margin-bottom: 1rem;
  animation: slide-up 0.8s ease-out forwards;
  animation-delay: 0.1s;
  opacity: 0;
}

@media (min-width: 768px) {
  .hero-subtitle-react {
    font-size: 1.5rem;
  }
}

.hero-description-react {
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
  max-width: 32rem;
  margin-bottom: 2rem;
  animation: slide-up 0.8s ease-out forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.hero-cta-react {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: slide-up 0.8s ease-out forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

@media (min-width: 640px) {
  .hero-cta-react {
    flex-direction: row;
  }
}

@keyframes slide-up {
  from { 
    opacity: 0;
    transform: translateY(30px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

/* Old hero styles (kept for compatibility) */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 600px;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: hsl(var(--crimson));
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.hero-description {
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.hero-feature svg {
  width: 16px;
  height: 16px;
  color: hsl(var(--primary));
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

.section-subtitle {
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
}

/* Grid */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 640px) {
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Intro Section - React version */
.intro-section {
  padding: 4rem 0;
  background: hsl(var(--card));
}

.intro-content {
  max-width: 56rem;
  margin: 0 auto;
}

.intro-text-block {
  margin-bottom: 2rem;
}

.tldr-react {
  background: hsla(var(--primary), 0.05);
  border: 1px solid hsla(var(--primary), 0.2);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.tldr-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  list-style: none;
}

@media (min-width: 768px) {
  .tldr-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tldr-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.tldr-icon {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.toc-react {
  background: hsla(var(--muted), 0.3);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.toc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  list-style: none;
}

@media (min-width: 640px) {
  .toc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.toc-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.3s;
}

.toc-link:hover {
  color: hsl(var(--primary));
}

.toc-number {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0.25rem;
  background: hsla(var(--primary), 0.1);
  color: hsl(var(--primary));
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

/* Feature Cards */
.feature-card {
  padding: 1.5rem;
  text-align: center;
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: hsla(var(--primary), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: hsl(var(--primary));
}

.feature-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: hsla(var(--muted), 0.3);
  border: 1px solid hsla(var(--border), 0.5);
  border-radius: var(--radius);
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: hsl(var(--foreground));
  font-weight: 500;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s;
}

.accordion-trigger:hover {
  color: hsl(var(--primary));
}

.accordion-trigger svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

.accordion-item.open .accordion-trigger svg {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-item.open .accordion-content {
  max-height: 500px;
}

.accordion-content-inner {
  padding: 0 1.5rem 1rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

/* Tables */
.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

th, td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid hsla(var(--border), 0.5);
}

th {
  font-weight: 600;
  color: hsl(var(--foreground));
}

td {
  color: hsl(var(--muted-foreground));
}

/* Game Cards */
.game-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s;
  background: hsl(var(--card));
}

.game-card:hover {
  transform: scale(1.02);
}

.game-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsla(var(--background), 0.95), hsla(var(--background), 0.3) 50%, transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.75rem;
}

.game-card-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.125rem;
}

.game-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.625rem;
  color: hsl(var(--muted-foreground));
}

.game-card-status {
  padding: 0.125rem 0.375rem;
  border-radius: 9999px;
  font-size: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
}

.game-card-status.live {
  background: hsl(142 76% 36%);
  color: white;
}

.game-card-status.starting {
  background: hsl(43 74% 49%);
  color: hsl(var(--background));
}

.game-card-status.full {
  background: hsl(0 70% 50%);
  color: white;
}

.game-card-players {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.625rem;
  color: hsl(var(--muted-foreground));
}

/* Games Scroll Container */
.games-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.games-scroll::-webkit-scrollbar {
  display: none;
}

.games-scroll .game-card {
  flex: 0 0 160px;
  min-width: 160px;
  max-width: 160px;
}

@media (min-width: 640px) {
  .games-scroll .game-card {
    flex: 0 0 200px;
    min-width: 200px;
    max-width: 200px;
  }
}

@media (min-width: 1024px) {
  .games-scroll .game-card {
    flex: 0 0 220px;
    min-width: 220px;
    max-width: 220px;
  }
}

/* Grid Game Cards */
.grid .game-card {
  width: 100%;
  max-width: 100%;
}

.grid .game-card img {
  aspect-ratio: 16/10;
}

/* Horizontal Scroll */
.scroll-container {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  margin: 0 -1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

/* Footer */
.footer {
  background: hsl(var(--card));
  border-top: 1px solid hsl(var(--border));
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: hsl(var(--primary));
}

.footer-bottom {
  border-top: 1px solid hsl(var(--border));
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* Language Switcher */
.lang-switcher {
  position: relative;
  display: flex;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.5rem;
  background: hsla(var(--muted), 0.5);
  border: none;
  border-radius: var(--radius);
  color: hsl(var(--foreground));
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
}

@media (min-width: 640px) {
  .lang-btn {
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
}

.lang-btn:hover {
  background: hsl(var(--muted));
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s;
  z-index: 100;
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.3s;
}

.lang-option:hover {
  background: hsla(var(--muted), 0.5);
}

.lang-option.active {
  background: hsla(var(--primary), 0.1);
  color: hsl(var(--primary));
}

.flag {
  width: 20px;
  height: 15px;
  border-radius: 2px;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: flex;
  padding: 0.5rem;
  background: transparent;
  border: none;
  color: hsl(var(--foreground));
  cursor: pointer;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 100%;
  background: hsl(var(--background));
  border-right: 1px solid hsl(var(--border));
  transform: translateX(-100%);
  transition: transform 0.3s;
  z-index: 100;
  padding: 1.5rem;
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: hsla(0, 0%, 0%, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 99;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.mobile-menu-close {
  padding: 0.5rem;
  background: transparent;
  border: none;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  color: hsl(var(--muted-foreground));
  transition: all 0.3s;
}

.mobile-nav-item:hover {
  background: hsla(var(--muted), 0.5);
  color: hsl(var(--foreground));
}

.mobile-nav-item.active {
  background: hsla(var(--secondary), 0.2);
  color: hsl(var(--secondary));
}

/* Form Elements */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  color: hsl(var(--foreground));
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: hsl(var(--primary));
}

.form-input-icon {
  position: relative;
}

.form-input-icon .icon-left {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: hsl(var(--muted-foreground));
}

.form-input-icon .icon-right {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: hsl(var(--muted-foreground));
  cursor: pointer;
}

.form-input-icon input {
  padding-left: 2.75rem;
}

/* VIP Tiers */
.vip-tier {
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.3s;
}

.vip-tier:hover {
  transform: scale(1.05);
}

.vip-tier.member {
  background: linear-gradient(to bottom, hsla(30, 50%, 20%, 0.5), hsla(30, 50%, 10%, 0.3));
  border: 1px solid hsla(30, 50%, 30%, 0.5);
}

.vip-tier.silver {
  background: linear-gradient(to bottom, hsla(220, 10%, 50%, 0.3), hsla(220, 10%, 30%, 0.2));
  border: 1px solid hsla(220, 10%, 50%, 0.5);
}

.vip-tier.gold {
  background: linear-gradient(to bottom, hsla(45, 100%, 50%, 0.4), hsla(38, 100%, 40%, 0.2));
  border: 1px solid hsla(45, 100%, 50%, 0.5);
}

.vip-tier.diamond {
  background: linear-gradient(to bottom, hsla(200, 100%, 60%, 0.3), hsla(230, 100%, 60%, 0.2));
  border: 1px solid hsla(200, 100%, 60%, 0.5);
}

.vip-icon {
  width: 64px;
  height: 64px;
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

/* Alert/Warning Boxes */
.alert {
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.alert-warning {
  background: hsla(var(--destructive), 0.1);
  border: 1px solid hsla(var(--destructive), 0.3);
}

.alert-warning svg {
  color: hsl(var(--destructive));
  flex-shrink: 0;
}

.alert-warning p {
  color: hsl(var(--destructive));
  font-size: 0.875rem;
}

/* Check Lists */
.check-list {
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.check-list li svg {
  width: 16px;
  height: 16px;
  color: hsl(var(--primary));
  flex-shrink: 0;
  margin-top: 0.25rem;
}

/* Category Filters */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.category-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  background: hsl(var(--muted));
  border: none;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: all 0.3s;
}

.category-btn:hover {
  color: hsl(var(--foreground));
  background: hsla(var(--muted), 0.8);
}

.category-btn.active {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 4px 15px hsla(var(--primary), 0.4);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-sm {
  font-size: 0.875rem;
}

.text-xs {
  font-size: 0.75rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-12 {
  margin-top: 3rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-full {
  border-radius: 9999px;
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.max-w-md {
  max-width: 28rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.w-full {
  width: 100%;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.hidden {
  display: none;
}

@media (min-width: 640px) {
  .sm\:flex {
    display: flex;
  }
  .sm\:hidden {
    display: none;
  }
}

@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }
  .md\:hidden {
    display: none;
  }
  .md\:text-3xl {
    font-size: 1.875rem;
  }
  .md\:text-4xl {
    font-size: 2.25rem;
  }
  .md\:text-5xl {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .lg\:flex {
    display: flex;
  }
  .lg\:hidden {
    display: none;
  }
}

/* Relative Positioning */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.z-10 {
  z-index: 10;
}

.z-50 {
  z-index: 50;
}

/* Border */
.border {
  border: 1px solid hsl(var(--border));
}

.border-t {
  border-top: 1px solid hsl(var(--border));
}

.border-b {
  border-bottom: 1px solid hsl(var(--border));
}

/* Overflow */
.overflow-hidden {
  overflow: hidden;
}

.overflow-x-auto {
  overflow-x: auto;
}

/* Object Fit */
.object-cover {
  object-fit: cover;
}

/* Flex Shrink */
.flex-shrink-0 {
  flex-shrink: 0;
}

/* Line Height */
.leading-relaxed {
  line-height: 1.625;
}

/* Space utilities */
.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-3 > * + * {
  margin-top: 0.75rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

/* Inline flex */
.inline-flex {
  display: inline-flex;
}

/* Padding top */
.pt-6 {
  padding-top: 1.5rem;
}

.pt-32 {
  padding-top: 8rem;
}

.pb-20 {
  padding-bottom: 5rem;
}

/* Border utilities */
.border-border {
  border-color: hsl(var(--border));
}

/* Transition */
.transition-colors {
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* Rounded utilities */
.rounded {
  border-radius: 0.25rem;
}

/* TOC Styles */
.toc {
  background: hsla(var(--muted), 0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.toc-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  margin-bottom: 1rem;
}

.toc-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .toc-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.toc-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: all 0.3s;
}

.toc-list a:hover {
  background: hsla(var(--primary), 0.1);
  color: hsl(var(--primary));
}

/* Provider Grid */
.provider-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .provider-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .provider-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .provider-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.provider-item {
  padding: 0.75rem;
  background: hsla(var(--muted), 0.3);
  border: 1px solid hsla(var(--border), 0.5);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.3s;
}

.provider-item:hover {
  border-color: hsl(var(--primary));
  background: hsla(var(--primary), 0.1);
}

.provider-name {
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.provider-type {
  font-size: 0.625rem;
  color: hsl(var(--muted-foreground));
}

/* Intro Box */
.intro-box {
  background: hsla(var(--muted), 0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
}

/* TLDR */
.tldr {
  background: hsla(var(--primary), 0.1);
  border-left: 4px solid hsl(var(--primary));
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.tldr-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: hsl(var(--primary));
  margin-bottom: 0.5rem;
}

.tldr-list {
  list-style: none;
}

.tldr-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

.tldr-list li::before {
  content: "•";
  color: hsl(var(--primary));
}

/* Payments Section */
.payment-method {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  background: hsla(var(--muted), 0.3);
  border: 1px solid hsla(var(--border), 0.5);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: all 0.3s;
}

.payment-method:hover {
  border-color: hsl(var(--primary));
  color: hsl(var(--foreground));
}

/* Back to Top */
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: hsl(var(--primary));
  font-size: 0.875rem;
  transition: color 0.3s;
}

.back-to-top:hover {
  text-decoration: underline;
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .mobile-menu,
  .mobile-menu-overlay {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
}
