.fan-hero {
    background-image: url('../images/hero-bg.jpeg');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.fan-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.fan-hero .hero-content {
    position: relative;
    z-index: 1;
}

.fan-hero .hero-content h2{
    font-size: 3em;
    margin-bottom: 20px;
    font-family: 'Ma Shan Zheng', cursive;
    color: var(--secondary-color);
}

.fan-hero .hero-content p{
    font-size: 1.5em;
}

.message-board {
    padding: 60px 0;
    background-color: #f9f5f0;
}

.message-form {
    margin-bottom: 30px;
}

.message-form textarea {
    width: 100%;
    height: 120px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
    font-family: inherit;
    margin-bottom: 15px;
}

#submitMessage {
    background-color: #8b4513;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#submitMessage:hover {
    background-color: #6b3410;
}

.message-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.message-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.message-item .user-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.message-item .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.message-item .message-content {
    color: #333;
    line-height: 1.6;
}

.vote-section {
    padding: 60px 0;
    background-color: #fff;
}

.vote-container {
    max-width: 600px;
    margin: 0 auto;
}

.vote-item {
    background: #f9f5f0;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.vote-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.vote-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vote-option input[type="radio"] {
    accent-color: #8b4513;
}

.vote-submit {
    background-color: #8b4513;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.vote-submit:hover {
    background-color: #6b3410;
}

.vote-results {
    margin-top: 20px;
}

.vote-bar {
    background: #ddd;
    height: 20px;
    border-radius: 10px;
    margin: 10px 0;
    overflow: hidden;
}

.vote-bar-fill {
    background: #8b4513;
    height: 100%;
    transition: width 0.3s ease;
}

.fan-works {
    padding: 60px 0;
    background-color: #f9f5f0;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.work-upload {
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    border: 2px dashed #ddd;
    cursor: pointer;
    transition: border-color 0.3s;
}

.work-upload:hover {
    border-color: #8b4513;
}

.work-upload input[type="file"] {
    display: none;
}

.work-upload label {
    color: #8b4513;
    cursor: pointer;
}

.works-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.work-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.work-item:hover img {
    transform: scale(1.05);
}
