/* ============================================
   会议日程页面样式
   ============================================ */

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #667eea;
    --primary-dark: #5a67d8;
    --secondary-color: #764ba2;
    --accent-color: #ff6b6b;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --text-primary: #1e3c72;
    --text-secondary: #555;
    --text-light: #888;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e9ecef;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* 主容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   头部区域
   ============================================ */
.conference-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    color: var(--bg-white);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.conference-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.header-content {
    position: relative;
    z-index: 1;
}

.badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.badge-level {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--bg-white);
}

.badge-category {
    background: var(--accent-color);
    border: 1px solid var(--accent-color);
    color: var(--bg-white);
}

.badge-year {
    background: var(--success-color);
    border: 1px solid var(--success-color);
    color: var(--bg-white);
}

.conference-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.conference-theme {
    font-size: 20px;
    opacity: 0.95;
    font-style: italic;
    margin-bottom: 20px;
    font-weight: 300;
}

.header-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.meta-item {
    font-size: 14px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ============================================
   通用区块样式
   ============================================ */
.info-section,
.organization-section,
.education-section,
.intro-section,
.links-section,
.contact-section {
    padding: 40px;
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 30px;
    padding-left: 15px;
    border-left: 5px solid var(--primary-color);
    font-weight: 600;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 15px;
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* ============================================
   信息卡片
   ============================================ */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-card {
    background: var(--bg-white);
    padding: 25px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.info-card:hover::before {
    opacity: 1;
}

.info-icon {
    font-size: 36px;
    flex-shrink: 0;
}

.info-content h3 {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-content p {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
}

.info-label {
    font-size: 13px;
    color: var(--text-light);
}

.info-label em {
    color: var(--primary-color);
    font-style: normal;
    font-weight: 600;
}

/* ============================================
   组织机构
   ============================================ */
.org-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.org-item {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.org-item.org-primary {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-color: var(--primary-color);
}

.org-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.org-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 10px;
}

.org-label {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.org-value {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

/* ============================================
   继教信息
   ============================================ */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    padding: 25px;
    border-radius: var(--radius-md);
    border: 1px dashed var(--primary-color);
}

.edu-item {
    text-align: center;
    padding: 15px;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.edu-label {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.edu-value {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
}

/* ============================================
   会议简介
   ============================================ */
.intro-content {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    line-height: 1.8;
    color: var(--text-secondary);
	border: 1px dashed var(--primary-color);
}

.intro-block {
    margin-bottom: 25px;
}

.intro-block:last-child {
    margin-bottom: 0;
}

.intro-block h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.intro-block p {
    text-align: justify;
    color: var(--text-secondary);
}

/* ============================================
   链接按钮
   ============================================ */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 25px;
    background: var(--bg-white);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.link-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.link-btn .link-icon,
.link-btn .link-text {
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.link-btn:hover {
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.link-btn:hover::before {
    opacity: 1;
}

.link-btn:hover .link-icon,
.link-btn:hover .link-text {
    color: var(--bg-white);
}

.link-btn.link-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    border-color: transparent;
}

.link-btn.link-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* ============================================
   联系信息
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-item:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transform: translateX(5px);
}

.contact-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-label {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
}

.contact-value {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
}

/* ============================================
   页脚
   ============================================ */
.footer {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: var(--bg-white);
    padding: 25px 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-content p {
    font-size: 14px;
    opacity: 0.9;
}

.footer-content code {
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid var(--success-color);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ============================================
   加载动画
   ============================================ */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: var(--transition);
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-overlay p {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .conference-header {
        padding: 40px 20px;
    }

    .conference-header h1 {
        font-size: 24px;
    }

    .conference-theme {
        font-size: 16px;
    }

    .info-section,
    .organization-section,
    .education-section,
    .intro-section,
    .links-section,
    .contact-section {
        padding: 25px;
    }

    .section-title {
        font-size: 20px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .org-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .edu-grid {
        grid-template-columns: 1fr;
    }

    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .badges {
        flex-direction: column;
        align-items: center;
    }

    .header-meta {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .org-grid {
        grid-template-columns: 1fr;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }

    .conference-header h1 {
        font-size: 20px;
    }

    .info-card {
        padding: 20px;
    }
}

/* ============================================
   打印样式
   ============================================ */
@media print {
    body {
        background: white;
        padding: 0;
    }

    .container {
        box-shadow: none;
        max-width: 100%;
    }

    .conference-header {
        background: #1e3c72 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .loading-overlay {
        display: none;
    }

    .links-section {
        display: none;
    }
}