/* ============================================================
   CaesariumX — Homepage & Arsenal
   Depends on core.css
   ============================================================ */

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-h));
    display: flex; align-items: center;
    padding: clamp(3rem, 8vh, 7rem) 0 clamp(4rem, 10vh, 8rem);
    overflow: hidden;
}

#heroCanvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    z-index: 0; pointer-events: none;
    opacity: 0.85;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 35%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 35%, transparent 78%);
}

.hero-inner { position: relative; z-index: 2; width: var(--container-wide); margin-inline: auto; text-align: center; }

/* ---- Hero neural core ----------------------------------------
   Canvas-rendered lattice (assets/js/hero-core.js). The wrapper
   supplies the bloom behind it; the canvas draws the structure. */
.hero-core-wrap {
    position: relative;
    width: clamp(190px, 25vw, 280px);
    aspect-ratio: 1;
    margin: 0 auto var(--space-2);
    display: grid;
    place-items: center;
}
.hero-core-wrap::before {
    content: "";
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 49, 95, 0.22), rgba(255, 49, 95, 0.05) 48%, transparent 72%);
    filter: blur(18px);
    animation: corePulse 6s ease-in-out infinite;
    pointer-events: none;
}
.hero-core { position: relative; width: 100%; height: 100%; display: block; z-index: 1; }

@keyframes corePulse {
    0%, 100% { opacity: 0.65; transform: scale(0.96); }
    50%      { opacity: 1;    transform: scale(1.06); }
}

@keyframes sigilSpin { to { transform: rotate(360deg); } }

.hero-motto {
    font-family: "Cinzel", serif; font-size: clamp(0.66rem, 1.6vw, 0.8rem);
    letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold-deep);
    margin-bottom: var(--space-5); min-height: 1.3em;
}
.hero-motto .type-cursor { color: var(--red); animation: eggBlink 1s step-end infinite; }

.hero h1.display-title { margin-bottom: var(--space-5); }

.hero-kicker {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 0.55rem 1rem;
    font-family: "JetBrains Mono", monospace; font-size: clamp(0.68rem, 1.7vw, 0.82rem);
    letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-faint);
    margin-bottom: var(--space-6);
}
.hero-kicker span { position: relative; }
.hero-kicker span:not(:last-child)::after { content: "/"; margin-left: 1rem; color: rgba(255, 49, 95, 0.5); }

.hero .lead { margin: 0 auto var(--space-8); text-align: center; }
.hero .cta-row { justify-content: center; margin-top: 0; }

/* Live stat strip */
.hero-metrics {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.8rem, 2vw, 1.4rem);
    margin-top: clamp(3rem, 7vw, 4.5rem);
    padding-top: var(--space-8);
    border-top: 1px solid var(--line);
}
.metric { display: grid; gap: 0.35rem; text-align: center; }
.metric-value { font-family: "Orbitron", sans-serif; font-weight: 900; font-size: clamp(1.15rem, 3vw, 1.75rem); color: #fff; letter-spacing: 0.03em; }
.metric-value .unit { color: var(--red); }
.metric-label { font-size: 0.72rem; color: var(--text-faint); letter-spacing: 0.08em; line-height: 1.45; }

.hero-scroll-hint {
    position: absolute; bottom: clamp(1.2rem, 4vh, 2.4rem); left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    font-family: "JetBrains Mono", monospace; font-size: 0.6rem; letter-spacing: 0.28em;
    text-transform: uppercase; color: var(--text-faint); z-index: 3;
}
.hero-scroll-hint .rail { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--red), transparent); animation: hintFall 2.2s ease-in-out infinite; }
@keyframes hintFall { 0%, 100% { opacity: 0.25; transform: scaleY(0.5); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); transform-origin: top; } }

/* ============================================================
   MARQUEE TICKER
   ============================================================ */
.ticker {
    position: relative; overflow: hidden;
    border-block: 1px solid rgba(255, 49, 95, 0.16);
    background: rgba(255, 49, 95, 0.035);
    padding: 0.85rem 0;
}
.ticker::before, .ticker::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 14%; z-index: 2; pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.ticker::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.ticker-track { display: flex; width: max-content; animation: tickerRun 42s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
    display: inline-flex; align-items: center; gap: 0.7rem;
    padding: 0 1.6rem;
    font-family: "Orbitron", sans-serif; font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted);
    white-space: nowrap;
}
.ticker-item .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
@keyframes tickerRun { to { transform: translateX(-50%); } }

/* ============================================================
   ARSENAL — filterable app grid
   ============================================================ */
.arsenal-toolbar {
    display: flex; flex-wrap: wrap; gap: var(--space-3);
    justify-content: center; align-items: center;
    margin-bottom: var(--space-10);
}
.filter-chip {
    padding: 0.55rem 1.15rem; border-radius: 999px;
    border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted); cursor: pointer;
    font-family: "Orbitron", sans-serif; font-size: 0.64rem; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase;
    transition: all var(--fast);
}
.filter-chip:hover { color: var(--text); border-color: var(--line-strong); }
.filter-chip.is-active { background: rgba(255, 49, 95, 0.14); border-color: rgba(255, 49, 95, 0.5); color: #ffd7e0; }
.filter-chip .count { opacity: 0.5; margin-left: 0.35rem; }

.arsenal-search {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.55rem 1rem; border-radius: 999px;
    border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
    min-width: 220px;
}
.arsenal-search svg { width: 15px; height: 15px; color: var(--text-faint); flex-shrink: 0; }
.arsenal-search input {
    flex: 1; background: none; border: none; outline: none;
    color: var(--text); font-family: "Inter", sans-serif; font-size: 0.85rem;
}
.arsenal-search input::placeholder { color: var(--text-faint); }

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(288px, 1fr));
    gap: clamp(1rem, 2vw, 1.35rem);
}

.app-card {
    display: flex; flex-direction: column; gap: var(--space-4);
    padding: clamp(1.4rem, 2.6vw, 1.8rem);
    border-radius: var(--radius-md);
    text-decoration: none; color: inherit;
    overflow: hidden;
    transition: transform var(--smooth), border-color var(--smooth), box-shadow var(--smooth), opacity 0.4s ease;
}
.app-card:hover { transform: translateY(-6px); }
.app-card.is-hidden { display: none; }

.app-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-4); position: relative; z-index: 2; }

.app-icon {
    width: 46px; height: 46px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 49, 95, 0.22);
    background: rgba(255, 49, 95, 0.08);
    color: #ffd7e0;
    transition: transform var(--smooth), background var(--smooth);
}
.app-card:hover .app-icon { transform: scale(1.08) rotate(-4deg); background: rgba(255, 49, 95, 0.16); }
.app-icon svg { width: 22px; height: 22px; }

.app-badge {
    font-family: "Orbitron", sans-serif; font-size: 0.55rem; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase;
    padding: 0.32rem 0.7rem; border-radius: 999px;
    border: 1px solid transparent; white-space: nowrap;
}
.app-badge.live { color: var(--green); border-color: rgba(72, 247, 167, 0.32); background: rgba(72, 247, 167, 0.08); }
.app-badge.soon { color: var(--gold); border-color: rgba(255, 209, 102, 0.32); background: rgba(255, 209, 102, 0.08); }
.app-badge.holder { color: var(--red); border-color: rgba(255, 49, 95, 0.38); background: rgba(255, 49, 95, 0.1); }

.app-card h3 {
    font-family: "Orbitron", sans-serif; font-size: 1.02rem; font-weight: 800;
    letter-spacing: 0.05em; text-transform: uppercase; color: #fff;
    position: relative; z-index: 2;
}
.app-card p { color: var(--text-muted); font-size: 0.87rem; line-height: 1.68; position: relative; z-index: 2; flex: 1; }

.app-card-foot {
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
    padding-top: var(--space-4); border-top: 1px solid rgba(255, 255, 255, 0.07);
    position: relative; z-index: 2;
}
.app-tag { font-family: "JetBrains Mono", monospace; font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.app-go { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; font-weight: 600; color: var(--red); transition: gap var(--fast); }
.app-card:hover .app-go { gap: 0.7rem; }
.app-go svg { width: 14px; height: 14px; }

/* Locked (token-gated) state — wired for the gate, inert until launch */
.app-card.is-locked .app-icon { border-color: rgba(255, 209, 102, 0.28); background: rgba(255, 209, 102, 0.07); color: var(--gold); }
.app-card.is-locked .app-go { color: var(--gold); }

.app-empty {
    grid-column: 1 / -1; text-align: center; padding: var(--space-16) var(--space-4);
    color: var(--text-faint); font-family: "JetBrains Mono", monospace; font-size: 0.85rem; letter-spacing: 0.1em;
}

/* ============================================================
   PRODUCT SPOTLIGHT PANELS
   ============================================================ */
.product-section { padding: clamp(3rem, 6vw, 5rem) 0; }
.product-panel {
    display: grid; grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center;
    padding: clamp(1.8rem, 4vw, 3.2rem);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.product-panel.is-reversed { grid-template-columns: 0.85fr 1.15fr; }
.product-copy-wrap { position: relative; z-index: 2; }
.product-topline { display: inline-flex; align-items: center; gap: 0.55rem; margin-bottom: var(--space-4); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulseDot 2s ease-in-out infinite; }
.status-dot.red { background: var(--red); box-shadow: 0 0 10px var(--red); }
.product-title { margin-bottom: var(--space-4); }
.product-copy { margin-bottom: var(--space-6); }

.feature-list { display: grid; gap: var(--space-3); }
.feature-item { display: flex; align-items: flex-start; gap: 0.7rem; color: var(--text-soft); font-size: 0.92rem; }
.feature-check { color: var(--green); font-weight: 700; flex-shrink: 0; }

.product-visual { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; min-height: 220px; }

.icon-orbit { position: relative; width: min(200px, 55vw); aspect-ratio: 1; display: grid; place-items: center; }
.icon-orbit::before, .icon-orbit::after {
    content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255, 49, 95, 0.22);
}
.icon-orbit::before { inset: 0; animation: sigilSpin 20s linear infinite; border-style: dashed; }
.icon-orbit::after { inset: 18%; border-color: rgba(93, 124, 255, 0.2); animation: sigilSpin 14s linear infinite reverse; }
.icon-core {
    width: 46%; aspect-ratio: 1; border-radius: 50%;
    display: grid; place-items: center;
    background: radial-gradient(circle at 38% 32%, rgba(255, 49, 95, 0.2), rgba(7, 8, 12, 0.9));
    border: 1px solid rgba(255, 49, 95, 0.4);
    box-shadow: 0 0 40px rgba(220, 20, 60, 0.24);
    color: #ffd7e0;
}
.icon-core svg { width: 44%; height: 44%; }

/* Device mock */
.visual-device { width: 100%; max-width: 380px; border-radius: var(--radius-md); border: 1px solid var(--line); background: rgba(4, 5, 8, 0.8); overflow: hidden; box-shadow: var(--shadow-md); }
.device-bar { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.device-dots { display: flex; gap: 0.35rem; }
.device-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.device-dots span:first-child { background: rgba(255, 49, 95, 0.6); }
.device-label { font-family: "JetBrains Mono", monospace; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); }
.signal-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; padding: 1rem; align-items: end; height: 92px; }
.signal-bar { background: linear-gradient(to top, rgba(255, 49, 95, 0.7), rgba(255, 49, 95, 0.15)); border-radius: 2px 2px 0 0; animation: barPulse 2.4s ease-in-out infinite; }
.signal-bar:nth-child(odd) { animation-delay: 0.3s; }
.signal-bar:nth-child(3n) { animation-delay: 0.6s; }
.signal-bar:nth-child(4n) { animation-delay: 0.9s; }
@keyframes barPulse { 0%, 100% { height: 30%; opacity: 0.5; } 50% { height: 100%; opacity: 1; } }
.device-rows { padding: 0 1rem 1rem; display: grid; gap: 0.5rem; }
.device-row { display: flex; align-items: center; justify-content: space-between; padding: 0.6rem 0.8rem; border-radius: var(--radius-xs); background: rgba(255, 255, 255, 0.03); font-size: 0.78rem; color: var(--text-soft); }
.device-pill { font-family: "JetBrains Mono", monospace; font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); padding: 0.2rem 0.5rem; border-radius: 999px; background: rgba(72, 247, 167, 0.1); }

/* ============================================================
   IDENTITY / COMMUNITY CARD GRIDS
   ============================================================ */
.identity-grid, .community-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.4rem);
}
.identity-card, .community-card { padding: clamp(1.5rem, 2.8vw, 2rem); border-radius: var(--radius-md); display: grid; gap: var(--space-4); align-content: start; }
.identity-card h3, .community-card h3 { font-family: "Orbitron", sans-serif; font-size: 1rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: #fff; position: relative; z-index: 2; }
.identity-card p, .community-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; position: relative; z-index: 2; }

.card-icon {
    width: 46px; height: 46px; display: grid; place-items: center;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 49, 95, 0.2);
    background: rgba(255, 49, 95, 0.07);
    color: #ffd7e0; position: relative; z-index: 2;
}
.card-icon svg { width: 22px; height: 22px; }

.community-section { padding: clamp(4.5rem, 8vw, 8rem) 0; position: relative; }
.community-platform-btn {
    position: relative; display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 1rem 2.2rem; border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--red-deep), #ff4a72);
    color: #fff; font-weight: 700; text-decoration: none; letter-spacing: 0.04em;
    box-shadow: 0 16px 40px rgba(220, 20, 60, 0.3);
    transition: transform var(--fast), box-shadow var(--fast);
    margin-inline: auto;
}
.community-platform-btn:hover { transform: translateY(-3px); box-shadow: 0 22px 54px rgba(220, 20, 60, 0.42); }
.pulse-ring { position: absolute; inset: -2px; border-radius: inherit; border: 1px solid rgba(255, 49, 95, 0.6); animation: ringPulse 2.4s ease-out infinite; pointer-events: none; }
@keyframes ringPulse { 0% { opacity: 0.8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.14); } }
.community-section .cta-row { justify-content: center; }

/* ============================================================
   HISTORY SECTIONS (easter egg homes — layout only)
   ============================================================ */
.history-section { padding: clamp(4rem, 7vw, 7rem) 0; position: relative; }
.history-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 4vw, 4rem); align-items: center; }
.history-row.is-reversed .history-content { order: 2; }
.history-topline { margin-bottom: var(--space-3); }
.history-title { margin-bottom: var(--space-2); }
.history-subtitle { font-family: "Cinzel", serif; font-size: 0.92rem; letter-spacing: 0.14em; color: var(--gold-deep); text-transform: uppercase; margin-bottom: var(--space-5); }
.history-quote { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--text-soft); border-left: 2px solid rgba(255, 49, 95, 0.5); padding-left: var(--space-5); margin-bottom: var(--space-6); }
.history-quote-wrapper { display: inline-flex; align-items: flex-start; gap: 0.5rem; }
.pompey-info-circle {
    display: inline-grid; place-items: center; width: 18px; height: 18px; flex-shrink: 0;
    border-radius: 50%; border: 1px solid rgba(255, 49, 95, 0.5); color: var(--red);
    font-family: "Orbitron", sans-serif; font-size: 0.6rem; font-style: normal; font-weight: 700;
    text-decoration: none; transition: all var(--fast);
}
.pompey-info-circle:hover { background: rgba(255, 49, 95, 0.16); transform: scale(1.14); }
.history-copy { margin-bottom: var(--space-6); }

.history-facts { padding: clamp(1.2rem, 2.4vw, 1.7rem); border-radius: var(--radius-md); }
.history-facts h4 { font-family: "Orbitron", sans-serif; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: var(--space-4); position: relative; z-index: 2; }
.history-facts ul { list-style: none; display: grid; gap: 0.6rem; position: relative; z-index: 2; }
.history-facts li { position: relative; padding-left: 1.3rem; color: var(--text-muted); font-size: 0.86rem; line-height: 1.62; }
.history-facts li::before { content: "▸"; position: absolute; left: 0; color: var(--red); }

.history-art { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.history-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--ease); }
.history-art:hover img { transform: scale(1.05); }
.art-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(2, 2, 4, 0.9), transparent 55%); pointer-events: none; z-index: 3; }
.art-frame { position: absolute; inset: 12px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius-md); pointer-events: none; z-index: 4; }
.art-title {
    position: absolute; bottom: 1.4rem; left: 1.6rem; z-index: 6;
    font-family: "Cinzel", serif; font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold);
}

/* ============================================================
   TOKEN / PRESALE
   ============================================================ */
.token-section {
    padding: clamp(5.5rem, 9vw, 9rem) 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 49, 95, 0.18), transparent 27rem),
        radial-gradient(circle at 82% 80%, rgba(255, 255, 255, 0.065), transparent 27rem),
        #010102;
    border-top: 1px solid rgba(255, 49, 95, 0.15);
    border-bottom: 1px solid rgba(255, 49, 95, 0.16);
    position: relative; overflow: hidden; width: 100%;
}
.token-scanlines { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(180, 0, 0, 0.018) 3px, rgba(180, 0, 0, 0.018) 4px); pointer-events: none; z-index: 0; }
.token-corner { position: absolute; width: 60px; height: 60px; pointer-events: none; z-index: 2; filter: drop-shadow(0 0 12px rgba(220, 20, 60, 0.28)); }
.token-corner-tl { top: 3rem; left: 3rem; border-top: 2px solid var(--red-deep); border-left: 2px solid var(--red-deep); }
.token-corner-tr { top: 3rem; right: 3rem; border-top: 2px solid var(--red-deep); border-right: 2px solid var(--red-deep); }
.token-corner-bl { bottom: 3rem; left: 3rem; border-bottom: 2px solid var(--red-deep); border-left: 2px solid var(--red-deep); }
.token-corner-br { bottom: 3rem; right: 3rem; border-bottom: 2px solid var(--red-deep); border-right: 2px solid var(--red-deep); }
.token-shell { position: relative; width: var(--container); margin-inline: auto; text-align: center; z-index: 1; }

.crx-emblem { position: relative; width: 140px; height: 140px; margin: 0 auto var(--space-8); filter: drop-shadow(0 0 34px rgba(220, 20, 60, 0.18)); }
.crx-emblem-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(220, 20, 60, 0.62); animation: emblemSpin 12s linear infinite; }
.crx-emblem-ring-2 { position: absolute; inset: 10px; border-radius: 50%; border: 1px dashed rgba(220, 20, 60, 0.3); animation: emblemSpin 18s linear infinite reverse; }
.crx-emblem-core { position: absolute; inset: 20px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #4a0000, #0d0000), linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent); border: 1px solid rgba(220, 20, 60, 0.7); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 30px rgba(220, 20, 60, 0.24), inset 0 0 20px rgba(220, 20, 60, 0.13); }
.crx-emblem-text { font-family: "Orbitron", sans-serif; font-weight: 900; font-size: 1.6rem; color: #fff; letter-spacing: 0.1em; }
.crx-emblem-text span { color: var(--red-deep); }
@keyframes emblemSpin { to { transform: rotate(360deg); } }

.token-divider { width: 80px; height: 2px; background: linear-gradient(90deg, transparent, var(--red-deep), transparent); margin: 0 auto var(--space-8); box-shadow: 0 0 18px rgba(220, 20, 60, 0.32); }
.token-copy { max-width: 650px; margin: var(--space-5) auto var(--space-10); color: rgba(255, 255, 255, 0.58); font-size: 1.1rem; line-height: 1.75; }

/* Presale status banner — the "coming soon" centerpiece */
.presale-banner {
    position: relative; max-width: 860px; margin: 0 auto var(--space-12);
    padding: clamp(1.6rem, 3.5vw, 2.4rem);
    border: 1px solid rgba(220, 20, 60, 0.4);
    border-top: 3px solid var(--red-deep);
    background: linear-gradient(160deg, rgba(220, 20, 60, 0.09), rgba(255, 255, 255, 0.02) 60%), rgba(6, 0, 3, 0.7);
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
    overflow: hidden;
}
.presale-banner::after {
    content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.07), transparent);
    animation: bannerSweep 5.5s ease-in-out infinite;
}
@keyframes bannerSweep { 0% { left: -60%; } 60%, 100% { left: 130%; } }

.presale-status {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.45rem 1.1rem; border-radius: 999px;
    background: rgba(220, 20, 60, 0.14); border: 1px solid rgba(220, 20, 60, 0.44);
    font-family: "Orbitron", sans-serif; font-size: 0.62rem; font-weight: 700;
    letter-spacing: 0.24em; text-transform: uppercase; color: #ffd7e0;
    margin-bottom: var(--space-5);
}
.presale-status .soon-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: pulseDot 1.6s ease-in-out infinite; }

.presale-headline { font-family: "Orbitron", sans-serif; font-size: clamp(1.35rem, 3.4vw, 2rem); font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; margin-bottom: var(--space-4); }
.presale-headline span { color: var(--red); }
.presale-sub { color: rgba(255, 255, 255, 0.6); font-size: 0.98rem; line-height: 1.75; max-width: 56ch; margin: 0 auto var(--space-8); }

.presale-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); margin-bottom: var(--space-8); text-align: left; }
.step-card { padding: var(--space-5); border-radius: var(--radius-sm); display: grid; gap: 0.6rem; align-content: start; }
.step-num { font-family: "Orbitron", sans-serif; font-size: 0.62rem; font-weight: 900; letter-spacing: 0.2em; color: var(--red); }
.step-card h4 { font-family: "Orbitron", sans-serif; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; position: relative; z-index: 2; }
.step-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.62; position: relative; z-index: 2; }

.presale-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; }
.btn-disabled {
    opacity: 0.55; cursor: not-allowed; pointer-events: none;
    background: rgba(255, 255, 255, 0.04); border-color: var(--line); color: var(--text-muted);
    box-shadow: none;
}

/* Access tiers */
.tier-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); max-width: 860px; margin: 0 auto var(--space-12); text-align: left; }
.tier-card { padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--radius-md); display: grid; gap: var(--space-4); align-content: start; }
.tier-card.is-holder { border-color: rgba(255, 49, 95, 0.35); border-top: 2px solid var(--red-deep); }
.tier-label { font-family: "Orbitron", sans-serif; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-faint); position: relative; z-index: 2; }
.tier-card.is-holder .tier-label { color: var(--red); }
.tier-price { font-family: "Orbitron", sans-serif; font-size: clamp(1.3rem, 3vw, 1.75rem); font-weight: 900; color: #fff; letter-spacing: 0.04em; position: relative; z-index: 2; }
.tier-list { list-style: none; display: grid; gap: 0.6rem; position: relative; z-index: 2; }
.tier-list li { position: relative; padding-left: 1.4rem; font-size: 0.86rem; color: var(--text-muted); line-height: 1.6; }
.tier-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.tier-card.is-holder .tier-list li::before { color: var(--red); }

.token-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.95rem, 2vw, 1.2rem); margin: 0 auto var(--space-10); }
.token-card { min-height: 100%; padding: clamp(1.2rem, 2.6vw, 1.55rem); border-radius: var(--radius-md); text-align: left; border: 1px solid rgba(220, 20, 60, 0.28); border-top: 2px solid var(--red-deep); transition: all 0.35s var(--ease); }
.token-card:hover { border-color: rgba(220, 20, 60, 0.66); transform: translateY(-4px); box-shadow: 0 18px 42px rgba(220, 20, 60, 0.14); }
.token-card .card-icon { width: 46px; height: 46px; margin-bottom: var(--space-4); }
.token-label { margin-bottom: 0.4rem; color: var(--red); font-family: "Orbitron", sans-serif; font-size: 0.65rem; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; position: relative; z-index: 2; }
.token-value { margin-bottom: 0.5rem; color: #fff; font-family: "Orbitron", sans-serif; font-size: 1.05rem; font-weight: 900; line-height: 1.25; position: relative; z-index: 2; }
.token-desc { color: rgba(255, 255, 255, 0.58); font-size: 0.88rem; line-height: 1.62; position: relative; z-index: 2; }

.token-whitepaper-link { display: inline-block; color: rgba(255, 255, 255, 0.48); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.18em; padding: 0.6rem 0; border-bottom: 1px solid rgba(220, 20, 60, 0.3); transition: all 0.4s ease; font-family: "Orbitron", sans-serif; font-weight: 600; text-decoration: none; }
.token-whitepaper-link:hover { color: var(--red-deep); border-bottom-color: var(--red-deep); letter-spacing: 0.22em; }

.token-section .cta-row { justify-content: center; }

/* CRX modal */
.crx-modal-container { background: radial-gradient(circle at 20% 0%, rgba(220, 20, 60, 0.16), transparent 20rem), #0a0000; border: 1px solid rgba(220, 20, 60, 0.44); border-top: 3px solid var(--red-deep); max-width: 480px; width: 90%; position: relative; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 60px rgba(220, 20, 60, 0.12); transform: translateY(30px) scale(0.97); transition: all 0.45s var(--ease); clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px)); padding: 3rem 2.5rem 2.5rem; text-align: center; }
.modal-overlay.active .crx-modal-container { transform: translateY(0) scale(1); }
.crx-modal-close { position: absolute; top: 1rem; right: 1.2rem; background: none; border: none; color: rgba(255, 255, 255, 0.4); font-size: 1.5rem; cursor: pointer; transition: all 0.3s ease; line-height: 1; }
.crx-modal-close:hover { color: var(--red-deep); transform: rotate(90deg); }
.crx-modal-badge { display: inline-block; background: rgba(220, 20, 60, 0.12); border: 1px solid rgba(220, 20, 60, 0.4); color: var(--red-deep); font-family: "Orbitron", sans-serif; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; padding: 0.4rem 1rem; margin-bottom: 1.5rem; }
.crx-modal-icon { margin-bottom: 1.2rem; display: flex; justify-content: center; align-items: center; }
.crx-modal-icon svg { width: 42px; height: 42px; color: var(--red-deep); filter: drop-shadow(0 0 12px rgba(220, 20, 60, 0.5)); }
.crx-modal-title { font-family: "Orbitron", sans-serif; font-size: 1.6rem; font-weight: 900; color: #fff; margin-bottom: 0.6rem; letter-spacing: 0.08em; }
.crx-modal-title span { color: var(--red-deep); }
.crx-modal-body { color: rgba(255, 255, 255, 0.6); font-size: 0.95rem; line-height: 1.7; margin-bottom: 2rem; }
.crx-modal-platform { background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(220, 20, 60, 0.24); padding: 1.2rem 1.5rem; margin-bottom: 1.8rem; display: grid; gap: 0.3rem; text-align: center; }
.crx-modal-platform-label { font-family: "Orbitron", sans-serif; font-size: 0.65rem; font-weight: 600; color: rgba(255, 255, 255, 0.38); letter-spacing: 0.2em; text-transform: uppercase; }
.crx-modal-platform-name { font-family: "Orbitron", sans-serif; font-size: 1.15rem; font-weight: 850; color: #fff; letter-spacing: 0.1em; }
.crx-modal-platform-name span { color: var(--red-deep); }
.crx-modal-soon { display: inline-flex; align-items: center; gap: 0.7rem; background: rgba(220, 20, 60, 0.08); border: 1px solid rgba(220, 20, 60, 0.3); color: rgba(255, 255, 255, 0.64); font-size: 0.85rem; padding: 0.9rem 2rem; letter-spacing: 0.08em; margin-bottom: 1.5rem; width: 100%; justify-content: center; }
.crx-modal-soon-dot { width: 8px; height: 8px; background: var(--red-deep); border-radius: 50%; animation: pulseDot 1.5s ease-in-out infinite; }
.crx-modal-footer { border-top: 1px solid rgba(255, 255, 255, 0.06); padding-top: 1.2rem; color: rgba(255, 255, 255, 0.3); font-size: 0.75rem; letter-spacing: 0.06em; }

.crx-buy-btn {
    position: relative; display: inline-flex; align-items: center; gap: 0.8rem;
    padding: 1rem 2.4rem; border: 1px solid var(--red-deep);
    background: rgba(220, 20, 60, 0.1); color: #fff; cursor: pointer;
    font-family: "Orbitron", sans-serif; font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    transition: all var(--fast);
}
.crx-buy-btn:hover { background: rgba(220, 20, 60, 0.24); box-shadow: 0 0 34px rgba(220, 20, 60, 0.3); transform: translateY(-2px); }
.crx-buy-btn .btn-arrow { transition: transform var(--fast); }
.crx-buy-btn:hover .btn-arrow { transform: translateX(4px); }

/* ============================================================
   SOCIAL
   ============================================================ */
.social-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.4rem); }
.social-card { padding: clamp(1.5rem, 3vw, 2rem); border-radius: var(--radius-md); display: grid; gap: 0.7rem; text-decoration: none; transition: transform var(--smooth); }
.social-card:hover { transform: translateY(-5px); }
.social-name { font-family: "Orbitron", sans-serif; font-size: 0.95rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; position: relative; z-index: 2; }
.social-copy { color: var(--text-muted); font-size: 0.86rem; line-height: 1.65; position: relative; z-index: 2; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
    .product-panel, .product-panel.is-reversed { grid-template-columns: 1fr; }
    .product-panel.is-reversed .product-visual { order: 2; }
    .history-row, .history-row.is-reversed { grid-template-columns: 1fr; }
    .history-row.is-reversed .history-content { order: 0; }
    .identity-grid, .community-grid, .token-grid, .social-grid, .presale-steps, .tier-grid { grid-template-columns: 1fr; }
    .hero-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .token-corner { display: none; }
    .history-art { aspect-ratio: 3 / 4; max-width: 480px; margin-inline: auto; }
}

@media (max-width: 640px) {
    .token-shell { width: calc(100% - 24px); }
    .hero-kicker span:not(:last-child)::after { display: none; }
    .arsenal-search { width: 100%; }
    .presale-banner { clip-path: none; }
}
