/* ==========================================================================
   Pepe memecoin 单页模板 —— 黑色主题
   ========================================================================== */

:root {
    --pepe-green: #69c44c;
    --pepe-green-bright: #7ddc5c;
    --pepe-green-dark: #4e9a37;
    --bg: #000000;
    --bg-soft: #0a0a0a;
    --bg-card: #111111;
    --text: #ffffff;
    --text-soft: #e0e0e0;
    --text-muted: #9e9e9e;
    --border: #1f1f1f;
    --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --header-h: 88px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   按钮
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

.btn-buy {
    background: var(--pepe-green);
    color: #000;
    box-shadow: 0 0 0 rgba(105, 196, 76, 0);
}

.btn-buy:hover {
    background: var(--pepe-green-bright);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(105, 196, 76, 0.35);
}

.btn-lg { padding: 16px 40px; font-size: 17px; }

/* ==========================================================================
   导航栏
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    z-index: 100;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 2px solid rgba(105, 196, 76, 0.30);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

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

.brand img {
    width: 61px;
    height: 60px;
    object-fit: contain;
}

.brand-name {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--text);
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-link {
    position: relative;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-soft);
    padding: 6px 0;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--pepe-green);
    transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active { color: var(--pepe-green); }

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-cta { padding: 10px 22px; font-size: 13px; }

/* 语言切换按钮（导航 Buy Now 右侧） */
.lang-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 12px;
    background: #000;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: default;
}

.lang-globe { width: 16px; height: 16px; flex-shrink: 0; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    border-radius: 2px;
    background: var(--text);
    transition: all 0.3s ease;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 40px) 0 24px;
    background:
        radial-gradient(ellipse 80% 60% at 70% 30%, rgba(105, 196, 76, 0.12), transparent 60%),
        var(--bg);
}

.hero-grid {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 48px;
}

.hero-copy {
    text-align: left;
}

.hero-title {
    font-size: clamp(40px, 7vw, 80px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #fff;
    text-shadow: 0 0 40px rgba(105, 196, 76, 0.4);
    white-space: nowrap;
    margin: 0;
}

.hero-title::first-letter { color: var(--pepe-green); }

.hero-ticker {
    color: var(--text-muted);
    font-size: 0.45em;
    font-weight: 700;
    letter-spacing: 0;
    vertical-align: middle;
    margin-left: 8px;
}

/* 3 个信任徽章（横排一行，用 • 分隔） */
.hero-badges-line {
    margin: 18px 0 0;
    color: var(--pepe-green);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1.4;
}

.hero-badge-text { white-space: nowrap; }

.hero-badge-sep {
    color: var(--pepe-green);
    margin: 0 12px;
    font-weight: 700;
}

.hero-desc {
    margin: 20px 0 0;
    font-size: clamp(13px, 1.5vw, 15px);
    line-height: 1.7;
    font-weight: 400;
    color: var(--text-soft);
    max-width: 600px;
}

/* 3 个特性卡片（横排一行，含绿色竖线分隔） */
.hero-features {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 14px;
    margin: 30px 0 0;
    flex-wrap: nowrap;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding-right: 14px;
    border-right: 2px solid var(--pepe-green);
    flex: 1 1 0;
}

.feature-card:last-child {
    padding-right: 0;
    border-right: none;
}

.feature-card img {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.feature-text {
    line-height: 1.2;
    white-space: nowrap;
}

.feature-title {
    font-size: 14px;
    font-weight: 400;
    color: var(--text);
    margin: 0;
}

.feature-sub {
    font-size: 14px;
    font-weight: 400;
    color: var(--text);
    margin: 0;
}

.hero-actions { margin-top: 36px; }

/* Hero 板块 5 个社交图标（左对齐） */
.hero-social-bar {
    width: auto;
    margin: 28px 0 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    flex-wrap: wrap;
    background: transparent;
}

.social-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
    border: 2px solid rgba(105, 196, 76, 0.55);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    will-change: transform;
}

.social-tile img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    display: block;
}

.social-tile:hover {
    transform: translateY(-4px) scale(1.1);
    border-color: var(--pepe-green);
    box-shadow: 0 8px 24px rgba(105, 196, 76, 0.5);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
    border: 2px solid rgba(105, 196, 76, 0.55);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    will-change: transform;
}

.social-link img {
    width: 78%;
    height: 78%;
    object-fit: contain;
    display: block;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.1);
    border-color: var(--pepe-green);
    box-shadow: 0 8px 24px rgba(105, 196, 76, 0.5);
}

/* ==========================================================================
   波浪分割线
   ========================================================================== */
.wave-divider {
    width: 100%;
    line-height: 0;
    overflow: hidden;
    color: var(--pepe-green);
    background: var(--bg);
    padding: 18px 0;
    opacity: 0.9;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 44px;
}

.hero-art img {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    display: block;
    /* 自然融合黑底：多层柔和径向渐变让边缘平缓淡出，无硬边无光晕 */
    -webkit-mask-image: radial-gradient(ellipse 72% 68% at center, #000 42%, rgba(0, 0, 0, 0.55) 68%, transparent 100%);
    mask-image: radial-gradient(ellipse 72% 68% at center, #000 42%, rgba(0, 0, 0, 0.55) 68%, transparent 100%);
    filter: drop-shadow(0 14px 40px rgba(0, 0, 0, 0.7));
}

/* Hero 文字/图片从两侧插入的进场动画 */
.hero-copy {
    animation: heroSlideLeft 2.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-art {
    /* 机甲熊猫不使用进场动画，静止显示 */
}

@keyframes heroSlideLeft {
    from { opacity: 0; transform: translateX(-200px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* About 板块左右滑入进场（仅作用于旧版，v1.4.0 新版用 .about-feature 单独入场） */
.about-grid:not(.about-grid--rev) .about-art,
.about-grid:not(.about-grid--rev) .about-copy {
    opacity: 0;
    transition: opacity 2.5s ease, transform 2.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-grid:not(.about-grid--rev) .about-art { transform: translateX(-200px); }
.about-grid:not(.about-grid--rev) .about-copy { transform: translateX(200px); }

.about-grid:not(.about-grid--rev).in-view .about-art,
.about-grid:not(.about-grid--rev).in-view .about-copy {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   通用区块
   ========================================================================== */
.section { padding: 100px 0; }

.section-title {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--text);
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
    margin-bottom: 40px;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64px;
    height: 4px;
    border-radius: 2px;
    background: var(--pepe-green);
}

.section-title.center { display: table; margin-left: auto; margin-right: auto; text-align: center; }
.section-title.center::after { left: 50%; transform: translateX(-50%); }

/* ==========================================================================
   About
   ========================================================================== */
.about { background: var(--bg); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.about-art img {
    width: 100%;
    border-radius: 0;
    border: none;
}

/* About 改版：左侧 logo 大图 + 右侧特性列表 + 合同地址卡片 */
.about-grid--rev { align-items: center; }

.about-logo {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    display: block;
}

.about-title {
    font-size: clamp(34px, 4.5vw, 56px);
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1.1;
    margin: 0 0 36px;
    display: flex;
    align-items: flex-end;
    gap: 16px;
    position: relative;
    flex-wrap: wrap;
}
.about-title::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 64px;
    height: 4px;
    border-radius: 2px;
    background: var(--pepe-green);
}
.about-title--inline {
    align-items: baseline;
    gap: 18px;
    flex-wrap: nowrap;
    font-size: clamp(28px, 4vw, 46px);
    white-space: nowrap;
}
.about-title-light { color: var(--text); }
.about-title-green { color: var(--pepe-green); }

.about-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 26px;
    max-width: 520px;
}
.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-grid--rev.in-view .about-feature { opacity: 1; transform: translateX(0); }
.about-grid--rev.in-view .about-feature:nth-child(2) { transition-delay: 0.1s; }
.about-grid--rev.in-view .about-feature:nth-child(3) { transition-delay: 0.2s; }
.about-grid--rev.in-view .about-feature:nth-child(4) { transition-delay: 0.3s; }
.about-feature-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    margin-top: 4px;
}
.about-feature-title {
    margin: 0 0 4px;
    color: var(--pepe-green);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.8px;
    line-height: 1.2;
}
.about-feature-desc {
    margin: 0;
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.55;
}

.about-contract {
    margin-top: 36px;
    max-width: 520px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid var(--pepe-green);
    border-radius: 12px;
    background: rgba(105, 196, 76, 0.06);
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease 0.4s, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}
.about-grid--rev.in-view .about-contract { opacity: 1; transform: translateX(0); }
.about-contract-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.about-contract-icon { width: 34px; height: 34px; flex-shrink: 0; }
.about-contract-text { min-width: 0; }
.about-contract-title {
    margin: 0 0 2px;
    color: var(--pepe-green);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.6px;
    line-height: 1.2;
}
.about-contract-addr {
    margin: 0;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.4;
    word-break: break-all;
    font-family: 'Courier New', monospace;
}
.about-contract-copy {
    flex-shrink: 0;
    background: transparent;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: var(--pepe-green);
    transition: transform 0.2s ease, color 0.2s ease;
    line-height: 0;
}
.about-contract-copy:hover { transform: scale(1.12); }
.about-contract-copy img { width: 24px; height: 24px; display: block; }
.about-contract-copy.copied { color: var(--text); }

/* ==========================================================================
   How to buy
   ========================================================================== */
.how-to-buy { background: var(--bg-soft); }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 34px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/* HOW TO BUY 步骤卡片依次出现（滚动到视口触发，配合 JS 的 .in-view 类） */
.how-to-buy .step-card {
    opacity: 0;
}

.how-to-buy .steps-grid.in-view .step-card {
    animation: stepCardIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.how-to-buy .steps-grid.in-view .step-card:nth-child(1) { --step-delay: 0.1s;  animation-delay: 0.1s; }
.how-to-buy .steps-grid.in-view .step-card:nth-child(2) { --step-delay: 0.25s; animation-delay: 0.25s; }
.how-to-buy .steps-grid.in-view .step-card:nth-child(3) { --step-delay: 0.4s;  animation-delay: 0.4s; }
.how-to-buy .steps-grid.in-view .step-card:nth-child(4) { --step-delay: 0.55s; animation-delay: 0.55s; }

@keyframes stepCardIn {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* 卡片内部文字缓慢依次出现（数字 → 标题 → 正文） */
.how-to-buy .step-card .step-num,
.how-to-buy .step-card .step-title,
.how-to-buy .step-card .step-text {
    opacity: 0;
}

.how-to-buy .steps-grid.in-view .step-card .step-num,
.how-to-buy .steps-grid.in-view .step-card .step-title,
.how-to-buy .steps-grid.in-view .step-card .step-text {
    animation: stepTextIn 1.4s ease forwards;
}

.how-to-buy .steps-grid.in-view .step-card .step-num   { animation-delay: calc(var(--step-delay, 0s) + 0.45s); }
.how-to-buy .steps-grid.in-view .step-card .step-title { animation-delay: calc(var(--step-delay, 0s) + 0.70s); }
.how-to-buy .steps-grid.in-view .step-card .step-text  { animation-delay: calc(var(--step-delay, 0s) + 0.95s); }

@keyframes stepTextIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.step-card:hover {
    transform: translateY(-6px);
    border-color: var(--pepe-green);
}

.step-num {
    font-size: 44px;
    font-weight: 900;
    line-height: 1;
    color: var(--pepe-green);
    margin-bottom: 14px;
    opacity: 0.9;
}

.step-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.step-title--with-icon {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.step-title--with-icon .step-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: -58px;
    margin-right: 8px;
}

.step-text { color: var(--text-muted); font-size: 15px; }

.step-art img {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 24px;
}

/* ==========================================================================
   Tokenomics
   ========================================================================== */
/* ==========================================================================
   Tokenomics — 改版
   ========================================================================== */
/* ==========================================================================
   Tokenomics — 改版（单竖线 + 等宽3列 + 图片放大 + 底部卡片占满）
   ========================================================================== */
.tokenomics { background: var(--bg); }
.tokenomics-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: start;
    gap: 40px;
}

.tokenomics-art img {
    width: 100%;
    max-width: none;
    display: block;
    margin: 270px auto 0;
    -webkit-mask-image: radial-gradient(ellipse 75% 70% at center, #000 50%, rgba(0, 0, 0, 0.6) 75%, transparent 100%);
    mask-image: radial-gradient(ellipse 75% 70% at center, #000 50%, rgba(0, 0, 0, 0.6) 75%, transparent 100%);
}

.tokenomics-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 900;
    color: var(--text);
    letter-spacing: 1px;
    padding-bottom: 14px;
    margin: 0 0 30px;
}
.tokenomics-title::after { width: 80px; height: 5px; }

.tokenomics-supply { margin: 0 0 36px; }
.tokenomics-supply-label { margin: 0 0 6px; color: var(--text); font-size: 15px; font-weight: 700; letter-spacing: 1.2px; }
.tokenomics-supply-num { margin: 0; color: var(--pepe-green); font-size: clamp(32px, 5vw, 54px); font-weight: 900; line-height: 1.05; letter-spacing: 0.5px; word-break: break-all; }
.tokenomics-supply-ticker { color: var(--text); font-size: 0.6em; font-weight: 900; letter-spacing: 1px; margin-left: 4px; }
.tokenomics-supply-sub { margin: 8px 0 0; color: var(--text-soft); font-size: 16px; font-weight: 700; letter-spacing: 0.5px; }

/* 3 列等宽：上下两排的同一列对齐 */
.tokenomics-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    margin: 0 0 28px;
}
.tokenomics-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 22px;
}
/* 单竖线：每列左侧 1 条 */
.tokenomics-col + .tokenomics-col {
    border-left: 1px solid var(--pepe-green);
}
.tokenomics-col-icon { width: 46px; height: 46px; margin: 0 0 14px; flex-shrink: 0; }
.tokenomics-col-title { margin: 0 0 12px; color: var(--pepe-green); font-size: 16px; font-weight: 800; letter-spacing: 0.8px; line-height: 1.2; }
.tokenomics-col-line { margin: 0; color: var(--text-soft); font-size: 14px; line-height: 1.6; white-space: nowrap; }

/* 中间分隔线 */
.tokenomics-divider { width: 100%; height: 1px; background: var(--pepe-green); opacity: 0.5; margin: 8px 0 28px; }
.tokenomics-contract { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border: 1px solid var(--pepe-green); border-radius: 12px; background: rgba(105, 196, 76, 0.06); }
.tokenomics-contract-icon { width: 32px !important; height: 32px !important; max-width: 32px; flex-shrink: 0; } .tokenomics-contract-copy { flex-shrink: 0; background: transparent; border: none; padding: 6px; cursor: pointer; line-height: 0; display: inline-flex; align-items: center; justify-content: center; }
.tokenomics-contract-copy img { width: 28px !important; height: 28px !important; max-width: 28px; display: block; }
.tokenomics-contract-text { min-width: 0; flex: 1; }
.tokenomics-contract-title { margin: 0 0 2px; color: var(--pepe-green); font-size: 14px; font-weight: 800; letter-spacing: 0.6px; }
.tokenomics-contract-addr { margin: 0; color: var(--text-soft); font-size: 13px; line-height: 1.4; word-break: break-all; font-family: 'Courier New', monospace; }


/* TOKEN DETAILS 字段列表：保证 Total Supply 不换行 */
.tokenomics-details { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.tokenomics-details-row { display: flex; align-items: baseline; gap: 6px; font-size: 14px; line-height: 1.6; white-space: nowrap; }
.tokenomics-details-row dt { min-width: 88px; color: var(--text); font-weight: 700; margin: 0; }
.tokenomics-details-row dd { color: var(--text-soft); margin: 0; white-space: nowrap; }
/* ==========================================================================
   Roadmap
   ========================================================================== */
.roadmap { background: var(--bg-soft); padding-bottom: 40px; }

.roadmap-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.phase-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/* ROADMAP 卡片依次出现（滚动到视口触发，配合 JS 的 .in-view 类） */
.roadmap .phase-card {
    opacity: 0;
}

.roadmap .roadmap-grid.in-view .phase-card {
    animation: phaseCardIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.roadmap .roadmap-grid.in-view .phase-card:nth-child(1) { --phase-delay: 0.1s; animation-delay: 0.1s; }
.roadmap .roadmap-grid.in-view .phase-card:nth-child(2) { --phase-delay: 0.3s; animation-delay: 0.3s; }
.roadmap .roadmap-grid.in-view .phase-card:nth-child(3) { --phase-delay: 0.5s; animation-delay: 0.5s; }

@keyframes phaseCardIn {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* 卡片内标题文字缓慢出现 */
.roadmap .phase-card .phase-title {
    opacity: 0;
}

.roadmap .roadmap-grid.in-view .phase-card .phase-title {
    animation: phaseTextIn 1.4s ease forwards;
    animation-delay: calc(var(--phase-delay, 0s) + 0.5s);
}

@keyframes phaseTextIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.phase-card:hover {
    transform: translateY(-6px);
    border-color: var(--pepe-green);
}

.phase-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
}

.phase-card--single {
    text-align: left;
}

.phase-text {
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.7;
    margin: 0;
}

.phase-text--donation {
    margin-top: 18px;
    font-weight: 700;
    color: var(--text);
}
.pvfund { background: var(--bg-soft); padding-bottom: 60px; }
.pvfund-intro { max-width: 720px; margin: 0 auto 40px; text-align: center; color: var(--text-soft); font-size: 17px; line-height: 1.7; }
.pvfund-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 960px; margin: 0 auto; }
.pvfund-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 36px 32px; transition: transform 0.3s ease, border-color 0.3s ease; }
.pvfund-card:hover { transform: translateY(-6px); border-color: var(--pepe-green); }
.pvfund-card-title { font-size: 20px; font-weight: 800; letter-spacing: 1px; color: var(--pepe-green); margin-bottom: 22px; }
.pvfund-list { list-style: none; margin: 0; padding: 0; }
.pvfund-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--text-soft); font-size: 16px; line-height: 1.6; padding: 9px 0; }
.pvfund-dot { flex: none; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--pepe-green); }
.pvfund-note { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.pvfund-donate-label { color: var(--text-soft); font-size: 15px; margin-bottom: 18px; }
.pvfund-address { display: flex; align-items: center; gap: 12px; background: #0a0a0a; border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.pvfund-address-text { flex: 1; color: var(--text); font-size: 14px; font-family: 'Courier New', monospace; word-break: break-all; }
.pvfund-copy { flex: none; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-card); cursor: pointer; transition: border-color 0.3s ease; }
.pvfund-copy:hover { border-color: var(--pepe-green); }
.pvfund-copy img { width: 20px; height: 20px; display: block; }
@media (max-width: 860px) { .pvfund-grid { grid-template-columns: 1fr; } }


/* ==========================================================================
   Panda Ve Fund
   ========================================================================== */
.pvfund { background: var(--bg-soft); padding: 30px 0 70px; }

.pvfund-title {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.pvfund-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 36px;
}

.pvfund-card--single {
    max-width: 880px;
    margin: 0 auto;
}

.pvfund-text {
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.7;
    margin: 0 0 6px;
}

.pvfund-label {
    color: var(--pepe-green);
    font-size: 17px;
    font-weight: 700;
    margin: 26px 0 14px;
}

.pvfund-address {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #0a0a0a;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
}

.pvfund-address-text {
    flex: 1;
    color: var(--text);
    font-size: 15px;
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

.pvfund-copy {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.pvfund-copy:hover { border-color: var(--pepe-green); }
.pvfund-copy img { width: 20px; height: 20px; display: block; }

.pvfund-thanks {
    margin-top: 22px;
    color: var(--text-muted);
    font-size: 15px;
}

@media (max-width: 860px) {
    .pvfund-title { font-size: 40px; }
    .pvfund-card { padding: 28px 22px; }
    .pvfund-text, .pvfund-label { font-size: 16px; }
}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
    background: #000;
    padding: 50px 0;
}

.footer-inner {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.footer-disclaimer {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 16px;
}

.footer-copy {
    margin-top: 32px;
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    margin-bottom: 32px;
}

/* 页脚 logo + Panda Ve 动态（滚动到视口才播放） */
.footer-brand {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-brand.in-view {
    opacity: 1;
    transform: translateY(0);
}

.footer-brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

/* Panda Ve 文字缓慢淡入 */
.footer-brand .brand-name {
    opacity: 0;
    transition: opacity 1.2s ease 0.3s;
}

.footer-brand.in-view .brand-name {
    opacity: 1;
}

/* ==========================================================================
   进入视口淡入动画
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   响应式 —— 平板
   ========================================================================== */
@media (max-width: 1200px) and (min-width: 769px) {
    .main-nav { gap: 18px; }
    .nav-link { font-size: 13px; }
    .hero-grid { gap: 30px; }
    .steps-grid { gap: 20px; }
}

/* ==========================================================================
   响应式 —— 手机
   ========================================================================== */
@media (max-width: 768px) {
    :root { --header-h: 74px; }

    .brand img { width: 44px; height: 43px; }
    .brand-name { font-size: 17px; }

    .nav-toggle { display: flex; }

    .main-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: rgba(0, 0, 0, 0.97);
        border-bottom: 1px solid var(--border);
        padding: 12px 24px 24px;
        transform: translateY(-120%);
        transition: transform 0.3s ease;
    }

    .main-nav.open { transform: translateY(0); }

    .main-nav .nav-link,
    .main-nav .nav-cta,
    .main-nav .lang-switch {
        width: 100%;
        padding: 14px 0;
        font-size: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .main-nav .lang-switch {
        height: auto;
        padding: 14px 16px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        margin-top: 12px;
        justify-content: center;
    }

    .main-nav .nav-cta {
        margin-top: 12px;
        justify-content: center;
        border-bottom: none;
    }

    .hero { padding-top: calc(var(--header-h) + 30px); }
    .hero-badges-line { font-size: 13px; letter-spacing: 1px; }
    .hero-badge-sep { margin: 0 8px; }
    .hero-title { font-size: clamp(28px, 9vw, 40px); white-space: normal; }
    .hero-ticker { display: block; margin: 4px 0 0; }
    .hero-desc { margin-top: 18px; line-height: 1.7; }
    .hero-features { gap: 18px; margin-top: 20px; grid-template-columns: 1fr; }
    .feature-card { justify-content: center; }
    .feature-card img { width: 22px; height: 22px; }
    .hero-social-bar { margin-top: 24px; gap: 10px; }
    .social-tile { width: 44px; height: 44px; }
    .hero-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .hero-copy { text-align: center; }
    .hero-art img { max-width: 320px; }

    .wave-divider { padding: 12px 0; }
    .wave-divider svg { height: 32px; }
    .section { padding: 70px 0; }

    .about-grid { grid-template-columns: 1fr; gap: 36px; }
    .about-logo { max-width: 280px; }
    .about-title { justify-content: center; }
    .about-title::before { left: 50%; transform: translateX(-50%); }
    .about-features { gap: 20px; }
    .about-feature-icon { width: 28px; height: 28px; }
    .about-feature-title { font-size: 15px; }
    .about-feature-desc { font-size: 14px; }
    .about-contract { flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px; }
    .about-contract-copy { align-self: flex-end; }

    .tokenomics-grid { grid-template-columns: 1fr; gap: 36px; }
    .tokenomics-art { order: -1; }
    .tokenomics-art img { max-width: 320px; }
    .tokenomics-row { grid-template-columns: 1fr; gap: 22px; }
    .tokenomics-col-icon { width: 38px; height: 38px; }
    .tokenomics-supply-num { font-size: clamp(26px, 8vw, 40px); }
    .tokenomics-details-row dt { min-width: 100px; font-size: 13px; }
    .tokenomics-details-row { font-size: 13px; }
    .tokenomics-contract { flex-wrap: wrap; }
    .tokenomics-title { font-size: clamp(32px, 9vw, 44px); }

    .steps-grid { grid-template-columns: 1fr; }

    .pvfund-title { font-size: 34px; }
    .pvfund-address { flex-wrap: wrap; }
    .pvfund-address-text { font-size: 13px; }

    .section-title.center::after { transform: translateX(-50%); }
}

/* ==========================================================================
   响应式 —— 手机补充修复（hero 特性卡片换行 / about 动画偏移）
   ========================================================================== */
@media (max-width: 768px) {
    .hero-features {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .feature-card {
        border-right: none;
        padding-right: 0;
        padding-bottom: 12px;
        border-bottom: 2px solid var(--pepe-green);
    }
    .feature-card:last-child { border-bottom: none; padding-bottom: 0; }
    .feature-text { white-space: normal; }
    .hero-badge-text { white-space: normal; }
    .hero-badges-line { font-size: 15px; line-height: 1.5; }

    .about-feature { opacity: 1; transform: translateX(0); }
    .about-contract { opacity: 1; transform: translateX(0); }
}

/* ==========================================================================
   复制成功提示弹框
   ========================================================================== */
.about-contract-copy,
.tokenomics-contract-copy,
.pvfund-copy { position: relative; }

.copy-tip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #161616;
    color: var(--pepe-green);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.3px;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid var(--pepe-green);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 999;
}

.copy-tip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: var(--pepe-green);
}

.copy-tip.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
