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

html, body {
  height: 100%;
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at center, #0a0a0a 0%, #050505 100%);
  color: #f5f5f5;
  overflow-x: hidden;
}

/* ====== ANIMATED BACKGROUND GLOW ====== */
body::before {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 0, 0, 0.15) 0%, transparent 60%);
  animation: pulseGlow 8s infinite alternate ease-in-out;
  z-index: -1;
}

/* ====== NAVBAR ====== */
header {
  width: 100%;
  padding: 20px 0;
  background: rgba(5, 0, 0, 0.7);
  position: fixed;
  top: 0;
  left: 0;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
  z-index: 100;
  border-bottom: 1px solid rgba(255, 0, 0, 0.2);
}

.navbar {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
}

.logo {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: #ff2b2b;
  text-shadow: 0 0 10px rgba(255, 50, 50, 0.8);
  transition: text-shadow 0.3s ease;
}

.logo:hover {
  text-shadow: 0 0 25px rgba(255, 0, 0, 1);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: #f5f5f5;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: #ff1f1f;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: #ff1f1f;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
}

/* ====== INTRO SECTION ====== */
.intro {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  background: linear-gradient(to bottom right, #080000, #150000);
  animation: fadeIn 2s ease-in forwards;
}

.intro h1 {
  font-size: 3.5rem;
  margin-bottom: 10px;
  color: #ff2a2a;
  text-shadow: 0 0 25px rgba(255, 0, 0, 0.7);
  animation: glowText 3s infinite alternate ease-in-out;
}

.intro p {
  max-width: 600px;
  font-size: 1.1rem;
  color: #d8d8d8;
  margin-bottom: 30px;
  animation: fadeInUp 2s ease;
}

/* ====== BUTTON ====== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(90deg, #ff0000, #990000);
  color: white;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 1px;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
  transition: all 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background: linear-gradient(90deg, #ff4040, #ff0000);
  transform: scale(1.07);
  box-shadow: 0 0 35px rgba(255, 0, 0, 0.9);
}

/* ====== FOOTER ====== */
footer {
  text-align: center;
  padding: 20px;
  background: #050000;
  color: #999;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 0, 0, 0.2);
  box-shadow: 0 -5px 15px rgba(255, 0, 0, 0.1);
}

/* ====== ANIMATIONS ====== */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
  0% { opacity: 0.3; transform: scale(1); }
  100% { opacity: 0.6; transform: scale(1.2); }
}

@keyframes glowText {
  0% { text-shadow: 0 0 10px rgba(255, 0, 0, 0.7); }
  100% { text-shadow: 0 0 25px rgba(255, 0, 0, 1); }
}

/* ===== 🔥 SIDE FIRE EFFECTS ===== */
.fire {
  position: fixed;
  top: 0;
  width: 120px;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
  opacity: 0.25;
}

.fire-left {
  left: 0;
  background: radial-gradient(circle at 40% 80%, rgba(255, 60, 0, 0.4), transparent 70%);
  animation: fireFlickerLeft 4s infinite ease-in-out alternate;
}

.fire-right {
  right: 0;
  background: radial-gradient(circle at 60% 80%, rgba(255, 60, 0, 0.4), transparent 70%);
  animation: fireFlickerRight 4s infinite ease-in-out alternate;
}

/* Flickering movement */
@keyframes fireFlickerLeft {
  0%, 100% { opacity: 0.2; transform: scaleY(1); filter: blur(15px) brightness(1); }
  50% { opacity: 0.5; transform: scaleY(1.05); filter: blur(18px) brightness(1.4); }
}

@keyframes fireFlickerRight {
  0%, 100% { opacity: 0.2; transform: scaleY(1); filter: blur(15px) brightness(1); }
  50% { opacity: 0.6; transform: scaleY(1.08); filter: blur(20px) brightness(1.5); }
}
