.invitation-card {

    width: 100%;
    background-color: #ffffff;
    border-radius: 0rem;
    color: #2a2b2d;
    overflow: hidden;
}
.card-inner { padding: 3rem 0rem; }

.top-rule {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #9f7e4b, #d4af7a);
    border-radius: 4px;
    margin-bottom: 2rem;
}

h1 {

    font-weight: 700;
    font-size: 2.6rem;
    line-height: 1.2;

    margin-bottom: 0.5rem;
}

.subhead {

    font-size: 1.5rem;
    font-weight: 500;

    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(158, 128, 86, 0.25);
    padding-bottom: 1.5rem;
}

/* 统一区块标题 */
.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.section-title i {

    font-size: 1.6rem;
    width: 2rem;
}
.section-title:first-of-type {
    margin-top: 0;
}

/* 信息卡片样式 */
.info-card {
    padding: 1rem 0rem 0rem 0rem;


}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;

}
.info-item i {

    font-size: 1.2rem;
    min-width: 1.6rem;
    text-align: center;
    margin-top: 0.2rem;
}
.info-item .content {
    flex: 1;
}
.info-item strong {

    font-weight: 600;
}
.highlight {
    background: #ecf2f9;
    padding: 0.1rem 0.6rem;
    border-radius: 30px;

    font-weight: 500;
    font-size: 0.95rem;
    display: inline-block;
    margin-left: 0.3rem;
}

/* 缴费方式网格 */
.payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem;
    margin-top: 1.2rem;
    margin-bottom: 2rem;
}
.payment-method {
    flex: 1 1 250px;
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 1.8rem 1.5rem;
    border: 1px solid #e0e8ef;
    transition: all 0.2s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.02);
}
.payment-method:hover {

    background: #fefcf9;
}
.method-title {
    font-size: 1.2rem;
    font-weight: 600;

    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.method-title i {

    font-size: 1.4rem;
}
.deadline {
    font-size: 0.9rem;
    background: #e7edf6;

    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 1rem;
}
.bank-details {
    background: #f1f6fb;
    border-radius: 1rem;
    padding: 1.2rem;
    font-size: 0.95rem;
    border-left: 4px solid #b68b5c;
    margin: 1rem 0;
}
.bank-details p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: baseline;
}
.bank-details strong {
    min-width: 6rem;

    font-weight: 600;
}

.code-note {
    background: #faf2e9;
    border-radius: 40px;
    padding: 0.3rem 1.2rem;
    display: inline-block;
    font-size: 0.95rem;

    margin: 0.8rem 0;
}
.code-note i {
    margin-right: 0.5rem;
}

/* 发票开具列表 */
.invoice-list {
    list-style: none;
    margin: 1.2rem 0;
}
.invoice-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;

}
.invoice-list li i {

    font-size: 0.9rem;
    min-width: 1.5rem;
    text-align: center;
    margin-top: 0.25rem;
}
.email-link {

    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px dotted #b68b5c;
}
.email-link:hover {

}

.footnote {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 0.9rem;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}
.footnote i {  }

/* 响应式 */
@media (max-width: 700px) {

    .card-inner { padding: 2rem  0rem ; }
    h1 { font-size: 2rem; }
    .subhead { font-size: 1.25rem; }
    .section-title { font-size: 1.3rem; }
    .info-card { }
    .payment-grid { flex-direction: column; }
    .bank-details p { flex-direction: column; align-items: flex-start; gap: 0.2rem; }
    .bank-details strong { min-width: auto; }

    .invitation-card {

        width: 100%;
        background-color: #ffffff;
        border-radius: 0rem;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0), 0 8px 20px -8px rgba(0, 30, 50, 0);
        overflow: hidden;
    }
    .code-note {

        border-radius: 10px; padding: 10px;

    }
    .payment-method {

        border-radius: 10px; padding: 16px 12px;

    }

}


.gallery-container {
    max-width: 100%;
    margin: 0 auto;
}


.gallery-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}
.gallery-header h1 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, #2c3e4e, #1a2a36);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 0.4rem;
}
.gallery-header p {
    font-size: 0.95rem;
    color: #6c757d;
    font-weight: 400;
}

/* 网格布局：完美响应式，整齐方正，无圆角 */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2rem 1.8rem;
}

/* 卡片样式 — 直角，精致阴影，白色底 */
.photo-card {
    background: #ffffff;

    transition: all 0.25s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #efefef;
}

/* 微交互：悬浮提升层次感，无圆角 */
.photo-card:hover {
    transform: translateY(-5px);

}

/* 图片区域 — 强制直角，固定高度保证整齐 */
.card-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    background-color: #f8f9fa;
    transition: opacity 0.2s ease;
    border: none;
}

/* 图片名称区域 — 直角干净 */
.card-title {
    padding: 1rem 0.8rem 1rem 0.8rem;
    text-align: center;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.3px;
    color: #2c3e4e;
    background-color: #ffffff;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
    transition: background 0.2s;
}

/* 点击时反馈轻量效果 */
.photo-card:active {
    transform: scale(0.98);
    transition: transform 0.08s;
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10005;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s, opacity 0.25s ease;
    cursor: pointer;
}

.modal-overlay.active {
    visibility: visible;
    opacity: 1;
}

/* 模态框内容容器 — 直角，无圆角，宽高自适应 */
.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: default;
}

/* 大图本身 — 直角，优雅适应屏幕 */
.modal-image {
    max-width: 90vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    background: #0a0c10;

    border: 2px solid rgba(255, 255, 255, 0.2);
    display: block;
}

/* 大图下方图片名称 (直角背景) */
.modal-caption {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: rgba(30, 30, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
    max-width: 85vw;
    border-left: 3px solid #ffffff;
    border-right: 3px solid #ffffff;

}

/* 关闭按钮 — 直角硬朗风格 */
.close-modal {
    position: absolute;
    top: -20px;
    right: -20px;
    background: #2a2b2d;
    color: white;
    font-size: 1.6rem;
    font-weight: 400;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    line-height: 1;
}
.close-modal:hover {
    background: #c0392b;
    transform: scale(1.02);
}
.close-modal:active {
    transform: scale(0.96);
}

/* 针对移动端优化关闭按钮位置 */
@media (max-width: 640px) {
    .close-modal {
        top: -10px;
        right: -10px;
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }
    .modal-caption {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
    .gallery-grid {
        gap: 1.5rem;
    }
    .card-img {
        height: 260px;
    }
    .gallery-header h1 {
        font-size: 1.8rem;
    }
}

/* 额外辅助：保证所有边框、按钮均无圆角 */
button, div, img, section, article, .modal-overlay, .modal-content, .photo-card, .close-modal {
    border-radius: 0px !important;
}

/* 加载图片的优雅过渡 */
img {
    -webkit-user-drag: none;
    user-select: none;
}


