:root {
  --void: #020408;
  --deep: #050a14;
  --surface: #0d1a2e;
  --cyan: #00e5ff;
  --cyan-dim: rgba(0, 229, 255, 0.15);
  --cyan-glow: rgba(0, 229, 255, 0.4);
  --violet: #7b2fff;
  --magenta: #ff2d6b;
  --green: #00ff88;
  --text-primary: #e8f4ff;
  --text-secondary: rgba(220, 235, 255, 0.85);
  --text-muted: rgba(180, 200, 230, 0.65);
  --border: rgba(0, 229, 255, 0.15);
  --border-bright: rgba(0, 229, 255, 0.4);
  --section-space: clamp(4.25rem, 8vw, 7rem);
  --container-wide: 1180px;
  --card-padding: clamp(1.35rem, 2.2vw, 2rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-padding-top: 86px; overflow-x: hidden; }
body {
  width: 100%; max-width: 100%; font-family: var(--font-body); background: var(--void);
  color: var(--text-primary); overflow-x: hidden; line-height: 1.65; opacity: 0; transition: opacity 0.6s ease;
}
body::before {
  content: ""; position: fixed; inset: 0;
  background-image: linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px; z-index: 0; pointer-events: none;
}
body::after {
  content: ""; position: fixed; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.08) 2px, rgba(0, 0, 0, 0.08) 4px);
  z-index: 0; pointer-events: none;
}
#starfield { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.star { position: absolute; background: white; border-radius: 50%; animation: starPulse var(--dur, 4s) infinite ease-in-out var(--delay, 0s); }
@keyframes starPulse { 0%, 100% { opacity: 0.15; transform: scale(1); } 50% { opacity: 0.9; transform: scale(1.5); } }
.nebula { position: fixed; border-radius: 50%; filter: blur(120px); z-index: 0; pointer-events: none; animation: nebulaDrift 25s infinite ease-in-out alternate; }
.nebula-1 { width: 600px; height: 600px; top: -200px; left: -150px; background: radial-gradient(circle, rgba(123, 47, 255, 0.18), transparent 70%); }
.nebula-2 { width: 500px; height: 500px; top: 30%; right: -100px; background: radial-gradient(circle, rgba(0, 229, 255, 0.12), transparent 70%); animation-delay: -8s; }
.nebula-3 { width: 400px; height: 400px; bottom: 10%; left: 30%; background: radial-gradient(circle, rgba(255, 45, 107, 0.1), transparent 70%); animation-delay: -16s; }
@keyframes nebulaDrift { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, 30px) scale(1.1); } }

a { color: inherit; }
main, .footer, .navbar { position: relative; z-index: 1; }
.navbar {
  position: fixed; width: 100%; top: 0; z-index: 1000; padding: 0.85rem 0;
  background: rgba(2, 4, 8, 0.7); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border); transition: all 0.4s ease;
}
.navbar.scrolled { background: rgba(2, 4, 8, 0.92); border-bottom-color: var(--border-bright); box-shadow: 0 0 40px rgba(0, 229, 255, 0.08); }
.navbar::before, .navbar::after { content: ""; position: absolute; bottom: -1px; width: 80px; height: 3px; }
.navbar::before { left: 0; background: linear-gradient(90deg, var(--cyan), transparent); }
.navbar::after { right: 0; background: linear-gradient(270deg, var(--violet), transparent); }
.nav-container { max-width: var(--container-wide); margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 54px; }
.navbar-brand { font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 2vw, 1.15rem); text-decoration: none; color: var(--text-primary); letter-spacing: -0.02em; display: flex; align-items: center; gap: 0.6rem; line-height: 1.1; }
.brand-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: brandPulse 2s infinite ease-in-out; }
@keyframes brandPulse { 0%, 100% { box-shadow: 0 0 8px var(--cyan); transform: scale(1); } 50% { box-shadow: 0 0 20px var(--cyan), 0 0 40px rgba(0, 229, 255, 0.3); transform: scale(1.3); } }
.nav-menu { display: flex; list-style: none; gap: 1.25rem; align-items: center; }
.nav-link { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; color: var(--text-secondary); text-decoration: none; letter-spacing: 0.05em; text-transform: uppercase; transition: all 0.3s ease; position: relative; line-height: 1; }
.nav-link:hover, .nav-link.active { color: var(--cyan); text-shadow: 0 0 12px var(--cyan-glow); }
.login-btn { border: 1px solid var(--border-bright); padding: 0.75rem 1rem; border-radius: 4px; }
.mobile-menu-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; }

.hero { min-height: 100vh; display: flex; align-items: center; padding: 8.75rem 2rem 5.5rem; }
.hero-content { width: 100%; max-width: 1050px; margin: 0 auto; text-align: center; }
.status-badge { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--cyan); background: rgba(0, 229, 255, 0.06); border: 1px solid var(--border); padding: 0.6rem 1.1rem; border-radius: 999px; margin-bottom: 1.6rem; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.hero h1, .section-title { font-family: var(--font-body); font-weight: 700; color: var(--text-primary); letter-spacing: -0.035em; }
.hero h1 { max-width: 960px; margin: 0 auto; font-size: clamp(2.75rem, 5.8vw, 4.4rem); line-height: 1; }
.accent { background: linear-gradient(90deg, rgba(232, 244, 255, 0.98) 0%, var(--cyan) 55%, var(--violet) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; color: transparent; }
.hero-subtitle, .section-subtitle { color: var(--text-secondary); line-height: 1.72; }
.hero-subtitle { max-width: 820px; margin: 1.6rem auto 0; font-size: clamp(1.04rem, 1.4vw, 1.18rem); }
.hero-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 2.1rem; }
.cta-button, .cta-button-secondary, .cta-button-small { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 52px; border-radius: 4px; text-decoration: none; font-weight: 700; transition: all 0.3s ease; text-align: center; }
.cta-button { background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 100%); color: var(--void); padding: 0.98rem 2rem; box-shadow: 0 0 30px rgba(0, 229, 255, 0.25); }
.cta-button:hover { transform: translateY(-3px); box-shadow: 0 10px 40px rgba(0, 229, 255, 0.4); color: var(--void); }
.cta-button-secondary { background: transparent; border: 1px solid var(--border-bright); color: var(--text-primary); padding: 0.98rem 2rem; }
.cta-button-secondary:hover { background: var(--cyan-dim); color: var(--cyan); transform: translateY(-3px); }
.cta-button-small { min-height: 44px; padding: 0.75rem 1.15rem; background: rgba(0, 229, 255, 0.08); border: 1px solid var(--border); color: var(--cyan); font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; }
.cta-button-small:hover { border-color: var(--cyan); background: var(--cyan-dim); }
.hero-panel { max-width: 840px; margin: 2.5rem auto 0; background: linear-gradient(135deg, rgba(13, 26, 46, 0.78), rgba(8, 16, 30, 0.92)); border: 1px solid var(--border); border-radius: 8px; padding: clamp(1.25rem, 2vw, 1.8rem); text-align: left; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25); }
.panel-kicker, .card-index, .event-date { font-family: var(--font-mono); color: var(--cyan); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-panel p { color: var(--text-secondary); margin-top: 0.8rem; }

section { padding: var(--section-space) 2rem; }
.section-header { text-align: center; max-width: 980px; margin: 0 auto clamp(2rem, 4vw, 3.3rem); }
.section-tag { display: inline-block; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 0.8rem; }
.section-title { font-size: clamp(2rem, 4.2vw, 3.35rem); line-height: 1.05; max-width: 860px; margin: 0 auto; }
.section-subtitle { max-width: 760px; margin: 1rem auto 0; font-size: 1rem; }
.grid-3, .grid-2, .application-choice-grid, .event-layout { max-width: var(--container-wide); margin: 0 auto; display: grid; gap: 1.2rem; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2, .application-choice-grid, .event-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.q-card, .choice-card, .event-card, .speaker-card { background: rgba(13, 26, 46, 0.68); border: 1px solid var(--border); border-radius: 8px; padding: var(--card-padding); min-width: 0; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22); transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.q-card:hover, .choice-card:hover, .event-card:hover, .speaker-card:hover { transform: translateY(-6px); border-color: var(--border-bright); box-shadow: 0 24px 70px rgba(0, 229, 255, 0.12); }
.q-card i, .choice-card i, .event-icon { color: var(--cyan); font-size: 1.8rem; margin-bottom: 1.1rem; }
.q-card h3, .choice-card h3, .event-card h3, .speaker-card h3 { font-size: 1.25rem; line-height: 1.2; margin-bottom: 0.8rem; }
.q-card p, .choice-card p, .event-card p, .speaker-card p, .detail-list li { color: var(--text-secondary); }
.detail-list { list-style: none; display: grid; gap: 0.75rem; margin-top: 1.2rem; }
.detail-list li { display: flex; gap: 0.65rem; align-items: flex-start; }
.detail-list i { color: var(--green); margin-top: 0.25rem; }
.application-choice-grid { align-items: stretch; }
.choice-card { display: flex; flex-direction: column; }
.choice-card .cta-button { margin-top: auto; }
.speaker-photo { width: 100%; max-width: 220px; aspect-ratio: 1; object-fit: cover; border-radius: 8px; border: 1px solid var(--border-bright); margin-bottom: 1.2rem; }
.speaker-links { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.2rem; }
.notice-panel, .final-cta { max-width: 920px; margin: 0 auto; background: rgba(0, 255, 136, 0.05); border: 1px solid rgba(0, 255, 136, 0.22); border-left: 3px solid var(--green); border-radius: 8px; padding: clamp(1.25rem, 2vw, 1.8rem); }
.notice-panel p, .final-cta p { color: var(--text-secondary); }
.final-cta { text-align: center; background: linear-gradient(135deg, rgba(0, 229, 255, 0.08), rgba(123, 47, 255, 0.09)); border-left-color: var(--cyan); }
.final-cta h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 0.9rem; }
.footer { background: var(--void); border-top: 1px solid var(--border); padding: 5rem 2rem 2rem; }
.footer-container { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; max-width: var(--container-wide); margin: 0 auto 3rem; }
.footer-column h4 { font-family: var(--font-display); font-size: 1rem; margin-bottom: 1.2rem; display: flex; gap: 0.5rem; }
.footer-column h4::before { content: "//"; font-family: var(--font-mono); color: var(--cyan); font-size: 0.8rem; }
.footer-column p, .footer-column a { color: var(--text-secondary); font-size: 0.9rem; }
.footer-column ul { list-style: none; display: grid; gap: 0.55rem; }
.footer-column a { text-decoration: none; }
.footer-column a:hover { color: var(--cyan); }
.footer-social { display: flex; gap: 1rem; margin-top: 1.4rem; }
.footer-social a { font-size: 1.2rem; color: var(--text-muted); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid var(--border); font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); }
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .grid-3, .grid-2, .application-choice-grid, .event-layout, .footer-container { grid-template-columns: 1fr; }
  .mobile-menu-toggle { display: block; }
  .nav-menu { position: fixed; top: 72px; left: 1rem; right: 1rem; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem; background: rgba(2, 4, 8, 0.96); border: 1px solid var(--border); border-radius: 8px; opacity: 0; pointer-events: none; transform: translateY(-12px); transition: all 0.25s ease; }
  .nav-menu.active { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-menu li { border-bottom: 1px solid rgba(0, 229, 255, 0.08); }
  .nav-menu li:last-child { border-bottom: 0; }
  .nav-link { display: block; padding: 1rem 0.25rem; }
}
@media (max-width: 640px) {
  .nav-container { padding: 0 1rem; }
  .navbar-brand { max-width: calc(100% - 3.75rem); font-size: 0.9rem; }
  .hero { min-height: auto; padding: 7rem 1.1rem 3.5rem; }
  section { padding: 4rem 1.1rem; }
  .hero h1 { font-size: clamp(2rem, 10vw, 2.95rem); }
  .status-badge { width: min(100%, 30rem); font-size: 0.62rem; flex-wrap: wrap; }
  .hero-actions, .speaker-links { flex-direction: column; }
  .cta-button, .cta-button-secondary, .cta-button-small { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nebula, #starfield, .brand-dot, .star, .reveal { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
