/* Botón flotante */
.help-btn {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    background-color: #1f1f1f;
    color: #ffffff;
    border: 1px solid #444;
    padding: 0.8rem 1.4rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
}
.help-btn:hover {
    background-color: #2c2c2c;
    transform: translateY(-2px);
}

/* Overlay */
.popup-overlay {
    display: flex;
    position: fixed;
    top:0; left:0;
    width:100%; height:100%;
    justify-content:center;
    align-items:center;
    background: rgba(0,0,0,0.75);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}
.popup-overlay.show {
    visibility: visible;
    opacity: 1;
}

/* Popup */
.popup-content {
    background:#1f1f1f;
    border: 1px solid #333;
    border-radius:12px;
    padding:2rem;
    max-width:380px;
    width:90%;
    text-align:center;
    color:#e0e0e0;
    box-shadow: 0 6px 16px rgba(0,0,0,0.5);
    transform: scale(0.95);
    opacity: 0;
    animation: popupIn 0.2s forwards;
    position: relative;
}

@keyframes popupIn {
    to { transform: scale(1); opacity: 1; }
}

.popup-content h2 {
    margin-top:0;
    margin-bottom:0.5rem;
    color:#fff;
    font-size:1.5rem;
}

.popup-content p {
    margin-bottom:1.5rem;
    font-size:1rem;
    color:#cfcfcf;
}

/* Botón Discord */
.discord-link {
    display:inline-block;
    margin:1rem 0;
    padding:0.8rem 1.4rem;
    background-color:#7289da;
    color:#fff;
    border-radius:6px;
    font-weight:600;
    text-decoration:none;
    transition: background 0.2s, transform 0.2s;
}
.discord-link:hover {
    background-color:#5b6eae;
    transform: translateY(-2px);
}

/* Botón cerrar */
.close-btn {
    position:absolute;
    top:0.6rem;
    right:0.6rem;
    background:transparent;
    border:none;
    color:#aaa;
    font-size:1.2rem;
    cursor:pointer;
    transition: color 0.2s;
}
.close-btn:hover {
    color:#fff;
}