@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'JetBrains Mono', monospace;
    background: #fdfdfd;
    color: #1a1a1a;
    padding: 40px 20px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container { 
    max-width: 800px; 
    margin: 0 auto; 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    width: 100%;
}

h1 { font-size: 2.5rem; letter-spacing: -1px; margin-bottom: 10px; }
h3 { font-size: 1.1rem; border-bottom: 2px solid #222; padding-bottom: 5px; margin-bottom: 15px; }

.hero-section { text-align: center; margin-bottom: 40px; }
.role-subtitle { color: #4f4f4f; font-weight: 600; margin-bottom: 30px; }

.input-group {
    display: flex;
    gap: 10px;
    background: #fff;
    padding: 10px;
    border: 2px solid #222;
    border-radius: 6px;
    box-shadow: 4px 4px 0px #222;
}

input[type="text"] {
    flex: 1;
    border: none;
    outline: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    padding: 10px;
}

.link-button {
    cursor: pointer;
    background: #222;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-weight: 700;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.link-button:hover {
    background: #444;
    transform: translateY(-2px);
}

.project-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 6px;
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
}

.thumb-img {
    width: 200px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.download-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.skill-category {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 6px;
}

.format-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-dl {
    display: block;
    text-decoration: none;
    background: #f0f0f0;
    color: #222;
    padding: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid #ddd;
    text-align: center;
    transition: all 0.2s;
}

.btn-dl:hover {
    border-color: #222;
    background: #e0e0e0;
}

.bio {
    border: 1px dashed #222;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}

hr { margin: 40px 0; border: none; border-top: 2px dotted #e0e0e0; }

.social-footer {
    text-align: center;
    margin-top: auto;
    padding-bottom: 20px;
    width: 100%;
}

.social-footer p {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 20px;
}

.social-footer .social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.social-footer .link-button {
    font-size: 0.85rem;
    padding: 8px 16px;
    background: #fff;
    color: #222;
    border: 2px solid #222;
    box-shadow: none;
}

.social-footer .link-button:hover {
    background: #222;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.loading-btn {
    background: #555 !important;
    color: #fff !important;
    cursor: wait;
    animation: pulse 1.5s infinite;
    border-color: transparent !important;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.btn-dl {
    min-width: 140px;
    text-align: center;
    transition: all 0.3s ease;
}

@media (max-width: 600px) {
    .input-group { flex-direction: column; }
    .download-options { grid-template-columns: 1fr; }
    .project-card { flex-direction: column; text-align: center; }
}