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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f8f6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    max-width: 600px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(74, 74, 72, 0.1);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.profile-header {
    background: #4a4a48;
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.profile-icon {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
}

.handle {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #a8a8a0, #b8b8b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.name {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
}

.profile-main {
    padding: 40px 30px;
}

.social-links h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
    color: #4a4a48;
}

.links-grid {
    display: grid;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: white;
    border: 2px solid transparent;
    border-radius: 12px;
    text-decoration: none;
    color: #4a4a48;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(74, 74, 72, 0.08);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(74, 74, 72, 0.15);
}

.social-link.twitter:hover {
    border-color: #a8a8a0;
    background: linear-gradient(135deg, #a8a8a0, #b8b8b0);
    color: white;
}

.social-link.github:hover {
    border-color: #a8a8a0;
    background: linear-gradient(135deg, #a8a8a0, #b8b8b0);
    color: white;
}

.social-link.qiita:hover {
    border-color: #a8a8a0;
    background: linear-gradient(135deg, #a8a8a0, #b8b8b0);
    color: white;
}

.social-link.note:hover {
    border-color: #a8a8a0;
    background: linear-gradient(135deg, #a8a8a0, #b8b8b0);
    color: white;
}

.social-link.linkedin:hover {
    border-color: #a8a8a0;
    background: linear-gradient(135deg, #a8a8a0, #b8b8b0);
    color: white;
}

.icon {
    font-size: 1.5rem;
    margin-right: 15px;
    min-width: 30px;
}

.platform {
    font-weight: 500;
    font-size: 1.1rem;
}

.profile-footer {
    background: #f8f8f6;
    padding: 20px 30px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .container {
        border-radius: 15px;
    }
    
    .profile-header {
        padding: 30px 20px;
    }
    
    .handle {
        font-size: 2rem;
    }
    
    .name {
        font-size: 1rem;
    }
    
    .profile-main {
        padding: 30px 20px;
    }
    
    .social-link {
        padding: 12px 15px;
    }
    
    .icon {
        font-size: 1.2rem;
        margin-right: 12px;
        min-width: 25px;
    }
    
    .platform {
        font-size: 1rem;
    }
}
