/* ============================================================
   ATN ENTERTAINMENT — Nawf Atlanta nightlife
   Look: black surfaces, neon lime→cyan→magenta brand ring,
   Gasoek One display type, Linktree-style transparent buttons.
   ============================================================ */

:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-hero: clamp(3rem, 0.5rem + 7vw, 8rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Surfaces */
  --color-bg: #0b0b0d;
  --color-surface: #131316;
  --color-surface-2: #1a1a1e;
  --color-border: rgba(245, 245, 242, 0.12);
  --color-text: #f5f5f2;
  --color-text-muted: #a3a3ab;

  /* Brand accents (from the ATN neon ring) */
  --color-accent: #c9f24b;        /* lime */
  --color-accent-2: #3ee6ff;     /* cyan */
  --color-accent-3: #ff3df0;     /* magenta */
  --grad: linear-gradient(90deg, #c9f24b, #3ee6ff 38%, #7d5cff 62%, #ff3df0);

  /* Type */
  --font-display: 'Gasoek One', 'Archivo Black', sans-serif;
  --font-body: 'Archivo', 'Helvetica Neue', sans-serif;

  /* Misc */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 0.875rem;
  --radius-full: 9999px;
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
  --content-default: 1060px;
}

.container {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 200;
  background: var(--color-text);
  color: #0b0b0d;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.skip-link:focus {
  top: var(--space-2);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 13, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header.hidden {
  transform: translateY(-100%);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding-block: var(--space-1);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.brand img {
  border-radius: var(--radius-full);
  box-shadow: 0 0 0 2px rgba(245, 245, 242, 0.08);
}
.site-nav {
  display: none;
  margin-inline-start: auto;
  gap: var(--space-2);
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: var(--space-2);
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.site-nav a:hover {
  color: var(--color-text);
}
.header-inner > .btn {
  margin-inline-start: auto;
}
.site-nav + .btn {
  margin-inline-start: 0;
}
@media (min-width: 720px) {
  .site-nav {
    display: flex;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--text-sm);
  text-decoration: none;
  white-space: nowrap;
}
.btn-solid {
  background: var(--color-text);
  color: #0b0b0d;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.btn-solid:hover {
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
.btn-solid:active {
  transform: translateY(0);
}
.btn-outline {
  border: 1px solid rgba(245, 245, 242, 0.4);
  color: var(--color-text);
  background: rgba(245, 245, 242, 0.04);
}
.btn-outline:hover {
  border-color: var(--color-text);
  background: rgba(245, 245, 242, 0.1);
  transform: translateY(-1px);
}
.btn-outline:active {
  transform: translateY(0);
}
.btn-sm {
  padding: var(--space-2) var(--space-5);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: clip;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 10%, transparent 30%, rgba(11, 11, 13, 0.72) 100%),
    linear-gradient(to bottom, rgba(11,11,13,0.55) 0%, rgba(11,11,13,0.35) 45%, var(--color-bg) 100%);
}
.hero-content {
  position: relative;
  text-align: center;
  padding-block: var(--space-24) var(--space-20);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-logo {
  width: clamp(96px, 24vw, 168px);
  height: auto;
  border-radius: var(--radius-full);
  box-shadow:
    0 0 0 2px rgba(245, 245, 242, 0.1),
    0 0 44px rgba(62, 230, 255, 0.18),
    0 18px 60px rgba(0, 0, 0, 0.6);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 8.4vw, 4.6rem);
  overflow-wrap: anywhere;
  letter-spacing: 0.06em;
  margin-top: var(--space-6);
  text-wrap: balance;
}
.hero-tagline {
  margin-top: var(--space-3);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text-muted);
  max-width: 30ch;
}
.hero-hashtag {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-top: var(--space-5);
  color: transparent;
  background: var(--grad);
  background-clip: text;
  -webkit-background-clip: text;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.hero-scroll {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  translate: -50% 0;
  color: var(--color-text-muted);
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Glitch (RGB split) */
.glitch {
  position: relative;
  display: inline-block;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.glitch::before {
  color: var(--color-accent-2);
  clip-path: inset(12% 0 56% 0);
  translate: -2px 0;
  opacity: 0.55;
  animation: glitch-a 3.2s infinite steps(2, end);
}
.glitch::after {
  color: var(--color-accent-3);
  clip-path: inset(58% 0 8% 0);
  translate: 2px 0;
  opacity: 0.55;
  animation: glitch-b 2.7s infinite steps(2, end);
}
@keyframes glitch-a {
  0%, 86%, 100% { transform: none; }
  88% { transform: translate(-4px, -2px); }
  92% { transform: translate(3px, 1px); }
  96% { transform: translate(-2px, 2px); }
}
@keyframes glitch-b {
  0%, 80%, 100% { transform: none; }
  84% { transform: translate(4px, 2px); }
  90% { transform: translate(-3px, -1px); }
  95% { transform: translate(2px, -2px); }
}

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--color-border);
  background: var(--color-surface);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding-block: var(--space-3);
  width: max-content;
  animation: ticker 26s linear infinite;
}
.ticker-track span {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: 0.14em;
  white-space: nowrap;
  color: transparent;
  background: var(--grad);
  background-clip: text;
  -webkit-background-clip: text;
}
.ticker-track .dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--grad);
  flex: none;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(var(--space-12), 6vw, var(--space-24));
}
.section-head {
  margin-bottom: var(--space-10);
  max-width: 640px;
}
.kicker {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: transparent;
  background: var(--grad);
  background-clip: text;
  -webkit-background-clip: text;
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  margin-top: var(--space-2);
  font-weight: 400;
}
.section-sub {
  margin-top: var(--space-3);
  color: var(--color-text-muted);
}
.group-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-lg);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-5);
  padding-left: var(--space-3);
  border-left: none;
}
.group-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: var(--space-2);
  border-radius: var(--radius-full);
  background: var(--grad);
}
.event-grid + .group-title {
  margin-top: var(--space-10);
}

/* ---------- Events ---------- */
.event-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 640px) {
  .event-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.event {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.event-flyer {
  display: block;
  overflow: hidden;
  background: var(--color-surface-2);
}
.event-flyer img {
  width: 100%;
  height: auto;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.event:hover .event-flyer img {
  transform: scale(1.03);
}
.event-body {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "date info" "date action" "date src";
  align-items: center;
  column-gap: var(--space-4);
  row-gap: var(--space-2);
  padding: var(--space-4) var(--space-5) var(--space-4);
}
.event-date {
  grid-area: date;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  background: rgba(245, 245, 242, 0.05);
  border: 1px solid var(--color-border);
}
.event-date .day {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1;
}
.event-date .mon {
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--color-accent);
}
.event-date .wk {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.12em;
}
.event-info {
  grid-area: info;
}
.event-info h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-lg);
  letter-spacing: 0.02em;
}
.event-info p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-top: var(--space-1);
}
.event .btn {
  grid-area: action;
  justify-self: start;
}
.ticket-src {
  grid-area: src;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.ticket-src summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: var(--color-text-muted);
  text-decoration: underline dotted;
  text-underline-offset: 3px;
}
.ticket-src summary::-webkit-details-marker {
  display: none;
}
.ticket-src summary:hover {
  color: var(--color-text);
}
.ticket-url-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-1);
  padding: var(--space-1) var(--space-2);
  background: rgba(245, 245, 242, 0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}
.ticket-url-row .src-url {
  user-select: all;
  -webkit-user-select: all;
  color: var(--color-accent-2);
  overflow-wrap: anywhere;
  font-size: var(--text-xs);
  line-height: 1.4;
}
.copy-link {
  flex: none;
  min-height: 28px;
  padding: 0 var(--space-3);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  font-size: var(--text-xs);
  font-weight: 700;
  cursor: pointer;
}
.copy-link:hover {
  border-color: var(--color-text);
}
.copy-link.copied {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* ---------- Banner ---------- */
.banner-section {
  overflow: hidden;
}
.banner-section img {
  width: 100%;
  height: auto;
  border-block: 1px solid var(--color-border);
}

/* ---------- Promo teams ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
  gap: var(--space-4);
}
.team-grid a {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--color-text);
  min-height: 44px;
  overflow: hidden;
}
.team-grid a:hover {
  border-color: rgba(201, 242, 75, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.team-grid a:active {
  transform: translateY(0);
}
.team-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.team-grid h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-base);
  padding-inline: var(--space-2);
}
.team-grid p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  padding-inline: var(--space-2);
}
.ig-cta {
  margin-top: var(--space-10);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(201,242,75,.08), rgba(62,230,255,.06) 50%, rgba(255,61,240,.08));
  border: 1px solid var(--color-border);
}
.ig-cta p {
  font-weight: 600;
  max-width: 40ch;
}

/* ---------- Past events wall ---------- */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
  gap: var(--space-4);
}
.archive-grid a {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 600;
  min-height: 44px;
  background: var(--color-surface);
  overflow: hidden;
}
.archive-grid a:hover {
  color: var(--color-text);
  border-color: rgba(62, 230, 255, 0.5);
  transform: translateY(-2px);
}
.archive-grid a:active {
  transform: translateY(0);
}
.archive-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.archive-grid span {
  padding-inline: var(--space-2);
  padding-block: var(--space-1);
}

/* ---------- Crew ---------- */
.crew-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 640px) {
  .crew-list {
    grid-template-columns: 1fr 1fr;
  }
}
.crew-list a {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--color-text);
  min-height: 44px;
  background: var(--color-surface);
}
.crew-list a:hover {
  border-color: rgba(255, 61, 240, 0.5);
  transform: translateY(-2px);
}
.crew-list a:active {
  transform: translateY(0);
}
.crew-list img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  object-fit: cover;
  flex: none;
}
.crew-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-width: 0;
}
.crew-role {
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: transparent;
  background: var(--grad);
  background-clip: text;
  -webkit-background-clip: text;
}
.crew-list h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-lg);
  overflow-wrap: anywhere;
}
.crew-ceo {
  grid-column: 1 / -1;
}
@media (max-width: 520px) {
  .crew-list a {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
  padding-block: var(--space-12);
  text-align: center;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}
.footer-logo {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
}
.footer-hashtag {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: transparent;
  background: var(--grad);
  background-clip: text;
  -webkit-background-clip: text;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-5);
}
.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-links a:hover {
  color: var(--color-text);
}
.footer-note {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.copyright {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  opacity: 0.7;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
