/* ============================================================
   home.css — 99 < x < 100 · Home · 90s Neon
   Fab (green) × Dam (orange) × Adr (purple) · Home: hot pink
   ============================================================ */

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

:root {
  --pink:      #ff00cc;
  --pink-dim:  #cc0099;
  --cyan:      #00ffff;
  --green:     #00ff41;    /* Fab */
  --orange:    #f97316;    /* Dam */
  --yellow:    #e8ff00;    /* Adr */
  --bg:        #070010;
  --bg2:       #0d001f;
  --border:    #2d0f4e;
  --text:      #c8b0e8;
  --font:      -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono:      'Courier New', Courier, monospace;
}

/* ── RB'S BANNER ── */
.rbs-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 3000;
  text-align: center; padding: 0.25rem 1rem;
  font-family: var(--font); font-size: 0.65rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--pink);
  background: rgba(7,0,16,0.82); border-bottom: 1px solid rgba(255,0,204,0.2);
  backdrop-filter: blur(8px); user-select: none; pointer-events: none;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--pink); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { color: #fff; }

/* ── SCANLINES ── */
.scanlines {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent, transparent 2px,
    rgba(0,0,0,0.15) 2px, rgba(0,0,0,0.15) 4px
  );
  mask-image: linear-gradient(to bottom, black 30%, transparent 55%);
  -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 55%);
}

/* ── IAN NAV ── */
.ian-nav {
  position: fixed; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
  z-index: 2000; display: flex; align-items: center; gap: 0.25rem;
  background: rgba(20,0,45,0.85); border: 1px solid rgba(255,0,204,0.45);
  border-radius: 50px; padding: 0.35rem 0.6rem;
  backdrop-filter: blur(12px); box-shadow: 0 4px 24px rgba(255,0,204,0.25);
  white-space: nowrap;
}
.ian-nav__label {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 700;
  color: rgba(255,0,204,0.6);
  letter-spacing: 0.1em; padding: 0.3rem 0.75rem;
  border-radius: 50px; margin-right: 0.15rem;
  border: 1px solid rgba(255,0,204,0.3);
  text-decoration: none; transition: color 0.18s, background 0.18s, border-color 0.18s;
  text-shadow: 0 0 8px rgba(255,0,204,0.3);
}
.ian-nav__label:hover {
  color: var(--pink); border-color: rgba(255,0,204,0.6);
  background: rgba(255,0,204,0.08); text-decoration: none;
  text-shadow: 0 0 10px rgba(255,0,204,0.5);
}
.ian-nav__name { display: inline; }
.ian-nav__item {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.78rem; color: #4a3060; text-decoration: none;
  padding: 0.3rem 0.75rem; border-radius: 50px;
  transition: background 0.18s, color 0.18s;
  display: flex; align-items: center; gap: 0.3rem;
}
.ian-nav__item span   { color: #4a3060; transition: color 0.18s; }
.ian-nav__item strong { color: #5a4070; font-weight: 700; transition: color 0.18s; }
.ian-nav__item:hover  { background: rgba(255,0,204,0.08); text-decoration: none; }
.ian-nav a[href="fabian.html"]:hover span,
.ian-nav a[href="fabian.html"]:hover strong { color: #00ff41; }
.ian-nav a[href="damian.html"]:hover span,
.ian-nav a[href="damian.html"]:hover strong { color: #f97316; }
.ian-nav a[href="adrian.html"]:hover span,
.ian-nav a[href="adrian.html"]:hover strong { color: #e8ff00; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: flex-end; justify-content: center;
  text-align: center; padding: 5rem 1.5rem 7rem;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(255,0,204,0.25) 0%, transparent 65%),
    radial-gradient(ellipse 40% 30% at 15% 70%, rgba(0,255,255,0.10) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 85% 30%, rgba(232,255,0,0.12) 0%, transparent 50%),
    linear-gradient(180deg, #14003a 0%, #1a0035 100%);
}

/* Background video */
.hero-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.65;
  pointer-events: none;
}

/* Bottom fade — video blends into page background */
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 35%;
  background: linear-gradient(to bottom, transparent, #070010);
  pointer-events: none; z-index: 1;
}

/* 90s grid overlay */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,0,204,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,0,204,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; max-width: 820px; }

/* GLITCH TITLE */
h1.glitch {
  font-size: clamp(2.8rem, 9vw, 6.5rem);
  color: var(--pink);
  text-shadow: 0 0 30px rgba(255,0,204,0.6), 0 0 60px rgba(255,0,204,0.2);
  position: relative; letter-spacing: -0.02em;
  opacity: 0; animation: fadeSlideIn 0.8s ease 0.3s forwards, glitch-main 5s 1.5s infinite;
}
h1.glitch::before, h1.glitch::after {
  content: attr(data-text); position: absolute; inset: 0; pointer-events: none;
}
h1.glitch::before {
  color: var(--cyan);
  animation: glitch-top 5s 1.5s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 38%, 0 38%);
}
h1.glitch::after {
  color: var(--orange);
  animation: glitch-bot 5s 1.5s infinite;
  clip-path: polygon(0 62%, 100% 62%, 100% 100%, 0 100%);
}

@keyframes glitch-main {
  0%,88%,100% { transform: none; }
  90%          { transform: skew(-0.6deg); }
  94%          { transform: skew(0.5deg); }
}
@keyframes glitch-top {
  0%,88%,100% { transform: none; opacity: 0; }
  90%         { transform: translate(-4px,-2px); opacity: 0.85; }
  95%         { transform: translate(3px, 2px); opacity: 0.85; }
}
@keyframes glitch-bot {
  0%,88%,100% { transform: none; opacity: 0; }
  91%         { transform: translate(4px, 2px); opacity: 0.85; }
  96%         { transform: translate(-3px,-2px); opacity: 0.85; }
}

.hero-names {
  font-size: clamp(1rem, 3vw, 1.6rem); margin: 1rem 0 0.5rem;
  letter-spacing: 0.06em; opacity: 0;
  animation: fadeSlideIn 0.8s ease 0.6s forwards;
}
.hero-names .x-sep { color: #2d0f4e; padding: 0 0.4rem; }

.hero-tagline {
  color: rgba(255,255,255,0.45); font-size: clamp(0.85rem, 2vw, 1.05rem);
  letter-spacing: 0.08em; margin: 0.6rem 0 2rem;
  opacity: 0; animation: fadeSlideIn 0.8s ease 0.8s forwards;
}

.hero-cta {
  display: inline-block;
  border: 2px solid var(--pink); color: #fff;
  background: var(--pink);
  padding: 0.75rem 2rem; border-radius: 50px; font-size: 1rem; font-weight: 900;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255,255,255,0.8);
  box-shadow: 0 0 24px rgba(255,0,204,0.9), 0 0 50px rgba(255,0,204,0.5), 0 0 90px rgba(255,0,204,0.2);
  filter: brightness(1.0);
  opacity: 0; animation: fadeSlideIn 0.8s ease 1s forwards;
}
.hero-cta:hover {
  background: #fff; color: var(--pink);
  box-shadow: 0 0 35px rgba(255,0,204,0.9), 0 0 70px rgba(255,0,204,0.35);
  transform: scale(1.04);
  text-decoration: none;
}

/* ── EVENT INFO ── */
.event-info { padding: 4rem 1.5rem; max-width: 680px; margin: 0 auto; }


/* ── NEON EVENT CARD ── */
.neon-card {
  border: 1.5px solid rgba(255,0,204,0.35); border-radius: 8px;
  padding: 2rem;
  background: var(--bg2);
  box-shadow: 0 0 40px rgba(255,0,204,0.07), inset 0 0 40px rgba(255,0,204,0.02);
}
.neon-card__head {
  display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.neon-tag {
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid var(--pink); color: var(--pink);
  padding: 0.15rem 0.6rem; border-radius: 2px;
  text-shadow: 0 0 6px rgba(255,0,204,0.5);
  box-shadow: 0 0 10px rgba(255,0,204,0.15);
}
.neon-motto { color: var(--text); font-size: 0.92rem; letter-spacing: 0.04em; }
.neon-card__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1.5rem;
  margin-bottom: 1.5rem;
}
.neon-detail { font-size: 0.88rem; color: var(--cyan); letter-spacing: 0.02em; line-height: 1.6; }
.neon-detail.full { grid-column: 1 / -1; }
.neon-detail small { color: rgba(255,255,255,0.5); font-size: 0.76rem; display: block; margin-top: 0.15rem; }
.neon-detail.deadline { color: var(--orange); }
.neon-card__dresscode {
  border-top: 1px solid rgba(255,0,204,0.15); padding-top: 1.2rem;
  font-size: 0.88rem; color: var(--text); line-height: 1.7; letter-spacing: 0.02em;
}
.neon-card__dresscode .dc-label {
  color: var(--pink); font-size: 0.68rem; letter-spacing: 0.15em;
  text-transform: uppercase; display: block; margin-bottom: 0.35rem;
}

@media (max-width: 480px) {
  .neon-card__grid { grid-template-columns: 1fr; }
  .neon-detail.full { grid-column: 1; }
}

/* ── PHOTO STRIP ── */
.photo-strip-section {
  padding: 3rem 0;
  overflow-x: clip;
  position: relative;
}
.strip-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 2;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,0,204,0.4);
  color: #ff00cc;
  font-size: 1.2rem;
  width: 2.2rem; height: 2.2rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.strip-btn:hover { background: rgba(255,0,204,0.2); border-color: #ff00cc; }
.strip-btn--prev { left: 0.5rem; }
.strip-btn--next { right: 0.5rem; }
.photo-strip {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  padding: 0 1.5rem 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.photo-strip::-webkit-scrollbar { display: none; }
.photo-strip__item {
  flex: 0 0 280px;
  height: 200px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255,0,204,0.2);
  scroll-snap-align: start;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.photo-strip__item:hover {
  border-color: rgba(255,0,204,0.5);
  box-shadow: 0 0 20px rgba(255,0,204,0.15);
}
.photo-strip__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.photo-strip__item:hover img { transform: scale(1.04); }

/* ── IAN TRIO ── */
.trio-section {
  padding: 4rem 1.5rem;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trio-section__title {
  text-align: center; color: #3d2060; font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 2.5rem;
}
.trio-cards {
  display: flex; gap: 1.5rem; justify-content: center;
  flex-wrap: wrap; max-width: 900px; margin: 0 auto;
}
.trio-card {
  flex: 1 1 220px; max-width: 280px;
  border: 1px solid #1e0040; border-radius: 8px; padding: 2rem 1.5rem;
  text-align: center; background: var(--bg); text-decoration: none; color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; display: block;
}
.trio-card:hover { text-decoration: none; transform: translateY(-4px); }
.trio-card--yellow { border-color: rgba(232,255,0,0.25); }
.trio-card--yellow:hover { border-color: var(--yellow); box-shadow: 0 0 30px rgba(232,255,0,0.15); }
.trio-card--orange { border-color: rgba(249,115,22,0.25); }
.trio-card--orange:hover { border-color: var(--orange); box-shadow: 0 0 30px rgba(249,115,22,0.15); }
.trio-card--green  { border-color: rgba(0,255,65,0.18); }
.trio-card--green:hover  { border-color: var(--green); box-shadow: 0 0 30px rgba(0,255,65,0.12); }
.trio-card__emoji { font-size: 1.8rem; display: block; margin-bottom: 0.8rem; }
.trio-card__name  {
  font-size: 1.4rem; font-family: var(--font); letter-spacing: 0.04em;
  display: block; margin-bottom: 0.4rem;
}
.trio-card--yellow .trio-card__name { color: var(--yellow); }
.trio-card--orange .trio-card__name { color: var(--orange); }
.trio-card--green  .trio-card__name { color: var(--green);  }
.trio-card__sub { font-size: 0.78rem; color: #3d2060; letter-spacing: 0.04em; }

/* ── FORM / REGISTER ── */
.register-section { padding: 4rem 1.5rem; max-width: 600px; margin: 0 auto; }
.register-section__title {
  color: var(--pink); font-size: clamp(1rem, 3vw, 1.4rem);
  margin-bottom: 0.4rem; letter-spacing: 0.04em;
}
.register-section__sub { color: rgba(255,255,255,0.55); font-size: 0.85rem; line-height: 1.6; margin-bottom: 2rem; }
.form-container { margin-top: 1rem; }
.field-group { margin-bottom: 1.6rem; }

label { display: block; color: var(--cyan); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; }
.required { color: var(--pink); }
.optional  { color: #3d2060; }

input[type="text"],
input[type="email"],
input[type="number"],
textarea {
  width: 100%; background: #0d001f; border: 1px solid #2d0f4e;
  color: #e0e0e0; font-family: var(--font); font-size: 0.95rem;
  padding: 0.7rem 1rem; border-radius: 4px;
  transition: border-color 0.2s, box-shadow 0.2s; -webkit-appearance: none;
}
input:focus, textarea:focus {
  outline: none; border-color: var(--pink);
  box-shadow: 0 0 10px rgba(255,0,204,0.15);
}
textarea { resize: vertical; min-height: 80px; }

.error-msg { display: block; color: #ff2d78; font-size: 0.75rem; margin-top: 0.3rem; min-height: 1.1em; }
.char-count { display: block; text-align: right; font-size: 0.72rem; color: #3d2060; margin-top: 0.3rem; }

.hp-field {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden; opacity: 0; pointer-events: none;
}
.cf-turnstile { margin: 1.5rem 0; }

.btn-register {
  display: block; width: 100%; padding: 1rem; margin-top: 0.5rem;
  background: transparent; border: 2px solid var(--pink); color: var(--pink);
  font-family: var(--font); font-size: 1rem; cursor: pointer; border-radius: 4px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  text-shadow: 0 0 8px rgba(255,0,204,0.4); letter-spacing: 0.03em;
}
.btn-register:hover:not(:disabled) {
  background: var(--pink); color: #000;
  box-shadow: 0 0 24px rgba(255,0,204,0.45); text-shadow: none;
}
.btn-register:disabled { opacity: 0.45; cursor: not-allowed; }

.dots-anim::after { content: ''; animation: dots 1.2s steps(4, end) infinite; }
@keyframes dots { 0%{content:'';} 25%{content:'.';} 50%{content:'..';} 75%{content:'...';} }

.success-state { text-align: center; padding: 2.5rem 0; }
.success-icon  { font-size: 3rem; margin-bottom: 0.8rem; }
.success-title { font-size: 1.6rem; font-weight: 700; color: var(--pink); margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(255,0,204,0.4); }
.success-note  { color: var(--cyan); font-size: 0.95rem; }
.confetti-container { position: relative; height: 200px; overflow: hidden; }

/* ── FOOTER ── */
.site-footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  text-align: center; padding: 3rem 1.5rem 5rem;
}
.site-footer__main { color: rgba(255,0,204,0.5); font-size: 0.8rem; letter-spacing: 0.06em; margin-bottom: 0.4rem; }
.site-footer__ai   { color: rgba(255,255,255,0.15); font-size: 0.62rem; margin-top: 0.2rem; }

/* ── UTILS ── */
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .trio-cards { gap: 1rem; }
  .trio-card  { padding: 1.5rem 1rem; }
  .neon-card  { padding: 1.5rem 1.2rem; }
}
