/* ===== 主页样式 ===== */
.hero-section {
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.nailong-container {
    will-change: transform;
    transform: translateZ(0);
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.nailong-img {
    width: 280px; height: 280px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--antique-gold);
    box-shadow: 0 0 40px rgba(201, 162, 39, 0.3), 0 0 80px rgba(201, 162, 39, 0.1);
    animation: breathe 3s ease-in-out infinite;
}

.glow-effect {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 217, 61, 0.2) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
    z-index: -1;
}

.museum-title { margin-bottom: 1.5rem; }

.title-main {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--antique-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.1em;
}

.title-sub {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--nailong-yellow);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-top: 0.5rem;
    opacity: 0.8;
}

.museum-desc {
    font-size: 1.1rem;
    line-height: 2;
    color: rgba(245, 245, 220, 0.8);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.start-btn {
    position: relative;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 500;
    color: var(--deep-indigo);
    background: linear-gradient(135deg, var(--nailong-yellow) 0%, var(--antique-gold) 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 217, 61, 0.3), 0 0 30px rgba(201, 162, 39, 0.2);
}
.start-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 217, 61, 0.4), 0 0 50px rgba(201, 162, 39, 0.3);
}

.btn-shine {
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}
.start-btn:hover .btn-shine { left: 100%; }

/* ===== 声明弹窗样式 ===== */
.disclaimer-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.disclaimer-modal.hidden { display: none; }

.disclaimer-content {
    background: var(--deep-indigo);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid var(--antique-gold);
    max-width: 500px;
    width: 90%;
    text-align: center;
}
.disclaimer-content h2 {
    color: var(--antique-gold);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}
.disclaimer-text {
    text-align: left;
    margin-bottom: 2rem;
    line-height: 1.8;
}
.disclaimer-text p {
    color: var(--cream);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}
.disclaimer-text a {
    color: var(--nailong-yellow);
    text-decoration: none;
}
.disclaimer-text a:hover { text-decoration: underline; }

.disclaimer-btn {
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--nailong-yellow) 0%, var(--antique-gold) 100%);
    border: none;
    border-radius: 30px;
    color: var(--deep-indigo);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}
.disclaimer-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 217, 61, 0.4);
}

/* ===== 投稿弹窗 ===== */
.submission-modal { display: none; }
.submission-modal.show { display: flex; }

.submission-modal-content {
    background: var(--deep-indigo);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid var(--antique-gold);
    max-width: 450px;
    width: 90%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.submission-desc {
    text-align: center;
    color: rgba(245, 245, 220, 0.7);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.upload-area {
    border: 2px dashed var(--antique-gold);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}
.upload-area:hover { background: rgba(201, 162, 39, 0.1); }

.upload-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}
.upload-hint {
    font-size: 0.8rem;
    color: rgba(245, 245, 220, 0.5);
}

.preview-image {
    max-width: 100%;
    max-height: 200px;
    border-radius: 10px;
}

.remove-image {
    position: absolute;
    top: 10px; right: 10px;
    width: 30px; height: 30px;
    background: rgba(255, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
}

.submit-artwork-btn {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--deep-indigo);
    background: linear-gradient(135deg, var(--nailong-yellow) 0%, var(--antique-gold) 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}
.submit-artwork-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.submit-artwork-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 217, 61, 0.4);
}

.submit-message {
    margin-top: 1rem;
    padding: 0.8rem;
    border-radius: 10px;
    text-align: center;
    font-size: 0.9rem;
}
.submit-message.success { background: rgba(0, 255, 0, 0.2); color: #90EE90; }
.submit-message.error { background: rgba(255, 0, 0, 0.2); color: #FFB6C1; }
