/* ==================== 全局样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b00;
    --secondary-color: #00d4ff;
    --accent-color: #ff00ff;
    --dark-bg: #0a0a0a;
    --card-bg: rgba(20, 20, 20, 0.8);
    --text-color: #ffffff;
    --text-secondary: #b0b0b0;
    --glow-color: rgba(255, 107, 0, 0.5);
    --glow-secondary: rgba(0, 212, 255, 0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--dark-bg);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ==================== 粒子背景 ==================== */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a2e 50%, #0a0a0a 100%);
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background: linear-gradient(135deg, #0a0a0a 0%, #1a0a2e 50%, #0a0a0a 100%);
    }
    33% {
        background: linear-gradient(135deg, #0a0a0a 0%, #1a0e2e 50%, #0a0a0a 100%);
    }
    66% {
        background: linear-gradient(135deg, #0a0a0a 0%, #2e0a1a 50%, #0a0a0a 100%);
    }
}

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 107, 0, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 2s ease-in-out infinite;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 语言切换按钮 */
.lang-selector {
    position: relative;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 0.9rem;
}

.lang-switch:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--glow-color);
}

.lang-icon {
    font-size: 1.2rem;
}

.lang-text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    min-width: 60px;
    text-align: left;
}

.lang-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.lang-selector.active .lang-arrow {
    transform: rotate(180deg);
}

/* 语言下拉菜单 */
.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-color);
}

.lang-option:first-child {
    border-radius: 10px 10px 0 0;
}

.lang-option:last-child {
    border-radius: 0 0 10px 10px;
}

.lang-option:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
}

.lang-option.active {
    background: rgba(255, 107, 0, 0.2);
    color: var(--primary-color);
}

.lang-flag {
    font-size: 1.2rem;
}

/* ==================== Hero 区域 ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.hero-content {
    z-index: 1;
}

.dog-emoji-container {
    position: relative;
    margin-bottom: 2rem;
}

.dog-emoji {
    width: 250px;
    height: 250px;
    display: inline-block;
    filter: drop-shadow(0 0 30px var(--glow-color));
    animation: float 3s ease-in-out infinite;
    object-fit: contain;
    cursor: pointer;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.dog-emoji:hover {
    filter: drop-shadow(0 0 50px var(--glow-color)) brightness(1.2);
    transform: scale(1.05);
}

.dog-emoji:active {
    transform: scale(0.95);
}

.rotating {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.glow-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
    animation: pulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.main-title {
    margin-bottom: 1rem;
}

.title-line {
    display: block;
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
    text-shadow: 0 0 30px var(--glow-color);
}

.subtitle {
    display: block;
    font-size: 2rem;
    font-weight: 300;
    color: var(--secondary-color);
    margin-top: 0.5rem;
    letter-spacing: 0.3em;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.hero-description {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 0 20px var(--glow-color);
}

.btn-primary:hover {
    box-shadow: 0 0 30px var(--glow-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 20px var(--glow-secondary);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--dark-bg);
    box-shadow: 0 0 30px var(--glow-secondary);
    transform: translateY(-2px);
}

.btn-buy {
    background: linear-gradient(90deg, #00d4ff, #00ff88);
    color: white;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.btn-buy:hover {
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.7);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-secondary);
    animation: bounce 2s infinite;
}

.arrow-down {
    font-size: 2rem;
    margin-top: 0.5rem;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ==================== 通用容器和标题 ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

section {
    padding: 4rem 0;
    position: relative;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 900;
}

.glow-text {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px var(--glow-color));
}

/* ==================== 关于区域 ==================== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 0, 0.2);
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px var(--glow-color);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.story-section {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
}

.subsection-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ==================== Tokenomics 区域 ==================== */
.tokenomics {
    background: rgba(0, 0, 0, 0.3);
}

.contract-box {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid var(--primary-color);
    margin-bottom: 3rem;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 40px var(--glow-color);
}

.contract-label {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.contract-address-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.contract-address {
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    word-break: break-all;
}

.copy-btn {
    padding: 1rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-btn:hover {
    background: var(--accent-color);
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--glow-color);
}

.contract-warning {
    color: #ffaa00;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tokenomics-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 0, 0.2);
    text-align: center;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.tokenomics-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px var(--glow-color);
}

.tokenomics-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.tokenomics-label {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* ==================== 社区区域 ==================== */
.community-description {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.social-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 0, 0.2);
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 40px var(--glow-color);
}

.social-card.telegram:hover {
    border-color: #0088cc;
    box-shadow: 0 10px 40px rgba(0, 136, 204, 0.5);
}

.social-card.twitter:hover {
    border-color: #1da1f2;
    box-shadow: 0 10px 40px rgba(29, 161, 242, 0.5);
}

.social-card.douyin:hover {
    border-color: #fe2c55;
    box-shadow: 0 10px 40px rgba(254, 44, 85, 0.5);
}

.social-card.weibo:hover {
    border-color: #e6162d;
    box-shadow: 0 10px 40px rgba(230, 22, 45, 0.5);
}

.social-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.social-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.social-label {
    color: var(--text-secondary);
}

.meme-section {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 0, 255, 0.2);
    text-align: center;
    backdrop-filter: blur(10px);
}

.disclaimer {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-top: 1rem;
}

.disclaimer strong {
    color: var(--primary-color);
}

/* ==================== 页脚 ==================== */
.footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 107, 0, 0.2);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-emoji {
    font-size: 2rem;
}

.footer-text {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-copyright {
    color: var(--text-secondary);
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .lang-switch {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .lang-text {
        min-width: 50px;
    }

    .lang-icon {
        font-size: 1rem;
    }

    .lang-dropdown {
        min-width: 130px;
    }

    .dog-emoji {
        width: 180px;
        height: 180px;
    }

    .title-line {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1.2rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .about-grid,
    .tokenomics-grid,
    .social-links {
        grid-template-columns: 1fr;
    }

    .contract-address {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .dog-emoji {
        width: 150px;
        height: 150px;
    }

    .title-line {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
        letter-spacing: 0.2em;
    }
}
