/* ══════════════════════════════════════════════════════════ $CLASHCAT — site.css Shared styles: variables, reset, ticker, header, footer, buttons, fee-split bar, utilities. Page-specific CSS lives in burn.css and meme.css. ══════════════════════════════════════════════════════════ */ /* ─── Design tokens ─────────────────────────────────────── */ :root { /* Core palette */ --navy: #12061c; /* page background */ --navy-2: #1a0d28; /* raised surface */ --navy-3: #23153c; /* input / card surface */ --elixir: #1a0d28; /* chart / inset bg */ --cream: #f7f2e8; /* primary text */ --cream-soft: rgba(247, 242, 232, .75); --cream-mute: rgba(247, 242, 232, .55); --cream-faint: rgba(247, 242, 232, .35); /* Accents */ --gold: #ffd700; --gold-dim: rgba(255, 215, 0, .5); --gold-faint: rgba(255, 215, 0, .28); --signal: #00ff88; /* burn / success */ --tear: #00e5ff; /* cyan accent */ --danger: #ff4d6d; /* Typography */ --display: "Cinzel", "Times New Roman", serif; --body: "Outfit", ui-sans-serif, system-ui, sans-serif; --mono: "Courier New", Courier, monospace; /* Layout */ --header-h: 108px; --ticker-h: 32px; /* Motion */ --ease: cubic-bezier(.22, .61, .36, 1); } /* ─── Reset ─────────────────────────────────────────────── */ *, *::before, *::after { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; min-height: 100vh; background: radial-gradient(1200px 800px at 85% -10%, rgba(255, 215, 0, .06), transparent 60%), radial-gradient(1000px 700px at 10% 110%, rgba(0, 229, 255, .05), transparent 60%), var(--navy); color: var(--cream); font-family: var(--body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; } img, canvas { max-width: 100%; display: block; } a { color: var(--gold); text-decoration: none; } a:hover { color: var(--cream); } h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; } /* ─── Utilities ─────────────────────────────────────────── */ .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } .hidden { display: none !important; } /* ─── Site ticker ───────────────────────────────────────── */ .site-ticker { position: relative; z-index: 40; height: var(--ticker-h); background: linear-gradient(90deg, #1a0d28, #12061c 40%, #12061c 60%, #1a0d28); border-bottom: 1px solid var(--gold-faint); overflow: hidden; display: flex; align-items: center; } .site-ticker-track { display: flex; gap: 3rem; white-space: nowrap; animation: ticker-scroll 60s linear infinite; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); padding-left: 100%; } .site-ticker-track span { flex-shrink: 0; } @keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } } @media (prefers-reduced-motion: reduce) { .site-ticker-track { animation: none; } } /* ─── Site header ───────────────────────────────────────── */ .site-header { position: sticky; top: 0; z-index: 50; background: rgba(18, 6, 28, .82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--gold-faint); } .site-header-inner { max-width: 72rem; margin: 0 auto; padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; } @media (min-width: 40rem) { .site-header-inner { padding-inline: 24px; } } @media (min-width: 64rem) { .site-header-inner { padding-inline: 32px; } } .site-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: .04em; color: var(--cream); transition: color .15s var(--ease); } .site-logo:hover { color: var(--gold); } .site-logo img { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--gold-faint); object-fit: cover; } .site-nav { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .site-nav a { display: inline-block; padding: 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--cream-soft); border: 1px solid transparent; transition: color .15s var(--ease), border-color .15s var(--ease), background .15s var(--ease); } .site-nav a:hover { color: var(--cream); border-color: var(--gold-faint); background: rgba(255, 215, 0, .06); } .site-nav a[aria-current="page"] { color: var(--gold); border-color: var(--gold-dim); background: rgba(255, 215, 0, .1); } /* ─── Buttons ───────────────────────────────────────────── */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 13px; font-weight: 600; letter-spacing: .06em; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--gold-dim); background: transparent; color: var(--cream); cursor: pointer; transition: background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease), transform .1s var(--ease), box-shadow .15s var(--ease); white-space: nowrap; } .btn:hover { border-color: var(--gold); box-shadow: 0 0 18px rgba(255, 215, 0, .22); } .btn:active { transform: translateY(1px); } .btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; } .btn-gold { background: linear-gradient(180deg, #ffe14d, var(--gold)); border-color: var(--gold); color: #12061c; font-weight: 700; box-shadow: 0 8px 22px -8px rgba(255, 215, 0, .65); } .btn-gold:hover { color: #12061c; filter: brightness(1.06); box-shadow: 0 10px 26px -8px rgba(255, 215, 0, .8); } .btn-ghost { background: var(--navy-3); border-color: var(--gold-faint); } /* ─── Fee / allocation split ────────────────────────────── */ .fee-split { margin-top: 20px; padding: 24px; border-radius: 16px; border: 1px solid var(--gold-dim); background: var(--navy); box-shadow: 0 0 15px rgba(255, 215, 0, .14); } .fee-split-head { margin-bottom: 16px; } .fee-split-title { margin: 6px 0 0; font-size: 22px; color: var(--cream); } .fee-bar { display: flex; height: 56px; border-radius: 12px; overflow: hidden; border: 1px solid var(--gold-faint); background: var(--navy-2); } .fee-seg { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0 12px; text-align: center; min-width: 0; transition: filter .15s var(--ease); } .fee-seg:hover { filter: brightness(1.08); } .fee-seg-burn { flex: 1 1 100%; background: linear-gradient(180deg, #ffe14d, var(--gold)); color: #12061c; } .fee-seg-burn .fee-pct { color: #12061c; font-weight: 800; } .fee-seg-burn .fee-lbl { color: rgba(18, 6, 28, .78); font-weight: 700; } .fee-pct { font-family: var(--display); font-size: 20px; font-weight: 700; line-height: 1; } .fee-lbl { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .85; } .fee-bar-secondary { margin-top: 8px; height: 40px; } .fee-bar-secondary .fee-pct { font-size: 14px; } .fee-bar-secondary .fee-lbl { font-size: 9px; } .fee-note { margin: 16px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--cream-mute); } .fee-note em { color: var(--cream-soft); font-style: italic; } /* ─── Site footer ───────────────────────────────────────── */ .site-footer { position: relative; z-index: 10; margin-top: 64px; border-top: 1px solid var(--gold-faint); background: rgba(18, 6, 28, .6); } .site-footer-inner { max-width: 72rem; margin: 0 auto; padding: 32px 16px 48px; text-align: center; font-size: 13px; line-height: 1.7; color: var(--cream-mute); } @media (min-width: 40rem) { .site-footer-inner { padding-inline: 24px; } } @media (min-width: 64rem) { .site-footer-inner { padding-inline: 32px; } } .site-footer-title { margin: 0 0 6px; font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: .12em; color: var(--gold); } .site-footer-ca { margin: 12px 0 0; font-family: var(--mono); font-size: 12px; word-break: break-all; color: var(--cream-faint); } /* ─── Social icons ──────────────────────────────────────── */ .site-social { display: inline-flex; align-items: center; gap: 8px; } .site-social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--gold-faint); background: rgba(255, 215, 0, .04); color: var(--cream-soft); transition: color .15s var(--ease), border-color .15s var(--ease), background .15s var(--ease), transform .12s var(--ease); } .site-social a:hover { color: var(--gold); border-color: var(--gold-dim); background: rgba(255, 215, 0, .12); transform: translateY(-2px); } .site-social svg { width: 16px; height: 16px; fill: currentColor; display: block; } /* Stack social icons below nav on phones */ @media (max-width: 40rem) { .site-header-inner { justify-content: space-between; } .site-social { order: 3; width: 100%; justify-content: center; margin-top: 4px; } } /* ─── Scrollbar (global, subtle) ────────────────────────── */ ::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-track { background: var(--navy); } ::-webkit-scrollbar-thumb { background: rgba(255, 215, 0, .25); border-radius: 999px; border: 2px solid var(--navy); } ::-webkit-scrollbar-thumb:hover { background: rgba(255, 215, 0, .45); } /* ─── Focus ring (a11y) ─────────────────────────────────── */ :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; } /* ─── Small screens ─────────────────────────────────────── */ @media (max-width: 40rem) { .site-header-inner { padding: 10px 14px; } .site-nav { gap: 2px; } .site-nav a { padding: 6px 10px; font-size: 12px; } .fee-split { padding: 18px; } .fee-bar { height: 48px; } .fee-pct { font-size: 16px; } }