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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #56ccf2 0%, #2f80ed 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
}

.container {
    max-width: 480px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-section {
    text-align: center;
    margin-bottom: 40px;
}

.profile-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    position: relative;
    background: linear-gradient(135deg, #56ccf2, #2f80ed);
    display: block;
    text-decoration: none;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile-image:hover img {
    transform: scale(1.05);
}

.profile-name {
    font-size: 2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #2f80ed, #1e3a8a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-bio {
    font-size: 1rem;
    color: #718096;
    font-weight: 400;
    line-height: 1.5;
}

.links-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.link-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.link-item:hover::before {
    left: 100%;
}

.link-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: #2f80ed;
}

.link-item:active {
    transform: translateY(0);
}

.link-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #56ccf2, #2f80ed);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
    color: white;
    box-shadow: 0 4px 12px rgba(47, 128, 237, 0.25);
}

.link-icon svg {
    width: 24px;
    height: 24px;
}

.link-content {
    flex: 1;
}

.link-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.link-content p {
    font-size: 0.9rem;
    color: #718096;
    font-weight: 400;
}

.link-arrow {
    font-size: 1.2rem;
    color: #cbd5e0;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: 12px;
}

.link-item:hover .link-arrow {
    color: #2f80ed;
    transform: translateX(4px);
}

.footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.footer p {
    font-size: 0.85rem;
    color: #a0aec0;
    font-weight: 400;
}

/* レスポンシブデザイン */
@media (max-width: 480px) {
    .container {
        padding: 30px 20px;
        margin: 10px;
        border-radius: 20px;
    }

    .profile-image {
        width: 100px;
        height: 100px;
    }

    .profile-name {
        font-size: 1.75rem;
    }

    .link-item {
        padding: 16px;
    }

    .link-icon {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }

    .link-icon svg {
        width: 20px;
        height: 20px;
    }

    .link-content h3 {
        font-size: 1rem;
    }

    .link-content p {
        font-size: 0.85rem;
    }
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    }

    .container {
        background: rgba(26, 32, 44, 0.95);
        border: 1px solid #4a5568;
    }

    .profile-name {
        color: #f7fafc;
    }

    .profile-bio {
        color: #a0aec0;
    }

    .link-item {
        background: #2d3748;
        border-color: #4a5568;
    }

    .link-item:hover {
        border-color: #2f80ed;
        background: #374151;
    }

    .link-content h3 {
        color: #f7fafc;
    }

    .link-content p {
        color: #a0aec0;
    }

    .footer {
        border-top-color: #4a5568;
    }

    .footer p {
        color: #718096;
    }
}

/* アニメーション効果 */
.link-item {
    animation: slideInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.link-item:nth-child(1) {
    animation-delay: 0.1s;
}

.link-item:nth-child(2) {
    animation-delay: 0.2s;
}

.link-item:nth-child(3) {
    animation-delay: 0.3s;
}

.link-item:nth-child(4) {
    animation-delay: 0.4s;
}

.link-item:nth-child(5) {
    animation-delay: 0.5s;
}

.link-item:nth-child(6) {
    animation-delay: 0.6s;
}

.link-item:nth-child(7) {
    animation-delay: 0.7s;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* スクロールバーのスタイリング */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(160, 174, 192, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(160, 174, 192, 0.8);
}