/* Trust Wallet Web3 Summit 2026 — USA */
:root {
  --bg: #000;
  --bg-card: #1c1c1c;
  --accent: #b0a6df;
  --text: #fff;
  --text-muted: rgba(255,255,255,0.5);
  --text-muted-2: #71717a;
  --border: rgba(255,255,255,0.1);
  --font: 'Manrope', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.4;
  overflow-x: hidden;
}

/* Noise overlay */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Ticker — hidden until config is applied to avoid empty content jerk and mask glitches */
.config-wait .ticker-wrap {
  visibility: hidden;
  opacity: 0;
}
.config-wait .ticker-wrap .ticker {
  animation-play-state: paused;
}
.ticker-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  overflow: hidden;
  min-height: 3.5rem;
  background: var(--bg);
  mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.ticker {
  display: flex;
  gap: 4rem;
  padding: 1rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  width: max-content;
  animation: ticker 30s linear infinite;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.config-ready .ticker-wrap .ticker {
  animation-play-state: running;
}
.ticker span {
  flex-shrink: 0;
}
.ticker span:nth-child(odd) { color: var(--text); }
@keyframes ticker {
  0% { transform: translateZ(0) translateX(0); }
  100% { transform: translateZ(0) translateX(-50%); }
}

/* Header */
.header {
  position: fixed;
  top: 3rem;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}
.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
}
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.nav a:hover { color: var(--text); }
.btn-nav {
  background: var(--text);
  color: var(--bg) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8rem 2rem 4rem;
  position: relative;
}
.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  display: block;
  width: 100%;
  height: 100%;
}
.hero-title {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  text-align: center;
  z-index: 1;
}
.hero-title .line { display: block; }
.hero-title .accent { color: var(--accent); }
.hero-subheadline {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 520px;
  text-align: center;
  margin-top: 1.5rem;
  line-height: 1.5;
  z-index: 1;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2rem;
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--text-muted);
  z-index: 1;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  z-index: 1;
}
.hero-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 1rem;
  z-index: 1;
}
.countdown-timer {
  margin-top: 2.5rem;
  text-align: center;
  z-index: 1;
}
.timer-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.timer-units {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.timer-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.timer-label-unit {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.timer-sep {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text);
  padding: 1rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover {
  border-color: var(--text-muted);
  background: rgba(255,255,255,0.05);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--text);
  color: var(--bg);
  padding: 1rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(255,255,255,0.15);
}
.btn-large { padding: 1.25rem 2.5rem; font-size: 1.125rem; }

/* Sections */
.section {
  padding: 8rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.tag {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  padding: 0.25rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.section h2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.section h2 em { color: var(--accent); font-style: normal; }
.lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.5;
}
.about-text p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 640px;
}
.about-text .lead { margin-bottom: 1rem; }

/* Trust section */
.trust-tagline {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin: 1.5rem 0;
  line-height: 1.5;
}
.trust-bullets, .about-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.trust-bullets li, .about-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.trust-bullets li::before, .about-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.gallery-item {
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Agenda */
.agenda-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.agenda-card {
  background: var(--bg-card);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--border);
}
.agenda-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.agenda-subtitle {
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.agenda-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* Full Agenda */
.agenda-days {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}
.agenda-day h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}
.agenda-date {
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.agenda-list {
  border-top: 1px solid var(--border);
}
.agenda-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.agenda-item .time {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8125rem;
}

/* Airdrop */
.airdrop-qualify {
  margin: 2rem 0;
}
.airdrop-qualify ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0;
}
.airdrop-qualify li {
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  position: relative;
}
.airdrop-qualify li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}
.airdrop-tagline {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 1rem;
  color: var(--accent);
}
.airdrop-form-card {
  margin-top: 2.5rem;
  background: var(--bg-card);
  border-radius: 1rem;
  padding: 3rem;
  border: 1px solid var(--border);
  text-align: center;
}
.airdrop-counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.counter-value {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.counter-label {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}
.counter-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Merch */
.merch-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.merch-list li {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  position: relative;
}
.merch-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Venue */
.venue-desc {
  color: var(--text-muted);
  margin: 0.5rem 0 1rem;
  line-height: 1.5;
}
.venue-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}
.venue-features li {
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  position: relative;
}
.venue-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Ticket Tiers */
.ticket-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.tier-card {
  background: var(--bg-card);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}
.tier-card:hover {
  border-color: rgba(176,166,223,0.3);
  transform: translateY(-2px);
}
.tier-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(176,166,223,0.2);
}
.tier-badge {
  position: absolute;
  top: -10px;
  right: 1.5rem;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}
.tier-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.tier-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.tier-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}
.tier-card li {
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  position: relative;
}
.tier-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}
.tier-card a {
  width: 100%;
  text-align: center;
}

/* Final CTA */
.final-cta {
  text-align: center;
}
.final-meta {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin: 0.5rem 0;
}
.final-note {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Speakers */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.speaker-card {
  background: var(--bg-card);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.3s;
}
.speaker-card:hover { transform: translateY(-4px); }
.speaker-img {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.speaker-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(176,166,223,0.15) 100%);
}
.speaker-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.3s, transform 0.3s;
}
@media (max-width: 768px) {
  .speaker-img img {
    filter: grayscale(0);
  }
  .speaker-card:hover .speaker-img img {
    filter: grayscale(0);
  }
}
.speaker-initial {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.speaker-card:hover .speaker-img img {
  filter: grayscale(0);
  transform: scale(1.05);
}
.speaker-img-placeholder {
  background: linear-gradient(135deg, rgba(28,28,28,0.9) 0%, rgba(176,166,223,0.12) 100%);
  border: 1px solid var(--border);
}
.speaker-placeholder-q {
  font-size: clamp(4rem, 12vw, 6rem);
  font-weight: 300;
  color: var(--accent);
  opacity: 0.6;
  font-family: var(--font);
  letter-spacing: -0.08em;
  line-height: 1;
}
.speaker-card:hover .speaker-placeholder-q {
  opacity: 0.85;
}
.speaker-card h3 {
  font-size: 1.25rem;
  padding: 1.25rem 1.5rem 0.25rem;
}
.speaker-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  padding: 0 1.5rem 0.5rem;
}
.speaker-role {
  font-weight: 600;
  color: var(--text) !important;
  font-size: 0.8125rem !important;
}
.speaker-topic {
  font-size: 0.75rem !important;
  color: var(--accent) !important;
  padding-bottom: 1.5rem !important;
}

/* Schedule */
.schedule-list {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
}
.schedule-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.schedule-item .time {
  color: var(--text-muted);
  font-size: 0.875rem;
}
.schedule-item h4 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}
.schedule-item p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Venue */
.venue p {
  color: var(--text-muted);
  margin: 0.5rem 0 1rem;
}
.link-arrow {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}
.link-arrow:hover { opacity: 0.8; }

/* Tickets — 3D drawn ticket */
.tickets { text-align: center; }
.tickets-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  perspective: 1200px;
}
.ticket-3d {
  transform-style: preserve-3d;
  animation: ticket-float 5s ease-in-out infinite;
  will-change: transform;
}
@keyframes ticket-float {
  0%, 100% { transform: translateX(-50%) rotate(-40deg) rotateX(30deg) rotateY(40deg) translateY(0); }
  50% { transform: translateX(-50%) rotate(-40deg) rotateX(30deg) rotateY(40deg) translateY(-10px); }
}
.ticket-body {
  display: flex;
  width: 420px;
  min-height: 220px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.ticket-side {
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ticket-white {
  flex: 1;
  background: #fff;
  color: #000;
  border-right: 2px dashed rgba(0,0,0,0.2);
}
.ticket-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.ticket-white h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}
.ticket-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.6;
}
.ticket-date-row, .ticket-venue-row, .ticket-city-row {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #333;
}
.ticket-date-row .slash, .ticket-venue-row .slash, .ticket-city-row .slash {
  color: var(--accent);
  margin-right: 0.35rem;
}
.ticket-meta {
  display: flex;
  gap: 1.25rem;
  margin-top: 0.5rem;
}
.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.meta-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.meta-value {
  font-size: 1rem;
  font-weight: 800;
  color: #000;
}
.ticket-black {
  width: 140px;
  background: #1c1c1c;
  color: #fff;
}
.ticket-stub p {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
  letter-spacing: -0.02em;
}
.stub-date, .stub-city {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
}
.ticket-stub-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.7rem;
  margin-top: 0.75rem;
}
.ticket-stub-meta .sl {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-right: 0.5rem;
}
.ticket-qr {
  width: 56px;
  height: 56px;
  background: #fff;
  border-radius: 6px;
  margin-top: auto;
  margin-left: auto;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Crect fill='%23000' width='56' height='56'/%3E%3Crect fill='%23fff' x='4' y='4' width='8' height='8'/%3E%3Crect fill='%23fff' x='44' y='4' width='8' height='8'/%3E%3Crect fill='%23fff' x='4' y='44' width='8' height='8'/%3E%3Crect fill='%23fff' x='44' y='44' width='8' height='8'/%3E%3Crect fill='%23fff' x='20' y='20' width='4' height='4'/%3E%3Crect fill='%23fff' x='28' y='20' width='4' height='4'/%3E%3Crect fill='%23fff' x='20' y='28' width='4' height='4'/%3E%3Crect fill='%23fff' x='28' y='28' width='4' height='4'/%3E%3C/svg%3E");
  background-size: contain;
}
.ticket-cta {
  text-align: center;
}
.ticket-cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}
.ticket-cta p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

/* Footer */
.footer {
  padding: 4rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid var(--border);
  max-width: 1200px;
  margin: 0 auto;
}
.footer nav {
  display: flex;
  gap: 2rem;
}
.footer a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
}
.footer a:hover { color: var(--text); }
.footer p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .header { padding: 0 1rem; top: 2rem; }
  .nav { display: none; }
  .schedule-item { grid-template-columns: 1fr; gap: 0.5rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .agenda-item { grid-template-columns: 1fr; gap: 0.5rem; }
  .agenda-days { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .ticket-tiers { grid-template-columns: 1fr; }
  .ticket-body {
    width: 340px;
    min-height: 200px;
    flex-direction: column;
  }
  .ticket-white {
    border-right: none;
    border-bottom: 2px dashed rgba(0,0,0,0.2);
  }
  .ticket-black {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
  }
  .ticket-stub { flex: 1; }
  .ticket-stub-meta { flex-direction: row; margin-top: 0; }
  .ticket-qr { margin: 0; }
  .ticket-3d {
    animation: ticket-float-mobile 5s ease-in-out infinite;
  }
}
@keyframes ticket-float-mobile {
  0%, 100% { transform: translateX(-50%) rotate(-15deg) rotateX(15deg) rotateY(15deg) translateY(0); }
  50% { transform: translateX(-50%) rotate(-15deg) rotateX(15deg) rotateY(15deg) translateY(-8px); }
}
