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

/* Variables */
:root {
    --background-container: #0D0E10;
    --background-body: radial-gradient(circle at center, #1A1E22 0%, #0D0E10 75%);
    --button-bg: #1A1E22;
    --button-hover: #4A545E;
    --text-primary: #E3DDD5;
    --text-secondary: #AAB0B6;
}

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

/* Base */
body {
    background: var(--background-body);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding-top: 40px;
    overflow-x: hidden;
}

/* Container */
.container {
    text-align: center;
    width: 90%;
    max-width: 400px;
    margin: 0 auto;
    padding: 32px 16px 100px;
    background-color: var(--background-container);
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Header */
.profile-picture {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.name {
    font-size: 32px;
    font-weight: bold;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
}

.username {
    font-size: 14px;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 10px;
    opacity: 0.7;
}

.social-links {
    display: flex;
    justify-content: center;
    margin: 12px 0;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    color: var(--text-primary);
    transition: color 0.3s ease, transform 0.2s ease;
}

.social-links a:hover {
    transform: scale(1.15);
}

.social-links svg {
    width: 27px;
    height: 27px;
}

.social-links svg.icon-linkedin {
    width: 31px;
    height: 31px;
}

/* Links */
.links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 400px;
}

.link {
    background-color: var(--button-bg);
    color: var(--text-primary);
    text-decoration: none;
    padding: 20px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    font-family: 'Source Code Pro', monospace;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease;
}

.link:hover {
    background-color: var(--button-hover);
    transform: scale(1.05) translateY(2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.link:focus {
    outline: 2px solid var(--text-primary);
    outline-offset: 4px;
}

.links::after {
    content: "";
    display: block;
    height: 10vh;
}

/* Footer */
.footer-links {
    margin-top: 40px;
    font-size: 10px;
    font-family: 'JetBrains Mono', monospace;
    opacity: 0.8;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-primary);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-links span {
    color: var(--text-primary);
    opacity: 0.6;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    background: var(--background-container);
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 400px;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-secondary);
    background: none;
    border: none;
}

.close:hover {
    color: #ffffff;
}

.donate-options {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.donate-link {
    display: block;
    padding: 10px;
    border-radius: 0.5rem;
    background: var(--button-bg);
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'Source Code Pro', monospace;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.donate-link:hover {
    background: var(--button-hover);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}

/* Responsive */
@media (min-width: 600px) {
    .name {
        font-size: 36px;
    }

    .link {
        font-size: 22px;
        padding: 24px;
    }
}