:root {
  --navy: #041226;
  --navy-2: #071a36;
  --blue: #08a8ff;
  --cyan: #5fe7ff;
  --yellow: #ffd83d;
  --yellow-2: #ffef93;
  --white: #f7fbff;
  --muted: #9fb8cf;
  --line: rgba(133, 206, 255, .17);
  --card: rgba(5, 23, 48, .78);
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 10%, rgba(0, 197, 255, .16), transparent 24%),
    radial-gradient(circle at 85% 20%, rgba(0, 104, 255, .12), transparent 28%),
    linear-gradient(#06162d, #031023 70%, #020b18);
  font-family: 'Fredoka', system-ui, sans-serif;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
code { color: var(--yellow); }

.bg-glow { position: fixed; width: 40vw; height: 40vw; border-radius: 50%; filter: blur(80px); opacity: .12; pointer-events: none; z-index: -1; }
.bg-glow-1 { background: #00b7ff; top: -15vw; left: -12vw; }
.bg-glow-2 { background: #5c74ff; right: -15vw; top: 28vw; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 12px 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(4,18,38,.74);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-logo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,216,61,.65); }
.brand-name { font-size: 1.16rem; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: #d5e6f3; font-size: .93rem; transition: .2s ease; }
.nav a:hover { color: var(--yellow); }
.nav a.active { color: var(--yellow); }
.nav-cta { padding: 11px 18px; background: var(--yellow); color: #061226 !important; border-radius: 999px; font-weight: 700; box-shadow: 0 10px 28px rgba(255,216,61,.2); }
.menu-toggle { display: none; background: transparent; border: 0; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px; background: white; border-radius: 5px; }

.section { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 110px 0; position: relative; }
.hero { min-height: 720px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 24px; padding-top: 90px; }
.page-hero { min-height: 0; padding: 96px 0 42px; text-align: center; }
.page-hero h1 { font-size: clamp(3.8rem, 7.5vw, 6.5rem); margin-bottom: 12px; }
.page-hero p { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: 1.12rem; line-height: 1.7; }
.page-hero .eyebrow { margin-bottom: 10px; }
.home-nav { padding-top: 30px; }
.home-nav-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.home-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, rgba(9,32,62,.85), rgba(4,18,38,.7)); box-shadow: var(--shadow); transition: transform .25s ease, border-color .25s ease; }
.home-card:hover { transform: translateY(-5px); border-color: rgba(255,216,61,.45); }
.home-card-icon { font-size: 1.6rem; }
.home-card h3 { margin: 4px 0 0; font-size: 1.15rem; font-family: 'Bangers', cursive; letter-spacing: .03em; }
.home-card p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.5; flex: 1; }
.home-card-link { color: var(--yellow); font-size: .85rem; font-weight: 700; }
.eyebrow { margin: 0 0 13px; color: var(--cyan); font-size: .84rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: 'Bangers', cursive; letter-spacing: .03em; line-height: .9; }
h1 { font-size: clamp(6rem, 11vw, 10rem); margin-bottom: 22px; color: white; text-shadow: 0 12px 45px rgba(0,0,0,.25); }
h1 span, h2 span { color: var(--yellow); }
h2 { font-size: clamp(3.5rem, 6.5vw, 6rem); margin-bottom: 18px; }
.hero-subtitle { max-width: 530px; font-size: 1.22rem; line-height: 1.55; color: #c4d8ea; }
.hero-subtitle strong { color: var(--yellow); }
.hero-actions { display: flex; gap: 12px; margin: 28px 0 18px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: .95rem; transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--yellow); color: #061226; box-shadow: 0 16px 38px rgba(255,216,61,.18); }
.btn-secondary { border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.04); }
.btn-wide { width: 100%; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-pills span { padding: 8px 11px; border-radius: 999px; border: 1px solid var(--line); color: #b8d3e8; font-size: .76rem; background: rgba(0,0,0,.13); }

.hero-art { position: relative; min-height: 590px; display: grid; place-items: center; }
.fish-aura { width: min(480px, 86%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,216,61,.3), rgba(0,184,255,.18) 43%, transparent 68%); filter: blur(6px); position: absolute; }
.hero-fish { position: relative; width: min(500px, 88%); aspect-ratio: 1; object-fit: cover; border-radius: 34% 42% 36% 48%; transform: rotate(-2deg); border: 4px solid rgba(255,255,255,.16); box-shadow: 0 35px 90px rgba(0,0,0,.3); animation: bob 5s ease-in-out infinite; }
.hero-art::after { content: ''; position: absolute; width: 70%; height: 13%; bottom: 11%; border-radius: 50%; background: rgba(0,0,0,.32); filter: blur(20px); }
.bubble { position: absolute; border: 2px solid rgba(255,255,255,.55); border-radius: 50%; box-shadow: inset -5px -8px 12px rgba(255,255,255,.06); opacity: .65; }
.bubble-a { width: 42px; height: 42px; top: 13%; left: 10%; }
.bubble-b { width: 24px; height: 24px; top: 29%; right: 12%; }
.bubble-c { width: 16px; height: 16px; bottom: 25%; left: 20%; }
.hero-sticker { position: absolute; z-index: 2; font-weight: 700; line-height: 1; }
.sticker-1 { top: 12%; right: 4%; color: white; font-size: 1.2rem; transform: rotate(8deg); }
.sticker-2 { left: 5%; bottom: 18%; color: var(--yellow); font-family: 'Bangers', cursive; font-size: 3rem; transform: rotate(-8deg); }

.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(5,22,44,.62); }
.ticker-track { width: max-content; display: flex; gap: 18px; padding: 13px 0; color: #cfe4f5; font-size: .78rem; letter-spacing: .14em; font-weight: 700; animation: marquee 24s linear infinite; }
.ticker-track span:nth-child(4n+1) { color: var(--yellow); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.section-head > p:last-child { color: var(--muted); line-height: 1.7; }

.live-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
.stat-card, .buy-card, .token-card, .roadmap-card { border: 1px solid var(--line); background: linear-gradient(180deg, rgba(9,32,62,.88), rgba(4,18,38,.72)); border-radius: 24px; box-shadow: var(--shadow); }
.stat-card { position: relative; padding: 20px; min-height: 128px; display: flex; flex-direction: column; justify-content: center; }
.stat-card span, .token-card span { color: #8fb0c9; font-size: .79rem; text-transform: uppercase; letter-spacing: .08em; }
.stat-card strong, .token-card strong { margin-top: 7px; font-size: 1.55rem; }
.stat-card small { margin-top: 8px; color: var(--cyan); font-size: .65rem; }
.stat-card.wide { grid-column: span 2; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1rem !important; overflow: hidden; text-overflow: ellipsis; }
.copy-btn { position: absolute; right: 12px; bottom: 12px; border: 1px solid var(--line); color: #cfe4f5; background: rgba(255,255,255,.03); padding: 7px 10px; border-radius: 999px; cursor: pointer; }
.buy-card { grid-column: span 2; padding: 22px; background: linear-gradient(145deg, rgba(255,216,61,.11), rgba(5,23,48,.92)); }
.buy-card-top { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.buy-card-top img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--yellow); }
.label { color: var(--cyan); font-size: .72rem; letter-spacing: .1em; }
.buy-card h3 { margin: 2px 0 0; font-size: 1.5rem; }
.buy-card p { color: var(--muted); line-height: 1.6; }
.buy-meta { display: flex; gap: 16px; margin-top: 12px; color: #93b4cb; font-size: .76rem; }

.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.about-art { position: relative; min-height: 470px; display: grid; place-items: center; }
.about-art::before { content: ''; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(0,188,255,.25), transparent 64%); }
.about-art img { width: min(360px, 84%); border-radius: 38%; position: relative; border: 3px solid rgba(255,255,255,.12); box-shadow: var(--shadow); transform: rotate(4deg); }
.about-orbit { position: absolute; width: 82%; aspect-ratio: 1; border: 1px dashed rgba(95,231,255,.27); border-radius: 50%; animation: spin 22s linear infinite; }
.orbit-label { position: absolute; border: 1px solid var(--line); background: rgba(4,18,38,.85); padding: 8px 11px; border-radius: 999px; font-size: .72rem; color: var(--yellow); }
.label-a { top: 3%; left: 20%; }.label-b { right: 2%; top: 48%; }.label-c { bottom: 8%; left: 20%; }
.about-copy .lead { color: #bbd0e1; font-size: 1.05rem; line-height: 1.75; max-width: 620px; }
.feature-list { display: grid; gap: 12px; margin-top: 25px; }
.feature-list article { display: flex; gap: 14px; padding: 14px 0; }
.feature-icon { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 44px; border-radius: 14px; background: rgba(0,169,255,.11); border: 1px solid var(--line); }
.feature-list h3 { margin: 0 0 4px; font-size: 1rem; }.feature-list p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }

.lore { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; padding-top: 80px; }
.lore-copy { max-width: 530px; }
.lore-copy > p:not(.eyebrow):not(.quote) { color: var(--muted); font-size: 1.04rem; line-height: 1.8; }
.quote { padding-left: 16px; border-left: 3px solid var(--yellow); color: #e2f0fb; font-weight: 600; line-height: 1.6; }
.lore-scene { position: relative; min-height: 420px; display: grid; place-items: center; }
.lore-scene img { position: relative; z-index: 2; width: min(420px, 80%); border-radius: 42%; border: 3px solid rgba(255,255,255,.12); box-shadow: 0 30px 80px rgba(0,0,0,.3); transform: rotate(-5deg); }
.scene-splash { position: absolute; width: 72%; height: 42%; bottom: 11%; border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgba(0,195,255,.35), rgba(0,195,255,.06) 55%, transparent 70%); filter: blur(10px); }
.scene-note { position: absolute; right: 0; top: 8%; color: white; font-weight: 700; transform: rotate(6deg); text-align: center; }
.scene-note span { color: var(--yellow); font-family: 'Bangers', cursive; font-size: 2.7rem; }

.token-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.token-card { padding: 24px; min-height: 148px; display: flex; flex-direction: column; justify-content: center; }
.token-card.big { grid-column: span 2; background: linear-gradient(145deg, rgba(255,216,61,.12), rgba(5,23,48,.82)); }
.token-card.wide { grid-column: span 3; min-height: 110px; }
.token-card small { color: #7997af; margin-top: 7px; font-size: .67rem; }

.roadmap-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
.roadmap-track::before { content: ''; position: absolute; top: 31px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, rgba(95,231,255,.45), transparent); }
.roadmap-card { position: relative; padding: 26px; min-height: 250px; }
.phase { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); color: #071226; font-family: 'Bangers', cursive; font-size: 1.65rem; box-shadow: 0 0 0 7px rgba(255,216,61,.08); }
.roadmap-card h3 { margin: 20px 0 12px; font-size: 1.25rem; }.roadmap-card ul { padding-left: 18px; margin: 0; color: var(--muted); line-height: 2; }

.gallery-grid { columns: 4; column-gap: 14px; }
.g-item { position: relative; display: block; width: 100%; margin: 0 0 14px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: rgba(9,32,62,.6); box-shadow: var(--shadow); break-inside: avoid; }
.g-item img { width: 100%; height: auto; display: block; transition: transform .45s ease, filter .45s ease; }
.g-item:hover img { transform: scale(1.05); filter: brightness(1.12); }
.gallery-lightbox { position: fixed; inset: 0; z-index: 60; display: none; place-items: center; background: rgba(2,11,24,.92); backdrop-filter: blur(8px); padding: 30px; }
.gallery-lightbox.open { display: grid; }
.gallery-lightbox img { max-width: min(92vw, 1100px); max-height: 85vh; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 30px 90px rgba(0,0,0,.5); }
.lb-close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: white; font-size: 1.1rem; cursor: pointer; }

.community-inner { border: 1px solid var(--line); border-radius: 32px; padding: 50px; background: linear-gradient(135deg, rgba(10,39,73,.92), rgba(3,17,35,.88)); display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: center; overflow: hidden; position: relative; }
.community-inner::after { content:''; position:absolute; width:260px; height:260px; right:-90px; bottom:-120px; border-radius:50%; background: rgba(255,216,61,.12); filter: blur(30px); }
.community-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.social-btn { display: flex; gap: 11px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.03); position: relative; z-index: 2; }
.social-btn > span { width: 38px; height: 38px; border-radius: 12px; display:grid; place-items:center; background: rgba(255,255,255,.06); }
.social-btn small { display: block; color: #86a8c0; font-size: .64rem; letter-spacing: .08em; }.social-btn strong { display:block; margin-top: 3px; font-size: .82rem; }

.footer { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 30px 0 55px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; }
.footer-brand { display:flex; align-items:center; gap: 10px; }.footer-brand img { width: 36px; height:36px; border-radius:50%; object-fit:cover; }
.footer-links { display:flex; justify-content:center; gap: 24px; color:#9db8ce; font-size:.85rem; }.footer-links a:hover { color:var(--yellow); }
.footer-cta { justify-self:end; color:var(--yellow); font-weight:700; }.footer p { grid-column: 1/-1; margin: 10px 0 0; text-align:center; color:#617f98; font-size:.76rem; }

.toast { position: fixed; bottom: 22px; left: 50%; transform: translate(-50%, 20px); opacity: 0; pointer-events:none; padding: 11px 15px; border-radius: 999px; background: #0d2e4e; border:1px solid var(--line); box-shadow:var(--shadow); transition:.25s ease; z-index:50; }.toast.show { opacity:1; transform:translate(-50%,0); }

/* Content visible by default. Animations only apply when JS confirms it can reveal. */
.reveal { opacity: 1; transform: none; }
.reveal-ready .reveal { opacity: 0; transform: translateY(24px); transition: .7s ease; }
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }.delay-2 { transition-delay: .2s; }

@keyframes bob { 0%,100%{transform:translateY(0) rotate(-2deg)} 50%{transform:translateY(-11px) rotate(1deg)} }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .nav { gap: 15px; }.nav a:not(.nav-cta) { display: none; }
  .menu-toggle { display: block; }
  .nav.mobile-open { position:absolute; left:0; right:0; top:62px; padding:14px; display:grid; background:rgba(4,18,38,.96); border:1px solid var(--line); border-radius:24px; }
  .nav.mobile-open a:not(.nav-cta) { display:block; padding:11px; }
  .hero, .about, .lore, .community-inner { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 70px; }.hero-art { order: -1; min-height: 430px; }
  .live-grid { grid-template-columns: repeat(2,1fr); }.stat-card.wide, .buy-card { grid-column: span 2; }
  .home-nav-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { columns: 3; }
  .token-grid { grid-template-columns: repeat(2,1fr); }.token-card.big, .token-card.wide { grid-column: span 2; }
  .community-actions { grid-template-columns: 1fr; }
  .community-inner { padding: 34px; }
  .footer { grid-template-columns: 1fr 1fr; }.footer-links { justify-content:flex-end; }.footer-cta { grid-column:1/-1; justify-self:start; }
}
@media (max-width: 640px) {
  .site-header { width: calc(100% - 20px); margin-top:10px; }
  .section { width: calc(100% - 20px); padding: 78px 0; }
  h1 { font-size: 5rem; }.hero-subtitle { font-size: 1rem; }.hero-art { min-height: 300px; }.hero-fish { width: 80%; }
  .sticker-1 { font-size:.85rem; right:0; }.sticker-2 { font-size:2.1rem; left:0; }
  .live-grid, .token-grid { grid-template-columns: 1fr; }.stat-card.wide, .buy-card, .token-card.big, .token-card.wide { grid-column: auto; }
  .home-nav-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2; }
  .roadmap-track { grid-template-columns:1fr; }.roadmap-track::before { display:none; }
  .about-art { min-height: 360px; }
  .community-inner { padding: 26px; }.community-inner h2 { font-size: 3.4rem; }
  .footer { grid-template-columns: 1fr; }.footer-links { justify-content:flex-start; flex-wrap:wrap; }.footer-cta { grid-column:auto; }
}
