:root {
    --member-color: #ff8fab; /* Default color */
}

.member-detail-section {
    padding: 60px 0;
    background: linear-gradient(135deg, white 0%, var(--member-color) 300%);
    min-height: calc(100vh - 160px);
}

.member-detail-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-top: 8px solid var(--member-color);
}

.member-detail-left {
    flex: 1;
    min-width: 300px;
}

.member-detail-right {
    flex: 1.5;
    min-width: 300px;
}

.detail-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border: 5px solid white;
}

.detail-name-jp {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.detail-nickname {
    font-size: 1.4rem;
    color: var(--member-color);
    font-weight: 700;
    margin-bottom: 25px;
}

.detail-profile-box {
    margin-bottom: 30px;
}

.detail-profile-item {
    margin-bottom: 12px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 8px;
    display: flex;
}

.profile-label {
    font-weight: 700;
    color: var(--member-color);
    width: 120px;
    flex-shrink: 0;
}

.profile-content {
    color: var(--text-dark);
}

.detail-bio {
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 30px;
    white-space: pre-wrap;
    background: #fbfbfb;
    padding: 20px;
    border-radius: 15px;
}

/* SNS Buttons expansion */
.sns-detail-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.sns-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 20px;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
}

.sns-item:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.sns-x { background-color: #000; }
.sns-tiktok { background-color: #000; }
.sns-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.sns-youtube { background-color: #ff0000; }
.sns-showroom { background-color: #00b0ff; }
.sns-threads { background-color: #000; }

.back-btn-container {
    margin-top: 40px;
    text-align: center;
}

.btn-back {
    display: inline-block;
    padding: 12px 30px;
    background: var(--member-color);
    color: white;
    border-radius: 25px;
    font-weight: 700;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-back:hover {
    filter: brightness(0.9);
    transform: translateX(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    .member-detail-container {
        flex-direction: column;
        padding: 20px;
    }
}
