/* CSS Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* 禁止文本选择和图像拖拽 */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

body {
    background: #0a0a0f;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* 背景效果 */
.wedding-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, rgba(138, 109, 59, 0.05) 1px, transparent 1px) 0 0 / 50px 50px,
        linear-gradient(rgba(138, 109, 59, 0.05) 1px, transparent 1px) 0 0 / 50px 50px;
    opacity: 0.3;
}

.glow-effect {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(138, 109, 59, 0.2) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
}

.glow-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    right: 10%;
    background: radial-gradient(circle, rgba(217, 199, 166, 0.3) 0%, transparent 70%);
}

.glow-2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    left: 10%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
}

/* 动态元素 */
.heart {
    position: absolute;
    color: rgba(217, 199, 166, 0.4);
    font-size: 20px;
    opacity: 0;
    animation: floatHeart 15s linear infinite;
    pointer-events: none;
}

@keyframes floatHeart {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.petal {
    position: absolute;
    width: 15px;
    height: 15px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.4), rgba(217, 199, 166, 0.3));
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    opacity: 0;
    animation: floatPetal 20s linear infinite;
    pointer-events: none;
}

@keyframes floatPetal {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100px) rotate(720deg);
        opacity: 0;
    }
}

.ring-decoration {
    position: absolute;
    border: 1px solid rgba(217, 199, 166, 0.2);
    border-radius: 50%;
    animation: ringPulse 8s ease-in-out infinite;
    pointer-events: none;
}

.ring-1 {
    width: 300px;
    height: 300px;
    top: 20%;
    left: 5%;
    animation-delay: 0s;
}

.ring-2 {
    width: 200px;
    height: 200px;
    bottom: 25%;
    right: 8%;
    animation-delay: 2s;
}

.ring-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 15%;
    animation-delay: 4s;
}

@keyframes ringPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.4;
    }
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 10px 2px rgba(255, 215, 0, 0.5);
    animation: sparkleTwinkle 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes sparkleTwinkle {
    0%, 100% {
        opacity: 0.2;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* 头部区域 */
.header {
    text-align: center;
    margin-bottom: 4rem;
}

.brand {
    margin-bottom: 2rem;
}

.brand-name {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 6px;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, #d9c7a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(217, 199, 166, 0.3);
}

.tagline {
    font-size: 1.2rem;
    color: #d9c7a6;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* 主要内容 */
.main-title {
    font-size: 2.8rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(135deg, #d9c7a6, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 400;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
}

.subtitle {
    text-align: center;
    color: #aaa;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

/* 导航菜单 */
.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.nav-item {
    background: rgba(20, 20, 30, 0.7);
    border: 1px solid rgba(217, 199, 166, 0.2);
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    display: block;
    cursor: pointer;
}

.nav-item:hover {
    background: rgba(30, 30, 40, 0.8);
    border-color: rgba(217, 199, 166, 0.5);
    transform: translateY(-5px);
    box-shadow: 
        0 10px 30px rgba(138, 109, 59, 0.2),
        0 0 20px rgba(217, 199, 166, 0.1);
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.6s ease;
}

.nav-item:hover::before {
    left: 100%;
}

.nav-icon {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #d9c7a6;
}

.nav-title {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.nav-desc {
    color: #aaa;
    font-size: 0.95rem;
}

/* 联系区域 */
.contact-section {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: rgba(20, 20, 30, 0.7);
    border: 1px solid rgba(217, 199, 166, 0.2);
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.contact-link:hover {
    background: rgba(30, 30, 40, 0.8);
    border-color: rgba(217, 199, 166, 0.5);
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(138, 109, 59, 0.3);
}

.contact-icon {
    color: #d9c7a6;
    font-size: 1.2rem;
}

.contact-text {
    font-weight: 400;
}

/* 底部信息 */
.footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(217, 199, 166, 0.2);
}

.copyright {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.beian {
    color: #d9c7a6;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.beian:hover {
    color: #ffd700;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; opacity: 0; }
.delay-2 { animation-delay: 0.4s; opacity: 0; }
.delay-3 { animation-delay: 0.6s; opacity: 0; }
.delay-4 { animation-delay: 0.8s; opacity: 0; }
.delay-5 { animation-delay: 1s; opacity: 0; }

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }
    
    .brand-name {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .nav-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-section {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .contact-link {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .ring-decoration {
        display: none;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 2rem;
    }
    
    .main-title {
        font-size: 1.6rem;
    }
    
    .nav-item {
        padding: 1.5rem;
    }
}