@charset "UTF-8";

/* 전체 페이지 스타일 기본 세팅 */
body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #2f3136; /* 디스코드 어두운 테마 배경 */
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

/* 스마트폰에서도 안 깨지게 가로폭 모바일 반응형(max-width) 수정본 */
.server-card {
    background-color: #23272a;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    max-width: 480px; /* 최대 크기는 480px 유지 */
    width: 100%;       /* 모바일 등 작은 화면에서는 100% 꽉 차게 자동 조절 */
    padding: 30px;
    text-align: center;
    transition: transform 0.2s ease;
    box-sizing: border-box; /* 패딩 때문에 넘치는 현상 방지 */
}

.server-card:hover {
    transform: translateY(-5px);
}

/* 너구리 프로필 이미지 */
.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #5865F2; /* 디스코드 포인트 컬러 */
    background-color: #fff;
}

/* 서버 타이틀 */
.server-title {
    font-size: 1.1rem;
    color: #f1c40f; /* 노란색 별 장식 */
    font-weight: bold;
    margin-top: 15px;
}
.server-name {
    font-size: 1.6rem;
    font-weight: bold;
    margin: 5px 0 15px 0;
    color: #fff;
}

/* 총 7개의 태그를 깔끔하게 정렬 */
.tags {
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}
.tag {
    background-color: #4f545c;
    color: #ffffff;
    font-size: 0.8rem;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: 500;
}

/* 상세 문구 영역 */
.description-box {
    background-color: #2f3136;
    border-radius: 8px;
    padding: 22px;
    text-align: left; /* 가독성을 위한 좌측 정렬 */
    font-size: 0.95rem;
    color: #dcddde;
    line-height: 1.7;
    margin-bottom: 25px;
    border-left: 4px solid #5865F2;
}

.description-box .main-title {
    font-size: 1.05rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 15px;
    text-align: center;
    border-bottom: 1px solid #4f545c;
    padding-bottom: 10px;
}

.description-box ul {
    margin: 0;
    padding-left: 5px;
    list-style: none;
}
.description-box li {
    margin-bottom: 8px;
    word-break: keep-all; /* 모바일에서 글자가 애매하게 안 잘리도록 세팅 */
}
.description-box li:last-child {
    margin-bottom: 0;
}
.description-box strong {
    color: #ffffff;
}
.description-box .highlight {
    color: #5865F2; /* 포인트 컬러 */
}

/* 디스코드 연결 버튼 */
.join-btn {
    display: block;
    background-color: #248046; /* 디스코드 초록색 버튼 */
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 14px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.join-btn:hover {
    background-color: #1a6535;
}