:root {
  --blue: #1717ff;
  --black: #090909;
  --white: #ffffff;
  --muted: #efefef;
  --red: #f12a34;
  --hero-image: url("assets/hero.jpg");
}

* {
  box-sizing: border-box;
}

*,
button,
input,
textarea,
select {
  font-family: "Google Sans Flex", "Google Sans", Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 190px 1fr 120px;
  align-items: center;
  min-height: 58px;
  padding: 0 24px;
  background: var(--white);
  border-bottom: 1px solid #dcdcdc;
}

.logo {
  display: block;
  width: max-content;
}

.logo img {
  display: block;
  width: 180px;
  height: auto;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 45px;
  font-size: 12px;
  font-weight: 800;
}

.desktop-nav a:hover,
.footer a:hover {
  color: var(--blue);
}

.emka {
  justify-self: end;
  color: var(--red);
  font-size: 25px;
  font-weight: 900;
  font-style: italic;
}

.burger {
  display: none;
}

.mobile-menu {
  display: none;
}

.hero {
  min-height: 540px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(7, 8, 20, 0.9) 0%, rgba(7, 8, 20, 0.52) 43%, rgba(7, 8, 20, 0.15) 75%),
    var(--hero-image) center / cover no-repeat;
  color: var(--white);
}

.hero-content {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 72px 24px 62px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 900;
}

.hero h1 {
  margin: 0;
  font-size: clamp(64px, 8vw, 114px);
  line-height: 0.88;
  letter-spacing: 0;
  font-weight: 900;
}

.hero-lead {
  margin: 28px 0 6px;
  font-size: 18px;
  font-weight: 900;
}

.hero-text {
  max-width: 370px;
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 58px;
}

.ticket-button,
.outline-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 166px;
  min-height: 34px;
  padding: 0 20px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 900;
}

.ticket-button {
  color: var(--white);
  background: var(--blue);
}

.event-details {
  padding-left: 20px;
  border-left: 3px solid var(--white);
  font-size: 13px;
  font-weight: 900;
}

.event-details p {
  position: relative;
  margin: 4px 0;
  padding-left: 22px;
}

.event-details p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 14px;
  height: 14px;
  background: url("assets/event-icons.png") center top / 14px auto no-repeat;
  filter: invert(1);
}

.event-details p + p::before {
  background-position: center bottom;
}

.lineup {
  min-height: 475px;
  padding: 80px 24px 70px;
  text-align: center;
}

.section-title {
  position: relative;
  margin-bottom: 54px;
}

.section-title h2 {
  margin: 0;
  color: #ececec;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 0;
}

.section-title span {
  position: absolute;
  left: 50%;
  top: 50%;
  color: var(--blue);
  transform: translate(-50%, -50%);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.artists-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
  column-gap: 14px;
  row-gap: 10px;
  font-size: 35px;
  line-height: 1.12;
  font-weight: 900;
}

.artists-main b {
  color: var(--blue);
  font-size: 26px;
}

.artists-small {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  margin-top: 18px;
  font-size: 15px;
  font-weight: 900;
}

.artists-small i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
}

.outline-button {
  margin-top: 58px;
  color: var(--blue);
  border: 2px solid var(--blue);
  background: var(--white);
}

.features {
  padding: 36px 24px 68px;
  background: var(--muted);
  text-align: center;
}

.section-title.light {
  margin-bottom: 38px;
}

.section-title.light h2 {
  color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;
  width: min(1030px, 100%);
  margin: 0 auto;
}

.features article {
  min-width: 0;
}

.features h3 {
  margin: 18px 0 8px;
  font-size: 16px;
  font-weight: 900;
}

.features p {
  max-width: 170px;
  margin: 0 auto;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
}

.icon {
  display: block;
  width: 132px;
  height: 120px;
  margin: 0 auto;
  background-image: url("assets/icons.png");
  background-repeat: no-repeat;
  background-size: 264px 240px;
}

.icon-music {
  background-position: left top;
}

.icon-people {
  background-position: right top;
}

.icon-food {
  background-position: left bottom;
}

.icon-leaf {
  background-position: right bottom;
}

.tickets {
  padding: 24px 24px 36px;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(rgba(2, 4, 35, 0.9), rgba(2, 4, 35, 0.9)),
    var(--hero-image) center 78% / cover no-repeat;
}

.tickets h2 {
  margin: 0 0 8px;
  font-size: 25px;
  font-weight: 900;
}

.tickets p {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 700;
}

.footer {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 38px;
  padding: 70px 120px 80px;
  color: var(--white);
  background: #0c0c0c;
}

.footer .logo {
  padding: 0;
  background: transparent;
}

.footer .logo img {
  width: 176px;
}

.footer small {
  display: block;
  margin-top: 35px;
  color: #8b8b8b;
  font-size: 11px;
}

.footer h4 {
  margin: 0 0 18px;
  font-size: 12px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer a {
  color: #d9d9d9;
  font-size: 11px;
}

@media (max-width: 720px) {
  .topbar {
    position: relative;
    grid-template-columns: 1fr 34px;
    min-height: 31px;
    padding: 0 8px;
  }

  .desktop-nav,
  .desktop-emka {
    display: none;
  }

  .burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 3px;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    justify-self: end;
  }

  .burger span {
    display: block;
    width: 16px;
    height: 2px;
    background: var(--black);
  }

  .topbar .logo img {
    width: 61px;
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 38px 18px 36px;
    background: #f5f5f5;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-18px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .close-menu {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
  }

  .close-menu::before,
  .close-menu::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 14px;
    width: 18px;
    height: 2px;
    background: #111;
  }

  .close-menu::before {
    transform: rotate(45deg);
  }

  .close-menu::after {
    transform: rotate(-45deg);
  }

  .menu-logo {
    width: 176px;
    height: auto;
    margin-bottom: 31px;
  }

  .mobile-menu nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    font-size: 18px;
    font-weight: 900;
  }

  .menu-emka {
    margin-top: 42px;
    font-size: 24px;
  }

  .hero {
    position: relative;
    min-height: 304px;
    margin-bottom: 74px;
    align-items: flex-start;
    background:
      linear-gradient(90deg, rgba(7, 8, 20, 0.9) 0%, rgba(7, 8, 20, 0.48) 52%, rgba(7, 8, 20, 0.04) 100%),
      var(--hero-image) 58% top / auto 100% no-repeat;
  }

  .hero-content {
    position: static;
    padding: 22px 9px 16px;
  }

  .eyebrow {
    margin-bottom: 7px;
    font-size: 8px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 0.9;
  }

  .hero-lead {
    max-width: 128px;
    margin: 10px 0 4px;
    font-size: 10px;
    line-height: 1.3;
  }

  .hero-text {
    max-width: 132px;
    font-size: 8px;
    line-height: 1.35;
  }

  .hero-actions {
    position: absolute;
    left: 50%;
    right: auto;
    bottom: -58px;
    align-items: flex-start;
    flex-direction: column-reverse;
    gap: 8px;
    margin-top: 0;
    color: var(--black);
    transform: translateX(-50%);
  }

  .event-details {
    padding-left: 0;
    border-left: 0;
    color: var(--black);
    font-size: 8px;
    line-height: 1.2;
  }

  .event-details p {
    margin: 2px 0;
    padding-left: 15px;
  }

  .event-details p::before {
    top: 0;
    width: 10px;
    height: 10px;
    background-size: 10px auto;
    filter: none;
  }

  .ticket-button,
  .outline-button {
    min-width: 112px;
    min-height: 20px;
    padding: 0 12px;
    border-radius: 3px;
    font-size: 7px;
  }

  .lineup {
    min-height: 0;
    padding: 9px 10px 25px;
  }

  .section-title {
    margin-bottom: 18px;
  }

  .section-title h2 {
    font-size: 19px;
  }

  .section-title span {
    font-size: 7px;
  }

  .artists-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 6px;
    row-gap: 7px;
    max-width: 190px;
    font-size: 10px;
    line-height: 1.1;
  }

  .artists-main b {
    font-size: 10px;
  }

  .artists-small {
    flex-wrap: wrap;
    gap: 5px 7px;
    max-width: 190px;
    margin: 9px auto 0;
    font-size: 6px;
  }

  .artists-small i {
    width: 4px;
    height: 4px;
  }

  .outline-button {
    margin-top: 15px;
    border-width: 1px;
  }

  .features {
    padding: 20px 12px 27px;
  }

  .section-title.light {
    margin-bottom: 20px;
  }

  .features-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .features article {
    width: 180px;
  }

  .features h3 {
    margin: 8px 0 4px;
    font-size: 13px;
  }

  .features p {
    max-width: 154px;
    font-size: 8px;
  }

  .icon {
    width: 94px;
    height: 86px;
    background-size: 188px 172px;
  }

  .tickets {
    padding: 13px 10px 15px;
  }

  .tickets h2 {
    font-size: 11px;
  }

  .tickets p {
    margin-bottom: 8px;
    font-size: 6px;
  }

  .footer {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
    padding: 18px 9px 21px;
  }

  .footer .logo {
    padding: 0;
  }

  .footer .logo img {
    width: 65px;
  }

  .footer small {
    margin-top: 15px;
    font-size: 5px;
  }

  .footer h4 {
    margin-bottom: 7px;
    font-size: 6px;
  }

  .footer-col {
    gap: 4px;
  }

  .footer a {
    font-size: 5px;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 32px;
  }

  .artists-main {
    max-width: 140px;
  }

  .footer {
    gap: 7px;
  }
}
