/* Page-specific styles for hcy.html */

.artist-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.artist-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.artist-intro p {
    max-width: 600px;
    margin: 0 auto 1rem;
    color: #666;
    line-height: 1.8;
    text-align: left;
}

.music-section {
    margin-bottom: 3rem;
}

.music-player {
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid #eee;
}

.music-player h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.music-player p {
    color: #666;
    line-height: 1.7;
}

.music-cover-container {
    position: relative;
    max-width: 1000px;
    margin: 1.5rem auto 0;
}

.music-cover-image {
    display: block;
    width: 100%;
    margin: 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.danmaku-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none; /* Allows clicks to go through to the image if needed */
}

.danmaku-item {
    position: absolute;
    top: 0;
    right: 0;
    transform: translateX(100%);
    white-space: nowrap;
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    animation: danmaku-scroll 8s linear;
}

@keyframes danmaku-scroll {
    from {
        right: 0;
        transform: translateX(100%);
    }
    to {
        right: 100%;
        transform: translateX(-100%);
    }
}

.gallery-section {
    margin-bottom: 3rem;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.image-gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .music-player {
        padding-left: 0;
        padding-right: 0;
        border-left: 0;
        border-right: 0;
        border-radius: 0;
    }
} 