/* ===== Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== Base ===== */
body {
  font-family: 'Roboto', sans-serif;
  color: #ffcccc;
  background: 
    linear-gradient(to bottom right, rgba(0, 0, 0, 0.6), rgba(25, 0, 0, 0.8)),
    url('background.gif') no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;  /* Ensures the body takes the full viewport height */
  display: flex;
  justify-content: center;  /* Horizontally centers the content */
  align-items: center;  /* Vertically centers the content */
  padding: 0;  /* No padding */
  margin: 0;  /* Remove margin to prevent shifting */
  text-align: center;
  position: relative;
}

/* Particle canvas */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;  /* Make sure it's behind the content */
}

/* Overlay (darkens background slightly) */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;  /* Ensure overlay is behind content */
  pointer-events: none;
}

/* ===== Container ===== */
.container {
  position: relative;
  z-index: 1;
  width: 85%;
  max-width: 900px;
  background: rgba(10, 0, 0, 0.75);
  border: 1px solid rgba(255, 0, 0, 0.2);
  border-radius: 18px;
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.25);
  padding: 3rem 4rem;
  backdrop-filter: blur(6px);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  margin: 0;  /* Remove any margin */
}

/* Hover effect for container */
.container:hover {
  box-shadow: 0 0 50px rgba(255, 0, 0, 0.4);
  transform: translateY(-2px);
}

/* ===== Header ===== */
header h1 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 3.5rem;
  color: #ff3333;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px #ff4444, 0 0 20px #ff8888;
  animation: glowPulse 2.5s infinite alternate;
}

@keyframes glowPulse {
  from { text-shadow: 0 0 8px #ff4444, 0 0 15px #ff8888; }
  to { text-shadow: 0 0 20px #ff4444, 0 0 40px #ff8888; }
}

/* ===== Sections ===== */
.about, .socials {
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(15px);
  animation: fadeInUp 0.8s ease forwards;
}

.about {
  animation-delay: 0.2s;
}

.socials {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h2 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  color: #ff4444;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 5px #ff4444, 0 0 10px #ff8888;
}

p {
  line-height: 1.7;
  color: #ffbbbb;
}

/* ===== Social Buttons ===== */
ul {
  list-style: none;
  margin-top: 1.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.reveal-btn {
  background: transparent;
  border: 1.5px solid #ff4444;
  color: #ff8888;
  padding: 0.6rem 1.5rem;
  font-size: 1.1rem;
  font-family: 'Orbitron', sans-serif;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.25s ease;
  width: 100%;
}

.reveal-btn:hover {
  background: #ff2222;
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
  transform: translateY(-2px);
}

/* ===== Footer ===== */
footer {
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #aa4444;
  border-top: 1px solid #330000;
  padding-top: 1rem;
  opacity: 0;
  transform: translateY(15px);
  animation: fadeInUp 0.8s ease forwards 0.6s;
}

footer a {
  color: #ff6666;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #ffffff;
}

/* ===== Responsive ===== */
@media (max-width: 700px) {
  .container {
    width: 90%;
    padding: 2rem 1.5rem;
  }

  header h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 1.3rem;
  }
}
