/* =========================================================
   活动详情页面样式 event-detail.css
   依赖：common.css
   风格：图片 Hero + 玻璃信息栏 + 发光正文 + 报名 CTA
   ========================================================= */

/* ===== 顶部面包屑条（统一）===== */
.breadcrumb-bar {
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border-subtle);
    padding: 14px 0;
    font-size: 13px;
    color: var(--text-light);
    letter-spacing: 0.5px;
}
.breadcrumb-bar .container {
    display: flex;
    align-items: center;
    gap: 10px;
}
.breadcrumb-bar a { color: var(--text-secondary); }
.breadcrumb-bar a:hover { color: var(--primary); }
.breadcrumb-bar svg {
    width: 12px; height: 12px;
    stroke: var(--text-light);
    fill: none; stroke-width: 2;
    stroke-linecap: round; stroke-linejoin: round;
}
.breadcrumb-bar .current { color: var(--primary); }

/* ===== 图片 Hero ===== */
.event-hero {
    position: relative;
    height: 460px;
    overflow: hidden;
}
.event-hero img {
    width: 100%; height: 100%;
    object-fit: cover;
}
/* 多层 overlay：底部深绿 + 顶部柔光 + 全局色调 */
.event-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(5, 31, 35, 0.95) 0%, rgba(5, 31, 35, 0.5) 50%, rgba(8, 52, 58, 0.3) 100%),
        linear-gradient(135deg, rgba(74, 222, 128, 0.12) 0%, transparent 50%);
}
/* 双色光晕装饰 */
.event-hero::before {
    content: '';
    position: absolute;
    top: -20%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.18) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(30px);
    z-index: 1;
}
.event-hero .hero-arc {
    position: absolute;
    width: 120%; height: 120%;
    top: -10%; left: -10%;
    border: 1px solid rgba(74, 222, 128, 0.08);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}
.event-hero-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 2;
    padding: 50px 0;
    color: var(--white);
}
.event-hero-content h1 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    max-width: 820px;
    text-shadow: 0 0 30px rgba(74, 222, 128, 0.5), 0 0 60px rgba(34, 211, 238, 0.2);
    letter-spacing: -0.5px;
}
.event-hero-content .hero-tagline {
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: 30px;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    background: rgba(74, 222, 128, 0.08);
    box-shadow: 0 0 16px rgba(74, 222, 128, 0.2);
}

/* ===== 信息栏（玻璃拟态 + 顶部光带）===== */
.meta-bar {
    background: rgba(17, 34, 64, 0.6);
    border-bottom: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
    position: relative;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.meta-bar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
    opacity: 0.5;
}
.meta-inner {
    display: flex;
    align-items: center;
    gap: 36px;
    padding: 22px 0;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}
.meta-item svg {
    width: 20px; height: 20px;
    color: var(--primary);
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 8px var(--primary-glow));
}
.meta-item strong {
    color: var(--white);
    font-weight: 600;
}
.meta-item .tag {
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: var(--primary-bg);
    color: var(--primary);
    border: 1px solid rgba(74, 222, 128, 0.3);
    text-transform: uppercase;
    box-shadow: 0 0 12px rgba(74, 222, 128, 0.15);
}
/* 状态徽章 - 即将举行（脉冲发光）*/
.meta-item .tag.status-upcoming {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--bg-deep);
    border-color: transparent;
    box-shadow: 0 0 20px var(--primary-glow);
    position: relative;
    padding-left: 22px;
}
.meta-item .tag.status-upcoming::before {
    content: '';
    position: absolute;
    left: 8px; top: 50%;
    transform: translateY(-50%);
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--bg-deep);
    animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
    0%, 100% { opacity: 0.6; transform: translateY(-50%) scale(1); }
    50%      { opacity: 1; transform: translateY(-50%) scale(1.4); }
}

/* ===== 返回链接 ===== */
.back-bar {
    padding: 28px 0 ;
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    padding: 8px 18px;
    border-radius: 50px;
    border: 1px solid var(--border-default);
    background: var(--bg-card);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}
.back-link svg {
    width: 16px; height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s;
}
.back-link:hover {
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(74, 222, 128, 0.2);
}
.back-link:hover svg { transform: translateX(-4px); }

/* ===== 正文区 ===== */
.article-section {
    padding: 50px 0 80px;
    position: relative;
    overflow: hidden;
}
.article-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(74, 222, 128, 0.2) 15%,
        var(--primary) 50%,
        rgba(34, 211, 238, 0.2) 85%,
        transparent 100%);
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
    opacity: 0.7;
    z-index: 2;
}
.article-section::after {
    content: '';
    position: absolute;
    top: 15%; left: -8%;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.06) 0%, transparent 60%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.article {
    position: relative;
    z-index: 1;
}
.article h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    margin: 40px 0 20px;
    padding-bottom: 14px;
    padding-left: 18px;
    position: relative;
    letter-spacing: 0.5px;
}
/* 标题左侧装饰条 */
.article h2::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 70%;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 4px;
    box-shadow: 0 0 14px var(--primary-glow);
}
/* 标题底部光线 */
.article h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 18px;
    width: 100px; height: 1px;
    background: linear-gradient(90deg, var(--primary), transparent);
}
.article h2:first-child { margin-top: 0; }

.article p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 20px;
    text-align: justify;
}
.article .hl {
    background: var(--primary-bg);
    color: var(--primary);
    padding: 2px 8px;
    font-weight: 600;
    border-radius: 4px;
    border-bottom: 1px solid rgba(74, 222, 128, 0.3);
}

/* 大图（玻璃卡 + hover 发光）*/
.article .img-full {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    margin: 30px 0;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
}
.article .img-full::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 60%, rgba(74, 222, 128, 0.08) 100%);
    pointer-events: none;
}
.article .img-full:hover {
    box-shadow: var(--shadow-hover), var(--shadow-glow);
    border-color: var(--primary);
}
.article .img-full img { width: 100%; }
.article .img-caption {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    margin-top: -16px;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

/* 引文（发光左边框）*/
.article blockquote {
    border-left: 4px solid var(--primary);
    padding: 22px 26px;
    margin: 30px 0;
    background: var(--bg-card);
    border-radius: 0 16px 16px 0;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-style: italic;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-subtle);
    border-left: 4px solid var(--primary);
    box-shadow: -8px 0 30px rgba(74, 222, 128, 0.15);
}
.article blockquote::before {
    content: '"';
    position: absolute;
    top: -10px; left: 16px;
    font-size: 60px;
    line-height: 1;
    color: var(--primary);
    opacity: 0.4;
    font-family: Georgia, serif;
    text-shadow: 0 0 20px var(--primary-glow);
}

/* Bullet list（发光圆点）*/
.article ul.bullet { margin: 16px 0; }
.article ul.bullet li {
    position: relative;
    padding: 8px 0 8px 26px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}
.article ul.bullet li::before {
    content: '';
    position: absolute;
    left: 4px; top: 16px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary-glow);
}

/* ===== 报名卡（玻璃 + 中心光晕 + 双按钮）===== */
.register-card {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-card);
    padding: 50px 40px;
    color: var(--bg-deep);
    margin: 50px 0 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 40px var(--primary-glow), 0 0 80px rgba(74, 222, 128, 0.2);
}
/* 顶部装饰光带 */
.register-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--white), transparent);
    opacity: 0.6;
}
/* 中心放射光晕 */
.register-card::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 60%);
    pointer-events: none;
}
.register-card h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
    position: relative;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}
.register-card .rc-tagline {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid rgba(5, 31, 35, 0.3);
    margin-bottom: 18px;
    position: relative;
}
.register-card p {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 28px;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}
.register-card .rc-row {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    position: relative;
}
.register-card .btn-white {
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: var(--white);
    color: var(--primary);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.register-card .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.register-card .btn-outline {
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: transparent;
    border: 1.5px solid var(--bg-deep);
    color: var(--bg-deep);
    cursor: pointer;
    transition: var(--transition);
}
.register-card .btn-outline:hover {
    background: var(--bg-deep);
    color: var(--white);
}

/* ===== 分享栏（玻璃卡）===== */
.share-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
    margin-top: 40px;
    flex-wrap: wrap;
    gap: 16px;
}
.share-bar .tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.share-bar .stag {
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    background: var(--primary-bg);
    color: var(--primary);
    border: 1px solid rgba(74, 222, 128, 0.25);
    transition: var(--transition);
}
.share-bar .stag:hover {
    border-color: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow);
}
.share-links {
    display: flex;
    align-items: center;
    gap: 10px;
}
.share-links span {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.share-links a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-default);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}
.share-links a:hover {
    background: var(--primary);
    color: var(--bg-deep);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 0 16px var(--primary-glow);
}
.share-links a svg {
    width: 16px; height: 16px;
}

/* ===== 相关活动 ===== */
.rel-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.rel-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(74, 222, 128, 0.2) 15%,
        var(--primary) 50%,
        rgba(34, 211, 238, 0.2) 85%,
        transparent 100%);
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
    opacity: 0.7;
    z-index: 2;
}
.rel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}
.rel-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 26px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}
/* 卡片顶部聚光斑 */
.rel-card::before {
    content: '';
    position: absolute;
    top: -50%; left: 50%;
    transform: translateX(-50%);
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.10) 0%, transparent 50%);
    pointer-events: none;
}
.rel-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover), var(--shadow-glow);
    border-color: var(--primary);
}
.rel-card .rc-date {
    font-size: 12px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
    position: relative;
}
.rel-card .rc-date::before {
    content: '';
    display: inline-block;
    width: 16px; height: 1px;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
    margin-right: 8px;
    vertical-align: middle;
}
.rel-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--white);
    position: relative;
}
.rel-card .rc-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .event-hero { height: 320px; }
    .event-hero-content { padding: 30px 0; }
    .event-hero-content h1 { font-size: 24px; }
    .meta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .rel-grid { grid-template-columns: 1fr; }
    .article h2 { font-size: 22px; }
    .register-card { padding: 36px 24px; }
    .share-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}