:root {
    --bg-color: #f0f7ff;
    /* Soft light blue background */
    --card-bg: #ffffff;
    /* Pure white card */
    --text-primary: #1e293b;
    /* Slate 800 - Deep charcoal */
    --text-secondary: #64748b;
    /* Slate 500 */
    --accent-color: #1d4ed8;
    /* Trust Blue / Royal Blue */
    --shadow-soft: 0 16px 32px rgba(15, 23, 42, 0.08), 0 4px 8px rgba(15, 23, 42, 0.04);
    --shadow-btn: 0 4px 6px rgba(15, 23, 42, 0.05);
}

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

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    background-color: var(--bg-color);
    background-image: linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    color: var(--text-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    -webkit-font-smoothing: antialiased;
}

.card-container {
    background-color: var(--card-bg);
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-top: 5px solid var(--accent-color);
    /* Strong trust blue line */
    width: 100%;
    max-width: 380px;
    padding: 48px 24px;
    border-radius: 12px;
    /* Professional, slightly square */
    box-shadow: var(--shadow-soft);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 130px;
    background: linear-gradient(135deg, rgba(240, 249, 255, 0.6) 0%, rgba(219, 234, 254, 0.6) 100%), url('../assets/trading_bg.webp');
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #bfdbfe;
    z-index: 0;
}

.profile-header {
    position: relative;
    z-index: 1;
}

.profile-image-wrapper {
    width: 130px;
    height: 130px;
    margin: 0 auto 28px;
    border-radius: 50%;
    overflow: hidden;
    padding: 4px;
    background: #ffffff;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
}

.name {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.title {
    font-size: 0.95rem;
    color: var(--accent-color);
    margin-bottom: 40px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0.05em;
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-button {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    border-radius: 8px;
    /* Clean, modern corporate shape */
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-btn);
    transition: all 0.2s ease-in-out;
    position: relative;
    z-index: 1;
    border-left: 4px solid transparent;
}

.link-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
    background: #f8fafc;
    border-color: #cbd5e1;
}

.link-button:active {
    transform: scale(0.98);
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.05);
    background-color: #f1f5f9;
}

.link-button::after {
    content: '';
    width: 8px;
    height: 8px;
    border-top: 2.5px solid var(--text-secondary);
    border-right: 2.5px solid var(--text-secondary);
    transform: rotate(45deg);
    opacity: 0.5;
    margin-left: 16px;
    transition: all 0.25s ease;
    border-radius: 1px;
}

.link-button:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(2px, -2px);
    border-color: var(--accent-color);
}

.link-button .icon {
    width: 28px;
    height: 28px;
    margin-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-button .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 枠いっぱいのnoteアイコンやYouTubeアイコンのサイズを微調整 */
.link-button.note .icon img {
    transform: scale(0.75);
}

.link-button.youtube .icon img {
    transform: scale(0.85);
}

.link-button.standfm .icon img {
    transform: scale(1.4);
}

.link-button.line-openchat .icon img {
    transform: scale(0.85);
}

.link-button .label {
    flex-grow: 1;
    text-align: left;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

/* Accent colors on the left for stability */
.facebook {
    border-left-color: #1877f2;
}

.instagram {
    border-left-color: #e4405f;
}

.threads {
    border-left-color: #000000;
}

.line {
    border-left-color: #06c755;
}

.line-openchat {
    border-left-color: #06c755;
}

.x {
    border-left-color: #000000;
}

.note {
    border-left-color: #2cb696;
}

.standfm {
    border-left-color: #000000;
}

.youtube {
    border-left-color: #ff0000;
}

.email {
    border-left-color: #64748b;
}

.chatwork {
    border-left-color: #ff4d4d;
}

footer {
    margin-top: 40px;
}

.footer-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.6;
}

/* Mobile optimizations */
@media (max-width: 480px) {
    body {
        padding: 16px;
    }

    .card-container {
        padding: 40px 20px;
        border-radius: 12px;
    }
}