@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

:root {
    --sakura-pink: #FFB7C5;
    --peach-pink: #FFB4A2;
    --lavender-purple: #C9B1FF;
    --milk-blue: #A8D8EA;
    --deep-purple: #5D4B6B;
    --white: #FFFFFF;
    --card-bg: rgba(255, 255, 255, 0.85);
    --shadow-soft: 0 8px 32px rgba(200, 180, 220, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--deep-purple);
    background: linear-gradient(135deg, var(--sakura-pink) 0%, var(--peach-pink) 25%, var(--lavender-purple) 50%, var(--milk-blue) 100%);
    background-attachment: fixed;
}

.wave-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.wave {
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.3) 0%, transparent 70%);
    animation: waveFloat 20s ease-in-out infinite;
}

.wave:nth-child(1) {
    bottom: -100%;
    left: -50%;
    animation-delay: 0s;
    opacity: 0.6;
}

.wave:nth-child(2) {
    bottom: -120%;
    left: -30%;
    animation-delay: -5s;
    opacity: 0.4;
    animation-duration: 25s;
}

.wave:nth-child(3) {
    bottom: -80%;
    left: -70%;
    animation-delay: -10s;
    opacity: 0.5;
    animation-duration: 30s;
}

@keyframes waveFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(2%, 3%) rotate(2deg);
    }
    50% {
        transform: translate(-1%, 5%) rotate(-1deg);
    }
    75% {
        transform: translate(3%, 2%) rotate(1deg);
    }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(200, 180, 220, 0.2);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-section img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 183, 197, 0.5);
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--sakura-pink), var(--lavender-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 183, 197, 0.3);
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-link {
    color: var(--deep-purple);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 25px;
    background: radial-gradient(circle at center, var(--sakura-pink), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    transform: translateY(-2px);
    color: var(--peach-pink);
}

.nav-link:hover::before {
    opacity: 0.4;
}

.nav-link.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--peach-pink), var(--lavender-purple));
}

.main-content {
    position: relative;
    z-index: 1;
    padding-top: 100px;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.card:nth-child(1) { animation-delay: 0.2s; }
.card:nth-child(2) { animation-delay: 0.4s; }
.card:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--sakura-pink);
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(200, 180, 220, 0.3);
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--deep-purple);
    text-align: justify;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.member-card {
    text-align: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    border: 3px solid var(--sakura-pink);
    transition: all 0.4s ease;
    animation: breathe 3s ease-in-out infinite;
}

.member-card:nth-child(1) { animation-delay: 0s; }
.member-card:nth-child(2) { animation-delay: 1s; }
.member-card:nth-child(3) { animation-delay: 2s; }

@keyframes breathe {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 183, 197, 0.3);
    }
    50% {
        box-shadow: 0 0 35px rgba(255, 183, 197, 0.6);
    }
}

.member-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(255, 183, 197, 0.5);
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 4px solid var(--peach-pink);
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(200, 180, 220, 0.4);
}

.member-role {
    font-weight: 600;
    color: var(--lavender-purple);
    margin-bottom: 5px;
}

.member-desc {
    color: var(--deep-purple);
    font-size: 0.95rem;
}

.subpage-intro {
    background: linear-gradient(135deg, rgba(255, 180, 162, 0.3), rgba(201, 177, 255, 0.3));
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    margin-bottom: 40px;
    border-left: 5px solid var(--peach-pink);
}

.subpage-intro.skill {
    border-left-color: var(--lavender-purple);
    background: linear-gradient(135deg, rgba(201, 177, 255, 0.3), rgba(168, 216, 234, 0.3));
}

.subpage-intro.news {
    border-left-color: var(--milk-blue);
    background: linear-gradient(135deg, rgba(168, 216, 234, 0.3), rgba(255, 180, 162, 0.3));
}

.subpage-intro h2 {
    font-size: 1.5rem;
    color: var(--deep-purple);
    margin-bottom: 10px;
}

.subpage-intro p {
    color: var(--deep-purple);
    opacity: 0.9;
}

.pdf-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pdf-item {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    border: 2px solid transparent;
    text-decoration: none;
    color: var(--deep-purple);
    transition: all 0.3s ease;
    cursor: pointer;
}

.pdf-item:hover {
    transform: scale(1.02);
    border-color: var(--sakura-pink);
    box-shadow: 0 8px 30px rgba(255, 183, 197, 0.4);
    background: rgba(255, 255, 255, 0.9);
}

.pdf-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--sakura-pink), var(--lavender-purple));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.5rem;
}

.pdf-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.pdf-date {
    margin-left: auto;
    font-size: 0.9rem;
    opacity: 0.7;
}

.page-footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--deep-purple);
    opacity: 0.7;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
        flex-direction: column;
        height: auto;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .logo-section {
        margin-bottom: 10px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .main-content {
        padding-top: 180px;
    }

    .card {
        padding: 25px;
    }

    .section-title {
        font-size: 1.5rem;
    }
}
