:root {
    --bg-color: #f0f4f8;
    /* Light blue-grayish white */
    --text-color: #1e293b;
    /* Dark slate */
    --accent-color: #8b5cf6;
    /* Keep violet accent */
    --accent-glow: rgba(139, 92, 246, 0.3);
    --card-bg: rgba(255, 255, 255, 0.85);
    /* White glass */
    --card-border: rgba(255, 255, 255, 0.6);
    --card-hover-bg: rgba(255, 255, 255, 0.95);
    --instagram-color: #E1306C;
    --twitter-color: #000;
    /* X is black on light */
    --patreon-color: #FF424D;
    --pixiv-color: #0096FA;
    --discord-color: #5865F2;
    --booth-color: #fc4d50;
    --substack-color: #FF6719;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', 'Noto Sans JP', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Dynamic Background */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url('./画像/00006-1203549045.png') no-repeat center center fixed;
    background-size: cover;
}

/* Optional Overlay for readability if needed, currently set to very light tint to blend with light theme */
.background-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    /* Slight white tint to keep it bright */
    backdrop-filter: blur(2px);
    /* Slight blur to make text pop more */
}

.container {
    width: 100%;
    max-width: 480px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* Header Container */
.profile-header-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Glass Card Mixin Style */
.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-align: center;
    padding: 2rem;
    width: 100%;
}

.profile-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-align: center;
    padding: 2rem 2rem 1.5rem;
    /* Reduce bottom padding */
}

.description-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-align: center;
    padding: 1.5rem;
}

.profile-image-container {
    width: 96px;
    height: 96px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-color), #3b82f6);
    border-radius: 50%;
    padding: 3px;
    /* Border width */
    box-shadow: 0 0 20px var(--accent-glow);
}

.profile-icon {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: #fff;
    overflow: hidden;
    /* Ensure image doesn't bleed */
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.profile-name {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #1e293b, #475569);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.05em;
}

.profile-bio {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.profile-description {
    color: #475569;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
    /* Removed large margins as card has padding */
    word-wrap: break-word;
}

/* Verified Badge */
.verified-badge {
    color: #3b82f6;
    /* Official Blue */
    font-size: 0.5em;
    /* Scale relative to h1 */
    vertical-align: middle;
    margin-left: 0.3rem;
}

/* Links */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    /* Solid White */
    border: none;
    padding: 1rem 1.2rem;
    border-radius: 50px;
    /* Pill shape standard in link-in-bio */
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.link-card:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Share Button */
.share-button {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease, background 0.2s ease;
    z-index: 100;
}

.share-button:hover {
    transform: scale(1.1);
    background: #ffffff;
}

/* Specific Hover Glows */
/* Specific Hover Glows */
.link-card.instagram:hover {
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.15);
    border-color: rgba(225, 48, 108, 0.4);
    color: var(--instagram-color);
}

.link-card.twitter:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.4);
    color: var(--twitter-color);
}

.link-card.patreon:hover {
    box-shadow: 0 8px 25px rgba(255, 66, 77, 0.15);
    border-color: rgba(255, 66, 77, 0.4);
    color: var(--patreon-color);
}

.link-card.pixiv:hover {
    box-shadow: 0 8px 25px rgba(0, 150, 250, 0.15);
    border-color: rgba(0, 150, 250, 0.4);
    color: var(--pixiv-color);
}

.link-card.discord:hover {
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.15);
    border-color: rgba(88, 101, 242, 0.4);
    color: var(--discord-color);
}

.link-card.booth:hover {
    box-shadow: 0 8px 25px rgba(252, 77, 80, 0.15);
    border-color: rgba(252, 77, 80, 0.4);
    color: var(--booth-color);
}

.link-card.substack:hover {
    box-shadow: 0 8px 25px rgba(255, 103, 25, 0.15);
    border-color: rgba(255, 103, 25, 0.4);
    color: var(--substack-color);
}

.link-icon {
    font-size: 1.5rem;
    width: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
}

.link-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 6px;
}

/* Custom Pixiv Icon Style */
.icon-text {
    font-weight: 900;
    font-family: sans-serif;
}

.link-text {
    flex-grow: 1;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.link-arrow {
    font-size: 0.9rem;
    opacity: 0.5;
    transition: transform 0.3s ease;
}

.link-card:hover .link-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* Footer */
.site-footer {
    margin-top: 1rem;
    color: #64748b;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.2s forwards;
}

.fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.4s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1.5rem;
    }

    .profile-header h1 {
        font-size: 1.5rem;
    }
}