/* Basic reset */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #fff;
}

/* HERO background */
.hero {
  position: relative;
  min-height: 100vh;

  /* Use your background image here */
  background: url("assets/hero.png") center/cover no-repeat fixed;

  display: grid;
  place-items: center;
  padding: 24px;
}

/* Darken + frame the hero */
.overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 25%, rgba(0,0,0,.20), rgba(0,0,0,.74)),
    linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.55));
}

/* Layout */
.content {
  position: relative;
  max-width: 980px;
  width: 100%;
  display: grid;
  gap: 18px;

  /* push content upward a bit */
  align-content: start;
  padding-top: 38px;
}

/* Brand / title area */
.brand {
  text-align: center;
}

.brand-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(12, 12, 16, 0.28);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.45));
}

.brand-text h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 46px);
  letter-spacing: 0.5px;
  line-height: 1.05;
  text-shadow: 0 10px 24px rgba(0,0,0,.55);
}

.tagline {
  margin: 6px 0 0;
  opacity: 0.95;
  text-shadow: 0 8px 18px rgba(0,0,0,.55);
}

/* =========================
   Carousel
========================= */

.carousel {
  margin: 10px auto 6px;
  max-width: 900px;
  width: 100%;
  position: relative;
}

.carousel-track {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
}

.carousel-slide {
  display: none;
  width: 100%;
  position: relative;
}

.carousel-slide.active {
  display: block;
}

.carousel-media {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
  background: #000;
}

/* Trailer play button */
.carousel-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(12,12,16,0.45);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(0,0,0,.4);
  backdrop-filter: blur(6px);
  transition: transform 140ms ease, background 140ms ease, opacity 140ms ease;
}

.carousel-play svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  transform: translateX(2px);
}

.carousel-play:hover {
  background: rgba(12,12,16,0.65);
  transform: translate(-50%, -50%) scale(1.04);
}

.carousel-play:active {
  transform: translate(-50%, -50%) scale(0.98);
  opacity: 0.9;
}

.carousel-play.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(12,12,16,0.45);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
  transition: transform 140ms ease, background 140ms ease, opacity 140ms ease;
}

.carousel-arrow:hover {
  background: rgba(12,12,16,0.65);
  transform: translateY(-50%) scale(1.03);
}

.carousel-arrow:active {
  transform: translateY(-50%) scale(0.98);
  opacity: 0.9;
}

.carousel-arrow.prev { left: 10px; }
.carousel-arrow.next { right: 10px; }

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
}

.carousel-dots .dot.active {
  background: linear-gradient(
    135deg,
    rgba(255,140,220,1),
    rgba(120,210,255,1)
  );
}

/* Card */
.card {
  margin: 0 auto;
  max-width: 720px;
  width: 100%;

  background: rgba(12, 12, 16, 0.62);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  text-align: center;
}

.card h2 { margin: 0 0 8px; }
.card p { margin: 8px 0; line-height: 1.5; }

/* Buttons */
.buttons {
  display: grid;
  gap: 10px;
  justify-items: center;
  margin-top: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.2px;
  border: 1px solid rgba(255,255,255,0.18);
  transition: transform 140ms ease, filter 140ms ease, opacity 140ms ease;
  user-select: none;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0px); opacity: 0.95; }

/* Big primary Steam button */
.btn.steam {
  min-width: min(520px, 92%);
  padding: 14px 18px;
  font-size: 1.05rem;

  color: #0b0b12;
  background: linear-gradient(
    135deg,
    rgba(255, 140, 220, 0.95),
    rgba(120, 210, 255, 0.95)
  );
  box-shadow: 0 14px 30px rgba(0,0,0,.35);
}

.btn.steam:hover {
  filter: brightness(1.05);
}

/* Smaller support button */
.btn.support {
  min-width: min(360px, 78%);
  padding: 10px 16px;
  font-size: 0.95rem;

  color: rgba(255,255,255,0.92);
  background: linear-gradient(
    135deg,
    rgba(120, 210, 255, 0.22),
    rgba(255, 140, 220, 0.18)
  );
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}

/* Small text under buttons */
.small {
  margin-top: 14px;
  font-size: 0.95rem;
  opacity: 0.95;
}

.small a { color: #fff; }

/* Footer */
.footer {
  font-size: 0.9rem;
  opacity: 0.9;
  text-shadow: 0 6px 18px rgba(0,0,0,.6);
  text-align: center;
  margin-bottom: 8px;
}

/* Mobile tweaks */
@media (max-width: 520px) {
  .brand-row {
    gap: 10px;
    padding: 10px 12px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .carousel-media {
    max-height: 320px;
  }

  .carousel-play {
    width: 54px;
    height: 54px;
  }

  .carousel-play svg {
    width: 22px;
    height: 22px;
  }

  .carousel-arrow {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .carousel-arrow.prev { left: 6px; }
  .carousel-arrow.next { right: 6px; }
}
