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

:root {
  --orange-hot: #ff6b2b;
  --orange-warm: #ff9a3c;
  --orange-gold: #ffbd59;
  --sky-mid: #87ceeb;
  --sky-deep: #4a9edd;
  --navy-dark: #0d1b2a;
  --navy-mid: #16213e;
  --cream: #fff8f0;
  --text-dark: #2c1810;
  --text-muted: #6b3d20;
  --pier-wood-a: #8B6914;
  --pier-wood-b: #6B4E0A;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: #fff; line-height: 1.5; overflow-x: hidden; }
img, iframe { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

.nav {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(135deg, var(--orange-hot), var(--orange-warm));
  padding: 14px 24px;
  display: flex; justify-content: space-between; align-items: center;
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.nav-logo { font-size: 1.2rem; font-weight: 900; color: #fff; letter-spacing: 1px; }
.nav-links { display: flex; gap: 20px; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.9); font-size: 0.85rem; font-weight: 600; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
@media (max-width: 480px) {
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 0.75rem; }
}

.hero {
  background: linear-gradient(180deg, var(--orange-warm) 0%, var(--orange-gold) 35%, var(--sky-mid) 70%, var(--sky-deep) 100%);
  padding: 60px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(180deg, transparent, rgba(30,80,140,0.4));
  pointer-events: none;
}
.hero-seal {
  font-size: clamp(5rem, 15vw, 8rem); margin-bottom: 12px;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.25));
  animation: bob 3s ease-in-out infinite;
  display: block;
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-title {
  font-size: clamp(3rem, 12vw, 6rem); font-weight: 900; color: #fff;
  text-shadow: 4px 4px 0 rgba(0,0,0,0.12); line-height: 1; letter-spacing: -1px;
}
.hero-tagline { font-size: clamp(0.9rem, 3vw, 1.1rem); color: rgba(255,255,255,0.95); margin: 12px 0 24px; font-weight: 600; }
.hero-ca {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(0,0,0,0.25); border-radius: 10px; padding: 10px 16px;
  font-family: monospace; font-size: clamp(0.55rem, 2vw, 0.72rem);
  color: rgba(255,255,255,0.9); margin-bottom: 24px;
  max-width: 100%; word-break: break-all;
}
.ca-copy-btn {
  flex-shrink: 0; background: rgba(255,255,255,0.3); border: none; color: #fff;
  font-size: 0.65rem; font-weight: 700; padding: 4px 10px; border-radius: 6px;
  cursor: pointer; transition: background 0.2s; white-space: nowrap;
}
.ca-copy-btn:hover { background: rgba(255,255,255,0.45); }
.ca-copy-btn.copied { background: rgba(50,200,100,0.5); }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--orange-hot); color: #fff; border: none;
  padding: 14px 28px; border-radius: 30px; font-size: 0.95rem; font-weight: 800;
  cursor: pointer; box-shadow: 0 6px 25px rgba(255,107,43,0.5);
  transition: transform 0.15s, box-shadow 0.15s; display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 35px rgba(255,107,43,0.6); }
.btn-secondary {
  background: rgba(255,255,255,0.25); color: #fff; border: 2px solid rgba(255,255,255,0.7);
  padding: 14px 26px; border-radius: 30px; font-size: 0.95rem; font-weight: 700;
  cursor: pointer; transition: background 0.2s; display: inline-block;
}
.btn-secondary:hover { background: rgba(255,255,255,0.35); }

.pier-divider {
  height: 44px;
  background: repeating-linear-gradient(90deg, var(--pier-wood-a) 0px, var(--pier-wood-a) 20px, var(--pier-wood-b) 20px, var(--pier-wood-b) 40px);
  border-top: 3px solid #5a3800;
  border-bottom: 3px solid #3a2200;
}
.section-label { font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase; font-weight: 700; margin-bottom: 6px; }
.section-title { font-size: clamp(1.5rem, 5vw, 2.2rem); font-weight: 800; margin-bottom: 20px; line-height: 1.15; }
section { padding: 56px 24px; }
@media (max-width: 480px) { section { padding: 40px 16px; } }

.s-stream { background: var(--navy-dark); text-align: center; }
.s-stream .section-label { color: var(--orange-warm); }
.s-stream .section-title { color: #fff; }
.stream-wrapper {
  position: relative; max-width: 800px; margin: 0 auto;
  border-radius: 14px; overflow: hidden;
  border: 2px solid rgba(255,154,60,0.25);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.stream-frame { width: 100%; aspect-ratio: 16 / 9; border: none; display: block; }
.stream-fallback {
  display: none; background: #000; aspect-ratio: 16 / 9;
  align-items: center; justify-content: center; flex-direction: column;
  gap: 14px; color: rgba(255,255,255,0.6); font-size: 0.9rem; text-align: center;
}
.stream-fallback-icon { font-size: 3rem; display: block; }
.live-pill {
  position: absolute; top: 12px; left: 12px; background: #e63939; color: #fff;
  font-size: 0.65rem; font-weight: 800; letter-spacing: 1px;
  padding: 4px 10px; border-radius: 20px; display: flex; align-items: center; gap: 5px; z-index: 5;
}
.live-dot { width: 7px; height: 7px; background: #fff; border-radius: 50%; animation: blink 1.1s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }

.s-weather { background: linear-gradient(135deg, #5aafce, var(--sky-deep)); text-align: center; }
.s-weather .section-label { color: rgba(255,255,255,0.8); }
.s-weather .section-title { color: #fff; }
.weather-card {
  max-width: 480px; margin: 0 auto;
  background: rgba(255,255,255,0.2); backdrop-filter: blur(12px);
  border-radius: 20px; padding: 24px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.w-item { text-align: center; }
.w-icon { font-size: 2.2rem; margin-bottom: 6px; display: block; }
.w-val { font-size: 1.3rem; font-weight: 800; color: #fff; display: block; }
.w-label { font-size: 0.6rem; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; display: block; }
.weather-status { color: rgba(255,255,255,0.6); font-size: 0.85rem; text-align: center; padding: 20px; }

.s-about { background: var(--cream); }
.s-about .section-label { color: var(--orange-hot); }
.s-about .section-title { color: var(--text-dark); }
.about-body { max-width: 680px; margin: 0 auto; }
.about-text { font-size: clamp(0.9rem, 2.5vw, 1rem); color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.about-text strong { color: var(--text-dark); }
.wsj-badge {
  display: inline-block; background: rgba(255,107,43,0.1); color: var(--orange-hot);
  font-size: 0.72rem; font-weight: 700; padding: 5px 14px; border-radius: 20px;
  border: 1px solid rgba(255,107,43,0.2); transition: background 0.2s;
}
.wsj-badge:hover { background: rgba(255,107,43,0.18); }

.s-community { background: linear-gradient(135deg, #1a1a2e, var(--navy-mid)); text-align: center; }
.s-community .section-label { color: var(--orange-warm); }
.s-community .section-title { color: #fff; }
.x-community-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: #000; padding: 16px 32px; border-radius: 40px;
  font-size: 1rem; font-weight: 800;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  transition: transform 0.15s, box-shadow 0.15s; margin-bottom: 14px;
}
.x-community-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,0.5); }
.x-icon { font-size: 1.3rem; font-weight: 900; }
.community-sub { font-size: 0.8rem; color: rgba(255,255,255,0.4); }

.s-token { background: linear-gradient(180deg, #0f2027, #203a43, #2c5364); }
.s-token .section-label { color: var(--orange-warm); }
.s-token .section-title { color: #fff; }
.token-card {
  max-width: 480px; margin: 0 auto;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; overflow: hidden;
}
.token-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 0.85rem;
}
.token-row:last-child { border-bottom: none; }
.token-row.ca-row { flex-direction: column; align-items: flex-start; gap: 6px; }
.t-key { color: rgba(255,255,255,0.5); }
.t-val { color: #fff; font-weight: 700; font-family: monospace; display: flex; align-items: center; gap: 8px; }
.sol-badge {
  background: linear-gradient(135deg, #9945ff, #14f195); color: #fff;
  font-size: 0.65rem; font-weight: 800; padding: 2px 10px; border-radius: 12px; font-family: var(--font);
}
.ca-full-row { display: flex; gap: 8px; align-items: center; width: 100%; }
.ca-full-text { font-size: 0.6rem; word-break: break-all; color: rgba(255,255,255,0.8); font-family: monospace; flex: 1; }
.ca-token-copy {
  flex-shrink: 0; background: rgba(255,255,255,0.12); border: none;
  color: rgba(255,255,255,0.7); font-size: 0.6rem; padding: 3px 8px;
  border-radius: 5px; cursor: pointer; transition: background 0.2s;
}
.ca-token-copy:hover { background: rgba(255,255,255,0.2); }
.ca-token-copy.copied { background: rgba(50,200,100,0.3); color: #5fd98a; }
.pump-btn {
  display: block; width: calc(100% - 32px); margin: 20px auto 0;
  background: linear-gradient(135deg, var(--orange-warm), var(--orange-hot));
  color: #fff; border: none; padding: 16px; border-radius: 30px;
  font-size: 1rem; font-weight: 800; cursor: pointer;
  box-shadow: 0 6px 25px rgba(255,107,43,0.4);
  transition: transform 0.15s, box-shadow 0.15s; text-align: center;
}
.pump-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 35px rgba(255,107,43,0.5); }

.site-footer { background: #080808; padding: 24px; text-align: center; font-size: 0.72rem; color: rgba(255,255,255,0.3); line-height: 1.8; }
.site-footer a { color: rgba(255,154,60,0.6); transition: color 0.2s; }
.site-footer a:hover { color: var(--orange-warm); }
.footer-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 10px; flex-wrap: wrap; }

@media (min-width: 640px) {
  .hero { padding: 80px 40px 100px; }
  .weather-card { gap: 24px; padding: 32px; }
}
@media (min-width: 1024px) {
  section { padding: 72px 48px; }
  .stream-wrapper { max-width: 900px; }
  .about-body { max-width: 760px; }
}
