:root {
    --bg-void: #0a0a0f;
    --bg-deep: #12121a;
    --accent-cyan: #00f0ff;
    --accent-purple: #8b5cf6;
    --accent-dim: #1a1a2e;
    --text-primary: #e0e0e0;
    --text-dim: #6b7280;
}

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

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--bg-void);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated background */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Stars */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Main container */
.container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 60px;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.8), 0 0 20px rgba(0, 240, 255, 0.6), 0 0 40px rgba(139, 92, 246, 0.4), 0 0 80px rgba(139, 92, 246, 0.2);
}

/* NOTE: in the current live site this rule is dead - its selector is corrupted
   in the source ("line {" with ".tag" spilled into the font-size value), so the
   tagline renders unstyled. Restored here as clearly intended. To reproduce the
   live look instead, rename the selector below to .tagline-disabled. */
.tagline {
    font-size: 1.1rem;
    color: var(--text-dim);
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

/* Artist name in Chinese */
.artist-name-cn {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    margin-top: 15px;
    letter-spacing: 0.5em;
    opacity: 0.8;
}

/* Player section */
.player-section {
    background: var(--bg-deep);
    border: 1px solid var(--accent-dim);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 40px;
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.1);
}

.player-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: var(--accent-cyan);
    letter-spacing: 0.2em;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.spotify-embed {
    border-radius: 12px;
    overflow: hidden;
}

iframe {
    border-radius: 12px;
}

/* Links section */
.links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.link-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--bg-deep);
    border: 1px solid var(--accent-dim);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.link-btn:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    transform: translateY(-2px);
}

.link-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* About section */
.about {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--accent-dim);
}

.about p {
    max-width: 600px;
    margin: 0 auto 20px;
    line-height: 1.8;
    color: var(--text-dim);
    font-size: 1rem;
}

.about .cn {
    font-size: 0.9rem;
    color: var(--accent-purple);
    letter-spacing: 0.2em;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    margin-top: auto;
}

footer p {
    font-size: 0.8rem;
    color: var(--text-dim);
    letter-spacing: 0.2em;
}

/* Glow effect */
.glow {
    animation: glow 2s ease-in-out infinite alternate, pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes glow {
    from { text-shadow: 0 0 10px rgba(0, 240, 255, 0.5); }
    to { text-shadow: 0 0 20px rgba(0, 240, 255, 0.8), 0 0 30px rgba(139, 92, 246, 0.5); }
}

@media (prefers-reduced-motion: reduce) {
    .bg-grid,
    .star,
    .glow {
        animation: none;
    }
    .link-btn {
        transition: none;
    }
}
