/* ============ DJ INSHAN — style ============ */
:root {
  --bg: #05090c;
  --bg-2: #0a1218;
  --panel: #0d161d;
  --ink: #eaf6fa;
  --ink-dim: #8fa6b2;
  --accent: #29a8cb;
  --accent-bright: #43cdf2;
  --accent-glow: rgba(41, 168, 203, 0.35);
  --font-display: "Anton", sans-serif;
  --font-body: "Space Grotesk", sans-serif;
  --nav-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #04141b; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #17303c; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px;
  transition: opacity .6s ease, visibility .6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__pulse { width: min(260px, 60vw); }
.preloader__pulse svg { width: 100%; height: 70px; }
.preloader__line {
  fill: none; stroke: var(--accent); stroke-width: 4;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 520; stroke-dashoffset: 520;
  filter: drop-shadow(0 0 8px var(--accent-glow));
  animation: pulse-draw 1.4s ease-in-out infinite;
}
@keyframes pulse-draw {
  0% { stroke-dashoffset: 520; }
  55% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -520; }
}
.preloader__text {
  font-family: var(--font-display);
  letter-spacing: .35em; font-size: 14px; color: var(--ink-dim);
}

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 8s steps(10) infinite;
}
@keyframes grain-shift {
  0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); }
  40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-2%); }
  80% { transform: translate(3%,3%); }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  background: linear-gradient(to bottom, rgba(5,9,12,.92), rgba(5,9,12,.72));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(41,168,203,.12);
  transition: transform .4s ease;
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo img { height: 40px; width: auto; filter: drop-shadow(0 0 12px var(--accent-glow)); }
.nav__links { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); }
.nav__links a {
  font-size: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-dim); transition: color .25s;
}
.nav__links a:hover { color: var(--accent-bright); }
.nav__cta {
  color: #04141b !important;
  background: var(--accent);
  padding: 10px 22px; border-radius: 999px;
  font-weight: 700 !important;
  box-shadow: 0 0 18px var(--accent-glow);
  transition: background .25s, transform .25s;
}
.nav__cta:hover { background: var(--accent-bright); transform: translateY(-2px); }
.nav__burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 85; }
.nav__burger span {
  display: block; width: 26px; height: 2px; background: var(--ink);
  margin: 6px 0; transition: transform .3s, opacity .3s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 30%, var(--bg) 100%);
}
.hero__inner {
  position: relative; z-index: 2; text-align: center;
  padding: calc(var(--nav-h) + 20px) 20px 80px;
}
.hero__eyebrow {
  font-size: clamp(11px, 1.4vw, 14px); letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-dim); margin-bottom: 18px;
}
.hero__title { font-family: var(--font-display); font-weight: 400; line-height: .95; }
.hero__title-line { display: block; overflow: hidden; }
.hero__dj {
  display: inline-block;
  font-size: clamp(28px, 5vw, 64px);
  color: var(--accent);
  letter-spacing: .4em;
  text-shadow: 0 0 30px var(--accent-glow);
}
/* no filter here: drop-shadow paints a ghost box over background-clip:text children in Chrome */
.hero__name {
  display: inline-block;
  font-size: clamp(72px, 17vw, 240px);
  letter-spacing: .02em;
}
/* gradient applied per-char too: background-clip:text doesn't paint into
   transformed inline-block children */
.hero__name, .hero__name .char {
  background: linear-gradient(180deg, #fff 20%, var(--accent-bright) 75%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero__name .char { display: inline-block; }
.hero__name.is-split { background: none; }
.hero__motto {
  margin-top: 26px;
  font-size: clamp(15px, 2.2vw, 22px);
  font-weight: 300; letter-spacing: .08em;
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.hero__motto-half--accent { color: var(--accent-bright); }
.hero__actions {
  margin-top: 40px;
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero__scroll-track {
  width: 24px; height: 40px; border: 1.5px solid var(--ink-dim);
  border-radius: 14px; display: flex; justify-content: center; padding-top: 6px;
}
.hero__scroll-dot {
  width: 4px; height: 8px; border-radius: 2px; background: var(--accent);
  animation: scroll-dot 1.8s ease-in-out infinite;
}
@keyframes scroll-dot { 0%,100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(14px); opacity: 0; } }
.hero__scroll-label { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-dim); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 34px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .06em;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
}
.btn--solid {
  background: var(--accent); color: #04141b;
  box-shadow: 0 0 24px var(--accent-glow);
}
.btn--solid:hover { background: var(--accent-bright); transform: translateY(-3px); box-shadow: 0 6px 34px var(--accent-glow); }
.btn--ghost {
  border: 1.5px solid rgba(41,168,203,.5); color: var(--ink);
}
.btn--ghost:hover { border-color: var(--accent-bright); color: var(--accent-bright); transform: translateY(-3px); }
.btn--lg { padding: 18px 46px; font-size: 17px; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vw, 150px) clamp(20px, 6vw, 90px); max-width: 1400px; margin: 0 auto; }
.section__head { display: flex; align-items: baseline; gap: 18px; margin-bottom: clamp(36px, 6vw, 70px); }
.section__num {
  font-family: var(--font-display); font-size: clamp(14px, 2vw, 20px);
  color: var(--accent); letter-spacing: .1em;
}
.section__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(34px, 6.5vw, 76px);
  line-height: 1.05; text-transform: uppercase; letter-spacing: .02em;
}
.section__title .word { display: inline-block; overflow: hidden; vertical-align: top; }
.section__title .word > span { display: inline-block; }

/* ---------- About ---------- */
.about__grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(36px, 6vw, 90px);
  align-items: start;
}
.about__lead { font-size: clamp(18px, 2.4vw, 26px); font-weight: 300; line-height: 1.5; margin-bottom: 22px; }
.about__lead strong { color: var(--accent-bright); font-weight: 600; }
.about__copy p:not(.about__lead) { color: var(--ink-dim); font-size: clamp(15px, 1.6vw, 17px); }
.about__copy p:not(.about__lead) + p { margin-top: 16px; }
.about__stats { display: grid; gap: 22px; }
.about__stats li {
  background: var(--panel);
  border: 1px solid rgba(41,168,203,.14);
  border-radius: 18px;
  padding: 26px 30px;
  position: relative; overflow: hidden;
}
.about__stats li::before {
  content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: var(--accent); box-shadow: 0 0 14px var(--accent-glow);
}
.stat__value, .stat__plus {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 56px);
  color: var(--ink); line-height: 1;
}
.stat__plus { color: var(--accent); }
.stat__label { display: block; margin-top: 6px; color: var(--ink-dim); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Events ---------- */
.events__list { display: grid; gap: 18px; }
.event-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  background: var(--panel);
  border: 1px solid rgba(41,168,203,.14);
  border-radius: 18px;
  padding: clamp(20px, 3vw, 30px) clamp(20px, 3.4vw, 40px);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.event-card:hover {
  border-color: rgba(67,205,242,.55);
  transform: translateY(-4px);
  box-shadow: 0 14px 44px rgba(41,168,203,.12);
}
.event-card--flyer { grid-template-columns: auto auto 1fr auto; }
.event-card__flyerimg {
  width: 110px; height: 110px; object-fit: cover;
  border-radius: 12px; cursor: zoom-in;
  border: 1px solid rgba(41,168,203,.25);
  transition: transform .3s, border-color .3s;
}
.event-card__flyerimg:hover { transform: scale(1.04); border-color: var(--accent-bright); }
.event-card__date {
  text-align: center; min-width: 72px;
  border-right: 1px solid rgba(41,168,203,.2);
  padding-right: clamp(18px, 3vw, 40px);
}
.event-card__day { font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px); color: var(--accent-bright); line-height: 1; }
.event-card__month { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-dim); }
.event-card__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(20px, 2.6vw, 30px); letter-spacing: .03em; text-transform: uppercase; }
.event-card__meta { color: var(--ink-dim); font-size: 14px; margin-top: 4px; }
.event-card__desc { color: var(--ink-dim); font-size: 14px; margin-top: 8px; max-width: 60ch; }
.event-card__cta {
  border: 1.5px solid rgba(41,168,203,.5); border-radius: 999px;
  padding: 10px 24px; font-size: 13px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  transition: background .25s, color .25s;
}
.event-card__cta:hover { background: var(--accent); color: #04141b; }
.events__empty, .gallery__empty {
  color: var(--ink-dim); font-size: clamp(16px, 2vw, 19px);
  border: 1px dashed rgba(41,168,203,.3); border-radius: 18px;
  padding: 46px 26px; text-align: center;
}

/* ---------- Albums ---------- */
.albums__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.album-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(41,168,203,.14);
  padding: 0; background: var(--panel);
  cursor: pointer; text-align: left;
  font-family: inherit;
  transition: transform .35s, border-color .35s, box-shadow .35s;
}
.album-card:hover {
  transform: translateY(-5px);
  border-color: rgba(67,205,242,.55);
  box-shadow: 0 16px 44px rgba(41,168,203,.14);
}
.album-card__cover {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.9);
  transition: transform .5s ease, filter .5s ease;
}
.album-card:hover .album-card__cover { transform: scale(1.06); filter: saturate(1.15); }
.album-card__shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(3,6,8,.88) 0%, rgba(3,6,8,.15) 45%, transparent 70%);
}
.album-card__info {
  position: absolute; left: 18px; right: 18px; bottom: 14px;
  display: flex; flex-direction: column; gap: 2px;
}
.album-card__name {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.album-card__count {
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-bright);
}

/* ---------- Album view (fullscreen) ---------- */
.album-view[hidden] { display: none; }
.album-view {
  position: fixed; inset: 0; z-index: 93;
  background: rgba(4, 8, 11, .98);
  overflow-y: auto;
  padding: 0 clamp(16px, 4vw, 48px) 60px;
}
.album-view__head {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; gap: 16px;
  padding: 18px 0;
  background: linear-gradient(to bottom, rgba(4,8,11,.98) 70%, transparent);
}
.album-view__back {
  background: none;
  border: 1.5px solid rgba(41,168,203,.5);
  color: var(--ink);
  width: 44px; height: 44px; border-radius: 50%;
  font-size: 22px; line-height: 1; cursor: pointer;
  transition: background .25s, color .25s;
}
.album-view__back:hover { background: var(--accent); color: #04141b; }
.album-view__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(20px, 3.4vw, 34px);
  text-transform: uppercase; letter-spacing: .04em;
  flex: 1; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.album-view__count { color: var(--ink-dim); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.album-view__grid {
  columns: 3; column-gap: 16px;
  max-width: 1400px; margin: 10px auto 0;
}
.gallery__item {
  margin-bottom: 16px; border-radius: 14px; overflow: hidden;
  position: relative; cursor: zoom-in;
  border: 1px solid rgba(41,168,203,.1);
  break-inside: avoid;
}
.gallery__item img {
  width: 100%; transition: transform .5s ease, filter .5s ease;
  filter: saturate(.9);
}
.gallery__item:hover img { transform: scale(1.05); filter: saturate(1.15); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,9,12,.5), transparent 45%);
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.gallery__item:hover::after { opacity: 1; }

/* ---------- Lightbox ---------- */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(3,6,8,.94);
  display: flex; align-items: center; justify-content: center;
  padding: 4vw;
}
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 10px; box-shadow: 0 20px 80px rgba(0,0,0,.6); }
.lightbox__close {
  position: absolute; top: 18px; right: 26px;
  background: none; border: none; color: var(--ink);
  font-size: 44px; cursor: pointer; line-height: 1;
  transition: color .25s, transform .25s;
}
.lightbox__close:hover { color: var(--accent-bright); transform: rotate(90deg); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(13, 22, 29, .75);
  border: 1px solid rgba(41,168,203,.35);
  color: var(--ink);
  width: 52px; height: 52px; border-radius: 50%;
  font-size: 30px; line-height: 1; cursor: pointer;
  transition: background .25s, color .25s;
  z-index: 1;
}
.lightbox__nav:hover { background: var(--accent); color: #04141b; }
.lightbox__nav--prev { left: clamp(10px, 3vw, 34px); }
.lightbox__nav--next { right: clamp(10px, 3vw, 34px); }

/* ---------- Socials ---------- */
.socials__list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.social {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto;
  column-gap: 16px; align-items: center;
  background: var(--panel);
  border: 1px solid rgba(41,168,203,.14);
  border-radius: 18px;
  padding: 24px 26px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.social:hover {
  transform: translateY(-5px);
  border-color: var(--brand, var(--accent));
  box-shadow: 0 12px 36px rgba(0,0,0,.35);
}
.social svg {
  width: 34px; height: 34px; fill: var(--ink-dim); grid-row: span 2;
  transition: fill .3s, transform .3s;
}
.social:hover svg { fill: var(--brand, var(--accent)); transform: scale(1.12); }
.social__handle { font-weight: 600; font-size: 16px; }
.social__name { color: var(--ink-dim); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Booking ---------- */
.booking {
  position: relative;
  padding: clamp(90px, 14vw, 170px) 20px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 70% at 50% 110%, rgba(41,168,203,.22), transparent),
    var(--bg-2);
  border-top: 1px solid rgba(41,168,203,.12);
}
.booking__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(36px, 7vw, 84px);
  text-transform: uppercase; line-height: 1.05; margin-bottom: 14px;
}
.booking__title .word { display: inline-block; overflow: hidden; vertical-align: top; }
.booking__title .word > span { display: inline-block; }
.booking__sub { color: var(--ink-dim); letter-spacing: .14em; text-transform: uppercase; font-size: clamp(12px, 1.6vw, 15px); margin-bottom: 40px; }

/* ---------- Footer ---------- */
.footer {
  padding: 60px 20px 40px; text-align: center;
  border-top: 1px solid rgba(41,168,203,.12);
}
.footer__logo { height: 44px; width: auto; margin: 0 auto 18px; opacity: .9; }
.footer__motto { color: var(--accent); font-size: 14px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 10px; }
.footer__copy { color: var(--ink-dim); font-size: 13px; }

/* ---------- Reveal helpers (GSAP sets final states) ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); }
[data-hero-fade] { opacity: 0; }
.no-js [data-reveal], .no-js [data-hero-fade] { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .socials__list { grid-template-columns: repeat(2, 1fr); }
  .albums__grid { grid-template-columns: repeat(2, 1fr); }
  .album-view__grid { columns: 2; }
}

@media (max-width: 640px) {
  /* backdrop-filter on .nav would make it the containing block for the
     fixed-position menu overlay, so it comes off on mobile */
  .nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(5, 9, 12, .96);
  }
  .nav__links {
    position: fixed; inset: 0; z-index: 82;
    background: rgba(5,9,12,.97);
    backdrop-filter: blur(18px);
    flex-direction: column; justify-content: center; gap: 34px;
    transform: translateY(-100%);
    visibility: hidden; /* also hides overflow leak when .nav's own transform re-anchors this overlay */
    transition: transform .45s cubic-bezier(.65,0,.35,1), visibility 0s .45s;
    display: flex;
  }
  .nav__links.is-open {
    transform: translateY(0);
    visibility: visible;
    transition: transform .45s cubic-bezier(.65,0,.35,1);
  }
  .nav__links a { font-size: 20px; }
  .nav__burger { display: block; }

  .socials__list { grid-template-columns: 1fr; }
  .albums__grid { grid-template-columns: 1fr; gap: 14px; }
  .album-view__grid { columns: 2; column-gap: 10px; }
  .gallery__item { margin-bottom: 10px; }
  .lightbox__nav { width: 42px; height: 42px; font-size: 24px; }

  .event-card { grid-template-columns: auto 1fr; }
  .event-card__cta { grid-column: 1 / -1; justify-self: start; }
  .event-card--flyer { grid-template-columns: auto 1fr; }
  .event-card__flyerimg {
    grid-column: 1 / -1;
    width: 100%; height: auto; max-height: 340px;
  }

  .hero__actions .btn { width: min(320px, 86vw); text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain, .hero__scroll-dot, .preloader__line { animation: none; }
}
