/* 活动详情页面样式 */
/* 背景由 common-background.css 提供 */

/* 页面容器 */
.activity-details-page {
    min-height: calc(100vh - 60px);
    padding: 150px 15px 60px;
}

.activity-details-page .container {
    max-width: 1200px;
}

/* 标题区域 */
.activity-header {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
}

.activity-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 0 0 15px 0;
    font-family: "SimHei", "Microsoft YaHei", sans-serif;
    letter-spacing: 2px;
}

/* PC端标题在一行显示 */
.activity-title .title-line-1,
.activity-title .title-line-2 {
    display: inline;
}

.title-divider-full {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
}

.activity-subtitle {
    font-size: 16px;
    color: #D4A574;
    margin: 0;
    letter-spacing: 1px;
    font-family: "SimHei", "Microsoft YaHei", sans-serif;
}

/* 评委团队区域 */
.judges-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.judges-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 评委卡片 */
.judge-card {
    background: #FFFEF9;
    border: 2px solid #E5D4A3;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.judge-card:hover {
    border-color: #D4A574;
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.2);
    transform: translateY(-2px);
}

/* 评委照片 */
.judge-photo-wrapper {
    flex-shrink: 0;
}

.judge-photo {
    width: 100px;
    height: 120px;
    object-fit: cover;
    border: 3px solid #D4A574;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.judge-photo-placeholder {
    width: 100px;
    height: 120px;
    background: linear-gradient(135deg, #FFF8DC 0%, #FFEABD 100%);
    border: 3px solid #D4A574;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #D4A574;
}

/* 评委详情 */
.judge-details {
    flex: 1;
}

.judge-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0 0 8px 0;
}

.judge-position {
    font-size: 14px;
    color: #D4A574;
    font-weight: 500;
    margin: 0 0 8px 0;
}

.judge-role {
    font-size: 13px;
    color: #666;
    margin: 0 0 10px 0;
}

.judge-bio {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* 报名区域 */
.registration-section {
    text-align: center;
    padding: 40px 30px;
    margin-bottom: 40px;
}

.registration-prompt {
    font-size: 18px;
    color: #D4A574;
    margin: 0 0 25px 0;
    letter-spacing: 1px;
}

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

.btn-register-now {
    display: inline-block;
    background: linear-gradient(135deg, #FFE5B4 0%, #FFD699 100%);
    color: #8B4513;
    font-size: 18px;
    font-weight: bold;
    padding: 12px 50px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #D4A574;
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

.btn-register-now:hover {
    background: linear-gradient(135deg, #FFD699 0%, #FFC966 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 165, 116, 0.4);
    color: #8B4513;
    text-decoration: none;
}

.login-hint {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.register-link {
    color: #FF6347;
    text-decoration: none;
    font-weight: 500;
}

.register-link:hover {
    color: #FF4500;
    text-decoration: underline;
}

/* 空状态 */
.empty-judges {
    text-align: center;
    padding: 60px 20px;
    background: #FFF9E6;
    border-radius: 12px;
    color: #999;
}

.empty-judges i {
    font-size: 64px;
    color: #D4A574;
    margin-bottom: 15px;
}

.empty-judges p {
    margin: 0;
    font-size: 14px;
}

.empty-notice {
    background: #FFF9E6;
    border-radius: 12px;
    padding: 60px 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.empty-notice i {
    font-size: 64px;
    color: #D4A574;
    margin-bottom: 20px;
}

.empty-notice h4 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.empty-notice p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .activity-details-page {
        padding: 0 20px 30px !important;
    }
    
    .activity-details-page .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100%;
    }

    .activity-header {
        margin-top: 0 !important;
        margin-bottom: 20px !important;
        padding: 15px 0 0 0;
    }

    .activity-title-wrapper {
        margin-bottom: 0 !important;
    }

    .title-divider-full {
        display: none !important;
    }

    .activity-title {
        position: static !important;
        transform: none !important;
        font-size: 28px !important;
        padding: 0 !important;
        margin: 0 0 10px 0 !important; /* 统一标题和描述间距为10px */
        line-height: 1.2;
    }

    /* 移动端标题两行显示 */
    .activity-title .title-line-1,
    .activity-title .title-line-2 {
        display: block;
    }

    .activity-title .title-line-2 {
        margin-top: 10px;
    }

    .activity-subtitle {
        font-size: 13px !important;
        margin-top: 0 !important; /* 确保间距由标题控制 */
        text-align: center !important;
    }

    .judges-section {
        padding: 0;
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 20px;
    }

    .judge-card {
        flex-direction: column;
        text-align: center;
        border-radius: 12px;
        align-items: center;
    }

    .judge-photo-wrapper {
        margin: 0 auto;
    }

    .judge-details {
        text-align: center;
        width: 100%;
    }

    .judge-name,
    .judge-position,
    .judge-role,
    .judge-bio {
        text-align: center;
    }

    .registration-section {
        padding: 30px 20px;
        border-radius: 12px;
    }

    .registration-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-register-now {
        width: 100%;
        max-width: 280px;
    }
}
