/* ==========  /assets/css/home.css  ==========
   Scroll-binder animation for the splash / pre-login page.
   Theme: site black (#000) + amber (#f59e0b) palette.            */

/* ---- Layout reset for home (no sidebar) ---- */
.home-page {
  overflow-x: hidden;
}

/* ---- Hero ---- */
.home-hero {
  position: relative;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 40%, rgba(245,158,11,.08) 0%, transparent 70%);
  z-index: 10;
}

.home-hero-logo {
  width: 12rem;
  margin-bottom: 1.5rem;
  opacity: 0.92;
}

.home-hero-title {
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 800;
  color: #f59e0b;
  text-align: center;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.home-hero-sub {
  font-size: clamp(0.95rem, 2.2vw, 1.2rem);
  color: #a1a1aa;
  text-align: center;
  max-width: 540px;
  line-height: 1.6;
  padding: 0 1rem;
}

.home-hero-sub strong {
  color: #e4e4e7;
}

.home-scroll-hint {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: #71717a;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: homeHintPulse 2.5s ease-in-out infinite;
}

.home-scroll-arrow {
  width: 16px;
  height: 16px;
  border-right: 2px solid #f59e0b;
  border-bottom: 2px solid #f59e0b;
  transform: rotate(45deg);
}

@keyframes homeHintPulse {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  50%      { opacity: 1;    transform: translateY(5px); }
}

/* ---- Particles ---- */
.home-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.home-particle {
  position: absolute;
  border-radius: 50%;
  background: #f59e0b;
  opacity: 0;
  animation: homeFloat linear infinite;
}

@keyframes homeFloat {
  0%   { opacity: 0; transform: translateY(0) scale(0); }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.15; }
  100% { opacity: 0; transform: translateY(-100vh) scale(1); }
}

/* ---- Binder section ---- */
.home-binder {
  position: relative;
  /* Pull binder up so it overlaps the hero — cards appear while hero fades */
  margin-top: -100vh;
}

.home-binder-track {
  height: 350vh;
  position: relative;
}

.home-cards-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* ---- Cards ---- */
.home-card {
  position: absolute;
  width: min(200px, 38vw);
  aspect-ratio: 2.5 / 3.5;
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 4px 20px rgba(0,0,0,.5),
    0 0 25px rgba(245,158,11,.1);
  transform-origin: center bottom;
  will-change: transform, opacity;
  opacity: 0;
}

.home-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Holographic shimmer */
.home-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255,255,255,.06) 45%,
    rgba(245,158,11,.1) 50%,
    rgba(251,191,36,.06) 55%,
    transparent 70%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.home-cards-viewport.fan-active .home-card::after {
  opacity: 1;
  animation: homeShimmer 3s ease-in-out infinite;
}

@keyframes homeShimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ---- Fan tagline ---- */
.home-fan-tagline {
  position: absolute;
  bottom: 8%;
  left: 0;
  right: 0;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  z-index: 20;
}

.home-fan-tagline-text {
  font-weight: 700;
  font-size: clamp(1.1rem, 3vw, 1.8rem);
  color: #f59e0b;
  letter-spacing: 0.06em;
  text-shadow: 0 0 30px rgba(245,158,11,.25);
}

/* ---- CTA section ---- */
.home-cta {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  margin-top: -100vh;
  z-index: 25;
  background: radial-gradient(ellipse at 50% 50%, rgba(245,158,11,.06) 0%, transparent 70%);
  pointer-events: none;
}

.home-cta-inner {
  pointer-events: auto;
}

.home-cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.home-cta-title {
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  font-weight: 800;
  color: #f59e0b;
}

.home-cta-text {
  color: #a1a1aa;
  font-size: 1.05rem;
  max-width: 480px;
  line-height: 1.6;
}

.home-cta-btn {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.9rem 2.8rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #000;
  background: #f59e0b;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(245,158,11,.25);
}

.home-cta-btn:hover {
  background: #d97706;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245,158,11,.35);
}

/* ---- Footer ---- */
.home-footer {
  position: fixed;
  bottom: 1rem;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.75rem;
  color: #52525b;
  z-index: 30;
}

.home-footer a {
  color: #52525b;
  transition: color 0.2s;
}

.home-footer a:hover {
  color: #a1a1aa;
}

/* ---- Responsive card sizing ---- */
@media (min-width: 768px) {
  .home-card { width: 240px; }
  .home-hero-logo { width: 16rem; }
}

@media (min-width: 1200px) {
  .home-card { width: 280px; }
}
