/* HyperPhish — The Lure Chamber (landing page only) */

body.lc-page {
  --lc-abyss: #040810;
  --lc-deep: #0a1628;
  --lc-teal: #00e5c3;
  --lc-amber: #ff6b35;
  --lc-coral: #ff4757;
  --lc-cyan-glow: rgba(0, 229, 195, 0.35);
  background: var(--lc-abyss);
  color: #c9d1d9;
  overflow-x: hidden;
}

body.lc-page.hp-page {
  background: var(--lc-abyss);
}

body.lc-page .hp-nav {
  background: rgba(4, 8, 16, 0.75);
  border-bottom-color: rgba(0, 229, 195, 0.12);
}

/* ── Hero stage ── */
.lc-stage {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--hp-nav-h) + 24px) 24px 80px;
}

#lc-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.lc-aurora {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.55;
}

.lc-aurora-a {
  background:
    radial-gradient(ellipse 70% 50% at 20% 20%, rgba(0, 229, 195, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 45% at 80% 30%, rgba(88, 166, 255, 0.14), transparent 50%);
  animation: lc-aurora-drift 14s ease-in-out infinite alternate;
}

.lc-aurora-b {
  background:
    radial-gradient(ellipse 50% 40% at 50% 80%, rgba(163, 113, 247, 0.12), transparent 60%),
    radial-gradient(ellipse 40% 30% at 70% 60%, rgba(255, 107, 53, 0.08), transparent 55%);
  animation: lc-aurora-drift 18s ease-in-out infinite alternate-reverse;
}

@keyframes lc-aurora-drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(3%, -2%) scale(1.05); }
}

.lc-fog {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 40%, rgba(4, 8, 16, 0.85) 85%, var(--lc-abyss) 100%);
}

.lc-hero {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 720px;
  animation: lc-hero-in 1s ease-out both;
}

@keyframes lc-hero-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.lc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 229, 195, 0.25);
  background: rgba(0, 229, 195, 0.06);
  color: var(--lc-teal);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.lc-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lc-teal);
  box-shadow: 0 0 12px var(--lc-cyan-glow);
  animation: lc-pulse 2s ease-in-out infinite;
}

@keyframes lc-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.lc-title {
  font-size: clamp(2.2rem, 7vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: #f0f6fc;
  margin-bottom: 20px;
}

.lc-title .lc-lure {
  display: inline-block;
  background: linear-gradient(135deg, var(--lc-teal), var(--lc-amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: lc-glitch 4s ease-in-out infinite;
}

@keyframes lc-glitch {
  0%, 90%, 100% { transform: none; filter: none; }
  92% { transform: translate(-2px, 1px); filter: hue-rotate(20deg); }
  94% { transform: translate(2px, -1px); }
  96% { transform: translate(-1px, 0); }
}

.lc-tagline {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(201, 209, 217, 0.75);
  max-width: 540px;
  margin: 0 auto 32px;
}

.lc-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.lc-btn-enter {
  background: linear-gradient(135deg, rgba(0, 229, 195, 0.9), rgba(88, 166, 255, 0.85));
  border: none;
  color: #040810;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 0 40px rgba(0, 229, 195, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}

.lc-btn-enter:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(0, 229, 195, 0.4);
  color: #040810;
}

/* ── Lure ring (difficulty) ── */
.lc-ring-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lc-ring-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(139, 148, 158, 0.8);
}

.lc-ring {
  display: flex;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(10, 22, 40, 0.8);
  border: 1px solid rgba(0, 229, 195, 0.15);
  backdrop-filter: blur(12px);
}

.lc-ring button {
  border: 0;
  background: transparent;
  color: rgba(201, 209, 217, 0.65);
  font: 600 0.78rem/1 var(--hp-font);
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lc-ring button:hover { color: #f0f6fc; }

.lc-ring button.active[data-level="easy"] {
  background: rgba(255, 71, 87, 0.2);
  color: #ff6b7a;
  box-shadow: 0 0 24px rgba(255, 71, 87, 0.35);
}

.lc-ring button.active[data-level="medium"] {
  background: rgba(255, 107, 53, 0.2);
  color: var(--lc-amber);
  box-shadow: 0 0 24px rgba(255, 107, 53, 0.3);
}

.lc-ring button.active[data-level="hard"] {
  background: rgba(0, 229, 195, 0.15);
  color: var(--lc-teal);
  box-shadow: 0 0 24px var(--lc-cyan-glow);
}

/* ── Stats pods ── */
.lc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: var(--hp-max);
  margin: -40px auto 56px;
  padding: 0 24px;
  position: relative;
  z-index: 4;
}

.lc-stat {
  background: rgba(10, 22, 40, 0.65);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 229, 195, 0.12);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.2s;
}

.lc-stat.lc-visible {
  opacity: 1;
  transform: translateY(0);
}

.lc-stat:hover { border-color: rgba(0, 229, 195, 0.3); }

.lc-stat .val {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f0f6fc;
}

.lc-stat .val.teal { color: var(--lc-teal); text-shadow: 0 0 30px var(--lc-cyan-glow); }
.lc-stat .val.green { color: #3fb950; }
.lc-stat .val.amber { color: var(--lc-amber); }

.lc-stat .lab {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(139, 148, 158, 0.85);
  margin-top: 6px;
}

.lc-stat-ring {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  border-radius: 50%;
  border: 2px solid rgba(0, 229, 195, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lc-ring-spin 8s linear infinite;
}

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

/* ── Trust strip ── */
.lc-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  max-width: var(--hp-max);
  margin: 0 auto 64px;
  padding: 0 24px;
}

.lc-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(139, 148, 158, 0.9);
}

.lc-trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--lc-teal);
}

/* ── Depth story ── */
.lc-depth {
  max-width: 900px;
  margin: 0 auto 64px;
  padding: 0 24px;
  position: relative;
}

.lc-thread {
  position: absolute;
  left: 50%;
  top: 40px;
  bottom: 40px;
  width: 2px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 229, 195, 0.4) 0,
    rgba(0, 229, 195, 0.4) 8px,
    transparent 8px,
    transparent 16px
  );
  opacity: 0.4;
}

.lc-acts {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
}

.lc-act {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.lc-act.lc-visible {
  opacity: 1;
  transform: translateY(0);
}

.lc-act:nth-child(even) .lc-act-card { order: 2; }
.lc-act:nth-child(even) .lc-act-meta { order: 1; text-align: right; }

.lc-act-meta .depth-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--lc-teal);
  margin-bottom: 6px;
}

.lc-act-meta h3 {
  font-size: 1.25rem;
  color: #f0f6fc;
  margin-bottom: 8px;
}

.lc-act-meta p {
  font-size: 0.88rem;
  color: rgba(139, 148, 158, 0.9);
  line-height: 1.55;
}

.lc-act-card {
  background: rgba(10, 22, 40, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 229, 195, 0.1);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
}

.lc-act-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 12px;
}

.lc-act-num.red { background: rgba(255, 71, 87, 0.15); color: var(--lc-coral); border: 1px solid rgba(255, 71, 87, 0.3); }
.lc-act-num.amber { background: rgba(255, 107, 53, 0.15); color: var(--lc-amber); border: 1px solid rgba(255, 107, 53, 0.3); }
.lc-act-num.teal { background: rgba(0, 229, 195, 0.12); color: var(--lc-teal); border: 1px solid rgba(0, 229, 195, 0.25); }

.lc-act-card h4 {
  color: #f0f6fc;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.lc-act-card p {
  font-size: 0.8rem;
  color: rgba(139, 148, 158, 0.85);
}

/* ── Command bar overrides ── */
.lc-command {
  max-width: var(--hp-max);
  margin: 0 auto 20px;
  padding: 20px 24px;
  background: rgba(10, 22, 40, 0.55);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 229, 195, 0.12);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 8px 32px rgba(0, 0, 0, 0.3);
}

.lc-command .hp-search input {
  background: rgba(4, 8, 16, 0.6);
  border-color: rgba(0, 229, 195, 0.15);
  font-family: var(--hp-mono);
  font-size: 0.82rem;
}

.lc-command .hp-search input::placeholder {
  color: rgba(72, 79, 88, 0.9);
}

.lc-command .hp-filter.active {
  background: rgba(0, 229, 195, 0.12);
  border-color: rgba(0, 229, 195, 0.35);
  color: var(--lc-teal);
  box-shadow: 0 0 16px rgba(0, 229, 195, 0.15);
}

.lc-vault-head h2 {
  color: rgba(0, 229, 195, 0.7);
}

/* ── Target vault grid ── */
body.lc-page .hp-grid {
  perspective: 1200px;
}

body.lc-page .hp-grid:hover .hp-card:not(:hover) {
  opacity: 0.55;
}

body.lc-page .hp-card {
  background: rgba(10, 22, 40, 0.55);
  backdrop-filter: blur(10px);
  border-color: rgba(0, 229, 195, 0.08);
  transition: opacity 0.35s, transform 0.35s, box-shadow 0.35s, border-color 0.25s;
  transform-style: preserve-3d;
  opacity: 0;
  animation: lc-card-in 0.5s ease forwards;
}

@keyframes lc-card-in {
  to { opacity: 1; transform: translateY(0); }
}

body.lc-page .hp-card.hidden {
  opacity: 0 !important;
  transform: scale(0.88) !important;
  pointer-events: none;
  visibility: hidden;
  position: absolute;
  animation: none;
}

body.lc-page .hp-card:hover {
  border-color: var(--card-glow, rgba(0, 229, 195, 0.4));
  box-shadow: 0 0 32px var(--card-glow-soft, rgba(0, 229, 195, 0.12)), 0 12px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px);
}

body.lc-page .hp-card-icon {
  background: rgba(4, 8, 16, 0.5);
  border-color: rgba(255, 255, 255, 0.06);
}

/* ── Footer sonar ── */
.lc-footer {
  position: relative;
  margin-top: 48px;
  padding: 48px 24px 56px;
  border-top: 1px solid rgba(0, 229, 195, 0.08);
  overflow: hidden;
}

.lc-footer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 195, 0.08);
  animation: lc-sonar 4s ease-out infinite;
  pointer-events: none;
}

@keyframes lc-sonar {
  0% { transform: translate(-50%, -50%) scale(0.3); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

.lc-footer .hp-footer {
  position: relative;
  z-index: 1;
  border-top: none;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .lc-aurora-a, .lc-aurora-b,
  .lc-title .lc-lure,
  .lc-badge-dot,
  .lc-stat-ring,
  .lc-footer::before {
    animation: none;
  }

  .lc-hero, .lc-stat, .lc-act, body.lc-page .hp-card {
    animation: none;
    opacity: 1;
    transform: none;
  }

  #lc-canvas { display: none; }
}

@media (max-width: 768px) {
  .lc-stats { grid-template-columns: 1fr; margin-top: -20px; }
  .lc-act { grid-template-columns: 1fr; }
  .lc-act:nth-child(even) .lc-act-card,
  .lc-act:nth-child(even) .lc-act-meta { order: unset; text-align: left; }
  .lc-thread { display: none; }
}
