/* -------------------- OVERLAY -------------------- */
#updateOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.4s ease;
}

/* -------------------- GLASS CARD -------------------- */
.glass-card {
    background: rgba(15, 15, 15, 0.65);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 18px;
    border: 1px solid rgba(250, 204, 21, 0.25);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.7),
        inset 0 0 0 1px rgba(255,255,255,0.03);
    position: relative;
}

/* Glow layer */
.update-popup::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        180deg,
        rgba(250, 204, 21, 0.12),
        transparent 40%
    );
    pointer-events: none;
}

/* -------------------- POPUP -------------------- */
.update-popup {
    width: 90%;
    max-width: 450px;
    padding: 40px;
    text-align: center;
}

.update-popup h2 {
    color: #FACC15;
    margin-bottom: 10px;
    font-size: 1.9rem;
    letter-spacing: 0.5px;
}

.update-popup p {
    color: #cfcfcf;
    margin-bottom: 28px;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* -------------------- FORM -------------------- */
.form-group {
    margin-bottom: 16px;
}

.form-group input {
    width: 100%;
    padding: 13px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.25s ease;
}

.form-group input:focus {
    border-color: #FACC15;
    background: rgba(255, 255, 255, 0.08);
}

/* -------------------- BUTTON -------------------- */
.signup-btn {
    width: 100%;
    padding: 14px;
    background: #FACC15;
    color: #000;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.signup-btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(250, 204, 21, 0.35);
}

/* -------------------- SUCCESS STATE -------------------- */
.success-state {
    display: none;
    animation: scaleIn 0.4s ease;
}

.success-icon {
    font-size: 64px;
    color: #FACC15;
    margin-bottom: 18px;
}

/* -------------------- ANIMATIONS -------------------- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* -------------------- CLOSE BUTTON -------------------- */
.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    line-height: 1;
}

.close-modal:hover {
    color: #FACC15; /* Matches your gold theme */
    transform: scale(1.1);
}

/* Ensure the glass-card is relative so the button anchors to it */
.glass-card {
    position: relative; 
}