/* Fuusio Fest 2026 — recreated from the Claude Design handoff */
:root {
  --accent: #e8309b;
  --orange: #ffb067;
  --violet: #6d0de6;
  --cream: #ffecda;
  --bg: #11002c;
  --panel: #290066;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: Poppins, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cream); text-decoration: none; }
a:hover { color: var(--accent); }

.page { display: flex; flex-direction: column; min-height: 100vh; }

/* ------------------------------------------------------------- hero */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 0 210px;
  /* Pull the day nav up over the hero fade. The negative margin must live
     here, NOT on .day-nav — WebKit breaks position:sticky when the sticky
     element itself has a negative margin. */
  margin-bottom: -86px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}
.hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #11002c 0%, rgba(17,0,44,0.9) 20%, rgba(17,0,44,0.45) 55%, rgba(17,0,44,0.05) 100%);
}
.hero-meta {
  position: relative;
  margin: 0;
  padding: 0 18px;
  text-align: center;
  font-size: clamp(11px, 3.2vw, 14px);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cream);
  white-space: nowrap;
}
.hero-title {
  position: relative;
  margin: 4px 0 24px;
  font-family: 'Erica One';
  font-weight: 400;
  font-size: clamp(48px, 13vw, 130px);
  line-height: 1.05;
  color: var(--orange);
  white-space: nowrap;
  text-align: center;
  text-shadow: -0.045em 0.035em 0 #e8309b, 0.045em 0.045em 0 #6d0de6;
}
.hero-intro {
  position: relative;
  margin: 0 auto;
  padding: 0 26px;
  max-width: 640px;
  box-sizing: border-box;
  text-align: left;
  font-size: 18px;
  line-height: 1.6;
  color: var(--cream);
  text-wrap: pretty;
}
@media (min-width: 900px) {
  .hero-intro { font-size: 21px; max-width: 700px; }
}

/* -------------------------------------------------------------- nav */
.day-nav {
  position: -webkit-sticky; /* older iOS Safari */
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  gap: clamp(10px, 3vw, 24px);
  padding: 16px 12px;
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.day-nav.is-stuck {
  background: #000;
  box-shadow: 0 4px 18px rgba(0,0,0,0.5);
}
.day-nav a {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  background: var(--panel);
  color: var(--cream);
  padding: 11px 18px;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

/* ------------------------------------------------------------- main */
.main {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.day-section {
  scroll-margin-top: 70px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.day-section:first-child { margin-top: 48px; }

.day-head { display: flex; flex-direction: column; gap: 12px; }
.day-head h2 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(26px, 6vw, 42px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-align: center;
}
.day-desc {
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.6;
  color: var(--cream);
  max-width: 600px;
  text-align: center;
}
.day-desc strong { color: var(--orange); }

.day-tags-title {
  margin: 8px 0 -4px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  color: var(--cream);
}
.day-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
  justify-content: center;
}
.day-tags span,
.day-tags a {
  border: 3px solid var(--tag, var(--cream));
  color: var(--tag, var(--cream));
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}
.day-tags a:hover {
  background: var(--tag, var(--cream));
  color: var(--bg);
}

/* ------------------------------------------------------------- grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 22px 18px;
}
@media (min-width: 900px) {
  .cards-grid { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--cream);
  padding: 10px 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card-media { position: relative; display: block; }
a.card-media:hover img { opacity: 0.85; }
.card-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.card-slot {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 7px 12px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--cream);
  background: linear-gradient(180deg, rgba(17,0,44,0) 0%, rgba(17,0,44,0.55) 100%);
}
.card-time { margin-left: auto; text-align: right; white-space: nowrap; }
.card-name {
  font-family: 'Erica One';
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0.04em;
  color: #5c0bc2;
  text-align: center;
}
/* Names longer than 30 characters drop to 16px to fit. */
.card-name--long { font-size: 16px; }
.card-genre {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  text-align: left;
  line-height: 1.9; /* baseline-align with the 15px time text */
}
/* Narrow cards can't fit genre + time on one row — show genre on desktop only. */
@media (max-width: 899px) {
  .card-genre { display: none; }
}

.grid-note {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px;
  box-sizing: border-box;
}
.grid-note span {
  font-weight: 800;
  font-size: 21px;
  line-height: 1.75;
  color: var(--accent);
}

/* ---------------------------------------------------------- buttons */
.day-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  padding: 13px 26px;
  border-radius: 999px;
}
.btn-primary:hover { color: #fff; opacity: 0.9; }
.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  padding: 11px 26px;
  border-radius: 999px;
}

/* ------------------------------------------------------------ liput */
.tickets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}
.ticket-card {
  border: 1px solid rgba(255,236,218,0.3);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ticket-card .t-title { font-weight: 800; font-size: 22px; letter-spacing: 0.01em; color: var(--cream); }
.ticket-card .t-price { font-size: 26px; font-weight: 700; color: var(--orange); }
.ticket-card .t-desc  { font-size: 14px; line-height: 1.6; color: var(--cream); }
.ticket-card .t-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ticket-card .t-buy {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 11px 22px;
  border-radius: 999px;
}
.ticket-card .t-buy:hover { color: #fff; opacity: 0.9; }
.ticket-card .t-buy-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 9px 20px;
}
.ticket-card .t-buy-outline:hover { color: var(--accent); opacity: 0.9; }

.member-box {
  background: var(--panel);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.member-box .m-title { font-weight: 800; font-size: 24px; letter-spacing: 0.01em; color: var(--orange); }
.member-box p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--cream); max-width: 640px; }
.member-box p strong { color: var(--orange); }
.member-box .m-join {
  align-self: flex-start;
  border: 2px solid var(--orange);
  color: var(--orange);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 999px;
}

/* ----------------------------------------------------------- footer */
.site-footer {
  margin-top: 80px;
  border-top: 1px solid rgba(255,236,218,0.25);
  padding: 44px 20px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.site-footer .f-name { font-weight: 800; font-size: 22px; letter-spacing: 0.01em; color: var(--orange); }
/* 2px smaller on phones so the name stays on one line */
@media (max-width: 599px) {
  .site-footer .f-name { font-size: 20px; }
}
.site-footer .f-addr { font-size: 14px; color: var(--cream); }
.site-footer .f-links { font-size: 13px; color: rgba(255,236,218,0.7); }
.site-footer .f-links a { text-decoration: underline; }
