@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Snowburst+One&family=IM+Fell+English:ital@0;1&display=swap');

/* ── Subscribe Button (Glitch Style) ── */
.mm-subscribe-btn,
.mm-subscribe-btn::after {
    padding: 14px 50px;
    font-size: 20px;
    border: none;
    border-radius: 0px;
    color: #000;
    font-weight: 600;
    background-color: transparent;
    cursor: pointer;
    position: relative;
    border: 1px solid #95001B;
    font-family: "Snowburst One", system-ui !important;
    background-color: #95001B;
}

.mm-subscribe-btn::after {
    --move1: inset(50% 50% 50% 50%);
    --move2: inset(31% 0 40% 0);
    --move3: inset(39% 0 15% 0);
    --move4: inset(45% 0 40% 0);
    --move5: inset(45% 0 6% 0);
    --move6: inset(14% 0 61% 0);
    clip-path: var(--move1);
    content: 'Subscribe Now';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    font-family: "Snowburst One", system-ui !important;
    display: block;
}

.mm-subscribe-btn:hover::after {
    animation: mm_glitch 1s;
    animation-timing-function: steps(2, end);
    text-shadow: -3px -3px 0px #fff, 3px 3px 0px #95001B;
    background-color: transparent;
    border: 3px solid rgb(0, 255, 213);
}

.mm-subscribe-btn:hover {
    text-shadow: -1px -1px 0px #1DF2F0, 1px 1px 0px #95001B;
    background-color: transparent;
    border: 1px solid rgb(0, 255, 213);
    box-shadow: 0px 10px 10px -10px rgb(0, 255, 213);
}

@keyframes mm_glitch {
    0%   { clip-path: var(--move1); transform: translate(0px,-10px); }
    10%  { clip-path: var(--move2); transform: translate(-10px,10px); }
    20%  { clip-path: var(--move3); transform: translate(10px,0px); }
    30%  { clip-path: var(--move4); transform: translate(-10px,10px); }
    40%  { clip-path: var(--move5); transform: translate(10px,-10px); }
    50%  { clip-path: var(--move6); transform: translate(-10px,10px); }
    60%  { clip-path: var(--move1); transform: translate(10px,-10px); }
    70%  { clip-path: var(--move3); transform: translate(-10px,10px); }
    80%  { clip-path: var(--move2); transform: translate(10px,-10px); }
    90%  { clip-path: var(--move4); transform: translate(-10px,10px); }
    100% { clip-path: var(--move1); transform: translate(0); }
}

/* ── Popup Overlay ── */
.mm-popup-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.88);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
}

/* ── Popup Box ── */
.mm-popup-box {
    position: relative;
    width: 520px;
    max-width: 92%;
    background: #0d0000;
    border: 1px solid #95001B;
    border-top: 3px solid #95001B;
    padding: 50px 44px 44px;
    box-shadow:
        0 0 0 1px rgba(149,0,27,0.15),
        0 0 60px rgba(149,0,27,0.25),
        inset 0 0 80px rgba(0,0,0,0.6);
    animation: mm_popIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* corner accents */
.mm-popup-box::before,
.mm-popup-box::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-color: #95001B;
    border-style: solid;
}
.mm-popup-box::before {
    bottom: 16px;
    left: 16px;
    border-width: 0 0 1px 1px;
}
.mm-popup-box::after {
    bottom: 16px;
    right: 16px;
    border-width: 0 1px 1px 0;
}

@keyframes mm_popIn {
    from { opacity: 0; transform: translateY(18px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Popup Header ── */
.mm-popup-header {
    text-align: center;
    margin-bottom: 32px;
}

.mm-popup-eyebrow {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 10px;
    letter-spacing: 0.3em;
    color: #95001B;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.mm-popup-title {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
    line-height: 1.3;
    margin: 0 0 10px;
}

.mm-popup-subtitle {
    font-family: 'IM Fell English', serif;
    font-style: italic;
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    margin: 0;
    line-height: 1.6;
}

/* ── Divider ── */
.mm-popup-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}
.mm-popup-divider span {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(149,0,27,0.5), transparent);
}
.mm-popup-divider svg {
    flex-shrink: 0;
    opacity: 0.6;
}

/* ── Close Button ── */
.mm-close-btn {
    width: 34px;
    height: 34px;
    position: fixed;
    top: 24px;
    right: 24px;
    background: rgba(149,0,27,0.15);
    border: 1px solid rgba(149,0,27,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    z-index: 100001;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.mm-close-btn:hover {
    background: rgba(149,0,27,0.5);
    border-color: #95001B;
    color: #fff;
}

/* ── WPForms overrides ── */
.mm-form-wrapper .wpforms-field-label {
    color: rgba(255,255,255,0.6) !important;
    font-size: 11px !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    font-family: 'Cinzel', serif !important;
    margin-bottom: 8px !important;
}

.mm-form-wrapper .wpforms-required-label {
    color: #95001B !important;
}

.mm-form-wrapper input[type="text"],
.mm-form-wrapper input[type="email"] {
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(149,0,27,0.35) !important;
    border-radius: 0 !important;
    height: 48px !important;
    color: #fff !important;
    font-size: 15px !important;
    padding: 0 16px !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    box-shadow: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.mm-form-wrapper input[type="text"]:focus,
.mm-form-wrapper input[type="email"]:focus {
    border-color: #95001B !important;
    box-shadow: 0 0 0 3px rgba(149,0,27,0.15) !important;
    outline: none !important;
    background: rgba(149,0,27,0.05) !important;
}

.mm-form-wrapper input::placeholder {
    color: rgba(255,255,255,0.2) !important;
}

.mm-form-wrapper .wpforms-field {
    margin-bottom: 20px !important;
}

.mm-form-wrapper .wpforms-submit-container {
    display: flex !important;
    justify-content: center !important;
    margin-top: 10px !important;
}

.mm-form-wrapper .wpforms-submit-container button[type="submit"] {
    background: #95001B !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 52px !important;
    height: 50px !important;
    font-family: 'Cinzel', serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background 0.2s, box-shadow 0.2s !important;
    width: auto !important;
    margin-top: 10px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    box-shadow: 0 4px 24px rgba(149,0,27,0.3) !important;
}

.mm-form-wrapper .wpforms-submit-container button[type="submit"]:hover {
    background: #b30020 !important;
    box-shadow: 0 6px 30px rgba(149,0,27,0.5) !important;
}

.mm-form-wrapper .wpforms-error {
    background: rgba(149,0,27,0.15) !important;
    border-left: 2px solid #95001B !important;
    color: #ff8080 !important;
    padding: 6px 12px !important;
    font-size: 13px !important;
    margin-top: 4px !important;
}

#wpforms-84-header-error p {
    background: rgba(149,0,27,0.15);
    padding: 8px 14px;
    color: #ff8080;
    font-size: 13px;
}

.mm-form-wrapper .wpforms-submit-spinner {
    display: none;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .mm-popup-box {
        padding: 40px 24px 32px;
    }
    .mm-popup-title {
        font-size: 18px;
    }
}
