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

body {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background-color: #222;
  background-image:
    linear-gradient(0deg, transparent 24%, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.05) 26%, transparent 27%, transparent 74%, rgba(255,255,255,0.05) 75%, rgba(255,255,255,0.05) 76%, transparent 77%, transparent),
    linear-gradient(90deg, transparent 24%, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.05) 26%, transparent 27%, transparent 74%, rgba(255,255,255,0.05) 75%, rgba(255,255,255,0.05) 76%, transparent 77%, transparent);
  background-size: 50px 50px;
  min-height: 100vh;
  overflow-x: hidden;
  animation: gridMove 10s linear infinite;
}

/* Slight animated motion in the grid */
@keyframes gridMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 50px 50px;
  }
}

/* Navbar */
.navbar {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  padding: 15px 40px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  opacity: 0;
  animation: fadeIn 1.2s ease forwards 0.3s;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: bold;
  color: #5da6ff;
  text-decoration: none;
  letter-spacing: 1px;
  transition: text-shadow 0.3s;
}

.nav-logo:hover {
  text-shadow: 0 0 10px #5da6ff;
}

.nav-right .nav-link {
  color: #aaa;
  text-decoration: none;
  margin-left: 30px;
  font-size: 1rem;
  transition: color 0.2s, text-shadow 0.3s;
}

.nav-right .nav-link:hover,
.nav-right .nav-link.active {
  color: #5da6ff;
  text-shadow: 0 0 8px #5da6ff;
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100vh;
  padding: 0 20px;
}

.hero-content {
  animation: fadeInUp 1.5s ease forwards;
  opacity: 0;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #7baeff;
  margin-bottom: 15px;
  animation: glow 2s ease-in-out infinite alternate;
}

.hero-content p {
  font-size: 0.9rem;
  letter-spacing: 3px;
  color: #ccc;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn {
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 transparent;
}

.btn.play {
  background-color: #4e8cff;
  color: white;
}

.btn.play:hover {
  background-color: #3873e8;
  box-shadow: 0 0 15px #4e8cff;
  transform: scale(1.05);
}

.btn.read {
  border: 1px solid #4e8cff;
  color: #4e8cff;
  background-color: transparent;
}

.btn.read:hover {
  background-color: #4e8cff;
  color: white;
  box-shadow: 0 0 15px #4e8cff;
  transform: scale(1.05);
}

/* Animations */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

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

@keyframes glow {
  from {
    text-shadow: 0 0 5px #4e8cff, 0 0 10px #4e8cff, 0 0 20px #4e8cff;
  }
  to {
    text-shadow: 0 0 20px #4e8cff, 0 0 40px #4e8cff, 0 0 60px #4e8cff;
  }
}
