body {
    font-family: 'Noto Sans KR', sans-serif;
    background: #FBF8F1;
    display: flex;
    justify-content: center;
    padding: 20px 15px;
    margin: 0;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 900px;
    background: white;
    padding: 25px 20px 40px;
    border-radius: 14px;
    border: 1px solid #e0dcca;
    position: relative;
    overflow: visible; /* overflow hidden에서 visible로 변경 */
    box-sizing: border-box;
}

.top-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* 탭들과 타이틀 중앙 정렬 */
    gap: 10px 12px;
    margin-bottom: 25px;
}

.category-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 700px;
}

.category-tabs .tab {
    background: #D6EAF8;
    border: 1px solid #AED6F1;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: #1B4F72;
    transition: all 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.category-tabs .tab:hover {
    background: #85C1E9;
    color: #154360;
}

.category-tabs .tab.active {
    background: #5DADE2;
    border-color: #2E86C1;
    color: #154360;
}

.title {
    background: linear-gradient(to right, #85C1E9, #D6EAF8);
    color: #154360;
    padding: 10px 18px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 10px;
    letter-spacing: -0.3px;
    text-align: center;
    margin: 15px auto 0 auto;
    width: max-content;
    min-width: 240px;
    user-select: none;
    box-shadow: 0 1px 3px rgba(21, 67, 96, 0.2);
}

.pyramid-bg {
    position: absolute;
    top: 140px;
    left: 50%;
    transform: translateX(-50%);
    width: 580px;
    height: 470px;
    background: linear-gradient(
            to bottom,
            #5DADE2 0%,
            #85C1E9 22%,
            #D6EAF8 45%,
            #EBF5FB 65%,
            #F8FBFC 85%,
            #FFFFFF 100%
    );
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    opacity: 0.85;
    z-index: 1;
    pointer-events: none;
}

.tier {
    width: 100%;
    text-align: center;
    margin-bottom: 38px;
    position: relative;
    z-index: 5;
}

.tier-label {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    font-weight: 600;
    color: #6a5e2f;
    white-space: nowrap;
    user-select: none;
}

.tier-layer {
    background: rgba(255, 255, 255, 0.65);
    padding: 11px 0;
    border-radius: 12px;
    backdrop-filter: blur(3px);
    width: 85%;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-sizing: border-box;
}

.icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 0 5px;
}

.icon {
    width: 54px;
    height: 54px;
    background: #ffffff;
    border-radius: 50%;
    border: 1.8px solid #AED6F1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 9.5px;
    font-weight: 600;
    padding-top: 3px;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    color: #1B4F72;
    text-align: center;
    user-select: none;
}

.icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-bottom: 2px;
    opacity: 0.85;
}

.icon .note {
    font-size: 8px;
    color: #6a5e2f;
    margin-top: 1.5px;
}

.footer {
    margin-top: 40px;
    font-size: 14px;
    color: #72684d;
    text-align: right;
    user-select: none;
}

/* 반응형: 600px 이하 */
@media (max-width: 600px) {
    .container {
        padding: 20px 15px 30px;
    }

    .top-bar {
        flex-direction: column;
        align-items: center;
        gap: 10px 0;
    }

    .category-tabs {
        justify-content: center;
        gap: 8px;
        max-width: 100%;
    }

    .category-tabs .tab {
        padding: 5px 11px;
        font-size: 12px;
    }

    .title {
        font-size: 16px;
        padding: 8px 14px;
        min-width: unset;
        width: 90%;
        margin-top: 10px;
    }

    .pyramid-bg {
        width: 90vw;
        height: 360px;
        top: 110px;
    }

    .tier-label {
        font-size: 11px;
        left: 5px;
    }

    .tier-layer {
        width: 90%;
        padding: 9px 0;
    }

    .icons {
        gap: 8px;
        padding: 0 2px;
    }

    .icon {
        width: 44px;
        height: 44px;
        font-size: 8.5px;
        padding-top: 2px;
    }

    .icon img {
        width: 18px;
        height: 18px;
    }

    .footer {
        font-size: 13px;
        text-align: center;
        margin-top: 30px;
    }

    .tier-layer {
        background: rgba(255, 255, 255, 0.65);
        padding: 11px 0;
        border-radius: 12px;
        backdrop-filter: blur(3px);
        width: 60%;
        margin: 0 auto;
        border: 1px solid rgba(255, 255, 255, 0.7);
        box-sizing: border-box;
    }
}

.site-footer {
    margin-top: 50px;
    padding: 18px 20px;
    background-color: #f4f4f4;
    border-top: 1px solid #ddd;
    text-align: center;
    font-size: 14px;
    color: #555;
    user-select: none;
}

.footer-content p {
    margin: 0 0 6px 0;
    font-weight: 500;
}

.footer-email {
    color: #337ab7;
    text-decoration: none;
    font-weight: 600;
    word-break: break-all;
}

.footer-email:hover {
    text-decoration: underline;
}