/* 基本設定 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #0a0a0a; /* 真っ黒すぎない高級感のある黒 */
    color: #fff;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 500px;
    padding-bottom: 50px;
}

/* --- プロフィール全体のレイアウト --- */
.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* アー写エリア：グラデーションを重ねるための設定 */
.profile-image {
    width: 100%;
    max-height: 450px;
    overflow: hidden;
    line-height: 0;
    position: relative; /* 重ねるための基準点 */
}

.profile-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* 追記：画像の下側に黒いグラデーションをかける */
.profile-image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%; /* 画像の下半分からグラデーションを開始 */
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 1) 100%);
}

/* ロゴエリア：グラデーションに馴染むよう余白を調整 */
.profile h1 {
    width: 100%;
    padding: 10px 0 10px; /* グラデがかかるので少し上に詰めてもOK */
    margin: 0;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1; /* グラデーションより前に出す */
}

.profile h1 img {
    width: 65%;
    max-width: 260px;
    height: auto;
    /* ロゴをより際立たせるために少し影を追加 */
    filter: drop-shadow(0 0 15px rgba(0,0,0,0.8));
}

.profile p {
    font-size: 0.85rem;
    color: #888;
    margin: 5px 0 25px;
    padding: 0 30px;
    letter-spacing: 0.1em;
    position: relative;
    z-index: 1;
}

/* --- リンクボタンのカスタマイズ --- */
.links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0 25px;
}

.link-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03); /* ほんの少しだけ背景を入れる */
    color: #fff; /* 通常時は白 */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.9rem;
}

.link-card i {
    position: absolute;
    left: 20px;
    font-size: 1.1rem;
}

/* --- ホバー時：ブランドカラーに光る設定 --- */
.link-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 各SNSごとのホバーカラー設定 */
.link-card.x:hover {
    color: #fff; /* Xは白のままか、少しグレーに */
    border-color: #fff;
}

.link-card.instagram:hover {
    color: #E1306C;
    border-color: #E1306C;
}

.link-card.youtube:hover {
    color: #FF0000;
    border-color: #FF0000;
}

.link-card.tiktok:hover {
    color: #ff0050;
    border-color: #00f2ea; /* 枠線をシアンにしてTikTok感を強調 */
    text-shadow: 0 0 5px rgba(255, 0, 80, 0.5);
}

.link-card.email:hover {
    color: #4285f4;
    border-color: #4285f4;
}

.link-card.website:hover {
    color: #fbbc05; /* HOMEボタンをゴールドっぽく */
    border-color: #fbbc05;
}

footer {
    text-align: center;
    margin-top: 30px;
    font-size: 0.7rem;
    color: #555;
}