/* RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Open Sans", sans-serif;
  background: radial-gradient(circle at top, #220000 0%, #0a0000 90%);
  color: #fff;
  overflow-x: hidden;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  flex-wrap: wrap;
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  z-index: 10;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
}

.navbar a {
  color: #ccc;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 600;
  transition: color 0.3s;
}
.navbar a:hover { color: #ff3333; }

.nav-logo img { height: 60px; }
.menu-toggle { display: none; font-size: 1.8rem; cursor: pointer; color: #fff; }

/* HERO SECTION */
.hero {
  position: relative;
  width: 100%;
  height: 600px;
  background: url("./banner.png") no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 0, 0, 0.2);
  animation: fadeInHero 2s ease-in-out;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.85) 90%);
  z-index: 1;
}

/* HERO LOGO */
.hero-logo {
  position: relative;
  z-index: 2;
  width: 520px;
  max-width: 85%;
  margin-top: 30px;
  margin-bottom: 1.8rem;
  height: auto;
  filter: drop-shadow(0 0 25px rgba(255, 60, 0, 0.6));
  animation: logoPulse 5s infinite ease-in-out;
}

/* LOGO GLOW ANIMATION */
@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    filter: drop-shadow(0 0 25px rgba(255, 60, 0, 0.6));
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
    filter: drop-shadow(0 0 45px rgba(255, 100, 0, 0.9));
  }
}

/* DOWNLOAD & PLAY BUTTON */
.play-btn {
  position: relative;
  z-index: 2;
  display: inline-block;
  background: linear-gradient(90deg, #ff1a1a, #ff6600);
  color: #000;
  margin-top: -80px;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 1.1rem 2.8rem;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(255, 60, 0, 0.4);
  transition: all 0.3s ease;
  animation: btnPulse 5s infinite ease-in-out;
}
.play-btn:hover {
  transform: scale(1.07);
  box-shadow: 0 0 35px rgba(255, 90, 0, 0.7);
}

/* BUTTON GLOW ANIMATION */
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 50, 0, 0.4); }
  50% { box-shadow: 0 0 40px rgba(255, 100, 0, 0.8); }
}
.main-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  margin: 3rem auto;
  max-width: 1800px;
  width: 95%;
  padding: 0 2rem;
  flex-wrap: wrap; /* ✅ allows stacking instead of overflowing */
}

.left-content {
  flex: 1 1 72%;
  min-width: 300px; /* ✅ lower min-width so it can shrink on phones */
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.right-content {
  flex: 1 1 25%;
  min-width: 260px; /* ✅ also smaller min-width for smaller screens */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: flex-start;
  margin-left: auto;
}




/* GALLERY SECTION */
.gallery-section {
  text-align: center;
  margin: 4rem auto;
  padding: 2rem 1.5rem;
  max-width: 1800px; /* ⬆️ match main-section width */
  width: 98%; /* ⬆️ same full layout ratio */
  background: rgba(15, 0, 0, 0.9);
  border: 1px solid rgba(255, 0, 0, 0.3);
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.15);
  animation: softGlow 5s infinite ease-in-out;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem; /* slightly more breathing room */
  padding: 0 2rem; /* aligns visually with main-section padding */
  justify-items: center;
}


.gallery-section h2 {
  font-family: "Cinzel", serif;
  font-size: 2rem;
  color: #ff3333;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.gallery-subtitle {
  color: #ccc;
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* ✅ 3 images per row gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 0 1rem;
  justify-items: center;
}

.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255, 0, 0, 0.3);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(255, 80, 0, 0.4);
}

/* Responsive grid behavior */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* WIDGETS */
.widget {
  background: rgba(15, 0, 0, 0.9);
  border: 1px solid rgba(255, 0, 0, 0.3);
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.widget:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.3);
}
.whead {
  text-align: center;
  color: #ff3333;
  font-weight: bold;
  font-family: "Cinzel", serif;
  margin-bottom: 1rem;
}

/* VIDEO */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}
.video-container iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: none;
}

/* ABOUT */
.about-widget {
  background: rgba(15, 0, 0, 0.95);
  border: 1px solid rgba(255, 0, 0, 0.3);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.15);
  flex: 1;
  animation: softGlow 5s infinite ease-in-out;
}
.about-widget h2 {
  font-family: "Cinzel", serif;
  color: #ff3333;
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}
.about-widget h3 {
  font-family: "Cinzel", serif;
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}
.about-widget p {
  color: #ddd;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.about-widget strong { color: #ff6666; }

/* DOWNLOADS */
.downloads {
  animation: softGlow 5s infinite ease-in-out;
}
.dl-card {
  display: block;
  background: rgba(25, 0, 0, 0.9);
  border: 1px solid #661111;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.6rem;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}
.dl-card:hover {
  background: rgba(45, 0, 0, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.3);
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 1.2rem;
  background: #080000;
  color: #777;
  border-top: 1px solid rgba(255, 0, 0, 0.2);
}

/* MOBILE & TABLET RESPONSIVENESS */
@media (max-width: 900px) {
  .navbar a { display: none; }
  .menu-toggle { display: block; }
  .navbar.active a {
    display: block;
    text-align: center;
    margin: 0.5rem 0;
  }

  .hero {
    height: auto;
    min-height: 300px;
    padding: 4rem 1rem;
    background-position: center top;
  }

  .hero-logo {
    width: 85%;
    margin-bottom: 1.4rem;
  }

  .main-section {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    padding: 0 1rem;
  }

  .left-content, .right-content {
    width: 100%;
    max-width: 100%;
  }

  .widget, .about-widget, .downloads {
    width: 100%;
    box-sizing: border-box;
  }

  .about-widget p {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 0.5rem;
  }

  .dl-card {
    font-size: 0.95rem;
    padding: 1rem;
  }

  .play-btn {
    font-size: 1rem;
    padding: 0.9rem 2rem;
  }
}

/* ANIMATIONS */
@keyframes fadeInHero {
  from { opacity: 0; transform: scale(1.05); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes softGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(255, 0, 0, 0.15); }
  50% { box-shadow: 0 0 25px rgba(255, 50, 0, 0.4); }
}
