/* 메가메뉴 스타일 */

/* 메뉴 아이템 기본 설정 */
.main-navigation .nav-item {
    position: relative;
}

.mega-dropdown {
    position: fixed !important;
    top: 70px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: linear-gradient(to right, #f2f2f7 50%, white 50%) !important;
    border-top: 1px solid #ccc !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: all 0.3s ease !important;
    z-index: 10000 !important;
}

.main-navigation .nav-item:hover .mega-dropdown,
.main-header .main-navigation .nav-item:hover .mega-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.mega-content {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    min-height: 200px;
    /* 200px에서 150px로 줄임 */
}

.mega-left {
    flex: 1;
    padding: 1.5rem;
    /* 2rem에서 1.5rem으로 줄임 */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    /* 텍스트와 이미지를 우측 정렬 */
    gap: 2rem;
    /* 폰트와 이미지 간격 조정 */
    background: transparent;
    min-height: 100%;
    margin-right: 3rem;
    /* 우측 마진으로 중앙선과의 거리 조정 */
}

.mega-left h2 {
    font-size: 1.7rem;
    /* 메가메뉴 제목 폰트 사이즈 */
    font-weight: bold;
    color: #333;
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
    /* 텍스트 크기 고정 */
    text-align: right;
    /* 텍스트 우측 정렬 */
    min-width: 120px;
    /* 최소 너비 설정으로 짧은 텍스트도 우측 정렬 효과 */
}

.mega-image {
    flex-shrink: 0;
}

/* 이미지 박스 스타일 */
.sample-box {
    width: 230px !important;
    height: 160px !important;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    text-align: center;
    overflow: hidden;
}

.sample-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.company-box {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.business-box {
    background: linear-gradient(135deg, #28a745, #1e7e34);
}

.service-box {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.hr-box {
    background: linear-gradient(135deg, #6f42c1, #5a2d91);
}

/* Affiliates Modal */
.affiliates-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 100000;
}

.affiliates-modal.active {
    display: block;
}

.affiliates-modal.closing {
    display: block;
}

.affiliates-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.affiliates-modal.active .affiliates-backdrop {
    opacity: 1;
}

.affiliates-modal.closing .affiliates-backdrop {
    opacity: 0;
}

/* 우측 사이드 패널 */
.affiliates-content {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: clamp(420px, 38vw, 560px);
    background: #fff;
    border-radius: 12px 0 0 12px;
    overflow: hidden;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.affiliates-modal.active .affiliates-content {
    transform: translateX(0);
}

.affiliates-modal.closing .affiliates-content {
    transform: translateX(100%);
}

.affiliates-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.affiliates-header h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.affiliates-close {
    border: none;
    background: transparent;
    font-size: 1.1rem;
    cursor: pointer;
}

.affiliates-list {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 58px);
    overflow-y: auto;
}

.affiliate-item {
    position: relative;
    flex: 1;
    min-height: 0;
    background-size: cover;
    background-position: center;
    /* 초기 상태: 위/아래로 접힌 듯 숨김 */
    clip-path: inset(0 0 100% 0);
}

.affiliate-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.0) 55%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 28px;
}

.affiliate-name {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    margin-right: 16px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.affiliate-btn {
    display: inline-block;
    padding: 12px 20px;
    background: #ff7a00;
    color: #fff;
    border-radius: 28px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.affiliate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 122, 0, 0.45);
}

/* 펼쳐지는 애니메이션 (위에서 아래, 아래에서 위) */
.affiliates-modal.active .affiliate-item:nth-child(1) {
    animation: revealDown 650ms ease both 60ms;
    transform-origin: top;
}

.affiliates-modal.active .affiliate-item:nth-child(2) {
    animation: revealUp 650ms ease both 180ms;
    transform-origin: bottom;
}

/* 닫힐 때 감추는 애니메이션 */
.affiliates-modal.closing .affiliate-item:nth-child(1) {
    animation: concealUp 400ms ease both 0ms;
}

.affiliates-modal.closing .affiliate-item:nth-child(2) {
    animation: concealDown 400ms ease both 80ms;
}

@keyframes revealDown {
    from {
        clip-path: inset(0 0 100% 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes revealUp {
    from {
        clip-path: inset(100% 0 0 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes concealUp {
    from {
        clip-path: inset(0 0 0 0);
    }

    to {
        clip-path: inset(0 0 100% 0);
    }
}

@keyframes concealDown {
    from {
        clip-path: inset(0 0 0 0);
    }

    to {
        clip-path: inset(100% 0 0 0);
    }
}

@media (max-width: 768px) {
    .affiliates-content {
        width: 100vw;
        border-radius: 0;
    }

    .affiliate-overlay {
        justify-content: center;
        padding-right: 0;
    }

    .affiliate-name {
        display: block;
    }
}

/* ===================== */
/* Global Fullscreen Menu*/
/* ===================== */
.global-menu {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 100000;
    /* 터치 스크롤 최적화 */
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior: contain;
}

.global-menu.active,
.global-menu.closing {
    display: block;
}

.gm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    opacity: 0;
    transition: opacity .4s ease;
    /* 터치 이벤트 허용 */
    touch-action: auto;
}

.global-menu.active .gm-backdrop {
    opacity: 1;
}

.global-menu.closing .gm-backdrop {
    opacity: 0;
}

.gm-panel {
    position: relative;
    width: 100%;
    height: 100%;
    background: #fff;
    overflow-x: hidden;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .45s ease;
    /* 터치 스크롤 최적화 */
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior: contain;
    /* 모바일 스크롤 개선 */
    scroll-behavior: smooth;
}

.global-menu.active .gm-panel {
    transform: translateX(0);
}

.global-menu.closing .gm-panel {
    transform: translateX(100%);
}

/* 기본 닫기 버튼 (데스크톱용) */
.gm-close {
    position: absolute;
    top: 22px;
    right: 22px;
    background: #e41e2b;
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(228, 30, 43, .3);
    z-index: 10001;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

/* 기본 설정: 모바일 요소들은 숨김 */
.gm-mobile-menu {
    display: none;
}

.gm-header {
    display: none;
}

/* 기본 데스크톱 닫기 버튼 스타일 */
.gm-close-desktop {
    display: flex;
}

.gm-close-mobile {
    display: none;
}

/* 모바일 전용 스타일 */
@media (max-width: 768px) {
    /* 데스크톱 닫기 버튼 숨기기 */
    .gm-close-desktop {
        display: none !important;
    }
    
    /* 모바일 닫기 버튼 보이기 */
    .gm-close-mobile {
        display: flex !important;
        position: static;
        font-size: 25px !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #fff;
        width: 40px;
        height: 40px;
        border-radius: 6px;
    }
    
    .gm-close-mobile:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        border-color: rgba(255, 255, 255, 0.5);
    }
    
    /* 모바일에서만 헤더와 메뉴 표시 */
    .gm-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 20px 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: #000;
        position: sticky;
        top: 0;
        z-index: 10002;
    }

    .gm-logo {
        display: flex;
        align-items: center;
    }

    .gm-logo-image {
        height: 32px;
        width: auto;
    }
    
    .gm-mobile-menu {
        display: block !important;
    }
}

/* 모바일 전용 메뉴 스타일을 @media 안으로 이동 */
@media (max-width: 768px) {
    /* 모바일 메뉴 컨테이너 */
    .gm-mobile-menu {
        display: block;
        padding: 0;
        background: #000;
        height: calc(100vh - 84px); /* 헤더 높이 제외 */
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    /* 메뉴 아이템 */
    .gm-menu-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* 메뉴 타이틀 (클릭 가능한 주메뉴) */
    .gm-menu-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 24px;
        cursor: pointer;
        background: #000;
        transition: background-color 0.2s ease;
        user-select: none;
        -webkit-user-select: none;
        font-size: 16px;
        font-weight: 600;
        color: #fff;
    }

    .gm-menu-title:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    .gm-menu-title.active {
        background: rgba(228, 30, 43, 0.2);
        color: #fff;
    }

    .gm-menu-title i {
        transition: transform 0.3s ease;
        color: #ccc;
        font-size: 14px;
    }

    .gm-menu-title.active i {
        transform: rotate(180deg);
        color: #e93a45;
    }

    /* 서브메뉴 */
    .gm-submenu {
        list-style: none;
        margin: 0;
        padding: 0;
        background: rgba(255, 255, 255, 0.05);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .gm-submenu.open {
        max-height: 500px;
    }

    .gm-submenu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .gm-submenu li:last-child {
        border-bottom: none;
    }

    .gm-submenu a {
        display: block;
        padding: 16px 24px 16px 48px;
        color: #ccc;
        text-decoration: none;
        font-size: 15px;
        transition: all 0.2s ease;
        position: relative;
    }

    .gm-submenu a:hover {
        background: rgba(228, 30, 43, 0.2);
        color: #fff;
        padding-left: 52px;
    }

    .gm-submenu a::before {
        content: '•';
        position: absolute;
        left: 32px;
        color: #666;
        font-size: 18px;
        transition: color 0.2s ease;
    }

    .gm-submenu a:hover::before {
        color: #e41e2b;
    }
}

/* 데스크톱용 그리드 레이아웃 복원 */
.global-menu {
    --gm-top-gap: 96px;
}

.gm-grid {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 60px;
    padding: 0 40px 60px;
    /* 터치 스크롤 최적화 */
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior: contain;
}

.gm-col {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    opacity: 0;
    transform: translateY(30px);
    padding-top: var(--gm-top-gap);
}

.gm-title {
    font-size: clamp(1.6rem, 2vw, 2rem);
    letter-spacing: .02em;
    font-weight: 800;
    margin: 0 0 12px;
}

.gm-underline {
    width: 24px;
    height: 2px;
    background: #e41e2b;
    display: inline-block;
    margin-bottom: 20px;
}

.gm-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gm-links li {
    margin: 14px 0;
    opacity: 0;
    transform: translateY(8px);
}

.gm-links a {
    color: #222;
    text-decoration: none;
    transition: color .2s;
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
}

.gm-links a:hover {
    color: #e41e2b;
}

/* 하단 워터마크 */
.gm-watermark {
    position: absolute;
    right: 40px;
    bottom: -20px;
    font-family: 'Segoe UI', 'Noto Sans KR', sans-serif;
    font-weight: 800;
    font-size: 180px;
    color: rgba(0, 0, 0, 0.06);
    letter-spacing: .02em;
    transform-origin: bottom right;
    animation: gmWaterIn .6s ease .15s both;
}

@keyframes gmWaterIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 모바일에서는 데스크톱 그리드 숨김 */
@media (max-width: 768px) {
    .gm-grid,
    .gm-col,
    .gm-title,
    .gm-underline,
    .gm-links,
    .gm-watermark {
        display: none;
    }
}

/* 세로 라인 (컬럼 분리선) */
.gm-col::after {
    content: '';
    position: absolute;
    top: var(--gm-top-gap);
    right: -30px;
    width: 1px;
    height: 100%;
    background: rgba(0, 0, 0, 0.08);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .5s ease;
}

.gm-col:last-child::after {
    display: none;
}

.global-menu.active .gm-col::after {
    transform: scaleY(1);
}

.global-menu.closing .gm-col::after {
    transform-origin: bottom;
    transform: scaleY(0);
    transition-duration: .35s;
}

/* 열기 애니메이션: 컬럼 순차 페이드업 */
.global-menu.active .gm-col {
    animation: gmFadeUp .5s ease forwards;
}

.global-menu.active .gm-col:nth-child(1) {
    animation-delay: .05s;
}

.global-menu.active .gm-col:nth-child(2) {
    animation-delay: .12s;
}

.global-menu.active .gm-col:nth-child(3) {
    animation-delay: .19s;
}

.global-menu.active .gm-col:nth-child(4) {
    animation-delay: .26s;
}

.global-menu.active .gm-col:nth-child(5) {
    animation-delay: .33s;
}

@keyframes gmFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 닫기 애니메이션: 컬럼 순차 페이드다운 */
.global-menu.closing .gm-col {
    animation: gmFadeDown .35s ease forwards;
}

.global-menu.closing .gm-col:nth-child(1) {
    animation-delay: .12s;
}

.global-menu.closing .gm-col:nth-child(2) {
    animation-delay: .09s;
}

.global-menu.closing .gm-col:nth-child(3) {
    animation-delay: .06s;
}

.global-menu.closing .gm-col:nth-child(4) {
    animation-delay: .03s;
}

.global-menu.closing .gm-col:nth-child(5) {
    animation-delay: 0s;
}

@keyframes gmFadeDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* 서브메뉴 라인별 등장/퇴장 애니메이션 */
.global-menu.active .gm-col .gm-links li {
    animation: gmItemIn .35s ease forwards;
}

.global-menu.active .gm-col .gm-links li:nth-child(1) {
    animation-delay: .06s;
}

.global-menu.active .gm-col .gm-links li:nth-child(2) {
    animation-delay: .12s;
}

.global-menu.active .gm-col .gm-links li:nth-child(3) {
    animation-delay: .18s;
}

.global-menu.active .gm-col .gm-links li:nth-child(4) {
    animation-delay: .24s;
}

.global-menu.active .gm-col .gm-links li:nth-child(5) {
    animation-delay: .30s;
}

.global-menu.active .gm-col .gm-links li:nth-child(6) {
    animation-delay: .36s;
}

.global-menu.active .gm-col .gm-links li:nth-child(7) {
    animation-delay: .42s;
}

.global-menu.active .gm-col .gm-links li:nth-child(8) {
    animation-delay: .48s;
}

.global-menu.closing .gm-col .gm-links li {
    animation: gmItemOut .25s ease forwards;
}

.global-menu.closing .gm-col .gm-links li:nth-child(1) {
    animation-delay: .24s;
}

.global-menu.closing .gm-col .gm-links li:nth-child(2) {
    animation-delay: .20s;
}

.global-menu.closing .gm-col .gm-links li:nth-child(3) {
    animation-delay: .16s;
}

.global-menu.closing .gm-col .gm-links li:nth-child(4) {
    animation-delay: .12s;
}

.global-menu.closing .gm-col .gm-links li:nth-child(5) {
    animation-delay: .08s;
}

.global-menu.closing .gm-col .gm-links li:nth-child(6) {
    animation-delay: .04s;
}

@keyframes gmItemIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gmItemOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(6px);
    }
}

/* 하단 워터마크 */
.gm-watermark {
    position: absolute;
    right: 40px;
    bottom: -20px;
    font-family: 'Segoe UI', 'Noto Sans KR', sans-serif;
    font-weight: 800;
    font-size: 180px;
    color: rgba(0, 0, 0, 0.06);
    letter-spacing: .02em;
    transform-origin: bottom right;
    animation: gmWaterIn .6s ease .15s both;
}

@keyframes gmWaterIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 1100px) {
    .global-menu {
        --gm-top-gap: 72px;
    }

    .gm-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        padding: 0 28px 48px;
    }
}

@media (max-width: 720px) {
    .global-menu {
        --gm-top-gap: 56px;
    }

    .gm-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
        padding: 0 20px 40px;
    }
}

@media (max-width: 520px) {
    .global-menu {
        --gm-top-gap: 40px;
    }

    .gm-grid {
        grid-template-columns: 1fr;
        padding: 0 16px 32px;
    }

    .gm-watermark {
        font-size: 120px;
        right: 16px;
    }

    /* 모바일에서 X버튼 크기 증가 */
    .gm-close {
        width: 50px;
        height: 50px;
        top: 15px;
        right: 15px;
        font-size: 1.2rem;
    }
}

.mega-right {
    flex: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 2rem;
    width: 100%;
    max-width: 400px;
}

.sub-menu li {
    position: relative;
}

.sub-menu li a {
    text-decoration: none;
    color: #333;
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem;
    white-space: nowrap;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
}

.sub-menu li a::after {
    content: ">";
    color: #999;
    font-size: 0.8rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.sub-menu li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #007bff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.sub-menu li a:hover {
    color: #007bff;
}

.sub-menu li a:hover::after {
    color: #007bff;
}

.sub-menu li a:hover::before {
    width: 100%;
}

/* 반응형 */
@media (max-width: 900px) {
    .mega-dropdown {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        background: white;
        border-top: 1px solid #ccc;
    }

    .mega-content {
        flex-direction: row;
        padding: 2rem;
        max-width: none;
        margin: 0;
        min-height: auto;
    }

    .mega-left {
        flex: 0 0 auto;
        padding: 0;
        margin-right: 2rem;
        background: transparent;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .mega-left h2 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .mega-right {
        flex: 1;
        padding: 0;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .sub-menu {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem 1.5rem;
        max-width: none;
        width: 100%;
    }

    .sub-menu li a {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }

    .sample-box {
        width: 160px !important;
        height: 120px !important;
    }
}

@media (max-width: 600px) {
    .mega-content {
        flex-direction: column;
        padding: 1rem;
    }

    .mega-left {
        margin-right: 0;
        margin-bottom: 1rem;
        flex-direction: row;
        gap: 1.5rem;
    }

    .mega-left h2 {
        font-size: 1.2rem;
    }

    .sub-menu {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }

    .sample-box {
        width: 140px !important;
        height: 100px !important;
    }
}

/* HOMECAST MEDIA 카드(2번째) 텍스트를 좌우 중앙 정렬 */
.affiliates-list .affiliate-item:nth-child(2) .affiliate-overlay {
    justify-content: center;
    padding-right: 0;
}

.affiliates-list .affiliate-item:nth-child(2) .affiliate-name {
    margin-right: 0;
    text-align: center;
}

/* 460px 이하 초소형 디바이스에서 Affiliates 텍스트/버튼 축소 */
@media (max-width: 460px) {
  .affiliates-list .affiliate-name {
    font-size: 1.0rem; /* 기본 1.6rem → 축소 */
  }
  .affiliates-list .affiliate-btn {
    padding: 8px 13px; /* 기본 12px 20px → 축소 */
    font-size: 0.8rem;  /* 버튼 글자 크기 축소 */
    border-radius: 20px; /* 살짝 더 컴팩트하게 */
  }
}