/* $EAT Token Page Styles */

:root {
    --bg: #050505;
    --surface: #111111;
    --surface-2: #171717;
    --surface-3: #1f1f1f;
    --border: #2a2a2a;
    --text: #f5f5f5;
    --text-dim: rgba(255, 255, 255, 0.6);
    --muted: #b6b6b6;
    --muted-2: #8c8c8c;
    --accent: #ff7a1a;
    --accent-2: #ff9a44;
    --success: #44d987;
    --danger: #ff6b6b;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    --font-display: 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --orange: #ff7a1a;
    --red: #ff6b6b;
    --green: #44d987;
}

html,
body {
    background: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.eat-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
}

.eat-page * {
    box-sizing: border-box;
}

.el-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

/* ───── Nav ───── */
.el-nav {
   padding: 18px 0;
   border-bottom: 1px solid rgba(255, 255, 255, 0.06)
}

.el-nav,
.el-nav * {
   box-sizing: border-box
}

.el-nav__inner {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 16px
}

.el-nav__brand {
   font-family: var(--font-display);
   font-weight: 800;
   letter-spacing: 0.08em;
   font-size: 14px;
   display: inline-flex;
   align-items: center;
   gap: 8px
}

.el-nav__logo {
   width: 50px;
   height: 50px;
   display: block
}

.el-nav__links {
   display: flex;
   align-items: center;
   gap: 12px
}

.el-nav__link {
   font-size: 13px;
   font-weight: 600;
   padding: 8px 14px;
   border-radius: 999px;
   color: var(--text-dim);
   border: 1px solid transparent;
   transition: color .2s ease, border-color .2s ease, background .2s ease
}

.el-nav a {
   color: inherit;
   text-decoration: none
}

.el-nav__cart {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .2s ease, transform .2s ease;
}

.el-nav__cart svg {
    width: 18px;
    height: 18px;
}

.el-nav__cart:hover {
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.el-nav__cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #101010;
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.el-nav__cart.is-disabled {
    opacity: 0.5;
}

.el-nav__cart-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.el-nav__cart-status {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    white-space: nowrap;
}

.el-nav__menu-toggle {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.el-nav__menu-toggle:hover {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
}

.el-nav__menu-toggle-line {
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.el-nav__mobile-menu {
    width: 100%;
    display: none;
    margin-top: 8px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(17, 17, 17, 0.96);
}

.el-nav__mobile-link {
    display: block;
    padding: 11px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
}

.el-nav__mobile-link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.el-nav__mobile-link.is-active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.1);
}

/* Shop placeholder */
.shop-hero {
    background: linear-gradient(135deg, rgba(255, 122, 26, 0.12), rgba(0, 0, 0, 0)), var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 56px 32px;
    text-align: center;
    box-shadow: var(--shadow);
}

.shop-hero__inner {
    max-width: 640px;
    margin: 0 auto;
}

.shop-hero__eyebrow {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    font-weight: 700;
}

.shop-hero__title {
    font-size: 36px;
    margin: 0 0 12px;
    font-weight: 800;
}

.shop-hero__desc {
    font-size: 16px;
    color: var(--muted);
    margin: 0 0 24px;
}

.shop-hero__cta {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: not-allowed;
}

/* Featured product */
.shop-featured {
    margin: 28px 0 12px;
    display: flex;
    justify-content: center;
}

.shop-featured__card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow);
    align-items: center;
    max-width: 560px;
    width: 100%;
}

.shop-featured__media {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shop-featured__main {
    border-radius: 14px;
    overflow: hidden;
    background: #0b0b0b;
    aspect-ratio: 4 / 5;
}

.shop-featured__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shop-featured__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 122, 26, 0.22), rgba(0, 0, 0, 0.2));
}

.shop-featured__thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.shop-featured__thumb {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #0b0b0b;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    opacity: 0.7;
    transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.shop-featured__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shop-featured__thumb.is-active {
    opacity: 1;
    border-color: rgba(255, 122, 26, 0.8);
    transform: translateY(-1px);
}

.shop-featured__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shop-featured__tag {
    align-self: flex-start;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(255, 122, 26, 0.12);
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 122, 26, 0.2);
    font-weight: 700;
}

.shop-featured__title {
    font-size: 20px;
    margin: 0;
    font-weight: 800;
}

.shop-featured__price {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

.shop-featured__options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.shop-featured__option {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.shop-featured__option.is-active {
    border-color: var(--accent);
    background: var(--accent);
    color: #050505;
}

.shop-featured__swatch {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.2);
    display: inline-block;
}

.shop-featured__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.shop-featured__empty {
    text-align: center;
    padding: 30px 16px;
    color: var(--muted);
    font-size: 14px;
}

/* Cart drawer */
.cart-open {
    overflow: hidden;
}

.cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 2000;
    pointer-events: none;
}

.cart-drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.cart-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(420px, 92vw);
    box-sizing: border-box;
    background: #050505;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px 20px max(18px, env(safe-area-inset-bottom));
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.cart-drawer.is-open {
    pointer-events: auto;
}

.cart-drawer.is-open .cart-drawer__overlay {
    opacity: 1;
}

.cart-drawer.is-open .cart-drawer__panel {
    transform: translateX(0);
}

.cart-drawer__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.cart-drawer__eyebrow {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 6px;
    font-weight: 700;
}

.cart-drawer__title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
}

.cart-drawer__close {
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

.cart-drawer__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--muted);
}

.cart-drawer__status {
    color: var(--accent);
    font-weight: 600;
}

.cart-drawer__content {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 4px 2px;
}

.cart-drawer__empty {
    text-align: center;
    color: var(--muted);
    padding: 40px 16px;
}

.cart-item {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
}

.cart-item__media {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    background: #0b0b0b;
}

.cart-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cart-item__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 122, 26, 0.2), rgba(0, 0, 0, 0.2));
}

.cart-item__info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cart-item__title {
    font-size: 14px;
    font-weight: 700;
}

.cart-item__variant {
    font-size: 12px;
    color: var(--muted);
}

.cart-item__meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.cart-item__price {
    font-size: 13px;
    font-weight: 700;
}

.cart-item__aside {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.cart-item__remove {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.cart-item__remove:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--text);
}

.cart-item__remove:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cart-drawer__footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.cart-drawer__subtotal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: var(--muted);
}

.cart-drawer__subtotal strong {
    color: var(--text);
    font-size: 16px;
}

.cart-drawer__checkout {
    border: none;
    background: var(--accent);
    color: #050505;
    font-weight: 700;
    border-radius: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-drawer__checkout:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.cart-drawer__checkout:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(255, 122, 26, 0.3);
}

/* Shop product grid */
.shop-grid-section {
    margin-top: 32px;
}

.shop-grid-header {
    text-align: center;
    margin-bottom: 18px;
}

.shop-grid-title {
    font-size: 24px;
    margin: 0 0 8px;
    font-weight: 800;
}

.shop-grid-sub {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.shop-grid__status {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--muted);
    padding: 24px 0;
}

.shop-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    box-shadow: var(--shadow);
}

.shop-card__media {
    background: #0b0b0b;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
}

.shop-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shop-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 122, 26, 0.18), rgba(0, 0, 0, 0.2));
}

.shop-card__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.shop-card__actions {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.shop-card__title {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}

.shop-card__price {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
}

.shop-card__add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease;
}

.shop-card__add:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.35);
}

.shop-card__add.is-disabled {
    opacity: 0.6;
    pointer-events: none;
}

.shop-card__add:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.shop-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    transition: transform .2s ease, border-color .2s ease;
}

.shop-card__cta:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.25);
}

.shop-card__cta.is-disabled {
    opacity: 0.6;
    pointer-events: none;
}

@media (max-width: 768px) {
    .shop-hero {
        padding: 40px 20px;
    }

    .shop-hero__title {
        font-size: 28px;
    }

    .shop-hero__desc {
        font-size: 14px;
    }

    .shop-grid-title {
        font-size: 20px;
    }

    .shop-featured__card {
        grid-template-columns: 1fr;
    }

    .shop-featured__title {
        font-size: 20px;
    }
}

@media (max-width: 1024px) {
    .el-container {
        padding: 0 16px;
    }

    .eat-page {
        padding: 16px 16px 0;
    }

    .el-nav {
        padding: 14px 0;
    }

    .el-nav__inner {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    .el-nav__links {
        display: none;
    }

    .el-nav__cart-wrap {
        display: none;
    }

    .el-nav__menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .el-nav.is-menu-open .el-nav__mobile-menu {
        display: grid;
        gap: 4px;
    }
}

.el-nav__link:hover {
   color: var(--text);
   background: rgba(255, 255, 255, 0.05)
}

.el-nav__link.is-active {
   color: var(--text);
   background: rgba(255, 255, 255, 0.08);
   border-color: rgba(255, 255, 255, 0.12)
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(255, 122, 26, 0.10), rgba(0, 0, 0, 0)), var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.token-logo {
    width: 52px;
    height: 52px;
    border-radius: 0;
    border: none;
    background: transparent;
}

.hero-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.token-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.token-name {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
}

.token-badge {
    background: var(--surface-3);
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 13px;
}

.price-label {
    color: var(--muted-2);
}

.price-val {
    font-weight: 700;
    color: var(--text);
}

.price-change {
    color: var(--success);
}

.price-change.down {
    color: var(--danger);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 8px;
}

.social-icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--muted);
    text-decoration: none;
    transition: all .2s;
}

.social-icon:hover {
    background: var(--accent);
    border-color: transparent;
    color: #0b0b0b;
}

/* Impact Progress Bar */
.impact-bar {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
    color: #fff;
    box-shadow: 0 20px 50px rgba(255, 122, 26, 0.25);
}

.impact-hdr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 12px;
}

.impact-title {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.bar-track {
    height: 8px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 100px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #fff;
    border-radius: 100px;
    transition: width .8s;
}

.bar-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 11px;
}

/* Main Grid - Chart & Trade */
.main-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 16px;
    margin-bottom: 24px;
    align-items: stretch;
}

@media (max-width: 900px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
}

.chart-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    min-height: 420px;
    box-shadow: var(--shadow);
}

.chart-box iframe {
    width: 100%;
    height: 420px;
    border: none;
}

/* Trade Box */
.trade-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.trade-title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
}

.trade-btn {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    transition: all .2s;
}

.trade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .45);
}

.trade-btn.pri {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #0b0b0b;
}

.trade-btn.sec {
    background: var(--surface-3);
    border: 1px solid var(--border);
    color: var(--text);
}

.trade-info {
    background: var(--surface-2);
    border-radius: 8px;
    padding: 10px;
    margin: 0;
    border: 1px solid var(--border);
}

.trade-info-row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    padding: 4px 0;
}

.trade-info-row span:first-child {
    color: var(--muted-2);
}

.trade-info-row span:last-child {
    font-weight: 600;
}

/* Funds Section in Trade Box */
.funds-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.funds-card {
    background: var(--surface-2);
    border-radius: 8px;
    padding: 10px;
    border: 1px solid var(--border);
}

.funds-hdr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.funds-hdr .pct {
    color: var(--success);
    font-size: 10px;
}

.funds-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.funds-item .lbl {
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted-2);
    margin-bottom: 2px;
}

.funds-item .val {
    font-size: 14px;
    font-weight: 800;
}

.funds-item .sub {
    font-size: 9px;
    color: var(--muted-2);
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .info-cards {
        grid-template-columns: 1fr;
    }
}

.info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--shadow);
}

.info-card h4 {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-card h4 .pct {
    color: var(--success);
    font-size: 11px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.info-item .lbl {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted-2);
    margin-bottom: 2px;
}

.info-item .val {
    font-size: 16px;
    font-weight: 800;
}

.info-item .val.hl {
    color: var(--accent);
}

.info-item .sub {
    font-size: 10px;
    color: var(--muted-2);
}

.info-item a {
    color: var(--accent);
    text-decoration: none;
    font-size: 12px;
}

/* Roadmap / Milestones */
.roadmap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.roadmap-title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-align: center;
}

.roadmap-track {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 0 12px;
}

/* Animated progress line with glow */
.roadmap-track::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 24px;
    right: 24px;
    height: 4px;
    background: #2b2b2b;
    transform: translateY(-50%);
    z-index: 0;
    border-radius: 2px;
}

.roadmap-track::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 24px;
    width: calc((100% - 48px) * var(--progress-decimal, 0));
    height: 4px;
    background: linear-gradient(90deg, #ff7316, #ff9a44);
    transform: translateY(-50%);
    z-index: 0;
    border-radius: 2px;
    transition: width 1.2s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 0 0 12px rgba(255, 115, 22, 0.5);
}

.milestone {
    position: relative;
    z-index: 1;
    text-align: center;
}

.m-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    font-size: 12px;
    color: var(--muted);
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    position: relative;
    border: 1px solid var(--border);
}

.m-dot:hover {
    transform: scale(1.2);
}

/* Completed milestone - glow effect */
.m-dot.done {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #0b0b0b;
    box-shadow: 0 0 20px rgba(255, 115, 22, 0.5), 0 0 40px rgba(255, 115, 22, 0.2);
    animation: completedPulse 2s ease-in-out infinite;
}

@keyframes completedPulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 115, 22, 0.4), 0 0 30px rgba(255, 115, 22, 0.15);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 115, 22, 0.6), 0 0 50px rgba(255, 115, 22, 0.25);
    }
}

/* Checkmark bounce animation for completed */
.m-dot.done::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: transparent;
    animation: ripple 1.5s ease-out infinite;
}

@keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 115, 22, 0.4);
    }
    100% {
        box-shadow: 0 0 0 15px rgba(255, 115, 22, 0);
    }
}

/* Current milestone - breathing pulse */
.m-dot.cur {
    background: var(--surface-3);
    border: 3px solid var(--accent);
    color: var(--accent);
    animation: currentPulse 1.5s ease-in-out infinite;
}

@keyframes currentPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 115, 22, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 8px rgba(255, 115, 22, 0);
    }
}


.m-lbl {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--muted-2);
    transition: all .3s ease;
}

.m-lbl.done {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(255, 115, 22, 0.3);
}

/* Tooltip on hover */
.milestone:hover .m-lbl {
    transform: scale(1.1);
}

/* Mobile responsive milestones */
@media (max-width: 600px) {
    .roadmap {
        padding: 16px 12px;
    }

    .roadmap-track {
        padding: 0 4px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 8px;
    }

    .roadmap-track::-webkit-scrollbar {
        display: none;
    }

    .roadmap-track::before,
    .roadmap-track::after {
        left: 16px;
        right: 16px;
    }

    .milestone {
        flex-shrink: 0;
        min-width: 48px;
    }

    .m-dot {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }

    .m-lbl {
        font-size: 8px;
    }
}

/* Transactions Table */
.tx-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

.tx-title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.tx-table {
    width: 100%;
    border-collapse: collapse;
}

.tx-table th {
    text-align: left;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted-2);
    padding: 8px 4px;
    border-bottom: 1px solid var(--border);
}

.tx-table td {
    padding: 10px 4px;
    border-bottom: 1px solid #1d1d1d;
    font-size: 12px;
}

.tx-type {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 100px;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
}

.tx-type.buy {
    background: rgba(68, 217, 135, 0.15);
    color: var(--success);
}

.tx-type.sell {
    background: rgba(255, 107, 107, 0.15);
    color: var(--danger);
}

.tx-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 10px;
}

/* Mission Section */
.mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .mission {
        grid-template-columns: 1fr;
    }
}

.mission-video {
    position: relative;
    padding-bottom: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface-2);
    box-shadow: var(--shadow);
}

.mission-video iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    border: none;
}

.mission-title {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 12px;
}

.mission-text {
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 16px;
}

/* Waitlist CTA button in hero */
.waitlist-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #0b0b0b;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all .2s;
}

.waitlist-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 115, 22, 0.35);
}

/* ═══════════════════════════════
   MODAL
   ═══════════════════════════════ */
.el-modal-open {
   overflow: hidden
}

.el-modal {
   position: fixed;
   inset: 0;
   z-index: 5000;
   display: none;
   align-items: center;
   justify-content: center
}

.el-modal.is-open {
   display: flex
}

.el-modal .el-modal__backdrop {
   position: absolute;
   inset: 0;
   background: rgba(0, 0, 0, 0.82);
   backdrop-filter: blur(12px);
   -webkit-backdrop-filter: blur(12px);
   opacity: 0;
   transition: opacity 200ms ease
}

.el-modal.is-open .el-modal__backdrop {
   opacity: 1
}

.el-modal .el-modal__panel {
   position: relative;
   width: min(520px, calc(100vw - 32px));
   border-radius: 20px;
   padding: 40px;
   background: #161618;
   border: 1px solid rgba(255, 255, 255, 0.08);
   border-top: 2px solid var(--orange);
   box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
   color: #f5f5f5 !important;
   font-family: var(--font-body);
   -webkit-font-smoothing: antialiased;
   opacity: 0;
   transform: translateY(12px);
   transition: opacity 200ms ease, transform 250ms cubic-bezier(0.2, 0.9, 0.3, 1)
}

.el-modal.is-open .el-modal__panel {
   opacity: 1;
   transform: translateY(0)
}

.el-modal .el-modal__close {
   position: absolute;
   right: 16px;
   top: 16px;
   width: 44px;
   height: 44px;
   border-radius: 50%;
   border: 1px solid rgba(255, 255, 255, 0.08);
   background: rgba(255, 255, 255, 0.04);
   color: rgba(255, 255, 255, 0.5);
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 0;
   transition: background 150ms ease, color 150ms ease
}

.el-modal .el-modal__close:hover {
   background: rgba(255, 255, 255, 0.08);
   color: rgba(255, 255, 255, 0.8)
}

.el-modal .el-modal__proof {
   display: flex;
   align-items: center;
   gap: 10px;
   margin: 0 0 24px 0
}

.el-modal .el-modal__avatars {
   display: flex
}

.el-modal .el-modal__avatars img {
   width: 28px;
   height: 28px;
   border-radius: 50%;
   border: 2px solid #161618;
   margin: 0 -8px 0 0;
   object-fit: cover
}

.el-modal .el-modal__avatars img:last-child {
   margin-right: 0
}

.el-modal .el-modal__proof-text {
   font-size: 13px;
   color: rgba(255, 255, 255, 0.45);
   font-weight: 500
}

.el-modal .el-modal__title {
   font-family: var(--font-display);
   font-size: 36px;
   font-weight: 800;
   letter-spacing: -0.03em;
   line-height: 1.1;
   margin: 0 0 10px 0;
   color: #fff !important
}

.el-modal .el-modal__subtitle {
   font-size: 16px;
   color: rgba(255, 255, 255, 0.72) !important;
   line-height: 1.5;
   margin: 0 0 28px 0
}

.el-modal .el-modal__form {
   display: flex;
   flex-direction: column;
   gap: 16px
}

.el-modal .el-modal__field {
   display: flex;
   flex-direction: column;
   gap: 6px
}

.el-modal .el-modal__label {
   font-size: 13px;
   font-weight: 600;
   color: rgba(255, 255, 255, 0.55);
   text-transform: uppercase;
   letter-spacing: 0.04em
}

.el-modal .el-modal__optional {
   font-weight: 400;
   text-transform: none;
   letter-spacing: 0;
   color: rgba(255, 255, 255, 0.3)
}

.el-modal .el-modal__input {
   height: 48px;
   border-radius: 10px;
   padding: 0 14px;
   font-size: 15px;
   font-family: var(--font-body);
   color: rgba(255, 255, 255, 0.9);
   background: rgba(255, 255, 255, 0.04);
   border: 1px solid rgba(255, 255, 255, 0.10);
   outline: none;
   transition: border-color 150ms ease, box-shadow 150ms ease
}

.el-modal .el-modal__input::placeholder {
   color: rgba(255, 255, 255, 0.25)
}

.el-modal .el-modal__input:focus {
   border-color: var(--orange);
   box-shadow: 0 0 0 3px rgba(255, 115, 22, 0.15)
}

.el-modal .el-modal__input[aria-invalid="true"] {
   border-color: var(--red);
   box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15)
}

.el-modal .el-modal__submit {
   margin: 4px 0 0 0;
   height: 48px;
   border-radius: 10px;
   border: none;
   cursor: pointer;
   font-size: 15px;
   font-weight: 700;
   font-family: var(--font-body);
   color: #fff;
   background: var(--orange);
   padding: 0;
   transition: transform 100ms ease, box-shadow 150ms ease, background 150ms ease
}

.el-modal .el-modal__submit:hover {
   background: #e86610;
   transform: translateY(-1px);
   box-shadow: 0 8px 24px rgba(255, 115, 22, 0.25)
}

.el-modal .el-modal__submit:active {
   transform: translateY(0)
}

.el-modal .el-modal__submit:disabled {
   opacity: 0.6;
   cursor: default;
   transform: none;
   box-shadow: none
}

.el-modal .el-modal__status {
   min-height: 16px;
   font-size: 13px;
   color: rgba(255, 255, 255, 0.5);
   text-align: center
}

.el-modal .el-modal__status:empty {
   display: none
}

.el-modal .el-modal__status.is-error {
   color: var(--red)
}

.el-modal .el-modal__status.is-success {
   color: var(--green)
}

.el-modal .el-modal__footer {
   display: flex;
   align-items: center;
   justify-content: space-between;
   margin: 24px 0 0 0;
   padding: 16px 0 0 0;
   border-top: 1px solid rgba(255, 255, 255, 0.06)
}

.el-modal .el-modal__trust {
   display: flex;
   align-items: center;
   gap: 5px;
   font-size: 12px;
   color: rgba(255, 255, 255, 0.3)
}

.el-modal .el-modal__spots {
   font-size: 12px;
   font-weight: 600;
   color: var(--orange)
}

@media (max-width: 480px) {
   .el-modal .el-modal__panel {
      padding: 24px 16px;
      border-radius: 14px;
      margin: 12px
   }

   .el-modal .el-modal__title {
      font-size: 24px
   }

   .el-modal .el-modal__subtitle {
      font-size: 13px;
      margin: 0 0 16px 0
   }

   .el-modal .el-modal__field {
      margin-bottom: 14px
   }

   .el-modal .el-modal__input {
      padding: 14px 16px;
      font-size: 15px
   }

   .el-modal .el-modal__submit {
      min-height: 48px;
      font-size: 15px
   }

   .el-modal .el-modal__footer {
      flex-direction: column;
      gap: 6px;
      text-align: center;
      font-size: 12px
   }
}

@media (prefers-reduced-motion: reduce) {
   .el-modal .el-modal__panel,
   .el-modal .el-modal__backdrop,
   .el-modal .el-modal__submit {
      transition: none
   }
}
