body {
    font-family: 'Arial', sans-serif;
    background: url('bgchina.webp') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 20, 40, 0.7);
    z-index: 0;
    pointer-events: none;
}

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

header {
    text-align: center;
    padding: 40px 0 20px 0;
    position: relative;
}

.logo {
    width: 140px;
    height: 140px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: url('logoac.webp') no-repeat center center / cover, #222;
    box-shadow: 0 0 40px #0ff, 0 0 20px #f0f;
    display: inline-block;
    border: 4px solid #0ff;
}

h1 {
    font-size: 3rem;
    color: #0ff;
    text-shadow: 0 0 10px #0ff, 0 0 20px #f0f;
    font-weight: bold;
}

.subtitle {
    font-size: 1.3rem;
    color: #f0f;
    text-shadow: 0 0 10px #0ff;
    margin-bottom: 10px;
}

.chinese-title {
    font-size: 2rem;
    color: #ff0;
    text-shadow: 0 0 10px #f0f;
    font-weight: bold;
    margin-bottom: 10px;
}

.city-skyline {
    height: 120px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 120"><defs><linearGradient id="cyber1" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:%230ff;stop-opacity:1" /><stop offset="100%" style="stop-color:%2300f2fe;stop-opacity:1" /></linearGradient><linearGradient id="cyber2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:%23f0f;stop-opacity:1" /><stop offset="100%" style="stop-color:%23ff0;stop-opacity:1" /></linearGradient></defs><rect x="30" y="60" width="60" height="60" fill="url(%23cyber1)"/><rect x="120" y="40" width="50" height="80" fill="url(%23cyber2)"/><rect x="200" y="30" width="70" height="90" fill="url(%23cyber1)"/><rect x="300" y="50" width="60" height="70" fill="url(%23cyber2)"/><rect x="400" y="20" width="80" height="100" fill="url(%23cyber1)"/><rect x="520" y="60" width="50" height="60" fill="url(%23cyber2)"/><rect x="600" y="35" width="70" height="85" fill="url(%23cyber1)"/><rect x="700" y="55" width="60" height="65" fill="url(%23cyber2)"/><rect x="800" y="25" width="80" height="95" fill="url(%23cyber1)"/></svg>') no-repeat;
    background-size: cover;
    margin: 30px 0 30px 0;
    filter: drop-shadow(0 0 20px #0ff);
    border-radius: 0 0 30px 30px;
}

.token-section {
    background: rgba(20, 20, 40, 0.97);
    border-radius: 20px;
    padding: 32px 24px;
    margin: 32px 0;
    box-shadow: 0 0 30px #0ff, 0 0 10px #f0f;
    text-align: center;
}

.token-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #0ff, #f0f, #ff0);
    border-radius: 50%;
    margin: 0 auto 18px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    font-weight: bold;
    box-shadow: 0 0 20px #0ff, 0 0 10px #f0f;
    animation: float 3s ease-in-out infinite;
}

.token-name {
    font-size: 2rem;
    color: #0ff;
    margin-bottom: 8px;
    font-weight: bold;
}

.token-symbol {
    font-size: 1.3rem;
    color: #f0f;
    margin-bottom: 18px;
}

.token-description {
    font-size: 1.1rem;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 18px;
}

.chinese-description {
    font-size: 1rem;
    color: #ff0;
    line-height: 1.8;
    margin-bottom: 18px;
}

/* Chat Section */
.chat-section {
    background: rgba(10, 10, 30, 0.99);
    border-radius: 18px;
    box-shadow: 0 0 30px #0ff, 0 0 10px #f0f;
    padding: 24px 16px 16px 16px;
    margin: 32px 0;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.chat-header img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #222;
    box-shadow: 0 0 10px #0ff, 0 0 5px #f0f;
}

.chat-header .monk-name {
    color: #0ff;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 0 0 6px #0ff;
}

#chat-log {
    min-height: 120px;
    max-height: 260px;
    overflow-y: auto;
    background: rgba(20, 20, 40, 0.7);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
    color: #fff;
    font-family: 'Fira Mono', monospace;
    font-size: 1rem;
    box-shadow: 0 0 10px #0ff inset;
}

.user-msg {
    color: #ff0;
    margin-bottom: 6px;
    font-weight: bold;
}

.agent-msg {
    color: #0ff;
    margin-bottom: 6px;
    font-weight: bold;
}

#chat-input {
    width: 80%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    background: #222;
    color: #fff;
    font-size: 1rem;
    margin-right: 8px;
    box-shadow: 0 0 6px #0ff;
}

#send-btn {
    padding: 10px 24px;
    background: #0ff;
    color: #111;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 0 10px #0ff;
    transition: background 0.2s;
}

#send-btn:hover {
    background: #f0f;
    color: #fff;
}

footer {
    background: rgba(0, 0, 0, 0.85);
    color: white;
    text-align: center;
    padding: 30px;
    margin-top: 40px;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 0 20px #0ff;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-text {
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    color: #0ff;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #f0f;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    .chinese-title {
        font-size: 1.2rem;
    }
    .container {
        padding: 8px;
    }
    .chat-section {
        padding: 10px 4px 8px 4px;
    }
}

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

.music-player-section {
    margin: 32px auto 0 auto;
    max-width: 700px;
    background: rgba(10, 20, 40, 0.92);
    border-radius: 18px;
    box-shadow: 0 0 24px #0ff, 0 0 8px #f0f;
    padding: 18px 24px 10px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    position: relative;
}

.music-player {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    justify-content: center;
}

.music-btn {
    background: linear-gradient(45deg, #0ff, #f0f);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    color: #111;
    font-size: 1.5rem;
    box-shadow: 0 0 10px #0ff, 0 0 4px #f0f;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.music-btn:hover {
    background: linear-gradient(45deg, #f0f, #0ff);
    color: #fff;
    transform: scale(1.1);
}

.track-title {
    color: #0ff;
    font-size: 1.1rem;
    font-weight: bold;
    text-shadow: 0 0 6px #0ff;
    margin: 0 10px;
    min-width: 80px;
    text-align: center;
}

#music-progress {
    flex: 1;
    accent-color: #0ff;
    background: #222;
    border-radius: 8px;
    height: 6px;
    margin: 0 10px;
}

.music-time {
    color: #f0f;
    font-size: 0.95rem;
    min-width: 90px;
    text-align: right;
}

.city-skyline-animated {
    width: 100%;
    margin: 0 auto 24px auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    z-index: 1;
}

#city-visualizer {
    width: 100%;
    height: 120px;
    display: block;
    filter: drop-shadow(0 0 16px #0ff);
    background: transparent;
}

/* Responsive for music player and skyline */
@media (max-width: 700px) {
    .music-player-section {
        padding: 10px 4px 6px 4px;
    }
    .music-player {
        flex-direction: column;
        gap: 10px;
    }
    #music-progress {
        width: 100%;
        margin: 8px 0;
    }
}

.fixed-music-player {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 1000;
    box-shadow: 0 0 24px #0ff, 0 0 8px #f0f;
    background: rgba(10, 20, 40, 0.96);
    border-radius: 18px 18px 18px 18px;
    padding: 12px 18px 8px 18px;
    min-width: 320px;
    max-width: 90vw;
    transition: box-shadow 0.2s, background 0.2s;
}
.fixed-music-player:hover {
    box-shadow: 0 0 40px #0ff, 0 0 16px #f0f;
    background: rgba(10, 20, 40, 0.99);
}
@media (max-width: 600px) {
    .fixed-music-player {
        right: 0;
        left: 0;
        bottom: 0;
        min-width: unset;
        max-width: 100vw;
        border-radius: 0;
        padding: 8px 2vw 4px 2vw;
    }
}

.neon-draw-section {
    margin: 40px auto 32px auto;
    padding: 24px 0 16px 0;
    background: rgba(10, 20, 40, 0.92);
    border-radius: 18px;
    box-shadow: 0 0 24px #0ff, 0 0 8px #f0f;
    text-align: center;
    max-width: 900px;
}

.neon-draw-title {
    color: #0ff;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 0 12px #0ff, 0 0 8px #f0f;
    margin-bottom: 8px;
}

.neon-draw-instructions {
    color: #ff0;
    font-size: 1.1rem;
    margin-bottom: 12px;
    text-shadow: 0 0 6px #f0f;
}

#neon-canvas {
    display: block;
    margin: 0 auto;
    background: #181c2f;
    border-radius: 16px;
    box-shadow: 0 0 32px #0ff, 0 0 12px #f0f;
    border: 3px solid #0ff;
    cursor: crosshair;
    max-width: 98vw;
    width: 800px;
    height: 320px;
    transition: box-shadow 0.2s;
}
#neon-canvas:active {
    box-shadow: 0 0 48px #ff0, 0 0 24px #f0f;
}

@media (max-width: 900px) {
    #neon-canvas {
        width: 98vw;
        height: 40vw;
        min-height: 180px;
    }
} 