/**
 * aboutセクション専用スタイルシート（リニューアル版）
 * キャラクター: みくる.copy
 * カラーパレット: #FF2D55(赤), #C0C0C0(シルバー), #1a1a1a(黒), #FFFFFF(白)
 * 複数メンバー対応デザイン
 */

/* ==================== 基本設定 ==================== */
#about {
    position: relative;
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.95) 0%, rgba(26, 26, 26, 0.98) 100%);
    min-height: 100vh;
}

#about.active {
    overflow-y: auto;
    overflow-x: hidden;
}

/* 背景エフェクト - 三面図を薄く配置 */
#about::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background-image: url('../../assets/cats/mikulu/三面図＿完成.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
    filter: blur(0px);
}

/* 装飾用の光エフェクト */
#about::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 45, 85, 0.2) 0%, rgba(192, 192, 192, 0.1) 50%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: floatLight 8s ease-in-out infinite;
    z-index: 0;
}

@keyframes floatLight {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-50px, 50px);
    }
}

/* ==================== コンテナ ==================== */
.about-container {
    position: relative;
    padding: 4rem 2rem;
    padding-bottom: 6rem;
    max-width: 1400px;
    margin: 0 auto;
    z-index: 1;
    min-height: 100vh;
}

/* ==================== セクションタイトル ==================== */
.about-section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(135deg, #FF2D55, #C0C0C0, #1a1a1a);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
    margin-bottom: 3rem;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* ==================== メンバーグリッド ==================== */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    justify-content: center;
}

/* ==================== メンバーカード ==================== */
.member-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 45, 85, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF2D55, #C0C0C0, #1a1a1a);
    opacity: 0.8;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.8;
        background-position: 0% 50%;
    }
    50% {
        opacity: 1;
        background-position: 100% 50%;
    }
}

.member-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 45, 85, 0.4);
    box-shadow: 
        0 12px 48px rgba(255, 45, 85, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ==================== メンバー画像エリア ==================== */
.member-image-wrapper {
    position: relative;
    width: 100%;
    padding: 2rem 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.1);
}

/* グローエフェクト */
.character-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 45, 85, 0.3) 0%, rgba(192, 192, 192, 0.2) 50%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: pulse 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.member-image {
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(255, 45, 85, 0.5)) drop-shadow(0 0 15px rgba(192, 192, 192, 0.3));
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.member-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 40px rgba(255, 45, 85, 0.8)) drop-shadow(0 0 20px rgba(192, 192, 192, 0.5));
}

/* オーナーバッジ */
.owner-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 45, 85, 0.9), rgba(192, 192, 192, 0.8));
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    box-shadow: 
        0 4px 15px rgba(255, 45, 85, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 
            0 4px 15px rgba(255, 45, 85, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 
            0 6px 25px rgba(255, 45, 85, 0.8),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }
}

/* ==================== メンバー情報エリア ==================== */
.member-info {
    padding: 1.5rem 2rem 2rem;
}

.member-name {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FF2D55, #C0C0C0);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
    margin-bottom: 0.5rem;
    text-align: center;
}

.member-role {
    font-size: 1rem;
    font-weight: 600;
    color: #FF2D55;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    padding: 0.3rem 0.8rem;
    background: rgba(255, 45, 85, 0.1);
    border-radius: 20px;
    display: inline-block;
    width: 100%;
}

/* ==================== プロフィール ==================== */
.member-profile {
    margin-bottom: 1.5rem;
}

.profile-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.profile-item:hover {
    padding-left: 0.5rem;
    border-left: 2px solid #FF2D55;
}

.profile-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.profile-value {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ==================== スキル ==================== */
.member-skills {
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
}

.skills-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #C0C0C0;
    margin-bottom: 1rem;
}

.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-category-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.3rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(255, 45, 85, 0.15);
    border-color: rgba(255, 45, 85, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 45, 85, 0.3);
}

/* ==================== SNS ==================== */
.member-sns {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sns-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.3rem;
    background: rgba(255, 45, 85, 0.1);
    border: 1px solid rgba(192, 192, 192, 0.3);
    border-radius: 50px;
    color: #C0C0C0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.sns-link:hover {
    background: rgba(255, 45, 85, 0.2);
    border-color: #FF2D55;
    color: #FF2D55;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 45, 85, 0.3);
}

.sns-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ==================== アニメーション ==================== */
.about-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== レスポンシブデザイン ==================== */

/* タブレット */
@media (max-width: 1024px) {
    .members-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2rem;
    }
    
    .about-section-title {
        font-size: 2.5rem;
    }
}

/* モバイル（大） */
@media (max-width: 768px) {
    .about-container {
        padding: 3rem 1.5rem 5rem;
    }
    
    .members-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .member-image {
        max-width: 220px;
    }
    
    .member-name {
        font-size: 1.8rem;
    }
}

/* モバイル（小） */
@media (max-width: 480px) {
    .about-container {
        padding: 2rem 1rem 4rem;
    }
    
    .member-info {
        padding: 1.2rem 1.5rem 1.5rem;
    }
    
    .member-image-wrapper {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .about-section-title {
        font-size: 1.8rem;
    }
    
    .member-name {
        font-size: 1.6rem;
    }
    
    .skill-tags {
        gap: 0.4rem;
    }
    
    .skill-tag {
        padding: 0.35rem 0.75rem;
        font-size: 0.8rem;
    }
}

