@charset "UTF-8";

/* ==========================================================================
   Project: Connect Station HOME
   File: css/family_special.css
   Description: 親戚の集い 専用・超豪華版デザイン
   ========================================================================== */

/* --- ラウンジ全体の装飾 --- */
.family-lounge-container {
    background: #fff;
    background-image: 
        linear-gradient(rgba(215, 204, 200, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(215, 204, 200, 0.2) 1px, transparent 1px);
    background-size: 30px 30px;
    border: 12px double #d7ccc8;
    border-radius: 40px;
    padding: 4rem;
    box-shadow: 
        0 30px 100px rgba(0,0,0,0.1),
        inset 0 0 50px rgba(141, 110, 99, 0.05);
    position: relative;
}

/* スポットライト演出 */
.family-display-area {
    min-height: 350px;
    background: radial-gradient(circle at 50% 100%, #fff9c4 0%, transparent 70%);
    border-radius: 30px;
    margin-bottom: 3rem;
    position: relative;
}

.family-summon-img {
    height: 250px !important;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.2));
}

/* --- プレミアムIDカード --- */
.id-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.family-id-card {
    perspective: 1000px;
}

.card-inner-box {
    background: linear-gradient(135deg, #ffffff 0%, #f1f1f1 100%);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.family-id-card:hover .card-inner-box {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 40px 60px rgba(0,0,0,0.12);
}

/* 金色の装飾 */
.card-inner-box::after {
    content: 'EGIC OFFICIAL ARCHIVE';
    position: absolute; top: 15px; right: 15px;
    font-size: 0.6rem; color: #d4af37; /* ゴールド */
    letter-spacing: 0.1em; font-weight: bold;
}

/* ステータスゲージの豪華化 */
.bar { background: #e0e0e0; height: 10px; border-radius: 5px; box-shadow: inset 0 1px 3px rgba(0,0,0,0.1); }
.fill { background: linear-gradient(90deg, var(--color-primary), var(--color-secondary)); }

/* --- 豪華な相関図 --- */
.relationship-canvas {
    background: #fff;
    padding: 4rem 2rem;
    border-radius: 30px;
    border: 2px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    position: relative;
}

.rel-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;
}

.rel-node img {
    width: 90px; height: 90px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    background: #f8f9fa;
    padding: 5px;
}

.rel-node b { margin-top: 0.5rem; color: var(--color-primary); }

/* 接続線 */
.rel-line {
    position: absolute;
    background: #d7ccc8;
    z-index: 1;
}
.line-h { height: 3px; width: 150px; top: 120px; }
.line-v { width: 3px; height: 100px; }