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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0a0c15;
    font-family: 'Inter', sans-serif;
    color: #f5f2ec;
    line-height: 1.6;
    overflow-x: hidden;
}

.bg-dreamscape {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(circle at 20% 30%, #12172e, #03060f);
}

.bg-dreamscape::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800" opacity="0.15"><path fill="none" stroke="rgba(255,215,140,0.2)" stroke-width="1.2" d="M200 200 L350 180 L500 220 L650 190 L800 210 L950 180 L1100 200"/><circle cx="300" cy="500" r="2" fill="rgba(255,210,130,0.6)"/><circle cx="750" cy="320" r="1.8" fill="rgba(200,180,120,0.5)"/><circle cx="900" cy="600" r="2.5" fill="rgba(210,170,90,0.4)"/><path d="M100 650 L200 620 L300 640 L400 610 L500 630" stroke="rgba(210,180,100,0.2)" fill="none" stroke-width="1"/></svg>');
    background-repeat: repeat;
    background-size: 400px;
    opacity: 0.3;
    pointer-events: none;
}

.ambient-glow {
    position: fixed;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(210, 165, 75, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    top: -20%;
    left: -20%;
    z-index: -1;
    filter: blur(80px);
    animation: drift 28s infinite alternate ease-in-out;
}

.ambient-glow-2 {
    position: fixed;
    width: 80vh;
    height: 80vh;
    background: radial-gradient(circle, rgba(80, 130, 210, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    bottom: -10%;
    right: -10%;
    z-index: -1;
    filter: blur(100px);
    animation: drift2 24s infinite alternate;
}

@keyframes drift {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(6%, 4%) rotate(3deg); }
}
@keyframes drift2 {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-8%, -6%) rotate(-2deg); }
}

@keyframes twinkle {
    0% { opacity: 0.2; }
    100% { opacity: 0.9; }
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(10,12,21,0.45) 75%, #0a0c15 100%),
        url('background.png')
        center / cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro {
    text-align: center;
    z-index: 5;
    padding: 0 1.5rem;
}

.intro-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.2rem;
    background: radial-gradient(circle, rgba(234,201,132,0.25), rgba(31,37,63,0.6));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(247,207,124,0.5);
    box-shadow: 0 0 30px rgba(247,207,124,0.2);
}
.intro-avatar i {
    font-size: 2.8rem;
    color: #fae6bb;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}

.intro-name {
    font-size: 2.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff3cf, #eac36c);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.intro-bio {
    font-size: 1rem;
    color: #eed9a8;
    margin-bottom: 0.6rem;
    letter-spacing: 1px;
}

.intro-desc {
    max-width: 460px;
    margin: 0 auto 1.5rem;
    color: #cfc4a8;
    font-size: 0.95rem;
    line-height: 1.7;
}

.intro-links {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
}
.intro-links a {
    color: #e5cf9b;
    font-size: 1.3rem;
    transition: all 0.2s;
}
.intro-links a:hover {
    color: #ffe2a4;
    transform: translateY(-2px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0.8rem 1.8rem;
    background: rgba(20, 25, 45, 0.55);
    backdrop-filter: blur(12px);
    border-radius: 48px;
    border: 1px solid rgba(210, 180, 110, 0.35);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    max-width: 1300px;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 1.7rem;
    letter-spacing: 2px;
}
.logo i {
    color: #f7cf7c;
    text-shadow: 0 0 5px #ffcd7e;
}
.logo span {
    background: linear-gradient(135deg, #f5e2b0, #e5b85c);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 1px solid rgba(210, 180, 110, 0.4);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    z-index: 100;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #f5e2b0;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-links {
    display: flex;
    gap: 2rem;
    font-weight: 500;
}
.nav-links a {
    color: #f5f2ec;
    text-decoration: none;
    transition: 0.25s;
    font-size: 1rem;
    letter-spacing: 0.5px;
    padding: 0.3rem 0;
    border-bottom: 2px solid transparent;
}
.nav-links a:hover {
    color: #ffdf8c;
    border-bottom-color: #e5b85c;
    text-shadow: 0 0 4px rgba(255,215,0,0.4);
}

.footer {
    text-align: center;
    padding: 2rem 0 1.5rem;
    border-top: 1px solid rgba(210, 180, 110, 0.3);
    font-size: 0.9rem;
    color: #d4c9a8;
}
.footer i {
    margin: 0 4px;
}

.star {
    position: fixed;
    background-color: #fff7e8;
    border-radius: 50%;
    width: 2px;
    height: 2px;
    opacity: 0.6;
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 950px) {
    .intro-name {
        font-size: 1.8rem;
    }
    .intro-desc {
        font-size: 0.88rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
        padding-top: 1rem;
        text-align: center;
    }
    .nav-links.open {
        display: flex;
    }

    .navbar {
        flex-direction: row;
        gap: 12px;
    }
}
