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

:root {
    --background-container: #0D0E10;
    --background-body: radial-gradient(circle at center, #1A1E22, #0D0E10);
    --button-bg: #1A1E22;
    --button-hover: #2b3036;
    --text-primary: #B7A99A;
    --text-secondary: #8C9094;
}

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

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 {
    text-align: center;
    width: 90%;
    max-width: 400px;
    margin: 0 auto;
    padding: 32px 16px 40px;
    background-color: var(--background-container);
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    padding-bottom: 100px;
}

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

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

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

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

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

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

/* main styles */
.links-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 40px;
    width: 100%;
}

.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;
    transition: transform .2s ease, box-shadow .2s ease, background-color .3s;
    font-family: 'Source Code Pro', monospace;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.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 Styles */
.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 Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    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;
    cursor: pointer;
    color: var(--text-secondary);
}
.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: 0.3s;
}
.donate-link:hover {
    background: var(--button-hover);
}

.pix-box {
    margin-top: 1rem;
    background: var(--button-bg);
    padding: 1rem;
    border-radius: 0.5rem;
}
.pix-qr {
    width: 120px;
    margin: 10px 0;
}
.pix-key {
    font-size: 0.9rem;
    font-family: jetbrains-mono, monospace;
    color: var(--text-secondary);
}

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

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

  .description {
    font-size: 18px;
  }

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