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

body, html {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFDFE9 50%, #E5EAF9 100%);
    color: #2D52B7; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.hero-section {
    position: relative;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    object-fit: cover; 
    filter: blur(4px) brightness(0.85); 
    z-index: 1;
    transform: scale(1.05);
    will-change: transform;
}

.hero-content {
    position: relative;
    z-index: 2; 
    color: #2D52B7;
    padding: 0 20px;
    animation: slowFloat 4s ease-in-out infinite alternate;
    will-change: transform, opacity;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 2px;
    color: #2D52B7;
    text-shadow: 0 4px 15px rgba(255, 255, 255, 0.8); 
}

.hero-content h2 {
    font-size: 1.8rem;
    font-weight: 300;
    color: #2D52B7;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

.main-content {
    position: relative;
    z-index: 10;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.9) 3%, #FFFFFF 100%);
    padding: 80px 10%;
}

.section-box {
    background: rgba(255, 255, 255, 0.6); 
    padding: 50px;
    margin-bottom: 50px;
    border-radius: 24px; 
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);
    border: 1px solid rgba(229, 234, 249, 0.9); 
    box-shadow: 
        0 4px 30px rgba(45, 82, 183, 0.05), 
        0 10px 50px rgba(255, 255, 255, 0.5) inset,
        0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.section-box:hover {
    transform: translateY(-8px) scale(1.01);
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 223, 233, 0.8);
    box-shadow: 
        0 20px 40px rgba(45, 82, 183, 0.08), 
        0 10px 40px rgba(255, 255, 255, 0.6) inset;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 30px 0;
    background: linear-gradient(135deg, #FF6B8B 0%, #2D52B7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.ip-display {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #2D52B7; 
    background: rgba(229, 234, 249, 0.4);
    padding: 20px 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-left: 5px solid #2D52B7;
    line-height: 1.8;
    opacity: 0;
    box-shadow: 0 4px 15px rgba(45, 82, 183, 0.05);
    will-change: opacity, transform;
}

#map {
    height: 350px; 
    width: 100%; 
    border-radius: 12px; 
    margin-bottom: 40px; 
    display: none; 
    border: 1px solid rgba(229, 234, 249, 0.9);
    box-shadow: 0 4px 15px rgba(45, 82, 183, 0.05);
    z-index: 1; 
}

.countdown-container {
    text-align: center;
    margin: 20px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 223, 233, 0.8);
    border-radius: 16px;
    opacity: 0;
    will-change: opacity, transform;
}

.countdown-container div:first-child {
    color: #FF6B8B;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.countdown {
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    color: #2D52B7;
    font-size: 2.5rem;
    margin-top: 15px;
    text-shadow: 0 2px 10px rgba(45, 82, 183, 0.1);
    letter-spacing: 2px;
    font-variant-numeric: tabular-nums;
}

.skill-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.skill-list li {
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    padding: 18px 20px;
    margin-bottom: 12px;
    border-radius: 12px;
    font-size: 1.15rem;
    color: #555555;
    border: 1px solid rgba(229, 234, 249, 0.8);
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.skill-list li:hover {
    background: #FFFFFF;
    border-left: 4px solid #2D52B7;
    color: #2D52B7;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(45, 82, 183, 0.08);
}

footer {
    text-align: center;
    padding: 50px 0;
    background: #E5EAF9;
    border-top: 1px solid rgba(255, 255, 255, 0.8);
}

footer p {
    font-size: 0.95rem;
    color: #2D52B7;
    margin-bottom: 5px;
}

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

@keyframes slowFloat {
    from { transform: translateY(0px); }
    to { transform: translateY(-10px); }
}

.text-swap {
    display: grid;
    grid-template-areas: "inner";
    align-items: center;
}
.text-original, .text-joke {
    grid-area: inner;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}
.text-joke {
    opacity: 0;
    color: #FF6B8B; 
    transform: translateY(5px);
    pointer-events: none;
}
.text-original {
    opacity: 1;
    transform: translateY(0);
}
.skill-list li:hover .text-original {
    opacity: 0;
    transform: translateY(-5px);
}
.skill-list li:hover .text-joke {
    opacity: 1;
    transform: translateY(0);
}
/* ==============================================================
   5. 状态提示浮窗 (Toast Notification)
   ============================================================== */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #2D52B7;
    padding: 16px 24px;
    border-radius: 12px;
    border-left: 6px solid #FF6B8B;
    box-shadow: 0 10px 30px rgba(45, 82, 183, 0.15);
    z-index: 9999;
    font-size: 1.05rem;
    line-height: 1.5;
    /* 初始状态：向下偏移并在视窗外，完全透明 */
    transform: translateY(100px);
    opacity: 0;
    /* 使用弹性贝塞尔曲线，出现时会有 Q 弹的效果 */
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast-notification.show {
    /* 激活状态：回到原位，完全不透明 */
    transform: translateY(0);
    opacity: 1;
}