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

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: #fff;
  background:
    radial-gradient(circle at top, rgba(90, 12, 0, 0.35) 0%, rgba(90, 12, 0, 0) 30%),
    radial-gradient(circle at 50% 0%, #220000 0%, #0a0000 92%);
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

/* NAVBAR */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  padding: 1rem 3rem;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(8px);
}

.navbar a {
  margin: 0 1rem;
  color: #d6c7c7;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #ff5a36;
}

.nav-logo img {
  height: 60px;
}

.menu-toggle {
  display: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

/* HERO */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 560px;
  padding: 7rem 1.5rem 3.5rem;
  overflow: hidden;
  text-align: center;
  background: url("./banner.png") no-repeat center center / cover;
  border-bottom: 1px solid rgba(255, 70, 0, 0.18);
  animation: fadeInHero 1.8s ease-in-out;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.86) 88%);
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(20, 0, 0, 0) 0%, rgba(15, 0, 0, 0.94) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.hero-art {
  position: relative;
  width: min(520px, 78vw);
  padding: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 120, 30, 0.34);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(70, 10, 0, 0.34) 0%, rgba(18, 0, 0, 0.78) 100%),
    radial-gradient(circle at top, rgba(255, 125, 0, 0.22), rgba(0, 0, 0, 0) 58%);
  box-shadow:
    0 0 0 1px rgba(255, 90, 0, 0.12) inset,
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 45px rgba(255, 70, 0, 0.24);
  backdrop-filter: blur(8px);
  isolation: isolate;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 180, 90, 0.12) 0%, rgba(255, 180, 90, 0) 38%),
    radial-gradient(circle at 50% 100%, rgba(255, 60, 0, 0.18), rgba(255, 60, 0, 0) 60%);
  z-index: 0;
  pointer-events: none;
}

.hero-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  margin: 0 auto;
  opacity: 0.96;
  mix-blend-mode: screen;
  filter: saturate(1.08) contrast(1.08) drop-shadow(0 0 30px rgba(255, 60, 0, 0.38));
  animation: logoPulse 5s infinite ease-in-out;
}

.play-btn {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 1.1rem 2.8rem;
  color: #100300;
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.04em;
  border-radius: 12px;
  background: linear-gradient(90deg, #ff2a1a, #ff7a00);
  box-shadow: 0 0 20px rgba(255, 60, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: btnPulse 5s infinite ease-in-out;
}

.play-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 0 35px rgba(255, 90, 0, 0.72);
}

/* LAYOUT */
.main-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  width: min(94%, 1600px);
  max-width: 1600px;
  margin: 3rem auto 4.5rem;
  padding: 0 2rem;
}

.left-content {
  display: flex;
  flex: 1 1 72%;
  flex-direction: column;
  gap: 2rem;
  min-width: 300px;
}

.right-content {
  display: flex;
  flex: 1 1 25%;
  flex-direction: column;
  justify-content: flex-start;
  align-self: flex-start;
  min-width: 260px;
  margin-left: auto;
}

/* SHARED SECTION STYLES */
.widget,
.gallery-section,
.about-widget {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 60, 0, 0.26);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(26, 2, 2, 0.96) 0%, rgba(12, 0, 0, 0.97) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 70, 0, 0.06) inset,
    0 24px 54px rgba(0, 0, 0, 0.28),
    0 0 35px rgba(255, 30, 0, 0.1);
}

.widget::before,
.gallery-section::before,
.about-widget::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top center, rgba(255, 90, 0, 0.14), rgba(255, 90, 0, 0) 36%),
    linear-gradient(135deg, rgba(255, 200, 120, 0.04), rgba(255, 200, 120, 0) 35%);
  pointer-events: none;
}

.widget {
  padding: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.widget:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(255, 70, 0, 0.08) inset,
    0 26px 58px rgba(0, 0, 0, 0.34),
    0 0 40px rgba(255, 40, 0, 0.16);
}

.whead {
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
  color: #ff4c32;
  font-family: "Cinzel", serif;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.08em;
}

.section-intro {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.42rem 0.82rem;
  color: #ffb27a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 110, 30, 0.28);
  border-radius: 999px;
  background: rgba(255, 70, 0, 0.08);
}

/* VIDEO */
.video-container {
  position: relative;
  z-index: 1;
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
  border-radius: 16px;
}

.video-container iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: none;
}

/* GALLERY */
.gallery-section {
  padding: 2.4rem;
}

.gallery-section h2 {
  margin-bottom: 0.7rem;
  color: #ff4c32;
  font-family: "Cinzel", serif;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  letter-spacing: 0.04em;
  text-shadow: 0 0 22px rgba(255, 70, 0, 0.22);
}

.gallery-subtitle {
  max-width: 58ch;
  margin: 0 auto;
  color: #e2d2d2;
  font-size: 1.05rem;
}

.gallery-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gallery-card {
  margin: 0;
  padding: 0.65rem;
  overflow: hidden;
  border: 1px solid rgba(255, 65, 0, 0.22);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(45, 7, 3, 0.92) 0%, rgba(15, 2, 2, 0.98) 100%);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(255, 70, 0, 0.07);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 110, 35, 0.42);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.34),
    0 0 24px rgba(255, 85, 0, 0.18);
}

.gallery-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(255, 150, 80, 0.14);
  border-radius: 12px;
}

.gallery-card figcaption {
  padding: 0.85rem 0.35rem 0.2rem;
  color: #f3e0d6;
  font-family: "Cinzel", serif;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

/* ABOUT */
.about-widget {
  padding: 2.6rem 2.4rem;
  text-align: center;
}

.about-widget h2 {
  margin-bottom: 0.6rem;
  color: #ff4c32;
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.04em;
}

.about-widget h3 {
  margin-bottom: 1.3rem;
  color: #fff3ec;
  font-family: "Cinzel", serif;
  font-size: 1.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-widget p {
  max-width: 70ch;
  margin: 0 auto 1rem;
  color: #e2d6d6;
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-widget strong {
  color: #ff775c;
}

/* DOWNLOADS */
.downloads {
  padding: 1.2rem;
}

.dl-card {
  display: block;
  padding: 1rem;
  margin-bottom: 0.75rem;
  color: #fff;
  text-decoration: none;
  border: 1px solid #661111;
  border-radius: 14px;
  background: rgba(25, 0, 0, 0.86);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.dl-card:hover {
  transform: translateY(-3px);
  background: rgba(45, 0, 0, 0.92);
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.3);
}

/* FOOTER */
.footer {
  padding: 1.2rem;
  color: #777;
  text-align: center;
  background: #080000;
  border-top: 1px solid rgba(255, 0, 0, 0.2);
}

/* MOBILE */
@media (max-width: 900px) {
  .navbar {
    padding: 1rem 1.25rem;
  }

  .navbar a {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .navbar.active a {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
    text-align: center;
  }

  .hero {
    min-height: 0;
    padding: 5.25rem 1rem 2.5rem;
    background-position: center top;
  }

  .hero-content {
    gap: 1.2rem;
  }

  .hero-art {
    width: 100%;
    padding: 1rem;
    border-radius: 20px;
  }

  .hero-logo {
    max-width: 100%;
  }

  .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%;
  }

  .gallery-section,
  .about-widget,
  .widget {
    width: 100%;
    box-sizing: border-box;
    border-radius: 18px;
  }

  .gallery-section,
  .about-widget {
    padding: 1.5rem 1rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-widget p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .dl-card {
    font-size: 0.95rem;
  }

  .play-btn {
    padding: 0.95rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ANIMATIONS */
@keyframes fadeInHero {
  from {
    opacity: 0;
    transform: scale(1.05);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@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));
  }
}

@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);
  }
}
