@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --color-bg: #050507;
  --color-surface: #0f0f13;
  --color-primary: #ff4500;
  --color-secondary: #ff8c00;
  --color-accent: #ffd700;
  --color-text: #f8fafc;
  --color-text-muted: #94a3b8;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: 'Cinzel', serif;
}

/* Gradient Text */
.text-gradient {
  background: linear-gradient(135deg, #ff8c00 0%, #ff4500 50%, #9333ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glowing Effects */
.glow-orange {
  box-shadow: 0 0 20px rgba(255, 69, 0, 0.3), 0 0 40px rgba(255, 140, 0, 0.1);
}

.glow-text {
  text-shadow: 0 0 20px rgba(255, 69, 0, 0.5);
}

/* Glassmorphism */
.glass {
  background: rgba(15, 15, 19, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 69, 0, 0.3);
  box-shadow: 0 10px 40px -10px rgba(255, 69, 0, 0.2);
  transform: translateY(-4px);
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 69, 0, 0.2); }
  50% { box-shadow: 0 0 40px rgba(255, 69, 0, 0.5), 0 0 60px rgba(255, 140, 0, 0.2); }
}

.animate-pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes ember {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(-100px) scale(0); opacity: 0; }
}

.ember {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #ff8c00;
  border-radius: 50%;
  pointer-events: none;
  animation: ember 4s linear infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #ff4500, #9333ea);
  border-radius: 4px;
}

/* Button Styles */
.btn-primary {
  background: linear-gradient(135deg, #ff4500 0%, #ff8c00 100%);
  color: white;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(255, 69, 0, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid rgba(255, 69, 0, 0.5);
  color: #ff8c00;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: rgba(255, 69, 0, 0.1);
  border-color: #ff4500;
  box-shadow: 0 0 20px rgba(255, 69, 0, 0.2);
}

/* Hero Background */
.hero-bg {
  background: radial-gradient(ellipse at top, rgba(147, 51, 234, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at bottom, rgba(255, 69, 0, 0.1) 0%, transparent 50%),
              var(--color-bg);
}

/* Nav Link Hover */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff4500, #ff8c00);
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}

/* Image Slider / Crossfade */
.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 1rem;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  object-fit: cover;
}

.slide.active {
  opacity: 1;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 7, 0.4), transparent);
  pointer-events: none;
}
