/* =========================================
   $FUEL - ULTRA CLEAN WEB3 DESIGN SYSTEM
   ========================================= */

:root {
  --fuel-orange: #ff6b00;
  --fuel-red:    #ff2d2d;
}

body {
  background-color: #050505; /* Deep rich black, not pure #000 */
}

/* Custom Base Utility Reset for Links */
a, button {
  outline: none;
}

/* =========================================
   Buttons & Links
   ========================================= */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--fuel-orange), var(--fuel-red));
  color: white;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  border-radius: 9999px; /* Pill shape */
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 14px 0 rgba(255, 107, 0, 0.39);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.6);
  filter: brightness(1.1);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

/* =========================================
   Glassmorphism (Apple/Vercel Style)
   ========================================= */

.glass-card {
  background: rgba(15, 15, 15, 0.6);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-radius: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.04);
  border-right: 1px solid rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 1);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
}

/* Very subtle inner glowing light on glass cards */
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
  pointer-events: none;
}

.glass-card:hover {
  border-top-color: rgba(255, 107, 0, 0.2);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 1), center 0 0 40px rgba(255, 107, 0, 0.03);
}

/* Navbar Scrolled State */
#navbar.scrolled {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Mobile Link active styling */
.mobile-link:hover {
  color: var(--fuel-orange);
}

/* =========================================
   Custom Elements & Visuals
   ========================================= */

/* Hero Image Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

.animate-float {
  animation: float 8s ease-in-out infinite;
}

/* Marquee infinite scroll */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } 
}

.animate-marquee {
  animation: marquee 30s linear infinite;
  display: inline-flex;
}

/* Soft slow pulsing for background orbs */
@keyframes pulse-slow {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.1); opacity: 0.7; }
}

.animate-pulse-slow {
  animation: pulse-slow 10s ease-in-out infinite;
}

.object-delay {
  animation-delay: 5s;
}

/* Selection color */
::selection {
  background: var(--fuel-orange);
  color: #fff;
}

/* Scroll Revelations (Fade Up) */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* Content individual reveal delays for Hero */
.hero-content-reveal {
  animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-image-reveal {
  opacity: 0;
  animation: slideInRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

@keyframes slideUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  0% { opacity: 0; transform: translateX(40px) scale(0.95); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}

/* =========================================
   Fixed Bottom Flame Canvas
   ========================================= */

.flame-canvas {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 9998;
  pointer-events: none;
}

/* =========================================
   Floating Music Toggle Button
   ========================================= */

.music-toggle-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.music-toggle-btn:hover {
  border-color: rgba(255, 107, 0, 0.4);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 25px rgba(255, 107, 0, 0.2);
}

.music-toggle-btn.playing {
  border-color: rgba(255, 107, 0, 0.5);
  color: var(--fuel-orange);
  animation: musicPulse 2s ease-in-out infinite;
}

.music-icon {
  width: 22px;
  height: 22px;
}

@keyframes musicPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(255, 107, 0, 0.15); }
  50% { box-shadow: 0 4px 30px rgba(255, 107, 0, 0.4); }
}
