@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght=400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-shadow: none;
    box-sizing: border-box;
    font-family: 'Noto Sans KR', sans-serif;
}

/* 대화면 배경색 */
body {
    background-color: #9d7d46; 
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 20px 0;
}

/* 중앙 컨테이너 */
.container {
    width: 100%;
    max-width: 480px; 
    background-color: #fbe6bd; 
    min-height: 100vh;
    padding-bottom: 15px; /* 카피라이트 하단 공간 축소 유지 */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
}

/* 상단 배너 영역 */
.hero-section {
    width: 100%;
    position: relative;
    margin-bottom: 50px; 
}

.top-banner {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.top-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 원형 프로필 */
.profile-area {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid #ffffff;
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-area img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

/* 텍스트 소개 정보 */
.info-section {
    text-align: center;
    width: 100%;
    padding: 0 20px;
    margin-bottom: 25px;
}

.info-section h1 {
    font-size: 28px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 4px;
    letter-spacing: -0.03em;
}

.info-section .sub-heading {
    font-size: 13px;
    color: #555555;
    font-weight: 500;
    margin-bottom: 20px;
}

.description-paragraphs {
    font-size: 14.5px;
    color: #222222;
    line-height: 1.6;
    font-weight: 500;
}

/* ⭐️ [수정] 메뉴판 보기 카드와 푸터 간격을 확보하기 위해 하단 마진을 2배인 35px로 넓힘 */
.links-section {
    width: 100%;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 12px; 
    margin-bottom: 35px; 
}

/* 개별 배너 카드 */
.card-item {
    display: flex;
    width: 100%;
    height: 72px; 
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #111111;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05); 
    transition: transform 0.2s ease;
}

.card-item:hover {
    transform: translateY(-2px);
}

.card-icon-block {
    width: 72px;
    height: 72px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.card-icon-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-text-block {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    text-align: center;
    font-size: 14.5px;
    color: #111111;
}

.card-text-block p {
    font-size: 12.5px;
    line-height: 1.4;
    font-weight: 600;
    word-break: keep-all;
}

.font-bold {
    font-weight: 700;
    font-size: 15px;
}

/* 블로그 - 메뉴판 사이 점선 구분선 */
.card-divider {
    width: 100%;
    height: 0;
    border-top: 1px dotted rgba(17, 17, 17, 0.35); 
    margin: 8px 0;
}

/* 아이콘 컬러 셋 */
.text-icon-news {
    background-color: #f3b923; 
    color: #000000;
    font-weight: 700;
    font-size: 14px;
}

.text-icon-menu {
    background-color: #111111; 
    color: #ffffff;
    font-weight: 700;
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
}

.bg-baemin { background-color: #2ecec2; }
.bg-naver { background-color: #03c75a; }
.bg-insta { background-color: #e1306c; }
.bg-blog { background-color: #57c124; }

/* 하단 푸터 영역 (여백 압축 및 카피라이트 최하단 공간 줄임 유지) */
footer {
    text-align: center;
    font-size: 13px;
    color: #333333;
    line-height: 1.4;
    margin-top: auto; 
    width: 100%;
    padding: 5px 20px 0 20px; /* 푸터 하단 패딩 제거 */
    font-weight: 500;
}

footer .copyright {
    margin-top: 4px;
    margin-bottom: 0; /* 카피라이트 하단 마진 제거 */
    font-size: 12px;
    color: #666666;
}

/* 모바일 대응 */
@media (max-width: 480px) {
    body {
        background-color: #fbe6bd; 
    }
    .container {
        box-shadow: none;
    }
}