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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

main {
    padding: 40px;
}

.section {
    margin-bottom: 50px;
}

.section h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #667eea;
    border-left: 5px solid #667eea;
    padding-left: 15px;
}

.section-description {
    color: #666;
    margin-bottom: 25px;
    padding-left: 20px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding-left: 20px;
}

.tech-item {
    background: #f8f9ff;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    transition: transform 0.2s, box-shadow 0.2s;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.tech-item h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.tech-item p {
    color: #555;
    font-size: 0.95rem;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    padding-left: 20px;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 24px 16px;
    background: #f8f9ff;
    color: #333;
    text-decoration: none;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.12);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, background 0.2s;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(102, 126, 234, 0.2);
    border-left-color: #5a6ff0;
    background: #f6f7ff;
}

.social-thumb {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1.4rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.social-thumb-x {
    background: linear-gradient(135deg, #111827, #374151);
}

.social-thumb-bsky {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
}

.social-thumb-yt {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.social-title {
    font-weight: 600;
    font-size: 1.05rem;
    color: #333;
}

.social-meta {
    font-size: 0.85rem;
    color: #666;
}

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

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    header {
        padding: 40px 20px;
    }

    header h1 {
        font-size: 2rem;
    }

    main {
        padding: 20px;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    .tech-grid {
        grid-template-columns: 1fr;
        padding-left: 10px;
    }

    .social-links {
        grid-template-columns: 1fr;
        padding-left: 10px;
    }
}