html,
body {
  min-height: 100vh;
  margin: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  background-color: #222;
  background-image:
    radial-gradient(1200px 600px at 20% 10%, rgba(131, 58, 180, 0.22), transparent 60%),
    radial-gradient(900px 500px at 75% 20%, rgba(255, 123, 0, 0.2), transparent 65%),
    url("../img/web/bg1.avif");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  color: #fff;
}

main {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 1.2rem 1rem 2.6rem;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
  align-items: stretch;
  width: var(--rt-content-width);
  max-width: 740px;
  text-transform: uppercase;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.03em;
  transform: skewX(-7deg);
  padding-left: 0;
  margin: 0.85rem 0 0 var(--rt-content-offset);
}

.hero-title-line {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  white-space: nowrap;
  width: 100%;
  overflow: hidden;
}

.hero-title-line-top {
  font-size: clamp(1.72rem, 4.55vw, 3.7rem);
}

.hero-title-line-bottom {
  font-size: clamp(2.28rem, 6.55vw, 5.35rem);
}

.hero-title-line-left {
  justify-content: flex-start;
}

.hero-title-line-center {
  justify-content: center;
}

.hero-title-line-right {
  justify-content: center;
}

.hero-title-white {
  color: #fff;
  -webkit-text-stroke: 3px #111;
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.55);
}

.hero-title-gradient {
  background: linear-gradient(180deg, #ffc533 0%, #ff7a00 50%, #ff2b2b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 3px #111;
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
}

.event-date {
  margin: 0.85rem 0 0 var(--rt-content-offset);
  width: fit-content;
  padding: 0.25rem 1rem 0.35rem;
  border-radius: 0.25rem;
  background: linear-gradient(90deg, #6d28d9 0%, #9333ea 45%, #312e81 100%);
  color: #fff;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: clamp(1.3rem, 2.8vw, 2.45rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.18) inset, 0 6px 18px rgba(0, 0, 0, 0.35);
}

@media (min-width: 769px) {
  .hero-title {
    margin-left: clamp(-1.35rem, -1.7vw, -0.7rem);
  }

  .event-date {
    margin-top: 2rem;
    margin-left: clamp(0rem, 2.2vw, 1.8rem);
    margin-right: clamp(0rem, 2.2vw, 1.8rem);
    margin-bottom: 4rem;
  }
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }

  main {
    padding: 0.75rem 0.9rem 1.8rem;
  }

  .hero-title {
    width: min(100%, 480px);
    max-width: 480px;
    margin: 0 auto;
    transform: skewX(-4deg);
  }

  .hero-title-line {
    flex-wrap: wrap;
    justify-content: center;
    white-space: normal;
    text-align: center;
    overflow: visible;
  }

  .hero-title-line-top {
    font-size: clamp(1.25rem, 7vw, 2rem);
  }

  .hero-title-line-bottom {
    font-size: clamp(1.6rem, 10vw, 2.7rem);
  }

  .event-date {
    margin: 0.75rem auto 0;
    font-size: clamp(1.05rem, 6vw, 1.6rem);
    padding: 0.25rem 0.7rem 0.35rem;
  }
}
