* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    overflow: auto;
    padding: 80px 0 20px 0;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: bold;
}

.brand-logo {
    font-size: 1.5rem;
}

.navbar-nav {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: bold;
}

.invitation-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 600px;
    padding: 20px;
    margin: 20px 0;
}

.invitation-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: slideIn 1s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.card-header h1 {
    font-size: 2.5em;
    font-weight: bold;
    letter-spacing: 2px;
}

.card-body {
    padding: 40px;
}

.invitation-content {
    text-align: center;
}

.invitation-text {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.8;
}

.event-title {
    font-size: 2em;
    color: #667eea;
    margin: 30px 0;
    font-weight: bold;
}

.event-subtitle {
    font-size: 1.5em;
    color: #764ba2;
    margin: 15px 0 30px 0;
    font-weight: 600;
}

/* 媒体展示区域样式 */
.media-display {
    margin: 30px 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.media-tabs {
    display: flex;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.tab-btn {
    flex: 1;
    padding: 15px;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.tab-btn.active {
    background: rgba(255, 255, 255, 0.2);
    border-bottom: 3px solid white;
}

.media-content {
    padding: 20px;
}

/* 活动详细文字样式 */
.detailed-event-info {
    margin-top: 30px;
    padding: 20px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.event-info-title {
    color: #667eea;
    font-size: 1.3em;
    margin-bottom: 15px;
    font-weight: bold;
}

.event-info-content {
    color: #333;
    line-height: 1.8;
    font-size: 1.05em;
}

.event-info-content p {
    margin-bottom: 15px;
}

.event-highlights {
    margin: 15px 0;
    padding-left: 25px;
}

.event-highlights li {
    margin-bottom: 10px;
    color: #555;
    position: relative;
}

.event-highlights li::before {
    content: "🌟";
    position: absolute;
    left: -25px;
    top: 2px;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.image-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-container:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container:hover .image-overlay {
    opacity: 1;
}

.overlay-text {
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.video-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.event-media {
    width: 100%;
    height: auto;
    display: block;
}

/* 图片轮播样式 - 高级现代化设计 */
.image-carousel {
    position: relative;
    height: 450px;
    border-radius: 30px;
    overflow: hidden;
    margin-top: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 100px rgba(102, 126, 234, 0.1), 0 0 200px rgba(102, 126, 234, 0.05);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
    backdrop-filter: blur(15px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: grab;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.image-carousel:active {
    cursor: grabbing;
}

.image-carousel:hover {
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5), 0 0 150px rgba(102, 126, 234, 0.3);
    transform: scale(1.02);
}

.carousel-slides {
    position: relative;
    height: 100%;
    perspective: 1500px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%) scale(0.85) rotateY(45deg) rotateX(5deg);
    transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    perspective: 1000px;
}

.carousel-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1) rotateY(0deg) rotateX(0deg);
    z-index: 3;
    animation: slideZoomIn 1s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes slideZoomIn {
    0% {
        transform: scale(1.3) rotateY(30deg) rotateX(10deg) translateY(30px);
        opacity: 0;
        filter: brightness(0.7) blur(5px);
    }
    100% {
        transform: scale(1) rotateY(0deg) rotateX(0deg) translateY(0);
        opacity: 1;
        filter: brightness(0.95) blur(0);
    }
}

.carousel-slide:not(.active) {
    animation: slideOut 1s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes slideOut {
    0% {
        transform: translateX(0) scale(1) rotateY(0deg) rotateX(0deg);
        opacity: 1;
        z-index: 2;
        filter: brightness(0.95) blur(0);
    }
    100% {
        transform: translateX(-100%) scale(0.8) rotateY(-30deg) rotateX(-10deg) translateY(-20px);
        opacity: 0;
        z-index: 1;
        filter: brightness(0.6) blur(10px);
    }
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.95) contrast(1.15) saturate(1.2);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
}

.carousel-slide.active .carousel-image {
    animation: imageParallax 25s ease-in-out infinite alternate;
}

@keyframes imageParallax {
    0% {
        transform: scale(1.12) translateX(0) translateY(0) rotateY(0deg);
        filter: brightness(0.95) contrast(1.15) saturate(1.2) hue-rotate(0deg);
    }
    25% {
        transform: scale(1.14) translateX(-0.5%) translateY(-0.5%) rotateY(1deg);
        filter: brightness(0.98) contrast(1.18) saturate(1.25) hue-rotate(2deg);
    }
    50% {
        transform: scale(1.16) translateX(-1%) translateY(-1%) rotateY(0deg);
        filter: brightness(1) contrast(1.2) saturate(1.3) hue-rotate(0deg);
    }
    75% {
        transform: scale(1.14) translateX(0.5%) translateY(0.5%) rotateY(-1deg);
        filter: brightness(1.02) contrast(1.22) saturate(1.28) hue-rotate(-2deg);
    }
    100% {
        transform: scale(1.13) translateX(0.8%) translateY(0.8%) rotateY(0deg);
        filter: brightness(0.98) contrast(1.18) saturate(1.25) hue-rotate(0deg);
    }
}

/* 图片加载动画 */
.carousel-image {
    background: linear-gradient(90deg, rgba(200, 200, 200, 0.15) 25%, rgba(220, 220, 220, 0.2) 50%, rgba(200, 200, 200, 0.15) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

.carousel-image[src] {
    animation: none;
    background: none;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* 图片遮罩层 */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 3;
    opacity: 0;
    transition: opacity 1s ease;
}

.carousel-slide.active .image-overlay {
    opacity: 1;
}

/* 轮播图标题和描述 */
.carousel-caption {
    position: absolute;
    bottom: 100px;
    left: 60px;
    right: 60px;
    color: white;
    z-index: 4;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
}

.carousel-slide.active .carousel-caption {
    opacity: 1;
    transform: translateY(0);
}

.carousel-caption h3 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, white, rgba(255, 255, 255, 0.9));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 5px 20px rgba(0, 0, 0, 0.8);
    }
    100% {
        text-shadow: 0 0 40px rgba(255, 255, 255, 0.8), 0 5px 20px rgba(0, 0, 0, 0.8);
    }
}

.carousel-caption p {
    font-size: 1.3rem;
    line-height: 1.8;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px 30px;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* 控制按钮 - 高级现代化设计 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
    color: #444;
    border: none;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    font-size: 40px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 5;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 0 4px rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 300;
    backdrop-filter: blur(20px);
    overflow: hidden;
    position: relative;
}

.carousel-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb, #4facfe);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
    animation: btnGradient 4s ease-in-out infinite;
}

@keyframes btnGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.carousel-btn:hover {
    background: transparent;
    transform: translateY(-50%) scale(1.3);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.6), 0 0 0 5px rgba(102, 126, 234, 0.7);
    color: white;
}

.carousel-btn:hover::before {
    opacity: 1;
}

.carousel-btn:active {
    transform: translateY(-50%) scale(1.2);
    box-shadow: 0 10px 35px rgba(102, 126, 234, 0.8), 0 0 0 4px rgba(102, 126, 234, 0.9);
}

/* 按钮位置调整 */
.prev-btn {
    left: 50px;
    padding-right: 10px;
    opacity: 0.7;
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.5s ease;
}

.next-btn {
    right: 50px;
    padding-left: 10px;
    opacity: 0.7;
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.5s ease;
}

.image-carousel:hover .prev-btn,
.image-carousel:hover .next-btn {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

/* 指示器 - 高级现代化设计 */
.carousel-indicators {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
    opacity: 0.8;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.6), transparent);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
    animation: indicatorPulse 2s ease-in-out infinite;
}

@keyframes indicatorPulse {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.indicator:hover {
    background: white;
    transform: scale(1.6);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
    opacity: 1;
}

.indicator.active {
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    transform: scale(2.2);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 30px rgba(102, 126, 234, 1);
    opacity: 1;
    animation: activeIndicatorGlow 2s ease-in-out infinite alternate;
}

@keyframes activeIndicatorGlow {
    0% {
        box-shadow: 0 0 30px rgba(102, 126, 234, 0.8), 0 0 60px rgba(102, 126, 234, 0.5);
    }
    100% {
        box-shadow: 0 0 40px rgba(102, 126, 234, 1), 0 0 80px rgba(102, 126, 234, 0.8);
    }
}

.indicator.active::before {
    transform: translate(-50%, -50%) scale(1);
}

/* 进度条指示器 */
.carousel-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 8px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #4facfe);
    z-index: 6;
    transition: width 0.1s linear;
    box-shadow: 0 3px 15px rgba(102, 126, 234, 0.8);
    animation: progressGradient 3s ease-in-out infinite;
}

@keyframes progressGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* 响应式设计 - 移动端优化 */
@media (max-width: 768px) {
    .image-carousel {
        height: 380px;
        border-radius: 25px;
        margin-top: 15px;
    }
    
    .carousel-btn {
        width: 70px;
        height: 70px;
        font-size: 36px;
        left: 30px;
        right: 30px;
    }
    
    .carousel-indicators {
        bottom: 30px;
        gap: 8px;
        padding: 6px 12px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
    
    .carousel-caption {
        bottom: 80px;
        left: 30px;
        right: 30px;
    }
    
    .carousel-caption h3 {
        font-size: 2.2rem;
    }
    
    .carousel-caption p {
        font-size: 1.1rem;
        padding: 15px 25px;
    }
}

@media (max-width: 480px) {
    .image-carousel {
        height: 200px;
        border-radius: 20px;
        margin-top: 10px;
    }
    
    .carousel-btn {
        width: 60px;
        height: 60px;
        font-size: 32px;
        left: 20px;
        right: 20px;
    }
    
    .carousel-indicators {
        bottom: 20px;
        gap: 6px;
        padding: 5px 10px;
    }
    
    .indicator {
        width: 6px;
        height: 6px;
    }
    
    .carousel-caption {
        bottom: 60px;
        left: 20px;
        right: 20px;
    }
    
    .carousel-caption h3 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .carousel-caption p {
        font-size: 1rem;
        padding: 12px 20px;
    }
}

.event-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0;
    text-align: left;
    font-size: 1.1em;
}

.detail-item {
    font-weight: bold;
    color: #667eea;
}

.invitation-message {
    font-size: 1.2em;
    color: #333;
    margin-top: 30px;
    font-style: italic;
}

.card-footer {
    background: #f8f9fa;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.host-info {
    text-align: center;
    color: #666;
}

.host-name {
    font-weight: bold;
    margin-bottom: 10px;
}

.contact-info {
    font-size: 0.9em;
}

.rsvp-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

/* 大图查看功能样式 */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-in-out;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    animation: zoomIn 0.3s ease-in-out;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
}

.lightbox-close:hover {
    color: #667eea;
    transform: rotate(90deg);
}

/* 单个RSVP按钮的样式 */
.rsvp-section button {
    width: 200px;
}

.rsvp-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}



#declineBtn {
    background: #e9ecef;
    color: #666;
    border: 2px solid #dee2e6;
}

#declineBtn:hover {
    background: #dee2e6;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 倒计时样式 */
.countdown-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px;
    border-radius: 25px;
    margin: 40px 0;
    text-align: center;
}

.countdown-title {
    font-size: 2em;
    margin-bottom: 30px;
    font-weight: bold;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-family: 'Courier New', monospace;
}

.timer-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 40px 30px;
    border-radius: 20px;
    min-width: 130px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.timer-number {
    display: block;
    font-size: 4.5em;
    font-weight: bold;
    line-height: 1;
}

.timer-label {
    font-size: 1.3em;
    margin-top: 10px;
    display: block;
}

.timer-separator {
    font-size: 4.5em;
    font-weight: bold;
    color: white;
    line-height: 1;
}

/* 报名表单样式 */
.registration-section {
    padding: 40px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    z-index: 10;
}

.registration-title {
    color: #667eea;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8em;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: bold;
    color: #333;
    font-size: 1em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
    font-family: inherit;
    pointer-events: auto;
    z-index: 20;
    position: relative;
    background-color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-tip {
    font-size: 0.85em;
    color: #666;
    margin-top: 5px;
    color: #ff6b6b;
    font-weight: 500;
}

.form-buttons {
    display: flex;
    justify-content: center;
}

/* 查看更多按钮容器 */
.view-more-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

/* 查看更多按钮 */
.view-more-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.view-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.view-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.background-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: #667eea;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background: #764ba2;
    bottom: -50px;
    right: -50px;
    animation-delay: 2s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    background: #f093fb;
    top: 50%;
    right: 10%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

.modal-content h3 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.modal-content p {
    color: #333;
    font-size: 1.1em;
}

@media (max-width: 768px) {
    .invitation-container {
        padding: 10px;
    }
    
    /* 导航栏响应式样式 */
    .navbar-container {
        padding: 0 10px;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .brand-logo {
        font-size: 1.2rem;
    }
    
    .navbar-nav {
        gap: 10px;
    }
    
    .nav-link {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
    
    .card-header h1 {
        font-size: 2em;
    }
    
    .card-body {
        padding: 20px;
    }
    
    .event-title {
        font-size: 1.5em;
    }
    
    .event-details {
        font-size: 1em;
        padding: 15px;
    }
    
    /* 倒计时响应式样式 */
    .countdown-container {
        padding: 20px 15px;
    }
    
    .countdown-title {
        font-size: 1.1em;
    }
    
    .countdown-timer {
        gap: 5px;
    }
    
    .timer-item {
        min-width: 60px;
        padding: 15px 10px;
    }
    
    .timer-number {
        font-size: 1.8em;
    }
    
    .timer-label {
        font-size: 0.8em;
    }
    
    .timer-separator {
        font-size: 1.8em;
    }
    
    /* 报名表单响应式样式 */
    .registration-section {
        padding: 20px;
    }
    
    .registration-title {
        font-size: 1.5em;
    }
    
    .rsvp-section {
        flex-direction: column;
        align-items: center;
    }
    
    .rsvp-btn {
        width: 100%;
    }
}

/* 针对极小屏幕的额外适配 */
@media (max-width: 480px) {
    .timer-item {
        min-width: 38px;
        padding: 6px 3px;
        border-radius: 6px;
    }
    
    .timer-number {
        font-size: 1em;
        line-height: 0.85;
        font-weight: bold;
    }
    
    .timer-label {
        font-size: 0.55em;
        margin-top: 2px;
    }
    
    .timer-separator {
        font-size: 1em;
        line-height: 0.85;
        font-weight: bold;
    }
    
    .countdown-timer {
        gap: 1px;
        transform: scale(0.95);
        transform-origin: center;
    }
    
    .countdown-container {
        padding: 8px 4px;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .countdown-title {
        font-size: 0.9em;
        margin-bottom: 10px;
    }
    
    .countdown-timer {
        min-width: fit-content;
    }
}

/* 编辑状态样式 */
.editing {
    background-color: #fff3cd;
    border: 2px solid #ffeaa7;
    border-radius: 4px;
    padding: 8px;
    outline: none;
}

.editing:focus {
    background-color: #fff9db;
    border-color: #fdcb6e;
    box-shadow: 0 0 0 3px rgba(253, 203, 110, 0.25);
}

/* 编辑控制按钮样式 */
.edit-controls {
    display: inline;
    margin-left: 15px;
}

.edit-controls button {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 5px;
}

.edit-btn {
    background-color: #667eea;
    color: white;
}

.edit-btn:hover {
    background-color: #556bda;
}

.save-btn {
    background-color: #28a745;
    color: white;
}

.save-btn:hover {
    background-color: #218838;
}

.cancel-btn {
    background-color: #dc3545;
    color: white;
}

.cancel-btn:hover {
    background-color: #c82333;
}

/* 活动信息标题与编辑按钮对齐 */
.event-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}