:root {
  --background: 0 0% 10%;
  --foreground: 0 0% 98%;
  --card: 0 0% 8%;
  --card-foreground: 0 0% 98%;
  --popover: 0 0% 8%;
  --popover-foreground: 0 0% 98%;
  --primary: 51 100% 50%;
  --primary-foreground: 0 0% 9%;
  --secondary: 39 100% 50%;
  --secondary-foreground: 0 0% 9%;
  --muted: 0 0% 18%;
  --muted-foreground: 0 0% 63.9%;
  --accent: 39 100% 50%;
  --accent-foreground: 0 0% 9%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 98%;
  --border: 0 0% 18%;
  --input: 0 0% 18%;
  --ring: 51 100% 50%;
  --radius: 0.5rem;
}

/* Mobile drawer open state */
#mobileDrawer.open {
  transform: translateX(0);
}

/* Container shim to match Tailwind container defaults via CDN */
.container {
  width: 100%;
}
@media (min-width: 640px) {
  .container { max-width: 640px; }
}
@media (min-width: 768px) {
  .container { max-width: 768px; }
}
@media (min-width: 1024px) {
  .container { max-width: 1024px; }
}
@media (min-width: 1280px) {
  .container { max-width: 1280px; }
}
@media (min-width: 1536px) {
  .container { max-width: 1536px; }
}

/* Decorative hero radial */
.hero-radial {
  position: absolute;
  inset: -20% -10% 0 -10%;
  background: radial-gradient(60% 60% at 50% 30%, rgba(250, 204, 21, 0.25), transparent 60%),
              radial-gradient(40% 40% at 70% 20%, rgba(250, 204, 21, 0.15), transparent 60%);
  filter: blur(20px);
}

/* Animated gold ring logo */
.logo-ring {
  position: relative;
  display: inline-block;
  border-radius: 9999px;
}
.logo-ring--sm { width: 36px; height: 36px; }
.logo-ring--md { width: 56px; height: 56px; }
.logo-ring--xl { width: 144px; height: 144px; }

.logo-ring__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9999px;
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.35) inset;
}

.logo-ring__ring {
  position: absolute;
  inset: -4px;
  border-radius: 9999px;
  background: conic-gradient(from 0deg, rgba(255,215,0,0.0), rgba(255,215,0,0.9), rgba(255,215,0,0.0) 60%);
  filter: blur(0.2px);
  animation: spin 6s linear infinite;
}

.logo-ring__glow {
  position: absolute;
  inset: -18px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(255,215,0,0.25), transparent 60%);
  filter: blur(12px);
  pointer-events: none;
}

.logo-ring__spark {
  position: absolute;
  right: 4%;
  top: 40%;
  width: 18px;
  height: 18px;
  background:
    radial-gradient(circle, rgba(255,255,255,0.95), rgba(255,215,0,0.9) 40%, transparent 60%);
  border-radius: 9999px;
  box-shadow: 0 0 24px rgba(255,215,0,0.85);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes pulse {
  0%, 100% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 1; }
}

/* Floating logo link */
.logo-float {
  display: inline-block;
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35), 0 0 0 2px rgba(255,215,0,0.6) inset;
  background: radial-gradient(circle at 30% 30%, rgba(255,215,0,0.2), transparent 60%),
              rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  transform: translateZ(0);
}
.logo-float img { width: 100%; height: 100%; object-fit: cover; border-radius: 9999px; }
.logo-float:hover { box-shadow: 0 12px 28px rgba(0,0,0,0.45), 0 0 0 2px rgba(255,215,0,0.85) inset; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .logo-ring__ring { animation: none; }
  .logo-ring__spark { animation: none; }
}


