:root {
  --bg-color: #050505;
  --card-bg: rgba(18, 18, 20, 0.65);
  --card-border: rgba(255, 255, 255, 0.12);
  --card-border-hover: rgba(255, 255, 255, 0.35);
  --text-primary: #ffffff;
  --text-secondary: #8e8e93;
  --grid-line: rgba(255, 255, 255, 0.04);
  --btn-primary-bg: #ffffff;
  --btn-primary-text: #050505;
  --btn-secondary-bg: rgba(255, 255, 255, 0.05);
  --btn-secondary-border: rgba(255, 255, 255, 0.15);
  --btn-secondary-text: #ffffff;
  --glow-color: rgba(255, 255, 255, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  user-select: none;
  -webkit-font-smoothing: antialiased;
}

/* Subtle background grid inspired by steambrew.app */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}

/* Dynamic cursor-following spotlight */
.spotlight {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  z-index: 1;
  opacity: 0;
}

/* Central ambient glow sphere */
.glow-sphere {
  position: fixed;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: pulseGlow 8s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% {
    transform: scale(0.9);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.15);
    opacity: 0.9;
  }
}

/* Layout container */
.container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 640px;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fadeInScale 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Main title styling */
.title {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(3.5rem, 9vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 2.5rem;
  background: linear-gradient(180deg, #ffffff 30%, #71717a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.15);
  position: relative;
}

/* Action button container */
.actions {
  display: flex;
  gap: 1.25rem;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}

/* Modern minimal button base styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 1.85rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  letter-spacing: -0.01em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

/* Primary Button (White on Black with subtle metallic rim) */
.btn-primary {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15), 0 4px 12px rgba(0, 0, 0, 0.5);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  background-color: #ffffff;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.35), 0 6px 20px rgba(0, 0, 0, 0.6);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

/* Secondary Button (Frosted dark monochrome) */
.btn-secondary {
  background-color: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  border: 1px solid var(--btn-secondary-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px) scale(1.02);
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.15), 0 6px 20px rgba(0, 0, 0, 0.5);
}

.btn-secondary:active {
  transform: translateY(0) scale(0.98);
}

.btn:hover .btn-icon {
  transform: scale(1.1);
}

/* Animations */
@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .actions {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
  }
  
  .btn {
    width: 100%;
  }

  .title {
    margin-bottom: 2rem;
  }
}
