* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 40px 0 0 0; /* Removed bottom padding */
    overflow-y: auto;
}

.background-gray {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: -1;
}

.card-container {
    width: 100%;
    max-width: 680px;
    padding: 0 20px;
    position: relative;
    background-image: url('assets/bg_02.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
}

.card-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(233, 239, 247, 0.65); /* 배색 보정 및 은은한 효과 */
    z-index: 1;
}

.card {
    background-color: transparent; /* 배경 이미지가 보이도록 투명 설정 */
    border-radius: 24px 24px 0 0;
    padding: 30px 40px 140px;
    position: relative;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
    min-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    z-index: 2; /* 컨텐츠가 배경 위에 오도록 설정 */
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
}

.icon-btn-left, .icon-btn-right {
    background-color: #ffffff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.icon-svg {
    width: 20px;
    height: 20px;
    color: #1a1c1e;
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    margin-top: 10%;
}

.profile-img-ring {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #ffffff;
    padding: 4px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(49, 130, 246, 0.2);
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.profile-title {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 12px;
    text-align: center;
}

.profile-description {
    font-size: 15px;
    line-height: 1.5;
    color: #000000;
    max-width: 320px;
    text-align: center;
}

.links-container {
    margin-top: 30px;
}

.link-button {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: #1a1c1e;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}



.link-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.link-button:active {
    transform: scale(0.99);
}

.button-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    margin-right: 16px;
}

.button-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 44px; /* offset for balanced centering */
}

.trendy-svg {
    width: 100%;
    max-width: 240px;
    height: 50px;
}

.svg-text {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 700;
    font-size: 20px;
    fill: #1a1c1e;
    letter-spacing: -0.5px;
}

.link-button:hover .svg-text {
    fill: url(#btnGradient);
    transition: all 0.3s ease;
}

.arrow-icon {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.link-button:hover .left-arrow {
    transform: translateX(-5px);
}

.link-button:hover .right-arrow {
    transform: translateX(5px);
}

.link-button:hover .arrow-icon circle {
    opacity: 0.2;
}

.button-more {
    position: absolute;
    right: 16px;
    color: #888;
}

.more-svg {
    width: 20px;
    height: 20px;
}

.bottom-float-btn {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    padding: 14px 28px;
    border-radius: 35px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    white-space: nowrap;
    font-size: 15px;
    color: #1a1c1e;
    z-index: 10;
}

.bottom-float-btn strong {
    font-weight: 700;
}

.footer-links {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 11px;
    color: #555;
    word-spacing: 4px;
    z-index: 5;
}

.footer-links a {
    text-decoration: none;
    color: #555;
}

@media (max-width: 600px) {
    .card-container {
        padding: 0;
    }
    .card {
        padding: 20px 20px 100px;
        border-radius: 0;
        min-height: 100vh;
    }
    body {
        padding: 0;
    }
    .profile-description {
        font-size: 14px;
    }
}