@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Vazirmatn:wght@300;400;500;600;700;800&display=swap");

:root {
  font-family: "Vazirmatn", "Manrope", sans-serif;
  color: #fff;
  background: #0d111e;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: #0d111e; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid #decaff; outline-offset: 3px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.event-detail-page {
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
  color: #fff;
  background: #0d111e;
}

.event-detail-page::before {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: min(66vw, 920px);
  height: 900px;
  content: "";
  pointer-events: none;
  background: radial-gradient(ellipse at 100% 18%, rgba(30, 76, 150, .48), rgba(15, 35, 72, .18) 48%, transparent 72%);
}

.event-detail-page > * { position: relative; z-index: 1; }

.site-nav {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 5.5vw;
  color: #fff;
}

.event-detail-page .event-site-nav {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: none;
  min-height: 102px;
  margin: 0;
  padding: 28px 5.5vw;
  background: transparent;
}

.brand { display: inline-flex; align-items: center; flex: 0 0 auto; direction: ltr; color: #fff; line-height: .78; }
.brand img { display: block; width: 118px; max-height: 36px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 42px);
  margin-right: auto;
  margin-left: 6vw;
  color: rgba(255,255,255,.88);
  font-size: 12px;
}

.nav-links a { position: relative; transition: color .2s ease; }
.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  content: "";
  background: #cdb8ff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 18px; font-size: 11px; }
.lang { font-family: "Manrope", sans-serif; letter-spacing: .14em; }
.nav-cta { padding: 10px 18px; border: 1px solid #b68ee4; border-radius: 999px; background: rgba(182,142,228,.72); transition: background .2s ease, color .2s ease; }
.nav-cta:hover { color: #14111e; background: #fff; }
.menu-button { display: none; padding: 0; border: 0; color: #fff; background: none; font-size: 22px; }

.event-detail-main { width: min(1100px, calc(100% - 48px)); margin: 0 auto; padding-bottom: 159px; }
.event-back { display: inline-flex; height: 40px; align-items: center; gap: 8px; color: #fff; font-size: 14px; transition: color 180ms ease; }
.event-back:hover { color: #c9a4ff; }
.event-back span:first-child { font-family: sans-serif; font-size: 17px; }

.event-detail-grid { display: grid; grid-template-columns: minmax(0, 448px) minmax(0, 1fr); gap: 48px; align-items: start; direction: ltr; }
.event-poster-column { position: sticky; top: 96px; grid-column: 1; direction: rtl; }
.event-poster-wrap { position: relative; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 12px; box-shadow: 0 24px 70px rgba(0, 0, 0, .26); }
.event-poster-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; }
.event-ribbon { position: absolute; z-index: 2; top: 23px; left: -43px; width: 178px; padding: 6px 0; color: #171321; background: #c9a4ff; font-size: 11px; text-align: center; transform: rotate(-45deg); }

.event-info-column { display: flex; grid-column: 2; flex-direction: column; gap: 12px; direction: rtl; }
.event-info-card { display: flex; width: 100%; flex-direction: column; gap: 16px; padding: 28px; border-radius: 16px; background: rgba(255,255,255,.1); backdrop-filter: blur(24px); }
.event-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.event-title-row h1 { margin: 0; font-size: 30px; font-weight: 700; line-height: 1.375; }
.share-button { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; color: #fff; background: transparent; transition: color 180ms ease, border-color 180ms ease; }
.share-button:hover { color: #c9a4ff; border-color: #c9a4ff; }
.share-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.event-date { display: flex; align-items: center; gap: 8px; margin: 0; color: #fff; font-size: 14px; text-transform: uppercase; }
.event-date svg { width: 13px; height: 15px; fill: currentColor; }
.event-ticket-actions { display: flex; width: 100%; flex-direction: column; gap: 16px; }
.event-ticket-actions a { display: flex; width: 100%; min-height: 54px; align-items: center; justify-content: center; gap: 8px; padding: 12px 32px; border-radius: 8px; color: #fff; font-family: inherit; transition: opacity 180ms ease, background 180ms ease, transform 180ms ease; }
.event-ticket-actions a:hover { opacity: .84; transform: translateY(-1px); }
.event-ticket-actions svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; }
.event-buy { border: 1px solid #c9a4ff; background: #2d2c3d; font-size: 20px; }
.event-prices { border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.05); font-size: 14px; }

.event-description { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; font-size: 14px; line-height: 1.5; }
.event-description__content { position: relative; max-height: 105px; overflow: hidden; transition: max-height 320ms ease; }
.event-description__content::after { position: absolute; right: 0; bottom: 0; left: 0; height: 48px; content: ""; pointer-events: none; background: linear-gradient(to bottom, transparent, #0d111e); transition: opacity 180ms ease; }
.event-description--expanded .event-description__content { max-height: 1000px; }
.event-description--expanded .event-description__content::after { opacity: 0; }
.event-description p { margin: 0 0 8px; }
.read-more { align-self: flex-start; padding: 0; border: 0; color: #fff; background: none; font-family: inherit; font-size: 14px; text-decoration: underline; }
.read-more:hover { color: #c9a4ff; }

.event-terms { overflow: hidden; border: 1px solid #303442; border-radius: 12px; background: #202430; }
.event-terms__trigger { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border: 0; color: #fff; background: transparent; font-family: inherit; font-size: 16px; font-weight: 600; text-align: start; }
.event-terms__trigger:hover { background: rgba(255,255,255,.035); }
.event-terms__arrow { font-family: sans-serif; font-size: 24px; line-height: .6; transform: rotate(-90deg); transition: transform 200ms ease; }
.event-terms--open .event-terms__arrow { transform: rotate(90deg); }
.event-terms__body { max-height: 40vh; padding: 12px 16px 16px; overflow-y: auto; border-top: 1px solid #303442; color: #d3ced8; font-size: 13px; line-height: 1.8; }
.event-terms__body p { margin: 0 0 8px; }
.event-terms__body ul { margin: 0; padding-right: 18px; }
.event-terms__body a { color: #d5baff; text-decoration: underline; text-underline-offset: 3px; }

.event-footer { width: min(1100px, calc(100% - 48px)); margin: 0 auto; padding: 24px 0 38px; color: #fff; border-top: 1px solid #2c303d; }
.event-footer__main { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 32px; }
.event-footer__copy h2 { margin: 0 0 10px; font-size: 24px; font-weight: 600; }
.event-footer__copy p { margin: 0; color: #9694a0; font-size: 14px; }
.event-footer__stores { display: flex; align-items: center; justify-content: flex-start; gap: 12px; direction: ltr; }
.event-footer__stores a { display: block; width: 160px; height: 48px; overflow: hidden; border-radius: 6px; transition: opacity 180ms ease, transform 180ms ease; }
.event-footer__stores a:hover { opacity: .86; transform: translateY(-1px); }
.event-footer__stores img { display: block; width: 100%; height: 100%; object-fit: cover; }
.event-footer__links { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 48px; color: #a9a7b0; font-size: 13px; }
.event-footer__links a:hover { color: #c9a4ff; }
.event-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; padding-top: 20px; border-top: 1px solid #2c303d; color: #777681; font-size: 10px; }
.event-footer__bottom a { display: flex; align-items: center; gap: 10px; }
.event-footer__bottom a:hover { color: #b8a6d8; }
.event-footer__bottom img { width: 74px; max-height: 30px; }

@media (max-width: 1023px) {
  .event-detail-page::before { width: 100%; height: 720px; opacity: .7; }
  .event-detail-main { padding-bottom: 80px; }
  .event-detail-grid { display: flex; flex-direction: column; gap: 16px; }
  .event-poster-column, .event-info-column { width: 100%; }
  .event-poster-column { position: static; order: 1; }
  .event-info-column { order: 2; }
  .event-poster-wrap { border-radius: 12px; }
  .event-info-card { padding: 20px; }
  .event-title-row h1 { font-size: 20px; }
  .share-button { width: 36px; height: 36px; flex-basis: 36px; }
  .event-buy { font-size: 16px; }
  .event-ticket-actions a { min-height: 46px; padding: 10px 16px; }
  .event-description { margin-top: 0; }
}

@media (max-width: 900px) {
  .nav-links { gap: 16px; margin-left: 2vw; font-size: 10px; }
  .nav-cta { padding: 8px 12px; }
}

@media (max-width: 640px) {
  .event-detail-page .event-site-nav { min-height: 66px; padding: 16px 18px; }
  .brand img { width: 104px; max-height: 31px; }
  .nav-links { position: absolute; top: 66px; right: 16px; left: 16px; display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 10px 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: rgba(23,19,32,.96); backdrop-filter: blur(15px); box-shadow: 0 14px 35px rgba(0,0,0,.26); }
  .nav-links--open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 13px; }
  .nav-links a:last-child { border: 0; }
  .nav-links a::after { display: none; }
  .nav-actions { gap: 9px; }
  .menu-button { display: block; }
  .nav-cta { display: none; }
  .event-detail-main { width: 100%; padding: 0 24px 64px; }
  .event-back { height: 38px; margin-top: 4px; }
  .event-info-column { gap: 16px; }
  .event-info-card { gap: 16px; padding: 20px; }
  .event-title-row h1 { font-size: 20px; line-height: 1.45; }
  .event-date { font-size: 13px; }
  .event-description { font-size: 14px; }
  .event-description__content { max-height: 105px; }
  .event-footer { width: 100%; padding: 24px 24px 32px; }
  .event-footer__main { grid-template-columns: 1fr; gap: 24px; }
  .event-footer__copy h2 { font-size: 20px; }
  .event-footer__stores { justify-content: flex-start; }
  .event-footer__stores a { width: 132px; height: 40px; }
  .event-footer__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; margin-top: 36px; }
  .event-footer__bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 360px) {
  .event-detail-main { padding-inline: 16px; }
  .event-title-row h1 { font-size: 18px; }
  .event-info-card { padding: 16px; }
  .event-footer { padding-inline: 16px; }
  .event-footer__stores a { width: 124px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
