:root {
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --primary-color: #facc15;
    /* ポテトイエロー */
    --text-main: #f8fafc;
    --text-sub: #94a3b8;
    --accent-blue: #38bdf8;
    --border-color: #334155;
    --radius: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    padding-bottom: 40px;
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(135deg, #1e1b4b, #0f172a);
    padding: 60px 20px 40px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.avatar-wrapper {
    width: 110px;
    height: 110px;
    margin: 0 auto 16px;
    padding: 4px;
}

.avatar {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.profile-name {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: 0.05em;
}

.profile-tag {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 4px;
}

/* メインコンテナ */
.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* カード共通 */
.card {
    background-color: var(--card-bg);
    border-radius: var(--radius);
    padding: 24px 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.section-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 8px;
}

.bio-text {
    font-size: 0.95rem;
    color: var(--text-main);
    word-break: break-word;
}

/* リンク集 */
.link-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.2s ease;
}

.link-item:hover {
    background-color: rgba(250, 204, 21, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.link-item i {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.link-item.yt i {
    color: #ff0000;
}

.link-item.misskey i {
    color: #86b300;
}

.link-item.twitter i {
    color: #f8fafc86;
}

.link-item.note i {
    color: #2cb696;
}

.link-item.github i {
    color: #f0f6fc;
}

.link-item.wix i {
    color: #38bdf8;
}

.link-item.purupuru i {
    color: #38bdf8;
}

.link-item.game i {
    color: #f8fafc;
}

.link-item.steam i {
    color: #1b2838;
}

.link-item.translator i {
    color: #2cb696;
}

.link-item.minecraft i {
    color: #c08b54;
}

.link-item.university i {
    color: #f4d927;
}

.link-item.sav i {
    color: #334861;
}

.link-item.imoface i {
    color: #ffb969;
}

.link-info {
    display: flex;
    flex-direction: column;
}

.link-title {
    font-weight: 700;
    font-size: 1rem;
}

.link-desc {
    font-size: 0.8rem;
    color: var(--text-sub);
}

/* タイムライン（年表） */
.timeline {
    list-style: none;
    position: relative;
    padding-left: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.timeline-item .date {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-blue);
    display: block;
}

.timeline-item .content {
    font-size: 0.95rem;
    color: var(--text-main);
}

.timeline-item .content a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* フッター */
footer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-sub);
    margin-top: 20px;
}