
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Malgun Gothic", sans-serif;
    background-color: #dff3ff;
    color: #1e293b;
    line-height: 1.7;
}

.container {
    width: 90%;
    max-width: 900px;
    margin: 50px auto;
}

/* 상단 프로필 */
.profile {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    text-align: center;
    padding: 75px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.2);
}

.profile h1 {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 20px;
}

.profile p {
    font-size: 20px;
    color: #dbeafe;
}

/* 공통 섹션 */
.section {
    background: white;
    padding: 35px;
    margin-top: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.section h2 {
    font-size: 36px;
    font-weight: 900;
    color: #1d4ed8;
    margin-bottom: 22px;
    border-bottom: 3px solid #dbeafe;
    padding-bottom: 12px;
}

.intro {
    font-size: 18px;
    color: #475569;
}

/* 취미 카드 */
.hobby-list {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.hobby {
    flex: 1;
    min-width: 180px;
    background: #eff8ff;
    padding: 30px 15px;
    border-radius: 12px;
    text-align: center;
    color: #1e40af;
    font-size: 19px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.hobby:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(59, 130, 246, 0.15);
}

.hobby p {
    font-size: 42px;
    margin-bottom: 12px;
}

.detail-link {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    color: #3b82f6;
}

/* 좋아하는 것 카드 */
.like-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    list-style: none;
}

.like-list li {
    background: #eff8ff;
    padding: 25px 15px;
    border-radius: 14px;
    border: 1px solid #dbeafe;
    text-align: center;
    color: #1e40af;
    font-size: 17px;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s;
}

.like-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(59, 130, 246, 0.15);
}

.like-list .emoji {
    display: block;
    font-size: 38px;
    margin-bottom: 10px;
}

/* 마무리 */
.thanks {
    text-align: center;
    padding: 40px 10px;
    color: #64748b;
}

.thanks h2 {
    color: #1d4ed8;
    margin-bottom: 15px;
    border: none;
}

/* 연락하기 버튼 */
.contact {
    text-align: center;
    margin-top: 30px;
}

.contact button {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    padding: 16px 45px;
    border-radius: 30px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.25);
    transition: transform 0.2s, background 0.2s;
}

.contact button:hover {
    background: #1e40af;
    transform: translateY(-3px);
}

/* 취미 상세보기 */
.hobby-detail {
    text-align: center;
    padding: 45px 35px;
}

.detail-emoji {
    font-size: 85px;
    margin-bottom: 15px;
}

.hobby-detail h2 {
    border-bottom: none;
    margin-bottom: 20px;
}

.detail-info {
    background: #eff8ff;
    padding: 25px;
    border-radius: 14px;
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: left;
}

.detail-info h3 {
    color: #1d4ed8;
    font-size: 21px;
    margin-bottom: 12px;
}

.detail-info p {
    color: #475569;
    font-size: 17px;
}

/* 돌아가기 버튼 */
.back-button {
    display: inline-block;
    background: #2563eb;
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: bold;
    transition: background 0.2s;
}

.back-button:hover {
    background: #1e40af;
}

/* 하단 */
footer {
    text-align: center;
    padding: 25px;
    color: #64748b;
    font-size: 14px;
}

/* 모바일 화면 */
@media (max-width: 600px) {
    .container {
        width: 92%;
        margin: 20px auto;
    }

    .profile {
        padding: 45px 15px;
    }

    .profile h1 {
        font-size: 32px;
    }

    .profile p {
        font-size: 16px;
    }

    .section {
        padding: 22px;
        margin-top: 18px;
    }

    .section h2 {
        font-size: 25px;
    }

    .intro {
        font-size: 16px;
    }

    /* 취미 카드 세로 정렬 */
    .hobby-list {
        flex-direction: column;
    }

    .hobby {
        width: 100%;
        min-width: 100%;
        padding: 22px 15px;
    }

    /* 좋아하는 것 카드 세로 정렬 */
    .like-list {
        grid-template-columns: 1fr;
    }

    .like-list li {
        width: 100%;
        padding: 22px 15px;
    }

    .contact button {
        width: 100%;
        font-size: 18px;
    }

    .hobby-detail {
        padding: 30px 20px;
    }

    .detail-emoji {
        font-size: 65px;
    }

    .detail-info {
        padding: 20px;
    }

    .back-button {
        display: block;
    }

    footer {
        font-size: 13px;
    }
}
