* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans KR', sans-serif;
    background-color: #f9fafb;
    color: #0a0a0a;
}

a {text-decoration: none;}

/* Navigation */
.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 90px;
    position: sticky;
    top: 0;
    z-index: 100;
    flex-wrap: wrap;
    gap: 20px;
}

.nav-left {
    display: flex;
    gap: 31.989px;
    align-items: center;
    flex: 0 0 auto;
}

.nav-right {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 16px;
    font-weight: normal;
    color: #6c4dfd;
    line-height: 24px;
    white-space: nowrap;
}
.brand-logo {
    height: 36px;
}

.nav-buttons {
    display: flex;
    gap: 15.994px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.nav-btn {
    padding: 6px;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: #4a5565;
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    cursor: pointer;
    min-width: 80px;
    text-align: center;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-btn:hover {
    background-color: rgba(108, 77, 253, 0.08);
    color: #6c4dfd;
}

.nav-btn.active {
    background-color: rgba(108, 77, 253, 0.08);
    color: #6c4dfd;
}

.nav-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(108, 77, 253, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c4dfd;
    font-size: 16px;
    font-weight: normal;
    cursor: pointer;
    flex-shrink: 0;
}

/* Hamburger Menu */
.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: #4a5565;
    transition: all 0.3s ease;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, -2px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(10px, 0px);
}

/* Side Menu */
.side-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 99;
    overflow-y: auto;
    transition: right 0.3s ease;
}

.side-menu.active {
    right: 0;
}

.side-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 98;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.side-menu-overlay.active {
    display: block;
    opacity: 1;
}

.side-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.side-menu-title {
    font-size: 18px;
    font-weight: bold;
    color: #0a0a0a;
}

.side-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #4a5565;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.side-menu-items {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.side-menu-item {
    padding: 12px 16px;
    color: #4a5565;
    text-decoration: none;
    font-size: 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: block;
}

.side-menu-item:hover {
    background-color: rgba(108, 77, 253, 0.08);
    color: #6c4dfd;
}

.side-menu-item.active {
    background-color: rgba(108, 77, 253, 0.08);
    color: #6c4dfd;
}

.side-menu-avatar-section {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 12px;
}

.side-menu-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(108, 77, 253, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c4dfd;
    font-size: 14px;
    flex-shrink: 0;
}

.side-menu-avatar-text {
    font-size: 14px;
    color: #4a5565;
}

/* Responsive */
@media (max-width: 1200px) {

    .navigation {
        padding: 16px 20px;
    }

}
@media (max-width: 1024px) {
    .navigation {
        justify-content: space-between;
    }

    .nav-left {
        gap: 0;
    }

    .nav-buttons {
        display: none;
    }

    .hamburger-btn {
        display: flex;
    }

    .brand-logo {
        height: 35px;
    }
}

@media (max-width: 768px) {
    .navigation {
        padding: 12px 16px;
    }
}