/* profile.css */
:root {
    --bg-color: #ffffff;
    --text-color: #111111;
    --accent-color: #333333;
    --link-color: #555555;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 480px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.symbol-wrapper {
    margin-bottom: 20px;
}

.odori-bishi {
    width: 280px;
    height: auto;
    display: block;
}

.profile-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.name {
    font-size: 32px;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
}

.title {
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    color: var(--accent-color);
}

.company {
    font-size: 14px;
    font-weight: 300;
    margin: 0;
    color: var(--link-color);
}

.tagline {
    font-size: 15px;
    font-weight: 300;
    margin: 20px 0 0 0;
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.social-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 20px;
    border: 1px solid var(--text-color);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.social-links a:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

.manifesto {
    margin-top: 64px;
    font-size: 13px;
    color: #aaa;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.activities-link {
    margin-top: 24px;
}

.activities-trigger {
    background: transparent;
    border: 1px solid #666;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    padding: 6px 16px;
    transition: all 0.2s ease;
    font-family: inherit;
    border-radius: 4px;
}

.activities-trigger:hover {
    background: #666;
    color: var(--bg-color);
    border-color: #666;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    animation: fadeIn 0.2s ease;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--bg-color);
    padding: 48px 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-width: 540px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-color);
}

.modal-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 32px 0;
    text-align: center;
    color: var(--text-color);
}

.modal-section {
    margin-bottom: 36px;
}

.modal-section:last-child {
    margin-bottom: 0;
}

.modal-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: var(--accent-color);
}

.modal-section p {
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 12px 0;
    color: var(--link-color);
}

.modal-section p:last-child {
    margin-bottom: 0;
}

.modal-section a {
    color: #0066cc;
    text-decoration: underline;
    text-decoration-color: rgba(0, 102, 204, 0.4);
    text-underline-offset: 2px;
    transition: all 0.2s ease;
}

.modal-section a:hover {
    color: #0052a3;
    text-decoration-color: #0052a3;
}

.footer {
    margin-top: 8px;
    font-size: 12px;
    color: #999;
    font-family: monospace;
    text-align: center;
}

.footer-site-links {
    margin-bottom: 4px;
}

.footer-site-links a {
    color: #888;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-site-links a:hover {
    color: #555;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .odori-bishi {
        width: 180px;
    }
    
    .container {
        gap: 20px;
    }
    
    .name {
        font-size: 28px;
    }
    
    .title {
        font-size: 15px;
    }
    
    .company {
        font-size: 13px;
    }
    
    .tagline {
        font-size: 14px;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-links a {
        font-size: 13px;
        padding: 7px 16px;
    }
    
    .activities-link {
        margin-top: 20px;
    }

    .activities-trigger {
        font-size: 12px;
    }
    
    .modal-content {
        padding: 40px 32px;
        width: 92%;
        max-height: 85vh;
    }

    .modal-close {
        top: 16px;
        right: 16px;
        font-size: 28px;
    }

    .modal-title {
        font-size: 20px;
        margin-bottom: 28px;
    }

    .modal-section {
        margin-bottom: 32px;
    }

    .modal-section h3 {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .modal-section p {
        font-size: 13px;
        line-height: 1.75;
        margin-bottom: 10px;
    }
    
    .footer {
        margin-top: 6px;
    }
}
