body {
    background-color: #110D1D;
    color: #19DE12;
    font-family: 'Courier New', Courier, monospace;
    text-align: center;
    margin: 0;
    padding: 15px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    margin-bottom: 5px;
}

p:first-of-type {
    margin-top: 2px;
}

.profile-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 2px solid #19DE12;
    margin-bottom: 8px;
}

.btn-link {
    display: block;
    background: #110D1D;
    color: #19DE12;
    border: 2px solid #19DE12;
    padding: 15px;
    margin-bottom: 15px;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: 0.3s;
    font-family: inherit; 
}

.btn-link:hover {
    background: #19DE12;
    color: #110D1D;
    box-shadow: 0 0 15px #19DE12;
}

.stats {
    margin-top: 20px;
    font-size: 0.8rem;
    opacity: 0.6;
}
.blink-smooth {
    animation: pulse 1.5s ease-in-out infinite;
}

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

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 13, 29, 0.9);
    z-index: 1000;
    display: flex; /* Always flex layout, opacity handles visibility now */
    justify-content: center;
    align-items: center;
    
    /* Fade  */
    opacity: 0;
    pointer-events: none; 
    transition: opacity 0.3s ease-in-out;
}

/* JS to trigger the fade-in */
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: #110D1D;
    border: 2px solid #0085DD; 
    padding: 30px;
    border-radius: 4px;
    max-width: 400px;
    width: 85%;
    text-align: center;
    position: relative;
    box-shadow: 0 0 15px #0085DD44;
    
    /* Subtle slide up animation when fading in */
    transform: translateY(10px);
    transition: transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out, border-color 0.3s, box-shadow 0.3s;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-content.hover-enabled:hover {
    border-color: #19DE12;
    box-shadow: 0 0 20px rgba(25, 222, 18, 0.3);
    transition: 0.3s;
}

.close-btn {
    position: absolute;
    top: 8px;
    right: 15px;
    font-size: 2rem;
    color: #0085DD;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}

.close-btn:hover {
    color: #19DE12;
}

.modal-content h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-subtitle {
    font-size: 1.1rem;
    color: #0085DD;
    margin-bottom: 25px;
}

.qr-code {
    width: 50%;
    aspect-ratio: 1 / 1; 
    margin: 0 auto 15px;
    border: 2px solid #19DE12; 
    padding: 5px;
    background: #ffffff; 
    border-radius: 4px;
    display: block;
    object-fit: contain;
}

.modal-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-btn {
    display: block;
    background: #110D1D;
    color: #19DE12; 
    border: 2px solid #19DE12; 
    padding: 16px 30px; 
    font-size: 1.1rem;   
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 4px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: 0.3s;
    font-family: inherit;
}

.modal-btn:hover {
    background: #0085DD; 
    color: #110D1D;
    border-color: #0085DD; 
    box-shadow: 0 0 15px #0085DD; 
}

.modal-btn.secondary {
    color: #0085DD; 
    border-color: #0085DD; 
}

.modal-btn.secondary:hover {
    background: #19DE12; 
    color: #110D1D;
    border-color: #19DE12; 
    box-shadow: 0 0 15px #19DE12;
}

.btn-github {
    border-color: #0085DD !important;
    color: #0085DD !important;
    margin-top: 15px;
}

.btn-github:hover {
    background: #0085DD !important;
    color: #110D1D !important;
    box-shadow: 0 0 15px #0085DD !important;
}

.modal-btn {
    display: block;
    background: #110D1D;
    color: #19DE12; 
    border: 2px solid #19DE12; 
    padding: 16px 30px; 
    font-size: 1.1rem;   
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 4px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: 0.3s;
    font-family: inherit;
}

.modal-btn:hover {
    background: #0085DD; 
    color: #110D1D;
    border-color: #0085DD; 
    box-shadow: 0 0 15px #0085DD; 
}

.modal-btn.secondary,
.modal-btn.standby {
    color: #0085DD; 
    border-color: #0085DD; 
}

.modal-btn.secondary:hover,
.modal-btn.standby:hover {
    background: #19DE12; 
    color: #110D1D;
    border-color: #19DE12; 
    box-shadow: 0 0 15px #19DE12;
}

.modal-btn.maybe {
    color: #FFD700;
    border-color: #FFD700;
}

.modal-btn.maybe:hover {
    background: #FFD700;
    color: #110D1D;
    border-color: #FFD700;
    box-shadow: 0 0 15px #FFD700;
}