:root {
  /* Base Colors (HSL triplets) */
  --background: 120 25% 96%;
  --foreground: 120 15% 8%;

  --card: 0 0% 100%;
  --card-foreground: 120 15% 8%;

  --popover: 0 0% 100%;
  --popover-foreground: 120 15% 8%;

  --primary: 120 40% 25%;
  --primary-foreground: 0 0% 100%;

  --secondary: 120 20% 85%;
  --secondary-foreground: 120 15% 15%;

  --muted-hsl: 120 15% 92%;
  --muted-foreground: 120 10% 40%;

  --accent-hsl: 120 30% 75%;
  --accent-foreground: 120 15% 15%;

  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 100%;

  --border: 120 20% 85%;
  --input: 120 20% 90%;
  --ring: 120 40% 25%;

  --radius: 0.75rem;

  /* Golf & Casino Theme Colors */
  --golf-green: 120 50% 35%;
  --golf-green-light: 120 40% 65%;
  --golf-green-dark: 120 60% 20%;

  --casino-gold: 45 90% 55%;
  --casino-gold-light: 45 100% 70%;
  --casino-gold-dark: 45 80% 40%;

  --premium-white: 0 0% 98%;
  --premium-gray: 220 5% 25%;

  /* Gradients */
  --gradient-golf: linear-gradient(
    135deg,
    hsl(var(--golf-green-light)),
    hsl(var(--golf-green))
  );
  --gradient-gold: linear-gradient(
    135deg,
    hsl(var(--casino-gold-light)),
    hsl(var(--casino-gold))
  );
  --gradient-premium: linear-gradient(
    180deg,
    hsl(var(--golf-green-light)) / 0.15,
    hsl(var(--golf-green)) / 0.25
  );

  /* Shadows & Effects */
  --shadow-golf: 0 10px 30px -5px hsl(var(--golf-green) / 0.3);
  --shadow-gold: 0 0 40px hsl(var(--casino-gold) / 0.4);
  --shadow-premium: 0 8px 32px hsl(220 5% 25% / 0.12);

  /* Animations */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Sidebar */
  --sidebar-background: 0 0% 98%;
  --sidebar-foreground: 240 5.3% 26.1%;
  --sidebar-primary: 240 5.9% 10%;
  --sidebar-primary-foreground: 0 0% 98%;
  --sidebar-accent: 240 4.8% 95.9%;
  --sidebar-accent-foreground: 240 5.9% 10%;
  --sidebar-border: 220 13% 91%;
  --sidebar-ring: 217.2 91.2% 59.8%;

  /* Extra HEX-based overrides (different names to avoid conflict) */
  --bg-hex: #f2f7f2;
  --fg-hex: #111111;
  --accent-hex: #2f4f2f; /* dark green for privacy page */
  --muted-hex: #555555;
}

/* Global Reset */
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
  color: hsl(var(--foreground));
  background-color: hsl(var(--background));
}

/* ===========================================================
   Hero Section
   =========================================================== */

.hero {
  position: relative;
  height: 100vh; /* reserves full viewport height */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;

  /* Modern formats with fallback */
  background: url("/assets/img/golf-course-realistic.webp") center/cover
    no-repeat;
  background-image: image-set(
    url("/assets/img/golf-course-realistic.webp") type("image/webp"),
    url("/assets/img/golf-course-realistic.jpg") type("image/jpeg")
  );

  /* Reserve space for hero background immediately to prevent layout shift */
  min-height: 600px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(34, 139, 34, 0.6);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.hero-content {
  position: relative;
  z-index: 1;
  opacity: 0;

  /* Reserve space to prevent CLS */
  min-height: 0; /* remove extra height */
  display: block; /* keep original flow */
  text-align: center; /* centers content */
  animation: fadeIn 1s ease-in forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: clamp(3rem, 5vw + 1rem, 4.5rem);
  font-weight: bold;
  color: hsl(var(--premium-white));
  margin: 0 0 1.5rem 0;
  line-height: 1.1;
}

.hero h1 span {
  color: hsl(var(--casino-gold));
}

.hero p {
  font-size: clamp(1.3rem, 2vw + 0.5rem, 1.5rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto 3rem auto;
  max-width: 42rem;
  padding: 0 1rem;
}

/* Button stays same, no CLS issue */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 0.75rem;
  font-size: clamp(0.9rem, 1vw, 1rem);
  font-weight: 500;
  height: 2.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  animation: float 3s ease-in-out infinite;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.btn:hover {
  color: hsl(var(--accent-foreground, 0 0% 98%));
  background-color: rgba(255, 255, 255, 0.2);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ===========================================================
   Game Section
   =========================================================== */
.game-section {
  padding: 3rem 1rem;
  background: var(--gradient-premium);
  text-align: center;
}

.game-text {
  margin-bottom: 3rem;
}

.game-section h2 {
  font-size: clamp(2.5rem, 2vw + 1rem, 3rem);
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
  margin-top: 0;
  line-height: 1;
}

.game-section h2 span {
  color: hsl(var(--golf-green));
}

.game-section p {
  font-size: clamp(1.1rem, 1vw + 0.8rem, 1.25rem);
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.75rem;
}

.game-box {
  color: hsl(var(--card-foreground));
  background: hsl(var(--card));
  border-radius: 0.5rem;
  border: 1px solid hsl(var(--border));
  padding: 2rem;
  margin: 0 auto;
  max-width: 632px;
  box-shadow: var(--shadow-premium);
  animation: fade-in 0.6s ease-out both;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.game-box-title {
  margin-bottom: 2rem;
}

.game-box h3 {
  font-size: clamp(1.65rem, 1vw + 1rem, 1.875rem);
  font-weight: 700;
  color: hsl(var(--golf-green));
  margin: 0 0 0.5rem 0;
}

.game-box p {
  font-size: clamp(0.9rem, 0.5vw + 0.7rem, 1rem);
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
}

.golf-area {
  position: relative;
  height: 200px;
  background: url("/assets/img/putting-green-seamless.jpg") center/cover
    no-repeat;
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.ball {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  border: 2px solid #ccc;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  transition: transform 1.5s ease;
}

.hole {
  position: absolute;
  bottom: 20px;
  right: 70px;
  width: 40px;
  height: 40px;
  background: black;
  border-radius: 50%;
  border: 4px solid green;
}

.flag {
  width: 100px;
  height: 120px;
  position: absolute;
  bottom: 50px;
  right: 45px;
}

.power {
  margin: 1rem 0;
}

.power-text {
  display: flex;
  justify-content: space-between;
  margin: 0.5rem;
  font-size: clamp(0.775rem, 0.4vw + 0.7rem, 0.875rem);
  font-weight: 500;
  color: hsl(var(--foreground));
}

.power-text p {
  margin: 0;
}

.power-text .power-percent {
  color: hsl(var(--casino-gold));
  font-weight: bold;
}

.power-bar {
  height: 15px;
  background: #ddd;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.power-fill {
  height: 100%;
  border-radius: 9999px;
  background: var(--gradient-golf);
  transition: all 0.3s ease;
  width: 50%;
}

.controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/** Game Section Controllers to Power Increase/Decrease **/
.controls .action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-weight: 500;
  font-size: clamp(0.7rem, 0.3vw + 0.7rem, 0.875rem);
  line-height: 1.25;
  height: 2.25rem;
  padding: 0.75rem 1rem;
  border: 1px solid hsl(var(--golf-green));
  border-radius: calc(0.75rem - 2px);
  background: hsl(var(--background));
  color: hsl(var(--golf-green));
  transition: color 0.3s ease, background 0.3s ease;
  touch-action: manipulation;
  cursor: pointer;
}

.controls .action:hover {
  background: hsl(var(--secondary));
  color: hsl(var(--golf-green-dark));
}

.controls .action:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px hsl(var(--ring)), 0 0 0 4px hsl(var(--background));
}

.controls button svg {
  pointer-events: none;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-right: 0.5rem;
}

.less {
  background: #eee;
}

.hit {
  height: 2.25rem;
  border-radius: calc(0.75rem - 2px);
  background: var(
    --gradient-golf,
    linear-gradient(90deg, #4caf50, #2e7d32)
  ) !important;
  color: hsl(var(--primary-foreground)) !important;
  font-weight: 700;
  padding: 0.4rem 2rem;
  font-size: clamp(0.89rem, 2vw, 1rem);
  touch-action: manipulation;
  animation: glowPulse 2s infinite;
  border: none;
  cursor: pointer;
}

@keyframes glowPulse {
  0%,
  100% {
    box-shadow: 0 0 20px hsl(var(--casino-gold) / 0.3);
  }
  50% {
    box-shadow: 0 0 40px hsl(var(--casino-gold) / 0.8);
  }
}

.hit:hover {
  background: linear-gradient(90deg, #43a047, #1b5e20);
  box-shadow: 0 0 20px rgba(46, 125, 50, 0.5);
}

.more {
  background: #eee;
}

/** Message Appear After Each Hit **/

.message {
  border-radius: 6px;
  display: none;

  font-weight: 500;
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.125rem);
}

.message.show {
  display: block;
  animation: popup-appear 0.7s ease-out forwards;
}

.message.win {
  background: #fff8dc;
  color: goldenrod;
  border: 1px solid gold;
  padding: 1rem;
  transition: color 0.3s ease;
  transform: scale(0.95);
  line-height: 1.75rem;
  animation: zoom-in 0.3s ease-out forwards;
}

.message.miss {
  background: #e8eee8;
  padding: 1rem;
  transition: color 0.3s ease;
  color: #555;
  transform: scale(0.95);
  line-height: 1.75rem;
  animation: zoom-in 0.3s ease-out forwards;
}

@keyframes zoom-in {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 576px) {
  .game-box {
    padding: 1rem;
  }

  .game-box-title {
    margin-bottom: 1.5rem;
  }

  .golf-area {
    height: 10rem;
  }

  .flag {
    height: 6rem;
  }

  .controls .action {
    padding: 0.5rem 0.5rem;
    font-size: 0.75rem;
    line-height: 1rem;
  }
  .controls .action svg {
    margin-right: 0.25rem;
  }

  .hit {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    margin-right: 0.25rem;
  }

  .power-bar {
    height: 0.75rem;
  }
}

/** Circle Around Hole After Winning **/

.ripple-circle {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: hsl(var(--casino-gold) / 0.3);
  pointer-events: none;
  opacity: 1;
  transform: scale(1);
  transition: transform 1.5s ease-out, opacity 1.5s ease-out;
  box-shadow: 0 0 15px rgba(255, 255, 100, 0.8);
}
/* ===========================================================
   Game Instructions
   =========================================================== */

.instructions {
  max-width: 44rem;
  margin: 3rem auto;
}

.instructions-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  font-size: clamp(0.875rem, 0.4vw + 0.7rem, 1rem);
  line-height: 1.25rem;
}

.instructions h3 {
  font-size: clamp(1.1rem, 1vw + 1.25rem, 1.5rem);
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
  line-height: 2rem;
}

/** Instructions Step **/
.step {
  padding: 1rem;
  background: hsl(var(--card));
  border-radius: 0.5rem;
  box-shadow: var(--shadow-premium);
  border: 1px solid hsl(var(--border));
}

.step .icon {
  font-size: clamp(1.4rem, 1vw + 1.5rem, 1.875rem);
  line-height: 2.25rem;
  margin-bottom: 0.5rem;
}

.step h4 {
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: hsl(var(--foreground));
}

.step p {
  color: hsl(var(--muted-foreground));
  font-size: clamp(0.8rem, 0.5vw + 0.5rem, 0.875rem);
  line-height: 1.25rem;
}

/* ===========================================================
   Winner Bonus Popup
   =========================================================== */
.bonus-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.bonus-popup[data-state="open"] {
  animation: fadeIn 0.2s ease forwards;
}
.bonus-popup[data-state="close"] {
  animation: fadeOut 0.2s ease forwards;
}

keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.bonus-content {
  border: 0;
  border-radius: 0.5rem;
  padding: 3rem;
  width: 100%;
  max-width: 23rem;
  gap: 1rem;
  text-align: center;
  position: relative;
  background: var(--gradient-gold, linear-gradient(90deg, #ffd700, #ffa500));
  color: var(--casino-gold-dark, #8b7500);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.25); /* shadow-lg */
  box-shadow: 0 0 20px rgba(218, 165, 32, 0.6); /* shadow-gold */
  animation: popupAppear 0.4s ease;
}

.bonus-content h2 {
  letter-spacing: -0.015em; /* tracking-tight */
  font-size: clamp(2rem, 2vw + 1rem, 2.25rem); /* text-4xl, responsive */
  line-height: 2.5rem; /* matches Tailwind's 4xl line-height */
  font-weight: 700; /* font-bold */
  margin-bottom: 0.5rem; /* mb-2 */
  color: hsl(45, 80%, 40%); /* text-casino-gold-dark */
}

.trophy {
  font-size: 3rem;
  margin-bottom: 1rem;
  width: 4rem;
  height: 4rem;
  margin-left: auto;
  margin-right: auto;
  animation: bounceGentle 2s infinite ease-in-out;
}

@keyframes bounceGentle {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px); /* softer bounce */
  }
}

.subtitle {
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.125rem); /* text-lg, responsive */
  line-height: 1.75rem; /* Tailwind's text-lg line-height */
  margin-bottom: 1.5rem; /* mb-6 */
  color: hsl(45, 80%, 40%, 0.8); /* text-casino-gold-dark/80 */
  margin-top: 0;
}

.bonus-card {
  border-radius: 0.5rem; /* rounded-lg */
  border: 1px solid hsl(var(--casino-gold) / 0.2); /* border-casino-gold/20 */
  background-color: rgba(255, 255, 255, 0.5); /* bg-premium-white/50 */
  color: hsl(var(--card-foreground)); /* text-card-foreground */
  padding: 1rem; /* p-4 */
  margin-bottom: 1.5rem; /* mb-6 */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); /* shadow-sm */
  min-height: 120px; /* min-h-[120px] */
}

.bonus-card h3 {
  font-weight: 700; /* font-bold */
  color: hsl(var(--casino-gold-dark)); /* text-casino-gold-dark */
  margin-bottom: 0.5rem;
  font-size: 1rem;
  margin-top: 0; /* mb-2 = 0.5rem */
}

.bonus-card p {
  font-size: 0.875rem; /* text-sm */
  font-weight: 500; /* font-medium */
  color: hsl(var(--premium-gray)); /* text-premium-gray */
  margin-bottom: 0;
  user-select: none;
}

.bonus-card img {
  height: 2rem; /* h-8 = 2rem */
  margin-left: auto; /* mx-auto horizontally centers */
  margin-right: auto;
}

.bonus-card .details {
  max-width: 18rem; /* max-w-xs (≈320px) */
  min-height: 1.4rem;
  max-height: 4rem; /* w-full */
  border-radius: calc(0.75rem - 2px); /* rounded-md */
  border: 1px solid hsl(var(--casino-gold) / 0.2); /* border-casino-gold/20 */
  background-color: hsl(var(--background)); /* bg-background */
  padding: 0.5rem 0.75rem; /* py-2 px-3 */
  text-align: center;
  font-size: 1rem; /* text-center */
  font-weight: 700; /* font-bold */
  color: hsl(var(--casino-gold-dark)); /* text-casino-gold-dark */
  user-select: none; /* select-none */
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.375; /* leading-snug ≈ 1.375 */
  margin-top: 0;
  margin-bottom: 0;
  display: block;
  text-align: center;
}

.bonus-code {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.bonus-code p {
  width: 100%; /* w-full */
  max-width: 20rem; /* max-w-xs (≈320px) */
  height: 1.9rem;
  max-height: 4rem; /* min-h-[3rem] */
  border-radius: calc(0.75rem - 2px); /* rounded-md */
  border: 1px solid hsl(var(--casino-gold) / 0.2); /* border-casino-gold/20 */
  padding: 0.5rem 0.75rem; /* py-2 px-3 */
  text-align: center; /* text-center */
  background-color: white;
  font-family: monospace; /* font-mono */
  font-size: 1rem;
  font-weight: 700; /* font-bold */
  color: hsl(45, 80%, 40%); /* text-casino-gold-dark */
  user-select: none; /* select-none */
  white-space: nowrap; /* whitespace-nowrap */
  overflow: hidden; /* overflow-hidden */
  text-overflow: ellipsis; /* text-ellipsis */
  display: flex; /* flex */
  align-items: center; /* items-center */
  margin-top: 0;
  margin-bottom: 0;
  justify-content: center; /* justify-center */
}

.bonus-code button {
  display: inline-flex; /* inline-flex */
  align-items: center; /* items-center */
  justify-content: center; /* justify-center */
  gap: 0.5rem; /* gap-2 = 0.5rem */
  white-space: nowrap; /* whitespace-nowrap */
  font-size: 0.875rem; /* text-sm */
  font-weight: 500; /* font-medium */
  border: 1px solid hsl(var(--casino-gold) / 0.2); /* border-casino-gold/20 */
  background-color: white;
  color: hsl(var(--casino-gold)); /* text-casino-gold */
  height: 2.25rem; /* h-9 */
  border-radius: calc(0.75rem - 2px); /* rounded-md */
  padding-left: 0.75rem; /* px-3 */
  padding-right: 0.75rem;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s; /* transition-colors */
}
.bonus-code button svg {
  width: 1rem; /* w-4 = 16px */
  height: 1rem; /* h-4 = 16px */
  stroke: currentColor; /* inherits text color */
}

.bonus-code button:hover {
  color: hsl(var(--accent-foreground)); /* hover:text-accent-foreground */
  background-color: hsl(var(--casino-gold) / 0.2); /* hover:bg-casino-gold/10 */
}

/** Bonus Claim **/
.claim-btn {
  display: inline-flex; /* inline-flex */
  align-items: center; /* items-center */
  justify-content: center; /* justify-center */
  gap: 0.5rem; /* gap-2 */
  white-space: nowrap; /* whitespace-nowrap */
  transition: background-color 0.2s, box-shadow 0.2s, color 0.2s; /* transition-colors */
  height: 2.75rem; /* h-11 */
  width: 100%; /* w-full */
  padding: 1rem 2rem; /* px-8 py-4 */
  border-radius: 0.375rem; /* rounded-md */
  background: white; /* bg-gradient-gold */
  color: hsl(var(--casino-gold-dark)); /* text-premium-white */
  font-weight: 700; /* font-bold */
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.125rem); /* text-lg, responsive */
  line-height: 1.75rem;
  animation: glowPulse 2s infinite; /* animate-glow-pulse */
  cursor: pointer;
  border: none;
}

@keyframes glowPulse {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
  }
}

.claim-btn svg {
  pointer-events: none; /* [&_svg]:pointer-events-none */
  width: 1rem; /* [&_svg]:size-4 */
  height: 1rem;
  flex-shrink: 0; /* [&_svg]:shrink-0 */
}

.claim-btn:hover {
  box-shadow: 0 0 12px gold;
}

.fine-print {
  font-size: 0.75rem; /* text-xs */
  line-height: 1rem; /* Tailwind's line-height for text-xs */
  margin-top: 1rem; /* mt-4 */
  color: hsl(
    var(--casino-gold-dark) / 0.6
  ); /* casino-gold-dark with 60% opacity */
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  outline: none;
  opacity: 0.2; /* opacity-70 */
  transition: opacity 0.2s; /* transition-opacity */
}

@keyframes popupAppear {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===========================================================
   Footer Section
   =========================================================== */

.footer {
  background-color: hsl(var(--card));
  border-top: 1px solid #ddd;
  padding: 2rem 1rem;
  text-align: center;
}

.footer-logo {
  font-size: clamp(1.35rem, 2vw, 1.5rem);
  font-weight: 700;
  color: hsl(var(--golf-green));
  margin-bottom: 1rem;
}

.footer-links {
  margin-bottom: 1rem;
}

.footer-links a {
  margin: 0 0.75rem;
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
  font-size: clamp(0.8rem, 0.5vw + 0.5rem, 0.875rem);
  line-height: 1.25rem;
}

.footer-links a:hover {
  color: #000;
}

.footer-disclaimer {
  font-size: clamp(0.75rem, 2vw, 0.8rem);
  color: #888;
}

@keyframes fall-0 {
  to {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}

@keyframes fall-1 {
  to {
    transform: translateY(110vh) rotate(-360deg);
    opacity: 0;
  }
}

@keyframes fall-2 {
  to {
    transform: translateY(110vh) rotate(180deg);
    opacity: 0;
  }
}

/* ===========================================================
   Cookies Section CSS
   =========================================================== */

.cookie-consent-card {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  background: #fff;
  color: #333;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 1rem;
  font-family: sans-serif;
  z-index: 10000;
  display: none; /* hidden by default */
  animation: fadeIn 0.4s ease-in-out;
}

/* Header */
.cookie-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

/* Cookie Icon */
.cookie-header svg {
  width: 3rem;
  height: 2rem;
  color: hsl(var(--casino-gold));
}

/* Close Button */
.close-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #666;
}

/* Body Text */
.cookie-body {
  margin-top: 0.5rem;
  padding: 0 0.5rem;
}

.cookie-body h4 {
  margin-bottom: 0;
  margin-top: 0;
}

.cookie-body p {
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin-bottom: 1rem;
  color: hsl(var(--muted-foreground));
}

/* Buttons */
.cookie-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.accept-btn {
  background-color: hsl(var(--golf-green));
  border: none;
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: calc(var(--radius) - 2px);
  cursor: pointer;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.25rem;
  gap: 0.5rem;
}

.accept-btn:hover {
  background-color: hsl(var(--golf-green-dark));
}

.decline-btn {
  background-color: hsl(var(--background));
  border: 0.5px solid hsl(var(--border));
  color: hsl(var(--foreground));
  padding: 0.5rem 0.75rem;
  border-radius: calc(var(--radius) - 2px);
  cursor: pointer;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.25rem;
  gap: 0.5rem;
}

.decline-btn:hover {
  background-color: hsl(var(--muted));
  color: hsl(var(--accent-foreground));
}

/* Fade-in Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
