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

body, html {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #000;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  font-family: 'Geist', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wordmark {
  position: fixed;
  top: 24px;
  left: 28px;
  z-index: 200;
  display: inline-block;
  line-height: 0;
  transition: opacity 0.25s ease;
}
.wordmark:hover { opacity: 0.85; }
.wordmark img {
  display: block;
  height: 140px;
  width: auto;
}

.lamp-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background: radial-gradient(
    ellipse 60% 50% at 50% 50%,
    rgba(255, 180, 60, 0.65) 0%,
    rgba(220, 120, 20, 0.4) 25%,
    rgba(160, 70, 10, 0.2) 50%,
    rgba(60, 20, 0, 0.06) 70%,
    transparent 100%
  );
  opacity: 0;
  animation: lampIgnite 2.4s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

@keyframes lampIgnite {
  0%   { opacity: 0;    transform: scale(0.6); }
  18%  { opacity: 1;    transform: scale(1.05); }
  100% { opacity: 0.28; transform: scale(1.0); }
}

.lamp-halo {
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  background: radial-gradient(
    ellipse 75% 65% at 50% 50%,
    rgba(255, 145, 30, 0.18) 0%,
    rgba(200, 90, 10, 0.10) 40%,
    transparent 70%
  );
  opacity: 0;
  animation: haloSettle 3s ease-out 0.5s forwards;
}

@keyframes haloSettle {
  0%   { opacity: 0; }
  30%  { opacity: 1; }
  100% { opacity: 1; }
}

.background-stage {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

/* orb wrapper — JS moves this */
.orb-group {
  position: absolute;
  width: 0; height: 0;
  will-change: transform;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.amber-orb {
  position: absolute;
  width: 520px;
  height: 520px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
    rgba(255, 155, 30, 0.55) 0%,
    rgba(210, 100, 10, 0.28) 40%,
    rgba(160, 60, 5, 0.10) 65%,
    transparent 80%);
  filter: blur(52px);
  pointer-events: none;
  opacity: 0;
  animation:
    amberIgnite  2.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards,
    amberBreathe 8s ease-in-out 3.5s infinite alternate;
}

@keyframes amberIgnite {
  0%   { opacity: 0;    transform: translate(-50%,-50%) scale(0.5); }
  20%  { opacity: 1;    transform: translate(-50%,-50%) scale(1.12); }
  55%  { opacity: 0.85; transform: translate(-50%,-50%) scale(1.02); }
  100% { opacity: 0.60; transform: translate(-50%,-50%) scale(1.0); }
}

@keyframes amberBreathe {
  from { opacity: 0.55; transform: translate(-50%,-50%) scale(1.0); }
  to   { opacity: 0.70; transform: translate(-50%,-50%) scale(1.06); }
}

.glass-orb {
  position: absolute;
  width: 450px;
  height: 450px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%,
    rgba(255, 255, 255, 0.38) 0%,
    rgba(140, 180, 255, 0.18) 40%,
    transparent 75%);
  filter: blur(40px);
  box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.15);
  opacity: 0;
  animation:
    orbEntry 2.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards,
    orbMove  15s ease-in-out 2.5s infinite alternate;
}

@keyframes orbEntry {
  from { opacity: 0; transform: translate(-50%,-50%) scale(0.72); }
  to   { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}

@keyframes orbMove {
  from { transform: translate(calc(-50% - 45px), calc(-50% - 45px)) scale(1); }
  to   { transform: translate(calc(-50% + 45px), calc(-50% + 45px)) scale(1.1); }
}

.hero-text {
  text-align: center;
  position: relative;
  z-index: 10;
  mix-blend-mode: difference;
  opacity: 0;
  animation: textReveal 1.4s cubic-bezier(0.16, 1, 0.3, 1) 1.8s forwards;
}

@keyframes textReveal {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

h1 {
  font-size: clamp(3.5rem, 12vw, 6.5rem);
  font-weight: 200;
  line-height: 0.95;
  margin: 0;
  letter-spacing: -0.05em;
}

.italic-serif {
  font-family: 'Lora', serif;
  font-style: italic;
  font-weight: 400;
  margin-right: 15px;
}

.thin-sans {
  font-weight: 200;
  opacity: 0.6;
}

.subtext {
  margin-top: 20px;
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
}

.btn-row {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

/* ── Shared premium box-button base ── */
.btn-team,
.btn-register,
.btn-browse {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 0;
  font-family: 'Geist', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, transform 0.28s ease, border-color 0.28s ease;
  white-space: nowrap;
}

/* Shared shimmer sweep on hover */
.btn-team::after,
.btn-register::after,
.btn-browse::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,210,130,0.10) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn-team:hover::after,
.btn-register:hover::after,
.btn-browse:hover::after {
  transform: translateX(100%);
}

/* Brighter shimmer for the solid-amber Register button */
.btn-register::after {
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
}

/* Our Team — tertiary, deliberately quiet so Register dominates */
.btn-team {
  padding: 10px 18px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  border: 1px solid rgba(255, 210, 130, 0.18);
  background: transparent;
  color: rgba(255, 210, 130, 0.55);
}
.btn-team:hover {
  border-color: rgba(255, 210, 130, 0.45);
  color: rgba(255, 210, 130, 0.95);
}
.btn-team span,
.btn-team .arrow-icon { position: relative; z-index: 1; }
.btn-team .arrow-icon {
  display: flex;
  align-items: center;
  opacity: 0.8;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.28s ease;
}
.btn-team:hover .arrow-icon { transform: translateX(5px); opacity: 1; }

/* Register — dominant primary, solid from rest */
.btn-register {
  padding: 15px 40px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  border: 1px solid #ffd282;
  background: #ffd282;
  color: #0a0a0a;
  box-shadow: 0 0 22px rgba(255,210,130,0.22), 0 0 0 0 rgba(255,210,130,0);
  animation: registerPulse 3.4s ease-in-out 3s infinite;
}
.btn-register:hover {
  background: #ffdf9c;
  border-color: #ffdf9c;
  box-shadow: 0 0 36px rgba(255,210,130,0.45), 0 6px 24px rgba(255,210,130,0.18);
  transform: translateY(-1px);
}
.btn-register span {
  position: relative;
  z-index: 1;
}

@keyframes registerPulse {
  0%, 100% { box-shadow: 0 0 22px rgba(255,210,130,0.22); }
  50%      { box-shadow: 0 0 32px rgba(255,210,130,0.38); }
}

/* Top-right nav cluster: Schedule + Browse Events */
.top-nav {
  position: fixed;
  top: 24px;
  right: 32px;
  z-index: 200;
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

/* Browse Events — top-right nav button (sits inside .top-nav) */
.btn-browse {
  padding: 10px 22px;
  border: 1px solid rgba(255, 210, 130, 0.45);
  background: transparent;
  color: rgba(255, 210, 130, 0.85);
  box-shadow: 0 0 12px rgba(255,210,130,0.06);
}

/* Schedule — ghost button with a soft amber pip */
.btn-schedule {
  padding: 10px 20px 10px 16px;
  border: 1px solid rgba(255, 210, 130, 0.45);
  background: transparent;
  color: rgba(255, 210, 130, 0.85);
  box-shadow: 0 0 12px rgba(255,210,130,0.06);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Geist', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: color 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  white-space: nowrap;
}
.btn-schedule::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #ffd282;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s cubic-bezier(0.77,0,0.18,1);
  z-index: 0;
}
.btn-schedule:hover::before { transform: scaleX(1); }
.btn-schedule:hover { color: #0a0a0a; box-shadow: 0 0 22px rgba(255,210,130,0.22); }
.btn-schedule > * { position: relative; z-index: 1; }
.btn-schedule .sched-pip {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255, 210, 130, 0.95);
  box-shadow: 0 0 8px rgba(255, 200, 100, 0.7);
  animation: schedPip 2.6s ease-in-out infinite;
  flex-shrink: 0;
}
.btn-schedule:hover .sched-pip { background: #0a0a0a; box-shadow: none; }
@keyframes schedPip {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.65); }
}
.btn-browse::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #ffd282;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s cubic-bezier(0.77,0,0.18,1);
  z-index: 0;
}
.btn-browse:hover::before { transform: scaleX(1); }
.btn-browse:hover { color: #0a0a0a; box-shadow: 0 0 22px rgba(255,210,130,0.22); }
.btn-browse span,
.btn-browse .arrow-icon { position: relative; z-index: 1; }

.btn-browse .arrow-icon {
  display: flex;
  align-items: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-browse:hover .arrow-icon { transform: translateX(4px); }

/* ── Floating Instagram icon (bottom-right) ── */
.ig-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 210, 130, 0.28);
  background: rgba(10, 10, 10, 0.45);
  color: rgba(255, 210, 130, 0.7);
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 0 0 rgba(255,210,130,0);
  transition: color 0.28s ease, border-color 0.28s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease;
  opacity: 0;
  animation: igFadeIn 1s ease-out 2.6s forwards;
}
.ig-float:hover {
  color: #ffd282;
  border-color: rgba(255, 210, 130, 0.7);
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 0 22px rgba(255,210,130,0.22);
}
.ig-float svg { display: block; }

@keyframes igFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .wordmark { top: 12px; left: 12px; }
  .wordmark img { height: 100px; }

  .top-nav { top: 16px; right: 16px; gap: 8px; }
  .btn-browse { padding: 9px 16px; font-size: 11px; }
  .btn-schedule { padding: 9px 14px; font-size: 11px; }

  h1 {
    font-size: clamp(2.4rem, 13vw, 4rem);
    line-height: 1.0;
  }

  .italic-serif { margin-right: 8px; }

  .subtext {
    font-size: clamp(0.75rem, 3.5vw, 0.95rem);
    padding: 0 1rem;
  }
  /* Drop the hard line break on phones so the paragraph wraps naturally
     instead of orphaning "hard" on its own line. The &nbsp;-glued
     "compete hard —" keeps that phrase intact across whatever line it
     ends up on. */
  .subtext-br-desktop { display: none; }

  .btn-row {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 0 2rem;
  }

  .btn-row { gap: 12px; }

  .btn-register {
    width: 100%;
    justify-content: center;
    padding: 15px 24px;
    font-size: 13.5px;
  }

  .btn-team {
    width: auto;
    justify-content: center;
    padding: 9px 16px;
    font-size: 10.5px;
  }

  .amber-orb { width: 320px; height: 320px; }
  .glass-orb { width: 280px; height: 280px; }

  .ig-float {
    width: 40px;
    height: 40px;
    bottom: 18px;
    right: 18px;
  }
  .ig-float svg { width: 17px; height: 17px; }
}

@media (max-width: 480px) {
  .wordmark { top: 8px; left: 8px; }
  .wordmark img { height: 80px; }

  .top-nav { top: 14px; right: 12px; gap: 6px; }
  .btn-browse { padding: 8px 13px; font-size: 10px; letter-spacing: 0.10em; }
  .btn-schedule { padding: 8px 12px; font-size: 10px; letter-spacing: 0.10em; gap: 8px; }
  .btn-schedule .sched-pip { width: 5px; height: 5px; }

  h1 { font-size: clamp(2rem, 14vw, 3rem); }

  .hero-text { padding: 0 1rem; }

  .subtext { font-size: 0.75rem; }

  .btn-row { padding: 0 1.2rem; }

  .amber-orb { width: 240px; height: 240px; filter: blur(38px); }
  .glass-orb { width: 210px; height: 210px; filter: blur(30px); }

  .ig-float {
    width: 36px;
    height: 36px;
    bottom: 14px;
    right: 14px;
  }
  .ig-float svg { width: 15px; height: 15px; }
}
