/* Festival Island landing page
   Palette: Sunset Pink #ff5ec7, Coral Glow #ff8a6b, Peach Light #ffc8a0, Orchid Violet #a66bff, Warm Cream #fff1e6
*/
:root {
  --page-bg: #100a2d;
  --page-bg-2: #201052;
  --panel: rgba(255, 241, 230, .09);
  --panel-strong: rgba(255, 241, 230, .14);
  --line: rgba(255, 241, 230, .22);
  --cream: #fff1e6;
  --muted: rgba(255, 241, 230, .72);
  --soft: rgba(255, 241, 230, .54);
  --pink: #ff5ec7;
  --coral: #ff8a6b;
  --peach: #ffc8a0;
  --violet: #a66bff;
  --shadow: 0 24px 90px rgba(9, 5, 31, .45);
  --radius: 28px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 94, 199, .20), transparent 34rem),
    radial-gradient(circle at 92% 20%, rgba(166, 107, 255, .18), transparent 30rem),
    linear-gradient(180deg, #311456 0%, #7d2e70 28%, #201052 66%, #0b0c2d 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a { color: inherit; }

img { max-width: 100%; }

/* Custom scrollbar — matches Festival Island palette */
:root {
  --sb-track: rgba(16, 10, 45, .55);
  --sb-thumb: linear-gradient(180deg, #ff5ec7 0%, #ff8a6b 100%);
  --sb-thumb-hover: linear-gradient(180deg, #ff7ad1 0%, #ffa07e 100%);
}

/* Firefox / standards */
html {
  scrollbar-width: thin;
  scrollbar-color: #ff5ec7 rgba(16, 10, 45, .35);
}

/* WebKit (Chrome / Edge / Safari / new Opera) */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--sb-track);
  border-left: 1px solid rgba(255, 241, 230, .06);
}

::-webkit-scrollbar-thumb {
  background: var(--sb-thumb);
  border: 3px solid transparent;
  background-clip: padding-box;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 241, 230, .18);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--sb-thumb-hover);
  background-clip: padding-box;
  box-shadow:
    inset 0 0 0 1px rgba(255, 241, 230, .28),
    0 0 12px rgba(255, 94, 199, .55);
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, #ff9fdb 0%, #ffb796 100%);
  background-clip: padding-box;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

/* Thinner bar on small screens */
@media (max-width: 575.98px) {
  ::-webkit-scrollbar { width: 8px; height: 8px; }
  ::-webkit-scrollbar-thumb { border-width: 2px; }
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("../img/ambient-bg.jpg") center top / cover fixed;
}

.site-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 241, 230, .035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 241, 230, .03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 72%);
}

.topbar {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 50;
  padding: 1rem 0;
  transition: background .2s ease, border-color .2s ease, padding .2s ease;
}

.topbar.scrolled {
  padding: .55rem 0;
  background: rgba(16, 10, 45, .76);
  border-bottom: 1px solid rgba(255, 241, 230, .12);
  backdrop-filter: blur(16px);
}

.nav-panel {
  border: 1px solid rgba(255, 241, 230, .20);
  border-radius: 24px;
  background: rgba(16, 10, 45, .46);
  box-shadow: 0 18px 60px rgba(9, 5, 31, .24);
  backdrop-filter: blur(16px);
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.dtune-logo {
  height: 32px;
  width: auto;
  filter: saturate(1.08) brightness(.86) contrast(1.12);
}


.nav-link-clean {
  color: rgba(255, 241, 230, .76);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .6rem .72rem;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: .18s ease;
}

.nav-link-clean:hover {
  color: var(--cream);
  border-color: rgba(255, 241, 230, .18);
  background: rgba(255, 241, 230, .08);
}

.btn-glow,
.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 48px;
  padding: .82rem 1.12rem;
  border-radius: 16px;
  font-size: .84rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: .2s ease;
}

.btn-glow {
  color: var(--cream);
  border: 1px solid rgba(255, 241, 230, .35);
  background: linear-gradient(135deg, rgba(255, 94, 199, .92), rgba(255, 138, 107, .76));
  box-shadow: 0 0 24px rgba(255, 94, 199, .42), 0 12px 34px rgba(255, 94, 199, .18);
}

.btn-glow:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(255, 94, 199, .62), 0 18px 48px rgba(255, 94, 199, .25);
}

.btn-line {
  color: var(--cream);
  border: 1px solid rgba(255, 241, 230, .34);
  background: rgba(255, 241, 230, .08);
}

.btn-line:hover {
  color: var(--cream);
  transform: translateY(-2px);
  background: rgba(255, 241, 230, .13);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5.5rem;
  background:
    linear-gradient(180deg, rgba(5, 6, 34, .12), rgba(9, 8, 42, .04) 42%, rgba(5, 5, 24, .42) 100%),
    url("../img/hero-bg-night.jpg") center / cover;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 36%, rgba(255, 94, 199, .07), transparent 26rem),
    radial-gradient(ellipse at 50% 50%, transparent 0, rgba(4, 4, 24, .20) 76%),
    linear-gradient(90deg, rgba(5, 5, 24, .14), transparent 42%, rgba(5, 5, 24, .18));
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  /*height: 220px;*/
  background: linear-gradient(180deg, transparent, #7d2e70 56%, #7d2e70);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-h1 {
  margin: 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
}

.hero-logo {
  display: block;
  width: min(820px, 94vw);
  margin: 0 auto;
  filter:
    saturate(1.15)
    brightness(1.08)
    contrast(1.04)
    drop-shadow(0 0 20px rgba(255, 94, 199, .58))
    drop-shadow(0 0 46px rgba(255, 94, 199, .24))
    drop-shadow(0 10px 28px rgba(3, 3, 18, .38));
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-top: 1rem;
  margin-bottom: 0;
  padding: .58rem .86rem;
  border: 1px solid rgba(255, 241, 230, .24);
  border-radius: 999px;
  color: var(--peach);
  background: rgba(255, 241, 230, .07);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 650px;
  margin: 1rem auto 0;
  color: rgba(255, 241, 230, .92);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.75;
  text-shadow:
    0 2px 14px rgba(0,0,0,.72),
    0 0 24px rgba(9, 5, 31, .58);
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .7rem;
  max-width: min(920px, calc(100vw - 2rem));
  margin: 1.45rem auto 0;
  padding: .7rem 1.05rem;
  border: 1px solid rgba(255, 241, 230, .22);
  border-radius: 999px;
  color: rgba(255, 241, 230, .78);
  background: rgba(12, 8, 42, .58);
  box-shadow: 0 16px 44px rgba(3, 3, 18, .22), inset 0 1px 0 rgba(255, 241, 230, .08);
  backdrop-filter: blur(14px);
}

.hero-status-label,
.hero-status-item {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-status-label {
  color: var(--peach);
}

.hero-status-item i {
  color: #98c8ff;
  font-size: .92rem;
}

.hero-status-item .bi-rss {
  color: var(--coral);
}

.hero-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--peach);
  box-shadow: 0 0 10px rgba(255, 200, 160, .58);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  z-index: 4;
  transform: translateX(-50%);
  color: var(--cream);
  font-size: 1.7rem;
  opacity: .86;
  animation: bob 1.8s ease-in-out infinite;
}

@keyframes bob {
  0%,100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

.section-space {
  padding: 6rem 0;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 2.6rem;
  text-align: center;
}

.eyebrow {
  color: var(--peach);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.section-title {
  margin: .7rem 0 0;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 4vw, 4.8rem);
  line-height: .98;
  font-weight: 500;
  letter-spacing: -.04em;
  text-shadow: 0 0 24px rgba(255, 94, 199, .14);
}

.section-lead {
  max-width: 700px;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.78;
}

.panel {
  height: 100%;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 241, 230, .12), rgba(255, 241, 230, .055));
  box-shadow: 0 18px 58px rgba(9, 5, 31, .18);
  backdrop-filter: blur(14px);
}

.panel:hover {
  border-color: rgba(255, 94, 199, .48);
  box-shadow: 0 20px 70px rgba(255, 94, 199, .12);
}

.icon-box {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 241, 230, .22);
  border-radius: 22px;
  color: var(--peach);
  background: radial-gradient(circle, rgba(255, 94, 199, .26), rgba(255, 241, 230, .06));
  font-size: 1.9rem;
  box-shadow: 0 0 28px rgba(255, 94, 199, .14);
}

.card-title {
  color: var(--cream);
  font-size: .92rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.card-copy {
  color: var(--muted);
  line-height: 1.72;
}

.cover-card {
  border: 1px solid rgba(255, 241, 230, .24);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(9, 5, 31, .24);
}

.ticket-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 241, 230, .24);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(16, 10, 45, .82), rgba(16, 10, 45, .72)),
    url("../img/ticket-bg.jpg") center / cover;
  box-shadow: var(--shadow);
}

.ticket-panel::before,
.ticket-panel::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #201052;
  border: 1px solid rgba(255, 241, 230, .18);
  transform: translateY(-50%);
}

.ticket-panel::before { left: -28px; }
.ticket-panel::after { right: -28px; }

/* ── Triple CTA buttons (YouTube / Bandcamp / Ko-fi) ── */

.btn-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 241, 230, .22);
  border-radius: 18px;
  color: var(--cream);
  background: rgba(16, 10, 45, .55);
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: .2s ease;
}

.btn-cta:hover {
  color: var(--cream);
  transform: translateY(-2px);
  border-color: rgba(255, 241, 230, .42);
}

.btn-cta-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 241, 230, .08);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.btn-cta-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.btn-cta-title {
  font-size: .92rem;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.btn-cta-sub {
  margin-top: .15rem;
  color: rgba(255, 241, 230, .64);
  font-size: .78rem;
  letter-spacing: .02em;
}

.btn-cta-arrow {
  font-size: 1.1rem;
  color: rgba(255, 241, 230, .5);
  transition: transform .2s ease, color .2s ease;
  flex-shrink: 0;
}

.btn-cta:hover .btn-cta-arrow {
  color: var(--cream);
  transform: translate(4px, 0);
}

/* YouTube — red */
.btn-cta--yt .btn-cta-icon {
  color: #fff;
  background: #ff0033;
  box-shadow: 0 0 18px rgba(255, 0, 51, .45);
}
.btn-cta--yt:hover {
  border-color: rgba(255, 0, 51, .5);
  box-shadow: 0 0 24px rgba(255, 0, 51, .22);
}

/* Bandcamp — teal/cyan brand */
.btn-cta--bc .btn-cta-icon {
  color: #fff;
  background: #1da0c3;
  box-shadow: 0 0 18px rgba(29, 160, 195, .45);
}
.btn-cta--bc:hover {
  border-color: rgba(29, 160, 195, .55);
  box-shadow: 0 0 24px rgba(29, 160, 195, .22);
}

/* Ko-fi — coral/pink (matches palette) */
.btn-cta--kofi .btn-cta-icon {
  color: #fff;
  background: linear-gradient(135deg, var(--coral), var(--pink));
  box-shadow: 0 0 18px rgba(255, 94, 199, .45);
}
.btn-cta--kofi:hover {
  border-color: rgba(255, 94, 199, .55);
  box-shadow: 0 0 24px rgba(255, 94, 199, .22);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: .48rem .75rem;
  border: 1px solid rgba(255, 241, 230, .18);
  border-radius: 999px;
  color: rgba(255, 241, 230, .78);
  background: rgba(255, 241, 230, .07);
  font-size: .8rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ── YouTube CTA button ── */

.btn-yt {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1.6rem;
  border: 2px solid #ff0000;
  border-radius: 14px;
  color: var(--cream);
  background: rgba(255, 0, 0, .12);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.btn-yt i { font-size: 1.4rem; color: #ff4444; }

.btn-yt:hover {
  color: var(--cream);
  background: rgba(255, 0, 0, .26);
  transform: translateY(-2px);
}

/* ── Anthem Player ── */

.anthem-player {
  height: 100%;
  padding: 1.8rem 2rem;
  border: 1px solid rgba(255, 241, 230, .22);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255, 94, 199, .18), rgba(166, 107, 255, .12), rgba(255, 138, 107, .10));
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.anthem-title {
  margin: 0;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -.025em;
  font-weight: 500;
}

.anthem-sub {
  margin: .4rem 0 0;
  color: var(--peach);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.anthem-waveform {
  position: relative;
  height: 92px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding-top: 8px;
}

/* Centre rail — subtle floor line for the EQ to "sit" on */
.anthem-waveform::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg,
              transparent,
              rgba(255, 241, 230, .14) 18%,
              rgba(255, 94, 199, .35) 50%,
              rgba(255, 241, 230, .14) 82%,
              transparent);
  pointer-events: none;
}

.anthem-waveform span {
  --peak: 0px;
  position: relative;
  display: block;
  flex: 1;
  min-width: 3px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg,
              #fff 0%,
              var(--peach) 22%,
              var(--pink) 78%,
              var(--violet) 100%);
  opacity: .42;
  box-shadow: inset 0 -8px 14px rgba(255, 94, 199, .35);
  transition: opacity .2s;
}

.anthem-waveform span.played {
  opacity: 1;
  box-shadow:
    inset 0 -8px 14px rgba(255, 94, 199, .45),
    0 0 10px rgba(255, 94, 199, .45),
    0 0 22px rgba(255, 94, 199, .22);
}

/* Peak-hold cap — small bright line that rides the recent maximum and
   slowly falls back down toward the bar. Classic VU-meter touch. */
.anthem-waveform span::after {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: calc(var(--peak) - 2px);
  height: 2px;
  border-radius: 2px;
  background: var(--cream);
  box-shadow: 0 0 8px rgba(255, 241, 230, .8);
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}

.anthem-waveform span.played::after { opacity: .9; }

.anthem-progress-wrap {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.anthem-time {
  color: var(--soft);
  font-size: .8rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  min-width: 2.8ch;
}

.anthem-seek,
.anthem-vol {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 241, 230, .22);
  outline: none;
  cursor: pointer;
}

.anthem-seek { flex: 1; }

.anthem-seek::-webkit-slider-thumb,
.anthem-vol::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--peach), var(--pink));
  box-shadow: 0 0 10px rgba(255, 94, 199, .6);
  cursor: pointer;
}

.anthem-controls {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.anthem-btn-play {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: none;
  border-radius: 50%;
  color: #180a31;
  background: linear-gradient(135deg, var(--peach), var(--pink));
  box-shadow: 0 0 28px rgba(255, 94, 199, .5);
  font-size: 1.6rem;
  cursor: pointer;
  transition: .2s ease;
  flex-shrink: 0;
}

.anthem-btn-play:hover {
  transform: scale(1.07);
  box-shadow: 0 0 40px rgba(255, 94, 199, .72);
}

.anthem-vol-wrap {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex: 1;
}

.anthem-vol-icon { color: var(--soft); }

.anthem-vol { flex: 1; max-width: 120px; }

.anthem-btn-dl {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 241, 230, .28);
  border-radius: 50%;
  color: var(--cream);
  background: rgba(255, 241, 230, .08);
  font-size: 1rem;
  text-decoration: none;
  transition: .2s ease;
  flex-shrink: 0;
}

.anthem-btn-dl:hover {
  color: var(--peach);
  border-color: rgba(255, 200, 160, .5);
  background: rgba(255, 200, 160, .12);
  transform: translateY(-2px);
}

.anthem-hint {
  margin: 0;
  color: rgba(255, 241, 230, .4);
  font-size: .76rem;
  line-height: 1.6;
}

.anthem-hint code {
  background: rgba(255, 241, 230, .08);
  padding: .1em .4em;
  border-radius: 6px;
  color: var(--peach);
  font-family: monospace;
}

/* ── Festival Map ── */

.map-wrap {
  border: 1px solid rgba(255, 241, 230, .2);
  border-radius: var(--radius);
  background: rgba(255, 241, 230, .05);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.map-img-wrap {
  line-height: 0;
}

.map-img {
  width: 100%;
  display: block;
  border-radius: var(--radius) var(--radius) 0 0;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.6rem;
  padding: 1rem 1.4rem;
  border-top: 1px solid rgba(255, 241, 230, .12);
  background: rgba(255, 241, 230, .03);
}

.map-legend-item {
  display: flex;
  align-items: center;
  gap: .48rem;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
}

.map-legend-item i {
  color: var(--peach);
  font-size: .9rem;
}

@media (max-width: 575.98px) {
  .anthem-player { padding: 1.2rem; }
}

/* ── News ── */

.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 241, 230, .12), rgba(255, 241, 230, .055));
  box-shadow: 0 18px 58px rgba(9, 5, 31, .18);
  backdrop-filter: blur(14px);
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 94, 199, .48);
  box-shadow: 0 28px 80px rgba(255, 94, 199, .18);
}

.news-card-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 94, 199, .35), rgba(166, 107, 255, .25));
}

.news-card-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(16, 10, 45, .55));
  pointer-events: none;
}

.news-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.news-card:hover .news-card-img { transform: scale(1.04); }

.news-card-img-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 241, 230, .55);
  font-size: 2.6rem;
}

.news-card-body {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding: 1.4rem 1.5rem 1.5rem;
  flex: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: .8rem;
  flex-wrap: wrap;
}

.news-category {
  display: inline-flex;
  padding: .32rem .7rem;
  border: 1px solid rgba(255, 200, 160, .35);
  border-radius: 999px;
  color: var(--peach);
  background: rgba(255, 200, 160, .1);
  font-size: .7rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.news-date {
  color: var(--soft);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.news-card-title {
  margin: .15rem 0 0;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: -.015em;
}

.news-card-excerpt {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.65;
}

.news-card-link {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--peach);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
}

.news-card-link i { transition: transform .2s ease; }
.news-card:hover .news-card-link i { transform: translateX(4px); }

/* News modal */

.news-modal-content {
  position: relative;
  border: 1px solid rgba(255, 241, 230, .22);
  border-radius: 26px;
  color: var(--cream);
  background:
    linear-gradient(180deg, rgba(32, 16, 82, .92), rgba(16, 10, 45, .96));
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.news-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 241, 230, .28);
  border-radius: 50%;
  color: var(--cream);
  background: rgba(16, 10, 45, .68);
  font-size: .9rem;
  cursor: pointer;
  transition: .2s ease;
}

.news-modal-close:hover {
  color: var(--peach);
  border-color: rgba(255, 200, 160, .55);
  background: rgba(255, 200, 160, .12);
}

.news-modal-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(255, 94, 199, .35), rgba(166, 107, 255, .25));
  overflow: hidden;
}

.news-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-modal-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(16, 10, 45, .9));
  pointer-events: none;
}

.news-modal-body {
  padding: 1.6rem 1.8rem 2rem;
  overflow-y: auto;
  flex: 1 1 auto;
}

.news-modal-title {
  margin: .8rem 0 1.2rem;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -.02em;
  font-weight: 500;
}

.news-modal-text {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.78;
}

.news-modal-text p { margin: 0 0 1rem; }
.news-modal-text p:last-child { margin-bottom: 0; }
.news-modal-text a { color: var(--peach); }

@media (max-width: 575.98px) {
  .news-modal-body { padding: 1.2rem 1.2rem 1.6rem; }
  .news-card-body { padding: 1.1rem 1.2rem 1.3rem; }
  .news-card-title { font-size: 1.25rem; }
}

/* Lightbox */

.news-modal-img-wrap {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(9, 5, 31, .92);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  display: block;
  max-width: min(92vw, 1400px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 40px 120px rgba(9, 5, 31, .7);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), opacity .25s ease;
  transform: scale(.94);
  opacity: 0;
}

.lightbox.is-open .lightbox-img {
  transform: scale(1);
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 241, 230, .28);
  border-radius: 50%;
  color: var(--cream);
  background: rgba(16, 10, 45, .68);
  font-size: 1rem;
  cursor: pointer;
  transition: .2s ease;
}

.lightbox-close:hover {
  color: var(--peach);
  border-color: rgba(255, 200, 160, .55);
  background: rgba(255, 200, 160, .12);
}

.footer {
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 241, 230, .12);
  background: rgba(9, 5, 31, .24);
}

.footer-link {
  color: rgba(255, 241, 230, .64);
  text-decoration: none;
  font-size: .9rem;
}

.footer-link:hover { color: var(--cream); }

@media (max-width: 991.98px) {
  .topbar {
    position: absolute;
  }

  .hero {
    min-height: 860px;
    padding-top: 7rem;
  }

  .section-space {
    padding: 4.8rem 0;
  }
}

@media (max-width: 575.98px) {
  .nav-panel { border-radius: 18px; }
  .hero { min-height: 760px; }
  .btn-glow, .btn-line { width: 100%; }
  .hero-status {
    gap: .55rem .65rem;
    border-radius: 18px;
    padding: .75rem .85rem;
  }
  .hero-status-label,
  .hero-status-item {
    font-size: .66rem;
    letter-spacing: .09em;
  }
}

/* Mobile hamburger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 241, 230, .24);
  border-radius: 12px;
  background: rgba(255, 241, 230, .07);
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(255, 241, 230, .13);
  border-color: rgba(255, 241, 230, .38);
  outline: none;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--cream);
  transition: transform .25s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: grid;
  gap: .25rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 241, 230, .14);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav-link {
  display: block;
  padding: .85rem 1rem;
  border-radius: 14px;
  color: rgba(255, 241, 230, .82);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
  color: var(--cream);
  background: rgba(255, 241, 230, .09);
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle-bar { transition: none; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .85s cubic-bezier(.2,.65,.25,1), transform .85s cubic-bezier(.2,.65,.25,1);
  will-change: opacity, transform;
}

.reveal.is-revealed {
  opacity: 1;
  transform: none;
}

/* Tilt cards manage their own transform via CSS vars; don't let the
   reveal reset clobber them once revealed. */
.reveal.is-revealed.tilt {
  transform: perspective(900px)
             rotateX(var(--tilt-x))
             rotateY(var(--tilt-y))
             translateY(var(--tilt-lift));
}

/* Stagger cards inside the same row */
.row > [class*="col-"]:nth-child(1) .reveal { transition-delay: 0s; }
.row > [class*="col-"]:nth-child(2) .reveal { transition-delay: .08s; }
.row > [class*="col-"]:nth-child(3) .reveal { transition-delay: .16s; }
.row > [class*="col-"]:nth-child(4) .reveal { transition-delay: .24s; }
.row > [class*="col-"]:nth-child(5) .reveal { transition-delay: .32s; }
.row > [class*="col-"]:nth-child(6) .reveal { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Hero cursor glow + parallax orbs */
.hero-cursor-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle 190px at var(--mx, 50%) var(--my, 50%),
              rgba(255, 94, 199, .18),
              rgba(166, 107, 255, .10) 44%,
              transparent 74%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .4s ease;
}

.hero-orb {
  display: none;
}

.hero-orb-1 {
  width: 360px; height: 360px;
  top: 14%; left: 10%;
  background: radial-gradient(circle, rgba(255, 94, 199, .78) 0%, transparent 70%);
  animation: orb-drift 18s ease-in-out infinite;
}

.hero-orb-2 {
  width: 280px; height: 280px;
  bottom: 18%; right: 12%;
  background: radial-gradient(circle, rgba(166, 107, 255, .70) 0%, transparent 70%);
  animation: orb-drift 22s ease-in-out -8s infinite;
}

.hero-orb-3 {
  width: 240px; height: 240px;
  top: 58%; left: 54%;
  background: radial-gradient(circle, rgba(255, 138, 107, .62) 0%, transparent 70%);
  animation: orb-drift 26s ease-in-out -14s infinite;
}

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0); }
  33%      { transform: translate(36px, -28px); }
  66%      { transform: translate(-22px, 18px); }
}

@media (prefers-reduced-motion: reduce) {
  /* Keep orb-drift active — it's a slow ambient background animation,
     not a triggered/jarring motion. Hide the mouse-tied glow only. */
  .hero-cursor-glow { display: none; }
}

@media (hover: none) {
  .hero-cursor-glow { display: none; }
}

/* Sticky mini-player */
.mini-player {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: .85rem;
  width: min(360px, calc(100vw - 2rem));
  padding: .65rem .75rem;
  border: 1px solid rgba(255, 241, 230, .22);
  border-radius: 20px;
  background: rgba(16, 10, 45, .82);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(9, 5, 31, .55), 0 0 32px rgba(255, 94, 199, .18);
  transform: translateY(140%);
  opacity: 0;
  transition: transform .45s cubic-bezier(.2,.65,.25,1), opacity .3s ease;
}

.mini-player.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.mini-player[hidden] { display: none; }

.mini-player-play {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #ff5ec7, #ff8a6b);
  box-shadow: 0 0 18px rgba(255, 94, 199, .55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  transition: transform .15s ease;
}

.mini-player-play:hover { transform: scale(1.06); }

.mini-player-info {
  flex: 1 1 auto;
  min-width: 0;
  cursor: pointer;
}

.mini-player-title {
  color: var(--cream);
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-player-sub {
  color: var(--soft);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-player-progress {
  position: relative;
  height: 3px;
  margin-top: .4rem;
  border-radius: 2px;
  background: rgba(255, 241, 230, .14);
  overflow: hidden;
}

.mini-player-progress > span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: linear-gradient(90deg, #ff5ec7, #ff8a6b);
  border-radius: inherit;
}

.mini-player-close {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  border-radius: 50%;
  color: var(--soft);
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color .15s ease, background .15s ease;
}

.mini-player-close:hover {
  color: var(--cream);
  background: rgba(255, 241, 230, .08);
}

@media (prefers-reduced-motion: reduce) {
  .mini-player { transition: opacity .2s ease; }
}

/* Magnetic buttons */
.magnetic {
  --magx: 0px;
  --magy: 0px;
  transform: translate(var(--magx), var(--magy));
  transition: transform .35s cubic-bezier(.2, .9, .3, 1),
              background .2s ease,
              box-shadow .2s ease,
              color .2s ease,
              border-color .2s ease;
}

/* Preserve existing hover lift for translateY buttons by composing it
   with the magnetic offset. Higher specificity than the base :hover. */
.btn-glow.magnetic:hover,
.btn-line.magnetic:hover,
.btn-yt.magnetic:hover {
  transform: translate(var(--magx), calc(var(--magy) - 2px));
}

/* 3D tilt cards */
.tilt {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --tilt-lift: 0px;
  transform: perspective(900px)
             rotateX(var(--tilt-x))
             rotateY(var(--tilt-y))
             translateY(var(--tilt-lift));
  transition: transform .35s cubic-bezier(.2, .9, .3, 1),
              border-color .25s ease,
              box-shadow .25s ease;
  will-change: transform;
}

/* Preserve news-card lift on hover via the lift variable */
.news-card.tilt:hover {
  --tilt-lift: -4px;
}

/* Reveal animation override: when .reveal hasn't fired yet, keep its
   translateY(28px). Once revealed, .tilt takes over the transform. */
.reveal.tilt:not(.is-revealed) {
  transform: translateY(28px);
}

@media (prefers-reduced-motion: reduce), (hover: none) {
  .magnetic { transform: none; transition: background .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease; }
  .tilt { transform: none; }
  .news-card.tilt:hover { transform: translateY(-4px); }
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 241, 230, .14);
  border-radius: 999px;
  background: rgba(255, 241, 230, .04);
}

.lang-switch-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  padding: .35rem .55rem;
  border-radius: 999px;
  color: rgba(255, 241, 230, .66);
  text-decoration: none;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .18s ease, background .18s ease;
}

.lang-switch-item:hover {
  color: var(--cream);
  background: rgba(255, 241, 230, .08);
}

.lang-switch-item.is-active {
  color: var(--cream);
  background: rgba(255, 241, 230, .14);
  pointer-events: none;
}

@media (max-width: 575.98px) {
  .lang-switch-item {
    min-width: 28px;
    padding: .3rem .45rem;
    font-size: .65rem;
  }
}

/* News pagination */
.news-more-wrap {
  padding-top: .5rem;
}

#news-load-more {
  min-width: 220px;
}

#news-load-more[disabled] {
  opacity: .7;
  cursor: progress;
}

.news-load-more-spinner i {
  display: inline-block;
  margin-left: .4rem;
  animation: news-spin .9s linear infinite;
}

@keyframes news-spin {
  to { transform: rotate(360deg); }
}

.news-more-count {
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
}

/* Ocean toggle (nav button) */
.ocean-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 241, 230, .14);
  border-radius: 999px;
  background: rgba(255, 241, 230, .04);
  color: rgba(255, 241, 230, .66);
  font-size: 1rem;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ocean-toggle:hover {
  color: var(--cream);
  background: rgba(255, 241, 230, .1);
  border-color: rgba(255, 241, 230, .26);
}

.ocean-toggle.is-on {
  color: var(--cream);
  background: rgba(255, 94, 199, .18);
  border-color: rgba(255, 94, 199, .42);
  box-shadow: 0 0 22px rgba(255, 94, 199, .35);
}

.ocean-toggle.is-on i {
  animation: ocean-wave 3.4s ease-in-out infinite;
}

@keyframes ocean-wave {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-2px); }
}

@media (max-width: 575.98px) {
  .ocean-toggle {
    width: 32px;
    height: 32px;
    font-size: .9rem;
  }
}

/* Ocean prompt overlay */
.ocean-prompt {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(9, 5, 31, .72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .3s ease;
}

.ocean-prompt.is-visible {
  opacity: 1;
}

.ocean-prompt-card {
  position: relative;
  max-width: 460px;
  width: 100%;
  padding: 2.4rem 1.8rem 1.8rem;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 94, 199, .18), transparent 60%),
    linear-gradient(180deg, rgba(48, 22, 86, .9) 0%, rgba(16, 10, 45, .92) 100%);
  box-shadow: var(--shadow);
  transform: translateY(16px);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.ocean-prompt.is-visible .ocean-prompt-card {
  transform: translateY(0);
}

.ocean-prompt-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 999px;
  background: rgba(255, 94, 199, .14);
  color: var(--cream);
  font-size: 1.8rem;
  box-shadow: 0 0 38px rgba(255, 94, 199, .35);
}

.ocean-prompt-title {
  margin: 0 0 .6rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cream);
  letter-spacing: -0.01em;
}

.ocean-prompt-desc {
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
}

.ocean-prompt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  justify-content: center;
}

.ocean-prompt-actions .btn-glow,
.ocean-prompt-actions .btn-line {
  flex: 1 1 auto;
  min-width: 160px;
}

@media (max-width: 480px) {
  .ocean-prompt-card {
    padding: 1.8rem 1.2rem 1.4rem;
  }
  .ocean-prompt-title {
    font-size: 1.3rem;
  }
  .ocean-prompt-actions .btn-glow,
  .ocean-prompt-actions .btn-line {
    flex: 1 1 100%;
    min-width: 0;
  }
}
