/* 헤더 공통 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

header:hover {
    background: rgba(255, 255, 255, 1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo-container img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: #222;
    letter-spacing: -0.5px;
}

header nav {
    display: flex;
    gap: 35px;
}

header nav a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
    padding: 8px 0;
}

header nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #7c3aed, #a78bfa);
    transition: width 0.3s ease;
}

header nav a:hover {
    color: #7c3aed;
}

header nav a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    header nav {
        gap: 15px;
    }

    header nav a {
        font-size: 0.85rem;
    }

    .logo-container img {
        width: 35px;
        height: 35px;
    }

    .logo-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    header nav {
        display: none;
    }
}
