:root {
  --black: #080808;
  --white: #ffffff;
  --muted: #777777;
  --blue: #196fff;
  --pink: #d0206b;
  --gold: #efbf54;
  --page: 1400px;
  --content: 1080px;
}

body {
  min-width: 320px;
  background: var(--white);
  color: var(--black);
  font-family: "Afacad", Arial, sans-serif;
  line-height: 1.35;
}

main {
    width: 100%;
}

.top-nav,
.footer {
    width: 100%;
}

.top-nav {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 42px 150px 0 72px;
  color: var(--white);
}

.mark {
  width: 26px;
  height: 26px;
  display: block;
}

.mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links,
.footer nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 58px;
}

.nav-links a,
.footer nav a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover,
.footer nav a:hover {
  opacity: 0.65;
  transform: translateY(-2px);
}

.hero {
  height: 645px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse at 79% 61%, rgba(11, 11, 11, 0.62) 0 8%, transparent 23%),
    radial-gradient(ellipse at 75% 43%, rgba(221, 0, 30, 0.88) 0 17%, transparent 35%),
    radial-gradient(ellipse at 56% 55%, rgba(231, 98, 206, 0.72) 0 16%, transparent 37%),
    radial-gradient(ellipse at 60% 17%, rgba(39, 100, 255, 0.95) 0 32%, transparent 58%),
    radial-gradient(ellipse at 12% 78%, rgba(246, 199, 88, 0.96) 0 28%, transparent 54%),
    linear-gradient(145deg, #74c4ff 0%, #2466ff 45%, #f3c766 100%);
}

.hero-inner {
  width: min(100% - 340px, 1040px);
  height: 100%;
  margin: 0 auto;
  position: relative;
}

.spaced,
.section-label,
.wide-heading,
.date-block,
.guest span,
.artist h2,
.pass span,
.mini span {
  letter-spacing: 0.45em;
  text-transform: uppercase;
}

.festival {
  position: absolute;
  top: 172px;
  right: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
}

.date-block {
  position: absolute;
  top: 244px;
  left: 0;
  color: #ffe04b;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.58em;
  line-height: 1.45;
}

.place {
  position: absolute;
  top: 398px;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.95);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 1.05em;
}

.place span,
.wide-heading span {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: currentColor;
}

h1 {
  position: absolute;
  bottom: -56px;
  left: -8px;
  font-size: clamp(150px, 17.2vw, 235px);
  font-weight: 400;
  letter-spacing: 0.09em;
  line-height: 0.74;
  text-transform: uppercase;
}

.lineup,
.schedule,
.location,
.tickets,
.partners,
.faq {
  width: min(100% - 96px, var(--content));
  margin: 0 auto;
  padding: 76px 0;
}

.section-label {
  margin-bottom: 56px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2.5em;
  text-transform: uppercase;
}

.headline-grid {
  min-height: 560px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 88px;
}

.artist,
.guest {
  transition: transform 0.25s ease, filter 0.25s ease;
}

.artist:hover,
.guest:hover,
.pass:hover,
.mini:hover {
  filter: saturate(1.14);
  transform: translateY(-7px);
}

.artist h2 {

  text-align: left;
  margin-left: 20%;
}

.purple {
  grid-column: 2 / span 4;
  grid-row: 1 / span 3;
  color: #7d48d7;
}

.blue {
  grid-column: 4 / span 3;
  grid-row: 4 / span 3;
  color: #1f6efc;
}

.yellow {
  grid-column: 7 / span 3;
  grid-row: 1 / span 5;
  color: #cf512b;
}

.red {
  grid-column: 10 / span 3;
  grid-row: 3 / span 3;
  color: #d71932;
}

.portrait {
    width: 400px;
    height: 320px;
    overflow: hidden;
}

.portrait img {
    width: 100%;
    height: auto;
    display: block;
}

.portrait img,
.guest img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.purple .portrait {
  background: transparent;
}

.blue .portrait {
  background: transparent;
}

.yellow .portrait {
  background: transparent;
}

.red .portrait {
  background: transparent;
}

.guests-title {
  margin-top: 150px;
}

.guest-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 92px;
  gap: 14px;
  align-items: start;
}

.guest span {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 700;
  line-height: 0.95;
}

.guest div {
  height: 100%;
  background: transparent;
}

.guest.violet {
  grid-column: 3 / span 2;
  grid-row: 1 / span 2;
  color: #8c61ff;
}

.guest.electric {
  grid-column: 5 / span 3;
  grid-row: 1 / span 2;
  color: #2c63ff;
}

.guest.scarlet {
  grid-column: 8 / span 3;
  grid-row: 1 / span 2;
  color: #cf2934;
}

.guest.ember {
  grid-column: 1 / span 2;
  grid-row: 3 / span 2;
  color: #d93a22;
}

.guest.gold {
  grid-column: 3 / span 2;
  grid-row: 3 / span 2;
  color: #e0a635;
}

.guest.lilac {
  grid-column: 5 / span 2;
  grid-row: 3 / span 2;
  color: #7453dc;
}

.guest.amber {
  grid-column: 7 / span 2;
  grid-row: 3 / span 3;
  color: #d27c28;
}

.guest.sky {
  grid-column: 9 / span 2;
  grid-row: 3 / span 2;
  color: #2c77ff;
}

.violet div,
.electric div,
.scarlet div,
.ember div,
.gold div,
.lilac div,
.amber div,
.sky div {
  background: transparent;
}

.more {
  margin-top: 50px;
  text-align: center;
}

.more .section-label {
  margin-bottom: 34px;
}

.more p:not(.section-label) {
  font-size: 17px;
  font-weight: 700;
}

.more b {
  margin: 0 22px;
}

.schedule-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 42px 46px 26px;
  color: var(--white);
  background:
    radial-gradient(ellipse at 72% 14%, rgba(32, 105, 255, 0.95), transparent 34%),
    radial-gradient(ellipse at 8% 58%, rgba(213, 11, 101, 0.92), transparent 52%),
    radial-gradient(ellipse at 9% 82%, rgba(251, 210, 78, 0.96), transparent 44%),
    linear-gradient(135deg, #59c5ff 0%, #1d67ff 37%, #f4c55a 100%);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.22);
}

.schedule-card article {
  min-height: 610px;
  padding: 0 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.42);
}

.schedule-card article:last-of-type {
  border-right: 0;
}

.schedule-card h2 {
  font-size: 20px;
  letter-spacing: 0.42em;
  line-height: 1;
  text-transform: uppercase;
}

.schedule-card article > p {
  margin: 4px 0 72px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.42em;
}

.schedule-card h3 {
  margin: 0 0 38px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.7em;
  text-align: center;
  text-transform: uppercase;
}

.schedule-card ul + h3 {
  margin-top: 70px;
}

.schedule-card li {
  display: flex;
  gap: 18px;
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 600;
}

.schedule-card li span {
  min-width: 54px;
  color: rgba(255, 255, 255, 0.64);
}

.note {
  grid-column: 1 / -1;
  margin-top: 20px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
}

.location {
  text-align: center;
}

.wide-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 42px;
  font-size: 28px;
  font-weight: 600;
}

.location h3 {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
}

.location p {
  max-width: 650px;
  margin: 0 auto;
  color: #333333;
  font-size: 17px;
}

.location .coords {
  margin-top: 42px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.65em;
}

.ticket-feature,
.ticket-small {
  display: flex;
  justify-content: center;
  gap: 56px;
}

.pass,
.mini {
  position: relative;
  border-radius: 8px;
  color: var(--white);
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.pass {
  width: 430px;
  height: 178px;
  padding: 52px 36px 28px;
}

.pass span,
.mini span {
  display: block;
  max-width: 170px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
}

.pass b,
.mini b {
  position: absolute;
  right: 34px;
  bottom: 26px;
  font-size: 22px;
}

.pass i,
.mini i {
  position: absolute;
  right: 22px;
  top: 50%;
  font-size: 46px;
  font-style: normal;
  font-weight: 300;
  transform: translateY(-50%);
}

.gradient-one {
    background:
        radial-gradient(circle at 18% 80%, rgba(255,196,40,.95) 0 20%, transparent 45%),
        radial-gradient(circle at 52% 65%, rgba(227,0,116,.95) 0 15%, transparent 35%),
        radial-gradient(circle at 72% 18%, rgba(0,110,255,.9) 0 20%, transparent 40%),
        linear-gradient(135deg,#8fd5ff,#a58cff,#ffd26c);
}

.gradient-two {
  background:
        radial-gradient(circle at 68% 24%, rgba(255,196,40,.95) 0 20%, transparent 45%),
        radial-gradient(circle at 52% 65%, rgba(227,0,116,.95) 0 15%, transparent 35%),
        radial-gradient(circle at 20% 18%, rgba(0,110,255,.9) 0 20%, transparent 40%),
        linear-gradient(135deg,#8fd5ff,#a58cff,#ffd26c);
}

.ticket-small {
  margin-top: 54px;
  gap: 58px;
}

.mini {
  width: 210px;
  height: 210px;
  padding: 48px 28px 24px;
}

.gold-pass { background: linear-gradient(145deg, #f6d875, #e6aa38); }
.pink-pass { background: linear-gradient(145deg, #e99abb, #c51962); }
.blue-pass { background: linear-gradient(145deg, #a7dcff, #1671ee); }

.partners {
  text-align: center;
}

.partner-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 34px;
}

.partner-row img {
  max-width: 145px;
  max-height: 54px;
  object-fit: contain;
}

.faq {
  max-width: 950px;
  padding-bottom: 150px;
}

.faq .section-label {
  margin-bottom: 46px;
}

details {
  border-top: 1px solid #ededed;
}

details:last-child {
  border-bottom: 1px solid #ededed;
}

summary {
  cursor: pointer;
  padding: 28px 0;
  list-style: none;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
}

summary::before {
  content: "+";
  margin-right: 18px;
}

details[open] summary::before {
  content: "-";
}

details p {
  padding: 0 0 28px;
  color: var(--muted);
  text-align: center;
}

.pass small,
.mini small {
    display: block;
    margin-top: 18px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    opacity: 0.9;
}

.footer {
  min-height: 520px;
  overflow: hidden;
  padding: 88px 72px 0;
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(ellipse at 73% 58%, rgba(0, 0, 0, 0.58), transparent 27%),
    radial-gradient(ellipse at 54% 43%, rgba(218, 0, 48, 0.86), transparent 32%),
    radial-gradient(ellipse at 62% 16%, rgba(24, 96, 255, 0.96), transparent 47%),
    radial-gradient(ellipse at 12% 88%, rgba(246, 195, 83, 0.95), transparent 38%),
    linear-gradient(145deg, #77cfff, #1764ff 44%, #f2c760);
}

.footer nav {
  margin-bottom: 72px;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 34px;
  margin-bottom: 96px;
  font-size: 22px;
}

.footer h2 {
  margin-bottom: -30px;
  font-size: clamp(80px, 17vw, 220px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 0.8;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .top-nav {
    position: static;
    padding: 22px 24px;
    background: #2c72ff;
  }

  .nav-links {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    height: 560px;
  }

  .hero-inner {
    width: min(100% - 48px, var(--content));
  }

  .festival {
    top: 120px;
  }

  .date-block {
    top: 188px;
  }

  .place {
    top: 330px;
    font-size: 18px;
  }

  h1 {
    bottom: -24px;
  }

  .lineup,
  .schedule,
  .location,
  .tickets,
  .partners,
  .faq {
    width: min(100% - 42px, var(--content));
    padding: 56px 0;
  }

  .headline-grid,
  .guest-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    min-height: auto;
  }

  .artist,
  .guest {
    width: min(46%, 260px);
  }

  .artist .portrait {
    height: 220px;
  }

  .yellow .portrait {
    min-height: 220px;
  }

  .guest div {
    height: 155px;
  }

  .more {
    margin-top: 72px;
  }

  .schedule-card {
    grid-template-columns: 1fr;
  }

  .schedule-card article {
    min-height: auto;
    padding: 0 0 44px;
    margin-bottom: 44px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  }

  .schedule-card article:last-of-type {
    margin-bottom: 0;
    border-bottom: 0;
  }

  .schedule-card article > p {
    margin-bottom: 42px;
  }

  .ticket-feature,
  .ticket-small {
    flex-wrap: wrap;
    gap: 28px;
  }

  .pass {
    width: min(100%, 430px);
  }

  .footer {
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (max-width: 520px) {
  .top-nav {
    align-items: flex-start;
  }

  .mark {
    flex: 0 0 auto;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links a,
  .footer nav a {
    font-size: 10px;
  }

  .hero {
    height: 440px;
  }

  .festival {
    top: 80px;
    font-size: 13px;
  }

  .date-block {
    top: 140px;
    font-size: 18px;
  }

  .place {
    top: 252px;
    font-size: 13px;
  }

  h1 {
    bottom: -8px;
    font-size: 70px;
  }

  .section-label {
    margin-bottom: 34px;
    font-size: 12px;
  }

  .artist,
  .guest {
    width: 100%;
  }

  .artist h2 {
    font-size: 24px;
  }

  .more b {
    margin: 0 9px;
  }

  .schedule-card {
    padding: 30px 24px 22px;
  }

  .schedule-card h3 {
    letter-spacing: 0.8em;
  }

  .schedule-card li {
    font-size: 15px;
  }

  .wide-heading {
    font-size: 17px;
    letter-spacing: 0.26em;
  }

  .mini {
    width: min(100%, 210px);
  }

  .partner-row span {
    font-size: 20px;
  }

  .footer nav {
    flex-wrap: wrap;
    gap: 18px;
  }
}
