/* ============================================================
   BabysLover Middle Name Generator — Frontend Styles
   Brand: #ff4188 | Font: Nunito + Playfair Display
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

/* ── CSS VARIABLES ────────────────────────────────────────── */
:root {
    --bmng-pink:        #ff4188;
    --bmng-pink-dark:   #e63377;
    --bmng-pink-light:  #ff6ba8;
    --bmng-pink-pale:   #fff0f7;
    --bmng-pink-muted:  #ffe4f0;
    --bmng-purple:      #8b5cf6;
    --bmng-text:        #1e1b2e;
    --bmng-text-muted:  #6b7280;
    --bmng-text-light:  #9ca3af;
    --bmng-white:       #ffffff;
    --bmng-border:      #fce7f3;
    --bmng-shadow:      0 4px 24px rgba(255, 65, 136, 0.12);
    --bmng-shadow-lg:   0 8px 48px rgba(255, 65, 136, 0.18);
    --bmng-radius:      16px;
    --bmng-radius-sm:   10px;
    --bmng-radius-lg:   24px;
    --bmng-font:        'Nunito', sans-serif;
    --bmng-display:     'Playfair Display', serif;
}

/* ── BASE WRAPPER ─────────────────────────────────────────── */
.bmng-wrap {
    font-family: var(--bmng-font);
    color: var(--bmng-text);
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px 60px;
}

.bmng-wrap * { box-sizing: border-box; }
.bmng-wrap a { color: var(--bmng-pink); text-decoration: none; }
.bmng-wrap a:hover { text-decoration: underline; }

/* ── HERO SECTION ─────────────────────────────────────────── */
.bmng-hero {
    background: linear-gradient(135deg, #ff4188 0%, #ff6ba8 40%, #c084fc 100%);
    border-radius: var(--bmng-radius-lg);
    padding: 48px 40px 56px;
    text-align: center;
    color: white;
    margin-bottom: -24px;
    position: relative;
    overflow: hidden;
}

.bmng-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.bmng-hero-inner { position: relative; z-index: 1; }

.bmng-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    padding: 4px 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    color: #ffffff !important;
}

.bmng-title {
    font-family: var(--bmng-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0,0,0,0.15);
    color: #ffffff !important;
}

.bmng-subtitle {
    font-size: 17px;
    font-weight: 400;
    opacity: 0.92;
    margin: 0 0 24px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.bmng-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 700;
    opacity: 0.9;
}
.bmng-stats span { display: flex; align-items: center; gap: 6px; }

.bmng-hero-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.bmng-hero-deco span {
    position: absolute;
    font-size: 28px;
    opacity: 0.18;
    animation: bmng-float 6s ease-in-out infinite;
}
.bmng-hero-deco span:nth-child(1) { top: 12%; left: 6%;  animation-delay: 0s; }
.bmng-hero-deco span:nth-child(2) { top: 60%; left: 4%;  animation-delay: 1s; }
.bmng-hero-deco span:nth-child(3) { top: 20%; right: 8%; animation-delay: 2s; }
.bmng-hero-deco span:nth-child(4) { top: 70%; right: 5%; animation-delay: 1.5s; }
.bmng-hero-deco span:nth-child(5) { top: 45%; right: 12%;animation-delay: 0.5s; }

@keyframes bmng-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%       { transform: translateY(-10px) rotate(10deg); }
}

/* ── CARD ─────────────────────────────────────────────────── */
.bmng-card {
    background: var(--bmng-white);
    border-radius: var(--bmng-radius-lg);
    box-shadow: var(--bmng-shadow-lg);
    border: 1px solid var(--bmng-border);
    padding: 40px;
    position: relative;
    z-index: 2;
}

/* ── FORM SECTIONS ────────────────────────────────────────── */
.bmng-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 2px dashed var(--bmng-border);
}
.bmng-section:last-of-type { border-bottom: none; margin-bottom: 0; }

.bmng-section-title {
    font-family: var(--bmng-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--bmng-text);
    margin: 0 0 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.bmng-step {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--bmng-pink), var(--bmng-pink-light));
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.bmng-opt { font-size: 14px; font-weight: 400; color: var(--bmng-text-muted); font-style: italic; }

/* ── FORM ROWS & FIELDS ───────────────────────────────────── */
.bmng-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.bmng-row:last-child { margin-bottom: 0; }
.bmng-field-lg { grid-column: span 1; }

@media (max-width: 600px) {
    .bmng-row { grid-template-columns: 1fr; }
}

.bmng-field { display: flex; flex-direction: column; gap: 8px; }

.bmng-field label {
    font-size: 14px;
    font-weight: 700;
    color: var(--bmng-text);
    letter-spacing: 0.3px;
}
.bmng-field label em { font-weight: 400; color: var(--bmng-text-muted); font-style: italic; }
.bmng-req { color: var(--bmng-pink); }

.bmng-field input[type="text"],
.bmng-field select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--bmng-border);
    border-radius: var(--bmng-radius-sm);
    font-family: var(--bmng-font);
    font-size: 15px;
    font-weight: 600;
    color: var(--bmng-text);
    background: var(--bmng-pink-pale);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}
.bmng-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ff4188' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}
.bmng-field input:focus,
.bmng-field select:focus {
    border-color: var(--bmng-pink);
    background: white;
    box-shadow: 0 0 0 4px rgba(255,65,136,0.12);
}

.bmng-field-hint {
    font-size: 12px;
    color: var(--bmng-text-muted);
    margin-top: -4px;
}

/* ── GENDER BUTTONS ───────────────────────────────────────── */
.bmng-gender-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.bmng-gender-btn {
    flex: 1;
    min-width: 80px;
    cursor: pointer;
}
.bmng-gender-btn input { display: none; }
.bmng-gender-btn span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 10px;
    border: 2px solid var(--bmng-border);
    border-radius: var(--bmng-radius-sm);
    font-size: 14px;
    font-weight: 700;
    color: var(--bmng-text-muted);
    background: var(--bmng-pink-pale);
    transition: all 0.2s;
    cursor: pointer;
    white-space: nowrap;
}
.bmng-gender-btn input:checked + span {
    border-color: var(--bmng-pink);
    background: var(--bmng-pink);
    color: white;
    box-shadow: 0 4px 12px rgba(255,65,136,0.3);
}
.bmng-gender-btn span:hover { border-color: var(--bmng-pink-light); background: var(--bmng-pink-muted); }

/* ── SUBMIT BUTTON ────────────────────────────────────────── */
.bmng-submit-wrap { text-align: center; padding-top: 32px; }

.bmng-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--bmng-font);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
    text-decoration: none;
}
.bmng-btn-primary {
    background: linear-gradient(135deg, var(--bmng-pink), var(--bmng-pink-light));
    color: white;
    box-shadow: 0 6px 20px rgba(255,65,136,0.35);
}
.bmng-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255,65,136,0.45);
    color: white;
    text-decoration: none;
}
.bmng-btn-outline {
    background: white;
    border-color: var(--bmng-pink);
    color: var(--bmng-pink);
}
.bmng-btn-outline:hover {
    background: var(--bmng-pink-pale);
    color: var(--bmng-pink-dark);
    text-decoration: none;
}
.bmng-btn-xl { padding: 18px 40px; font-size: 18px; }
.bmng-btn-lg { padding: 16px 32px; font-size: 16px; }
.bmng-btn-icon { font-size: 20px; }
.bmng-btn-arrow { transition: transform 0.2s; }
.bmng-btn:hover .bmng-btn-arrow { transform: translateX(4px); }

.bmng-privacy {
    margin-top: 16px;
    font-size: 13px;
    color: var(--bmng-text-muted);
}

/* ── HOW IT WORKS ─────────────────────────────────────────── */
.bmng-how-section {
    margin-top: 48px;
    text-align: center;
}
.bmng-how-section h2 {
    font-family: var(--bmng-display);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--bmng-text);
}
.bmng-how-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 700px) { .bmng-how-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .bmng-how-grid { grid-template-columns: 1fr; } }

.bmng-how-step {
    background: white;
    border: 2px solid var(--bmng-border);
    border-radius: var(--bmng-radius);
    padding: 24px 16px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
}
.bmng-how-step:hover {
    box-shadow: var(--bmng-shadow);
    transform: translateY(-3px);
}
.bmng-how-icon { font-size: 32px; margin-bottom: 12px; }
.bmng-how-step h3 { font-size: 15px; font-weight: 800; margin: 0 0 8px; }
.bmng-how-step p  { font-size: 13px; color: var(--bmng-text-muted); margin: 0; line-height: 1.5; }

/* ── CONTENT BLOCK ────────────────────────────────────────── */
.bmng-content-block {
    background: var(--bmng-pink-pale);
    border-radius: var(--bmng-radius);
    padding: 36px 40px;
    margin-top: 40px;
    border: 1px solid var(--bmng-border);
}
.bmng-content-block h2 {
    font-family: var(--bmng-display);
    font-size: 22px;
    margin-top: 0;
    color: var(--bmng-text);
}
.bmng-content-block h3 { font-size: 17px; color: var(--bmng-pink-dark); margin-top: 24px; }
.bmng-content-block p  { color: var(--bmng-text-muted); line-height: 1.7; }
.bmng-content-block ul { color: var(--bmng-text-muted); line-height: 2; padding-left: 0; list-style: none; }
.bmng-content-block li { padding: 4px 0; }

/* ── RESULTS PAGE ─────────────────────────────────────────── */
.bmng-results-hero {
    background: white;
    border: 2px solid var(--bmng-border);
    border-radius: var(--bmng-radius-lg);
    padding: 32px 36px 24px;
    margin-bottom: 28px;
    box-shadow: var(--bmng-shadow);
}

.bmng-breadcrumb {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}
.bmng-breadcrumb a { color: var(--bmng-text-muted); }
.bmng-breadcrumb a:hover { color: var(--bmng-pink); text-decoration: none; }

.bmng-results-title-wrap { margin-bottom: 20px; }
.bmng-results-title {
    font-family: var(--bmng-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin: 0 0 8px;
    line-height: 1.2;
}
.bmng-highlight {
    color: var(--bmng-pink);
    font-style: italic;
}
.bmng-lastname {
    color: var(--bmng-text-muted);
    font-size: 0.75em;
}
.bmng-results-sub {
    font-size: 15px;
    color: var(--bmng-text-muted);
    margin: 0;
}

/* ── QUICK FILTERS ────────────────────────────────────────── */
.bmng-quick-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 2px dashed var(--bmng-border);
}
.bmng-quick-filters select {
    padding: 9px 32px 9px 12px;
    border: 2px solid var(--bmng-border);
    border-radius: 50px;
    font-family: var(--bmng-font);
    font-size: 13px;
    font-weight: 700;
    color: var(--bmng-text);
    background: var(--bmng-pink-pale);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23ff4188' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    appearance: none;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}
.bmng-quick-filters select:focus { border-color: var(--bmng-pink); }

/* ── NAMES GRID ───────────────────────────────────────────── */
.bmng-names-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}
@media (max-width: 750px) { .bmng-names-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .bmng-names-grid { grid-template-columns: 1fr; } }

/* ── NAME CARD ────────────────────────────────────────────── */
.bmng-name-card {
    background: white;
    border: 2px solid var(--bmng-border);
    border-radius: var(--bmng-radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
    animation: bmng-card-in 0.4s ease both;
    animation-delay: var(--anim-delay, 0s);
}
.bmng-name-card:hover {
    box-shadow: var(--bmng-shadow-lg);
    border-color: var(--bmng-pink-light);
    transform: translateY(-4px);
}

@keyframes bmng-card-in {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.bmng-name-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}
.bmng-name-main { display: flex; align-items: center; gap: 10px; }
.bmng-gender-icon { font-size: 22px; flex-shrink: 0; }

.bmng-name {
    font-family: var(--bmng-display);
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: var(--bmng-pink);
    line-height: 1.2;
}
.bmng-fullname {
    font-size: 12px;
    color: var(--bmng-text-muted);
    margin: 2px 0 0;
    font-weight: 600;
}

.bmng-copy-btn {
    background: var(--bmng-pink-pale);
    border: none;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
    flex-shrink: 0;
}
.bmng-copy-btn:hover { background: var(--bmng-pink-muted); }
.bmng-copy-btn.copied { background: #d1fae5; }

/* ── META BADGES ──────────────────────────────────────────── */
.bmng-name-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.bmng-meta-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.bmng-origin-badge  { background: #ede9fe; color: #7c3aed; }
.bmng-pop-badge     { background: #fce7f3; color: var(--bmng-pink); }
.bmng-style-badge   { background: #f0fdf4; color: #16a34a; }

/* ── MEANING ──────────────────────────────────────────────── */
.bmng-meaning {
    font-size: 13px;
    color: var(--bmng-text-muted);
    line-height: 1.5;
    margin: 0;
}
.bmng-meaning-label { font-weight: 700; color: var(--bmng-text); }

/* ── POPULARITY BAR ───────────────────────────────────────── */
.bmng-popularity-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}
.bmng-pop-text { font-size: 11px; font-weight: 700; color: var(--bmng-text-muted); white-space: nowrap; }
.bmng-bar-track {
    flex: 1;
    height: 6px;
    background: var(--bmng-border);
    border-radius: 3px;
    overflow: hidden;
}
.bmng-bar-fill {
    height: 100%;
    width: var(--pop, 50%);
    background: linear-gradient(90deg, var(--bmng-pink), var(--bmng-purple));
    border-radius: 3px;
    transition: width 1s ease;
}
.bmng-pop-pct { font-size: 11px; font-weight: 800; color: var(--bmng-pink); white-space: nowrap; }

/* ── SHARE BUTTONS ────────────────────────────────────────── */
.bmng-share-row {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-top: 10px;
    border-top: 1px solid var(--bmng-border);
    flex-wrap: wrap;
}
.bmng-share-label { font-size: 11px; font-weight: 700; color: var(--bmng-text-muted); }
.bmng-share-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
}
.bmng-share-btn:hover { transform: scale(1.18); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }

/* Icon spans — all 16x16 centred */
.bmng-share-btn span[class^="bmng-icon-"] {
    display: block;
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}
.screen-reader-text {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden; clip: rect(0,0,0,0);
}

/* Pinterest — red #e60023 */
.bmng-pinterest { background: #e60023; }
.bmng-icon-pinterest {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 0C5.373 0 0 5.373 0 12c0 5.084 3.163 9.426 7.627 11.174-.105-.949-.2-2.405.042-3.441.218-.937 1.407-5.965 1.407-5.965s-.359-.719-.359-1.782c0-1.668.967-2.914 2.171-2.914 1.023 0 1.518.769 1.518 1.69 0 1.029-.655 2.568-.994 3.995-.283 1.194.599 2.169 1.777 2.169 2.133 0 3.772-2.249 3.772-5.495 0-2.873-2.064-4.882-5.012-4.882-3.414 0-5.418 2.561-5.418 5.207 0 1.031.397 2.138.893 2.738a.36.36 0 0 1 .083.345l-.333 1.36c-.053.22-.174.267-.402.161-1.499-.698-2.436-2.889-2.436-4.649 0-3.785 2.75-7.262 7.929-7.262 4.163 0 7.398 2.967 7.398 6.931 0 4.136-2.607 7.464-6.227 7.464-1.216 0-2.359-.632-2.75-1.378l-.748 2.853c-.271 1.043-1.002 2.35-1.492 3.146C9.57 23.812 10.763 24 12 24c6.627 0 12-5.373 12-12S18.627 0 12 0z'/%3E%3C/svg%3E");
}

/* WhatsApp — green #25d366 */
.bmng-whatsapp { background: #25d366; }
.bmng-icon-whatsapp {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 0 1-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 0 1 2.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0 0 12.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 0 0 5.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 0 0-3.48-8.413Z'/%3E%3C/svg%3E");
}

/* Facebook — blue #1877f2 */
.bmng-facebook { background: #1877f2; }
.bmng-icon-facebook {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E");
}

/* X / Twitter — black */
.bmng-twitter { background: #000000; }
.bmng-icon-twitter {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-4.714-6.231-5.401 6.231H2.747l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E");
}

/* Instagram — gradient via pseudo-element */
.bmng-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.bmng-icon-instagram {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z'/%3E%3C/svg%3E");
}

/* ── RESULTS ACTIONS ──────────────────────────────────────── */
.bmng-results-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 12px 0 40px;
}

/* ── NO RESULTS ───────────────────────────────────────────── */
.bmng-no-results {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: var(--bmng-radius-lg);
    border: 2px dashed var(--bmng-border);
}
.bmng-no-results-icon { font-size: 48px; margin-bottom: 16px; }
.bmng-no-results h2   { font-family: var(--bmng-display); }

/* ── RELATED POSTS ────────────────────────────────────────── */
.bmng-related-posts {
    background: var(--bmng-pink-pale);
    border-radius: var(--bmng-radius-lg);
    padding: 36px;
    margin-bottom: 32px;
    border: 1px solid var(--bmng-border);
}
.bmng-related-title {
    font-family: var(--bmng-display);
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.bmng-related-sub {
    font-size: 14px;
    font-weight: 400;
    color: var(--bmng-text-muted);
    font-family: var(--bmng-font);
}
.bmng-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
@media (max-width: 700px) { .bmng-related-grid { grid-template-columns: 1fr; } }

.bmng-related-card {
    background: white;
    border-radius: var(--bmng-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--bmng-border);
    transition: box-shadow 0.2s, transform 0.2s;
    text-decoration: none;
    color: var(--bmng-text);
}
.bmng-related-card:hover {
    box-shadow: var(--bmng-shadow);
    transform: translateY(-3px);
    text-decoration: none;
    color: var(--bmng-text);
}
.bmng-related-img {
    height: 120px;
    background-size: cover;
    background-position: center;
}
.bmng-related-img-placeholder {
    background: var(--bmng-pink-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}
.bmng-related-info { padding: 16px; flex: 1; }
.bmng-related-info h3 { font-size: 14px; font-weight: 800; margin: 0 0 6px; line-height: 1.4; }
.bmng-related-info p  { font-size: 12px; color: var(--bmng-text-muted); margin: 0 0 8px; }
.bmng-read-more { font-size: 12px; font-weight: 800; color: var(--bmng-pink); }

/* ── TOAST NOTIFICATION ───────────────────────────────────── */
#bmng-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--bmng-text);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    z-index: 9999;
    transition: transform 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
#bmng-toast.show { transform: translateX(-50%) translateY(0); }

/* ============================================================
   CTA WIDGET — Blog Post Inject & Shortcode
   ============================================================ */

.bmng-cta-box {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin: 36px 0;
    padding: 0;
    font-family: var(--bmng-font);
}

/* TOP: subtle entry banner */
.bmng-cta-top {
    background: linear-gradient(135deg, #fff0f7 0%, #fce7f3 100%);
    border: 2px solid var(--bmng-pink-muted);
    border-left: 6px solid var(--bmng-pink);
}

/* BOTTOM: bold full-gradient CTA */
.bmng-cta-bottom {
    background: linear-gradient(135deg, #ff4188 0%, #ff6ba8 50%, #c084fc 100%);
    border: none;
    box-shadow: 0 8px 40px rgba(255, 65, 136, 0.30);
}

/* MID: card style */
.bmng-cta-mid {
    background: white;
    border: 2px solid var(--bmng-border);
    box-shadow: 0 4px 20px rgba(255, 65, 136, 0.10);
}

/* ── Deco floating emojis ─────────────────────────────────── */
.bmng-cta-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.bmng-cta-deco span {
    position: absolute;
    font-size: 30px;
    opacity: 0.12;
    animation: bmng-float 7s ease-in-out infinite;
}
.bmng-cta-deco span:nth-child(1) { top: 10%; left:  4%; animation-delay: 0s;   }
.bmng-cta-deco span:nth-child(2) { top: 60%; right: 6%; animation-delay: 1.5s; }
.bmng-cta-deco span:nth-child(3) { top: 30%; right: 3%; animation-delay: 3s;   }
.bmng-cta-top    .bmng-cta-deco span,
.bmng-cta-mid    .bmng-cta-deco span { opacity: 0.07; }
.bmng-cta-bottom .bmng-cta-deco span { opacity: 0.18; }

/* ── Inner layout ─────────────────────────────────────────── */
.bmng-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 28px 32px;
}
@media (max-width: 560px) {
    .bmng-cta-inner { flex-direction: column; gap: 12px; padding: 22px 20px; }
}

/* ── Icon ─────────────────────────────────────────────────── */
.bmng-cta-icon {
    font-size: 42px;
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(255,65,136,.25));
}

/* ── Content ──────────────────────────────────────────────── */
.bmng-cta-content { flex: 1; }

.bmng-cta-title {
    font-family: var(--bmng-display) !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    margin: 0 0 8px !important;
    line-height: 1.3 !important;
}
.bmng-cta-bottom .bmng-cta-title { color: #ffffff !important; }
.bmng-cta-top    .bmng-cta-title,
.bmng-cta-mid    .bmng-cta-title { color: var(--bmng-text) !important; }

.bmng-cta-title em {
    color: var(--bmng-pink);
    font-style: normal;
}
.bmng-cta-bottom .bmng-cta-title em { color: #ffe4f0; }

.bmng-cta-desc {
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin: 0 0 18px !important;
}
.bmng-cta-bottom .bmng-cta-desc { color: rgba(255,255,255,0.88) !important; }
.bmng-cta-top    .bmng-cta-desc,
.bmng-cta-mid    .bmng-cta-desc { color: var(--bmng-text-muted) !important; }

/* ── Actions ──────────────────────────────────────────────── */
.bmng-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.bmng-cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 50px;
    font-family: var(--bmng-font);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none !important;
    transition: all 0.22s;
    cursor: pointer;
    border: none;
    line-height: 1;
}
.bmng-cta-arrow { transition: transform 0.2s; }
.bmng-cta-btn-primary:hover .bmng-cta-arrow { transform: translateX(4px); }

/* Bottom variant → white solid button */
.bmng-cta-bottom .bmng-cta-btn-primary {
    background: #ffffff;
    color: var(--bmng-pink) !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.bmng-cta-bottom .bmng-cta-btn-primary:hover {
    background: #fff0f7;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.20);
    color: var(--bmng-pink-dark) !important;
}

/* Top / Mid variant → pink gradient button */
.bmng-cta-top    .bmng-cta-btn-primary,
.bmng-cta-mid    .bmng-cta-btn-primary,
.bmng-cta-inline .bmng-cta-btn-primary {
    background: linear-gradient(135deg, var(--bmng-pink), var(--bmng-pink-light));
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(255,65,136,0.35);
}
.bmng-cta-top .bmng-cta-btn-primary:hover,
.bmng-cta-mid .bmng-cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(255,65,136,0.45);
}

/* ── Quick gender chips ───────────────────────────────────── */
.bmng-cta-quick { display: flex; gap: 8px; flex-wrap: wrap; }

.bmng-cta-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s;
    border: 2px solid transparent;
    line-height: 1;
}
.bmng-cta-bottom .bmng-cta-chip {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.35);
    color: #ffffff !important;
}
.bmng-cta-bottom .bmng-cta-chip:hover {
    background: rgba(255,255,255,0.30);
    text-decoration: none !important;
}
.bmng-cta-top    .bmng-cta-chip,
.bmng-cta-mid    .bmng-cta-chip,
.bmng-cta-inline .bmng-cta-chip {
    background: var(--bmng-pink-pale);
    border-color: var(--bmng-border);
    color: var(--bmng-pink) !important;
}
.bmng-cta-top .bmng-cta-chip:hover,
.bmng-cta-mid .bmng-cta-chip:hover {
    background: var(--bmng-pink-muted);
    border-color: var(--bmng-pink-light);
    text-decoration: none !important;
}

/* ── Note ─────────────────────────────────────────────────── */
.bmng-cta-note {
    font-size: 11.5px !important;
    margin: 12px 0 0 !important;
    font-weight: 600 !important;
}
.bmng-cta-bottom .bmng-cta-note { color: rgba(255,255,255,0.7) !important; }
.bmng-cta-top    .bmng-cta-note,
.bmng-cta-mid    .bmng-cta-note { color: var(--bmng-text-light) !important; }
