/* ===========================
   LOAD AMERICAN UNCIAL FONT
   =========================== */
@font-face {
    font-family: 'American Uncial';
    src: url('fonts/AmericanUncial.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* ===========================
   HIDE POPUP BY DEFAULT
   =========================== */
.mavii-hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* ===========================
   FORM WRAPPER (Glass Effect)
   =========================== */
.mavii-box {
    width: 100%;
    max-width: 420px;
    margin: 70px auto;
    padding: 32px;

    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}


.mavii-box {
    animation: appear 0.35s ease-out;
}

@keyframes appear {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===========================
   TITLE (American Uncial)
   =========================== */
.mavii-title {
    font-family: 'American Uncial', serif !important;
    color: #ffffff !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    letter-spacing: 1px;
    text-align: center !important;
    margin-bottom: 22px !important;
    white-space: nowrap !important;
}

/* ===========================
   INPUT FIELDS
   =========================== */
.mavii-box input,
.mavii-box textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 14px;

    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 10px;
    color: #ffffff;
}

.mavii-box input::placeholder,
.mavii-box textarea::placeholder {
    color: #cccccc;
}

/* ===========================
   MAIN BUTTON (BLACK + WHITE)
   =========================== */
.mavii-btn {
    width: 100%;
    padding: 14px;

    background: #000 !important;
    color: #fff !important;

    border: 1px solid #333 !important;
    border-radius: 10px;

    font-size: 15px;
    font-weight: 600;
    cursor: pointer;

    transition: 0.25s ease;
}

.mavii-btn:hover {
    background: #222 !important;
}

/* ===========================
   POPUP OVERLAY BACKDROP
   =========================== */
#mavii-popup {
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,0.45);

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;
    z-index: 999999;
}

/* ===========================
   POPUP BOX
   =========================== */
.mavii-popup-box {
    background: #ffffff;
    width: 100%;
    max-width: 380px;
    padding: 28px;

    border-radius: 14px;
    text-align: center;

    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    position: relative;

    animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
}

/* ===========================
   POPUP CLOSE BUTTON
   =========================== */
.mavii-popup-close {
    position: absolute;
    top: 8px;
    right: 8px;

    width: 26px;
    height: 26px;

    background: #000 !important;
    color: #fff !important;

    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 16px;
    cursor: pointer;
}

/* ===========================
   POPUP TEXT
   =========================== */
.mavii-popup-box h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
}

.mavii-popup-box p {
    font-size: 15px;
    color: #444;
    margin-bottom: 6px;
}

/* ===========================
   INSTAGRAM BUTTON
   =========================== */
.mavii-insta-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 12px 20px;

    background: #000 !important;
    color: #fff !important;

    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;

    transition: 0.25s ease;
}

.mavii-insta-btn:hover {
    background: #222 !important;
}
