:root {
  color-scheme: dark;
  --bg: #05070b;
  --panel: rgba(13, 18, 25, 0.78);
  --panel-strong: #0d1219;
  --line: rgba(180, 225, 236, 0.16);
  --line-bright: rgba(73, 246, 255, 0.38);
  --text: #f4fbfc;
  --muted: #8ea2aa;
  --cyan: #49f6ff;
  --green: #79ffb0;
  --violet: #8f64ff;
  --pink: #ff4fc6;
  --red: #ff718a;
  --max: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgba(5, 7, 11, 0.92), rgba(5, 7, 11, 0.98)),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(73, 246, 255, 0.03) 80px),
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(73, 246, 255, 0.03) 80px),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  transform: translateY(-200%);
  background: var(--text);
  color: var(--bg);
  padding: .65rem 1rem;
  border-radius: .3rem;
}
.skip-link:focus { transform: translateY(0); }

.ambient { position: fixed; pointer-events: none; filter: blur(95px); opacity: .22; border-radius: 50%; }
.ambient-one { width: 29rem; height: 29rem; background: var(--violet); top: -14rem; right: -9rem; }
.ambient-two { width: 23rem; height: 23rem; background: var(--cyan); bottom: 10%; left: -15rem; }

.site-header {
  width: min(var(--max), calc(100% - 3rem));
  min-height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; font-weight: 850; letter-spacing: .14em; }
.brand img { border-radius: 50%; box-shadow: 0 0 26px rgba(73, 246, 255, .3); image-rendering: auto; }
nav { display: flex; align-items: center; gap: 1.25rem; }
nav a { color: var(--muted); font-size: .86rem; text-decoration: none; }
nav a:hover { color: var(--text); }
.nav-x { padding: .62rem .9rem; border: 1px solid var(--line); color: var(--text); }

main, footer { width: min(var(--max), calc(100% - 3rem)); margin: 0 auto; }
.hero {
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  padding: 5rem 0 6rem;
}
.eyebrow, .section-heading > span, .section-heading > div > span, .section-label {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
}
.eyebrow { display: flex; align-items: center; gap: .65rem; }
.eyebrow > span { width: 8px; height: 8px; background: var(--green); border-radius: 50%; box-shadow: 0 0 16px var(--green); animation: pulse 1.8s ease-in-out infinite; }
.eyebrow b { margin-left: .25rem; padding: .16rem .42rem; border: 1px solid rgba(255, 79, 198, .35); color: var(--pink); font-size: .68rem; letter-spacing: .12em; }
h1 {
  margin: 1.1rem 0 1.4rem;
  font-size: clamp(3.3rem, 8.7vw, 7.6rem);
  line-height: .84;
  letter-spacing: -.075em;
  font-weight: 950;
}
h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 1px rgba(121, 255, 176, .72); text-shadow: 0 0 35px rgba(73, 246, 255, .08); }
h2 { margin: .35rem 0 0; font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.055em; }
.intro { max-width: 660px; color: #afc0c6; font-size: clamp(1.05rem, 2vw, 1.22rem); }
.intro strong { color: var(--text); }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1rem; border: 1px solid var(--line); text-decoration: none; font-size: .82rem; font-weight: 780; letter-spacing: .035em; }
.button.secondary:hover { border-color: var(--cyan); color: var(--cyan); }
.button.trade {
  border-color: rgba(73, 246, 255, .58);
  background: linear-gradient(110deg, rgba(73, 246, 255, .14), rgba(143, 100, 255, .18));
  color: var(--text);
  box-shadow: inset 0 0 26px rgba(73, 246, 255, .035), 0 0 28px rgba(73, 246, 255, .08);
}
.button.trade:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: inset 0 0 30px rgba(73, 246, 255, .08), 0 0 30px rgba(73, 246, 255, .16); }
.microcopy { margin: 1.1rem 0 0; color: #63757c; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; }

.titan-card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(15, 25, 33, .9), rgba(8, 10, 16, .94));
  box-shadow: 0 36px 80px rgba(0,0,0,.38);
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 32px 100%, 0 calc(100% - 32px));
}
.card-grid { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 49.5%, rgba(73,246,255,.06) 50%, transparent 50.5%), linear-gradient(transparent 49.5%, rgba(73,246,255,.06) 50%, transparent 50.5%); background-size: 70px 70px; mask-image: radial-gradient(circle, #000 15%, transparent 70%); }
.orb-wrap { position: absolute; inset: 7% 5% 18%; display: grid; place-items: center; }
.orb-wrap img { z-index: 2; width: 44%; height: auto; max-width: 190px; border-radius: 50%; box-shadow: 0 0 30px rgba(73, 246, 255, .38), 0 0 75px rgba(143, 100, 255, .22); }
.orb-ring { position: absolute; width: 74%; aspect-ratio: 1; border: 1px solid rgba(73, 246, 255, .22); border-radius: 50%; }
.ring-one { animation: rotate 13s linear infinite; border-style: dashed; }
.ring-two { width: 55%; border-color: rgba(255, 79, 198, .22); animation: rotate 9s linear infinite reverse; }
.token-mark { position: absolute; left: 1.5rem; bottom: 1.35rem; display: flex; flex-direction: column; }
.token-mark span { color: var(--muted); font-family: ui-monospace, monospace; font-size: .72rem; letter-spacing: .16em; }
.token-mark strong { font-size: 2.1rem; line-height: 1.2; letter-spacing: -.04em; }
.signal { position: absolute; right: 1.5rem; bottom: 1.6rem; display: flex; align-items: end; gap: 4px; height: 30px; }
.signal i { display: block; width: 4px; height: 30%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.signal i:nth-child(2) { height: 55%; }.signal i:nth-child(3) { height: 100%; }.signal i:nth-child(4) { height: 68%; }.signal i:nth-child(5) { height: 42%; }

.live-section, .tokenomics, .transparency, .roadmap { padding: 7rem 0; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.4rem; }
.section-heading > p, .section-heading > div > p { max-width: 430px; margin: 0 0 .25rem; color: var(--muted); }
.section-heading strong { color: var(--text); }

.live-heading { align-items: end; }
.live-status { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .75rem; border: 1px solid var(--line); color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .75rem; letter-spacing: .04em; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px rgba(73, 246, 255, .8); animation: pulse 1.8s ease-in-out infinite; }
.live-status.error .status-dot { background: var(--red); box-shadow: 0 0 12px rgba(255, 113, 138, .7); animation: none; }
.market-shell { border: 1px solid var(--line); background: rgba(8, 12, 18, .72); box-shadow: 0 30px 80px rgba(0, 0, 0, .25); }
.market-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.market-card { min-height: 148px; padding: 1.25rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(145deg, rgba(14, 22, 29, .58), rgba(8, 11, 17, .3)); }
.market-card:nth-child(3n) { border-right: 0; }
.market-card span, .change-strip span, .transparency-grid span, .chart-bar span { margin-bottom: auto; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .73rem; font-weight: 780; letter-spacing: .12em; }
.market-card strong { margin-top: 1.1rem; font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.1; letter-spacing: -.035em; }
.market-card.featured strong { color: var(--cyan); text-shadow: 0 0 24px rgba(73, 246, 255, .18); }
.market-card small { min-height: 1.25rem; margin-top: .35rem; color: #71858d; font-size: .78rem; }
.change-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.change-strip article { min-height: 94px; padding: 1rem 1.25rem; border-right: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.change-strip article:last-child { border-right: 0; }
.change-strip span { margin: 0; }
.change-strip strong { font-size: 1.25rem; }
.change-strip .positive { color: var(--green); }
.change-strip .negative { color: var(--red); }
.change-strip .neutral { color: var(--muted); }
.market-meta { min-height: 62px; padding: .85rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.market-meta p { margin: 0; color: #71858d; font-size: .82rem; }
.market-meta a { color: var(--cyan); text-underline-offset: 3px; }
.market-meta button { min-height: 38px; padding: .45rem .75rem; border: 1px solid var(--line); background: transparent; color: var(--text); font: inherit; font-size: .78rem; cursor: pointer; }
.market-meta button:hover { border-color: var(--cyan); color: var(--cyan); }
.market-meta button:disabled { opacity: .5; cursor: wait; }
.market-note, .market-error { margin: 0; padding: .85rem 1.25rem; border-top: 1px solid rgba(255, 79, 198, .22); color: #bdadb9; font-size: .88rem; background: rgba(255, 79, 198, .035); }
.market-error { border-top-color: rgba(255, 113, 138, .24); color: #d5a5ae; background: rgba(255, 113, 138, .045); }
.chart-panel { margin-top: 1.25rem; overflow: hidden; border: 1px solid var(--line); background: #080b10; }
.chart-bar { min-height: 64px; padding: .8rem 1.15rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.chart-bar div { display: grid; gap: .12rem; }
.chart-bar span { margin: 0; color: var(--cyan); }
.chart-bar strong { font-size: .96rem; }
.chart-bar a { color: var(--muted); font-size: .82rem; text-underline-offset: 4px; }
.chart-bar a:hover { color: var(--cyan); }
.price-chart-shell { min-height: 510px; padding: 1.5rem; display: grid; align-content: center; background: radial-gradient(circle at 50% 20%, rgba(73, 246, 255, .065), transparent 48%), #080b10; }
.chart-loading { margin: 0; min-height: 360px; display: grid; place-items: center; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; text-align: center; }
#price-chart { display: block; width: 100%; height: auto; max-height: 390px; }
.chart-grid-lines line { stroke: rgba(180, 225, 236, .12); stroke-width: 1; stroke-dasharray: 8 10; }
.chart-points circle { fill: #080b10; stroke: var(--green); stroke-width: 5; filter: drop-shadow(0 0 8px rgba(121, 255, 176, .7)); }
.chart-checkpoints { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-top: .8rem; }
.chart-checkpoints article { min-width: 0; padding: .7rem .8rem; border: 1px solid var(--line); background: rgba(12, 18, 25, .72); }
.chart-checkpoints span { display: block; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .68rem; letter-spacing: .1em; }
.chart-checkpoints strong { display: block; margin-top: .2rem; overflow: hidden; color: var(--text); font-size: .9rem; text-overflow: ellipsis; }
.chart-checkpoints article:last-child { border-color: rgba(73, 246, 255, .32); }
.chart-checkpoints article:last-child strong { color: var(--cyan); }
.chart-caption { max-width: 850px; margin: 1rem 0 0; color: #63757c; font-size: .78rem; }

.tokenomics-heading, .transparency-heading, .roadmap-heading { align-items: end; }
.allocation { display: flex; min-height: 76px; overflow: hidden; border: 1px solid var(--line); background: var(--panel-strong); box-shadow: 0 24px 60px rgba(0, 0, 0, .22); }
.allocation > div { display: flex; align-items: center; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 900; }
.allocation-liquidity { flex: 95 1 0; padding-left: 1.25rem; background: linear-gradient(90deg, rgba(73, 246, 255, .28), rgba(121, 255, 176, .17)); color: var(--cyan); }
.allocation-reserve { flex: 5 1 0; min-width: 56px; justify-content: center; border-left: 1px solid rgba(255, 79, 198, .45); background: rgba(255, 79, 198, .19); color: var(--pink); }
.allocation-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1rem; }
.allocation-details article { display: flex; align-items: center; gap: 1rem; min-height: 112px; padding: 1.25rem; border: 1px solid var(--line); background: rgba(10, 15, 21, .48); }
.allocation-details strong { display: block; font-size: 1.8rem; line-height: 1; }
.allocation-details p { margin: .35rem 0 0; color: var(--muted); }
.allocation-dot { width: 13px; height: 13px; flex: 0 0 auto; border-radius: 50%; }
.liquidity-dot { background: var(--cyan); box-shadow: 0 0 14px rgba(73, 246, 255, .55); }
.reserve-dot { background: var(--pink); box-shadow: 0 0 14px rgba(255, 79, 198, .45); }
.allocation-note { max-width: 760px; margin: 1.25rem 0 0; color: #71858d; font-size: .9rem; }

.transparency-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.transparency-grid article { min-height: 176px; padding: 1.2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(10, 15, 21, .48); display: flex; flex-direction: column; }
.transparency-grid span { color: #63757c; }
.transparency-grid strong { margin-top: auto; font-size: 1.05rem; line-height: 1.3; }
.transparency-grid small { margin-top: .45rem; color: var(--muted); }
.verified::before { content: "●"; color: var(--green); margin-right: .45rem; text-shadow: 0 0 10px var(--green); }
.address-stack { display: grid; gap: .9rem; margin-top: 1.25rem; }
.address-card { border: 1px solid var(--line); background: var(--panel); padding: 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.address-card div { min-width: 0; }
.address-card span { display: block; margin-bottom: .4rem; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.address-card code { display: block; overflow: hidden; text-overflow: ellipsis; color: var(--text); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88rem; white-space: nowrap; }
.address-card button { flex: 0 0 auto; min-height: 42px; border: 1px solid var(--line); background: transparent; color: var(--cyan); padding: .55rem .8rem; cursor: pointer; font: inherit; font-weight: 750; }
.address-card button:hover { border-color: var(--cyan); }
.transparency-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }

.roadmap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.phase { position: relative; min-height: 360px; padding: 1.25rem; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(155deg, rgba(15, 23, 31, .82), rgba(7, 10, 15, .8)); }
.phase::after { content: ""; position: absolute; inset: auto -25% -35% 35%; height: 180px; border-radius: 50%; background: var(--violet); opacity: .06; filter: blur(45px); }
.phase.complete { border-color: rgba(121, 255, 176, .28); }
.phase.current { border-color: rgba(73, 246, 255, .36); box-shadow: inset 0 0 32px rgba(73, 246, 255, .035); }
.phase.planned { border-style: dashed; }
.phase-top { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.phase-top span, .phase-top b { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .72rem; letter-spacing: .11em; }
.phase-top span { color: var(--muted); }
.phase-top b { padding: .18rem .4rem; border: 1px solid var(--line); color: var(--muted); }
.phase.complete .phase-top b { color: var(--green); border-color: rgba(121, 255, 176, .28); }
.phase.current .phase-top b { color: var(--cyan); border-color: rgba(73, 246, 255, .3); }
.phase h3 { margin: 2.3rem 0 1.4rem; font-size: 1.45rem; letter-spacing: .04em; }
.phase ul { margin: 0; padding: 0; list-style: none; color: #a8bac0; }
.phase li { position: relative; padding: .55rem 0 .55rem 1.1rem; border-bottom: 1px solid rgba(180, 225, 236, .08); }
.phase li::before { content: "/"; position: absolute; left: 0; color: var(--cyan); }
.phase > p { position: absolute; z-index: 1; left: 1.25rem; right: 1.25rem; bottom: .9rem; margin: 0; color: #61747c; font-size: .78rem; }

.disclaimer { margin-bottom: 5rem; padding: 1.35rem 1.5rem; border: 1px solid rgba(255, 79, 198, .22); background: rgba(255, 79, 198, .035); display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; }
.disclaimer span { color: var(--pink); font-family: ui-monospace, monospace; font-size: .78rem; letter-spacing: .15em; }
.disclaimer p { margin: 0; color: var(--muted); }
footer { min-height: 110px; padding: 2rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; color: var(--muted); font-size: .88rem; }
.footer-brand { color: var(--text); }
footer p { text-align: center; }
footer > a { justify-self: end; color: var(--text); }

@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(.65); opacity: .45; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }

@media (max-width: 1050px) {
  nav { gap: .9rem; }
  nav a { font-size: .78rem; }
  .market-grid { grid-template-columns: repeat(2, 1fr); }
  .market-card:nth-child(3n) { border-right: 1px solid var(--line); }
  .market-card:nth-child(2n) { border-right: 0; }
  .transparency-grid, .roadmap-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  nav > a:not(.nav-x) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 4rem; }
  .titan-card { min-height: 430px; }
  .section-heading { align-items: start; flex-direction: column; }
  footer { grid-template-columns: 1fr; text-align: left; }
  footer p { text-align: left; margin: 0; }
  footer > a { justify-self: start; }
}

@media (max-width: 620px) {
  .site-header, main, footer { width: min(100% - 2rem, var(--max)); }
  .site-header { min-height: 68px; }
  .brand { font-size: .82rem; }
  .brand img { width: 34px; height: 34px; }
  .nav-x { padding: .5rem .65rem; }
  .hero { min-height: auto; padding: 4rem 0; }
  h1 { font-size: clamp(2.85rem, 14.5vw, 4.7rem); }
  .hero-actions .button, .transparency-actions .button { width: 100%; }
  .titan-card { min-height: 360px; }
  .live-section, .tokenomics, .transparency, .roadmap { padding: 5rem 0; }
  .live-status { width: 100%; }
  .market-grid { grid-template-columns: 1fr; }
  .market-card, .market-card:nth-child(2n), .market-card:nth-child(3n) { min-height: 126px; border-right: 0; }
  .change-strip { grid-template-columns: 1fr; }
  .change-strip article { min-height: 68px; border-right: 0; border-bottom: 1px solid var(--line); }
  .change-strip article:last-child { border-bottom: 0; }
  .market-meta { align-items: stretch; flex-direction: column; }
  .market-meta button { width: 100%; }
  .chart-bar { align-items: start; flex-direction: column; }
  .price-chart-shell { min-height: 400px; padding: 1rem; }
  .chart-loading { min-height: 290px; }
  .chart-checkpoints { grid-template-columns: repeat(2, 1fr); }
  .allocation { min-height: 58px; }
  .allocation-reserve { min-width: 28px; }
  .allocation-reserve span { display: none; }
  .allocation-details, .transparency-grid, .roadmap-grid { grid-template-columns: 1fr; }
  .transparency-grid article { min-height: 132px; }
  .address-card { align-items: stretch; flex-direction: column; }
  .address-card button { width: 100%; }
  .phase { min-height: 330px; }
  .disclaimer { grid-template-columns: 1fr; }
}
