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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background: #000000;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

#matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15;
}

.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
    display: flex;
    gap: 10px;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px;
    border-radius: 25px;
    border: 2px solid #444;
}

.lang-btn {
    padding: 8px 20px;
    background: transparent;
    color: #aaaaaa;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
    background: #ffffff;
    color: #000000;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    padding: 60px 20px 40px;
}

.logo-container {
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

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

.logo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 4px solid #666;
}

h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    font-weight: 300;
}

.hero {
    margin: 60px 0;
}

.contract-section {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #444;
    margin-bottom: 40px;
    text-align: center;
}

.contract-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.contract-address {
    display: flex;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto 15px;
}

#contract-input {
    flex: 1;
    padding: 12px 16px;
    background: #000000;
    border: 2px solid #444;
    border-radius: 8px;
    color: #ffffff;
    font-family: monospace;
    font-size: 0.9rem;
    outline: none;
}

.copy-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    color: #000000;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.copy-btn:active {
    transform: translateY(0);
}

.contract-note {
    font-size: 0.85rem;
    color: #aaaaaa;
    font-style: italic;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #444;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: #888;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ffffff;
}

.stat-label {
    font-size: 0.9rem;
    color: #aaaaaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

section {
    margin: 80px 0;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: #ffffff;
}

.history {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    padding: 60px 40px;
    border-radius: 20px;
    border: 2px solid #444;
}

.history-content {
    max-width: 900px;
    margin: 0 auto;
}

.history-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #dddddd;
    text-align: justify;
}

.chinese-text {
    font-size: 1.3rem;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border-left: 4px solid #888;
}

.meme-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #444;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    background: #1a1a1a;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #888;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.gallery-item:hover img {
    opacity: 0.9;
}

.text-en,
.text-zh {
    display: none;
}

body.lang-en .text-en {
    display: block;
}

body.lang-zh .text-zh {
    display: block;
}

.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.tokenomics-card {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #444;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tokenomics-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border-color: #888;
}

.tokenomics-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.tokenomics-card p {
    color: #aaaaaa;
    font-size: 1rem;
}

.community {
    text-align: center;
    padding: 40px 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-btn.telegram {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    color: #ffffff;
    border-color: #444;
}

.social-btn.telegram:hover {
    background: linear-gradient(135deg, #3d3d3d 0%, #2a2a2a 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border-color: #888;
}

.social-btn.twitter {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    color: #ffffff;
    border-color: #444;
}

.social-btn.twitter:hover {
    background: linear-gradient(135deg, #3d3d3d 0%, #2a2a2a 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border-color: #888;
}

footer {
    text-align: center;
    padding: 60px 20px 40px;
    border-top: 1px solid #444;
    margin-top: 80px;
}

.disclaimer {
    font-size: 0.9rem;
    color: #888888;
    margin-bottom: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.copyright {
    font-size: 0.9rem;
    color: #666666;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .logo {
        width: 150px;
        height: 150px;
    }

    .history {
        padding: 40px 20px;
    }

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

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

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .social-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo-container {
        animation: none;
    }

    * {
        transition: none !important;
    }
}
