/* style.css */

/* =========================
   ??????? ??????????
========================= */
:root {
  --bg: #070812;
  --bg-soft: #0f1220;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --surface-border: rgba(255, 255, 255, 0.12);
  --text: #f3f5fb;
  --text-muted: #b9bfd3;
  --accent: #ff4d7a;
  --accent-2: #8c52ff;
  --accent-3: #2fd0ff;
  --success-glow: rgba(255, 77, 122, 0.24);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container-width: 1200px;
  --header-height: 84px;
  --transition: 0.3s ease;
}

/* =========================
   ????? ? ????
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(140, 82, 255, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(47, 208, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #06070f 0%, #0b0f1d 45%, #090b15 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

section {
  position: relative;
  z-index: 1;
}

/* =========================
   ????? ??????
========================= */
.container {
  width: min(100% - 32px, var(--container-width));
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #ffd3df;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-label::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.section-label--light {
  color: rgba(255, 255, 255, 0.88);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.section-heading p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.04rem;
}

.page-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}

.bg-glow--one {
  width: 240px;
  height: 240px;
  top: 8%;
  left: -30px;
  background: rgba(255, 77, 122, 0.26);
}

.bg-glow--two {
  width: 320px;
  height: 320px;
  top: 28%;
  right: -60px;
  background: rgba(140, 82, 255, 0.22);
}

.bg-glow--three {
  width: 260px;
  height: 260px;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(47, 208, 255, 0.12);
}

/* =========================
   ??????
========================= */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition);
  will-change: transform;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button--accent {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), #ff7b54);
  box-shadow: 0 12px 30px rgba(255, 77, 122, 0.28);
}

.button--accent:hover {
  box-shadow: 0 18px 34px rgba(255, 77, 122, 0.34);
}

.button--secondary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-2), #b35cff);
  box-shadow: 0 12px 28px rgba(140, 82, 255, 0.26);
}

.button--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.button--small {
  min-height: 46px;
  padding: 0 20px;
  font-size: 0.95rem;
}

.button--full {
  width: 100%;
}

.button--card {
  align-self: flex-start;
  min-height: 46px;
  padding: 0 20px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.button--card:hover {
  background: linear-gradient(135deg, rgba(255, 77, 122, 0.22), rgba(140, 82, 255, 0.22));
  border-color: rgba(255, 255, 255, 0.2);
}

/* =========================
   ?????
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 8, 18, 0.65);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.site-header.is-scrolled {
  background: rgba(7, 8, 18, 0.88);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 20px;
}

.site-logo {
  position: relative;
  z-index: 51;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.site-logo__accent {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(255, 77, 122, 0.3);
}

.site-logo::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ffd166);
  box-shadow: 0 0 16px rgba(255, 77, 122, 0.6);
  vertical-align: middle;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 600;
  transition:
    color var(--transition),
    background-color var(--transition);
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.header-ticket-button {
  white-space: nowrap;
}

/* =========================
   ??????
========================= */
.burger-button {
  position: relative;
  z-index: 51;
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  transition:
    background-color var(--transition),
    border-color var(--transition);
}

.burger-button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.burger-button span {
  position: absolute;
  left: 12px;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  transition:
    transform var(--transition),
    opacity var(--transition),
    top var(--transition);
}

.burger-button span:nth-child(1) {
  top: 15px;
}

.burger-button span:nth-child(2) {
  top: 22px;
}

.burger-button span:nth-child(3) {
  top: 29px;
}

.burger-button.is-active span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}

.burger-button.is-active span:nth-child(2) {
  opacity: 0;
}

.burger-button.is-active span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

/* =========================
   Hero
========================= */
.hero {
  padding-top: 100px;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
}

.hero__content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 34px;
}

.hero__text h1 {
  margin: 0 0 16px;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero__subtitle {
  margin: 0 0 20px;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  color: #ffe3ea;
}

.hero__description {
  max-width: 680px;
  margin: 0;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__panel {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 470px;
  padding: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(255, 77, 122, 0.14), rgba(140, 82, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -70px -90px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 77, 122, 0.35), transparent 68%);
}

.hero-card__badge {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-card h2 {
  margin: 0 0 14px;
  font-size: 1.8rem;
  line-height: 1.1;
}

.hero-card p {
  margin: 0 0 22px;
  color: var(--text-muted);
}

.hero-card__list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-card__list li {
  position: relative;
  padding-left: 22px;
  color: #f8f9ff;
}

.hero-card__list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ffd166);
  box-shadow: 0 0 16px rgba(255, 77, 122, 0.45);
}

/* =========================
   ???????? ???????????
========================= */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.event-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    rgba(8, 10, 22, 0.72);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    background-color var(--transition);
}

.event-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)),
    rgba(11, 13, 28, 0.86);
}

.event-card__content {
  margin-bottom: 22px;
}

.event-card__tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 77, 122, 0.14);
  color: #ffdbe4;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.event-card h3 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.event-card p {
  margin: 0;
  color: var(--text-muted);
}

/* =========================
   ????????? ???????
========================= */
.upcoming-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  padding: 34px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(255, 77, 122, 0.16), transparent 34%),
    radial-gradient(circle at bottom right, rgba(140, 82, 255, 0.16), transparent 32%),
    linear-gradient(135deg, #14182b 0%, #0e1020 50%, #151024 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.upcoming-card__main h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.06;
}

.upcoming-card__lead {
  margin: 0 0 24px;
  color: #f2f4fc;
  font-size: 1.08rem;
}

.upcoming-card__text {
  margin: 24px 0 0;
  color: var(--text-muted);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  color: #eef1ff;
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff8a00, var(--accent));
  box-shadow: 0 0 18px rgba(255, 138, 0, 0.45);
}

.upcoming-card__info {
  display: flex;
}

.event-info {
  width: 100%;
  align-self: stretch;
  padding: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.event-info h3 {
  margin: 0 0 22px;
  font-size: 1.4rem;
}

.event-info__list {
  margin: 0 0 28px;
}

.event-info__row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.event-info__row:last-child {
  border-bottom: none;
}

.event-info__row dt {
  color: var(--text-muted);
  font-weight: 600;
}

.event-info__row dd {
  margin: 0;
  font-weight: 600;
  color: #ffffff;
}

/* =========================
   CTA ????
========================= */
.cta {
  padding-top: 0;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 77, 122, 0.15), rgba(255, 123, 84, 0.14)),
    rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.cta-banner h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.2;
}

/* =========================
   ? ???
========================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.about-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    rgba(8, 10, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-card p {
  margin: 0 0 18px;
  color: var(--text-muted);
}

.about-card p:last-child {
  margin-bottom: 0;
}

.about-card--features h3 {
  margin: 0 0 20px;
  font-size: 1.5rem;
}

.about-features {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-features li {
  position: relative;
  padding: 14px 16px 14px 44px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: #f5f7ff;
}

.about-features li::before {
  content: "•";
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
}

/* =========================
   ????????
========================= */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.contact-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    rgba(8, 10, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.contact-card__label {
  display: block;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.contact-card a {
  display: inline-block;
  font-size: 1.14rem;
  font-weight: 700;
  transition: color var(--transition);
  word-break: break-word;
}

.contact-card a:hover {
  color: #ffd0db;
}

/* =========================
   ??????
========================= */
.site-footer {
  padding: 28px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 6, 12, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 24px;
  padding-bottom: 22px;
}

.footer-block p,
.footer-block li,
.footer-block a {
  color: var(--text-muted);
}

.site-logo--footer {
  display: inline-block;
  margin-bottom: 14px;
}

.footer-block h3 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.footer-nav,
.footer-contacts {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a:hover,
.footer-contacts a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.94rem;
}

/* =========================
   ???????? ?????????
========================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   ????????????
========================= */
@media (max-width: 1100px) {
  .hero__content,
  .upcoming-card,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero__panel {
    justify-content: flex-start;
  }

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

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

@media (max-width: 860px) {
  :root {
    --header-height: 78px;
  }

  .section {
    padding: 90px 0;
  }

  .burger-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-height) - 2px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    background: rgba(8, 10, 20, 0.96);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition:
      opacity var(--transition),
      visibility var(--transition),
      transform var(--transition);
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .site-nav__link {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    justify-content: flex-start;
  }

  .header-ticket-button {
    width: 100%;
  }

  .hero {
    padding-top: 72px;
    min-height: auto;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, var(--container-width));
  }

  .section {
    padding: 80px 0;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-card,
  .upcoming-card,
  .about-card,
  .event-card,
  .contact-card,
  .cta-banner {
    padding: 22px;
  }

  .events-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .event-info__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-logo {
    font-size: 1.15rem;
  }

  .hero__text h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .hero__description,
  .upcoming-card__lead,
  .section-heading p {
    font-size: 1rem;
  }
}

@media (max-width: 420px) {
  .header-inner {
    gap: 12px;
  }

  .site-logo {
    max-width: 210px;
    line-height: 1.1;
  }

  .section-heading {
    margin-bottom: 30px;
  }
}