/* ==============================================================================
   AI MAESTRO HUB — ADULT AI MIDNIGHT NEON GLASSMORPHISM THEME ENGINE
   Inspired by the high-converting Swipe & Match Portal (/adult-ai/swipe/)
   Colors: Midnight (#0b0f19), Neon Pink (#ec4899), Electric Violet (#8b5cf6)
   ============================================================================== */

:root {
    --adult-bg: #0b0f19;
    --adult-card-bg: #111a2e;
    --adult-card-bg-elevated: #1e293b;
    --adult-card-border: rgba(236, 72, 153, 0.32);
    --adult-card-border-hover: rgba(236, 72, 153, 0.65);
    --adult-primary-gradient: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    --adult-primary-hover: linear-gradient(135deg, #f43f5e 0%, #a855f7 100%);
    --adult-glow-pink: rgba(236, 72, 153, 0.35);
    --adult-glow-violet: rgba(139, 92, 246, 0.3);
    --adult-text-gradient: linear-gradient(90deg, #ffffff 0%, #f9a8d4 55%, #c4b5fd 100%);
}

/* 🌌 1. Global Ambient Midnight Canvas */
body {
    background-color: #0b0f19 !important;
    background-image: 
        radial-gradient(60% 80% at 20% 0%, rgba(236, 72, 153, 0.22), transparent 70%),
        radial-gradient(60% 80% at 85% 10%, rgba(124, 58, 237, 0.25), transparent 70%),
        radial-gradient(50% 60% at 50% 50%, rgba(236, 72, 153, 0.08), transparent 80%) !important;
    background-attachment: fixed !important;
    color: #f8fafc !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* 🎯 2. Hero Headers & Banners */
header,
.hub-container header,
.superpage-container header {
    background: 
        radial-gradient(60% 80% at 20% 0%, rgba(236, 72, 153, 0.28), transparent 70%),
        radial-gradient(60% 80% at 85% 10%, rgba(124, 58, 237, 0.32), transparent 70%),
        #0b0f19 !important;
    border-bottom: 1px solid rgba(236, 72, 153, 0.35) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), inset 0 -1px 0 rgba(236, 72, 153, 0.3) !important;
    position: relative !important;
}

/* ✨ 3. Metallic Pink-to-Violet Gradient Typography */
header h1,
.hub-container header h1,
.superpage-container header h1,
h1.sw-h1 {
    background: linear-gradient(90deg, #ffffff 0%, #f9a8d4 55%, #c4b5fd 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    font-weight: 900 !important;
    letter-spacing: -0.02em !important;
    text-shadow: 0 0 35px rgba(236, 72, 153, 0.25) !important;
}

h2, h3 {
    color: #ffffff !important;
    font-weight: 900 !important;
    letter-spacing: -0.01em !important;
}

/* 💖 4. High-Conversion Pink-Violet Gradient CTA Buttons */
a.btn,
.btn-primary,
button.btn-primary,
a[href*="/go/"]:not(.nav-drop-card):not(.nav-btn-pill):not(.nav-back-btn),
.sw-redeem,
.sw-cta,
.swipe-discovery-callout a,
.swipe-review-callout a {
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%) !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    border-radius: 12px !important;
    border: none !important;
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.38) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

a.btn:hover,
.btn-primary:hover,
button.btn-primary:hover,
a[href*="/go/"]:not(.nav-drop-card):not(.nav-btn-pill):not(.nav-back-btn):hover,
.sw-redeem:hover,
.sw-cta:hover,
.swipe-discovery-callout a:hover,
.swipe-review-callout a:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 28px rgba(236, 72, 153, 0.55), 0 0 18px rgba(139, 92, 246, 0.35) !important;
    color: #ffffff !important;
}

/* Secondary Action / In-Depth Review Buttons */
a.btn-outline,
a.btn-secondary,
a[href*="/reviews/"]:not(.nav-drop-card) {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    color: #cbd5e1 !important;
    border-radius: 10px !important;
    font-weight: 750 !important;
    transition: all 0.2s ease !important;
}

a.btn-outline:hover,
a.btn-secondary:hover,
a[href*="/reviews/"]:not(.nav-drop-card):hover {
    background: rgba(236, 72, 153, 0.15) !important;
    border-color: rgba(236, 72, 153, 0.45) !important;
    color: #ffffff !important;
}

/* 🏆 5. Winner Spotlight Cards & Discovery Boxes */
.superpage-container > div:first-of-type,
.swipe-discovery-callout,
.swipe-review-callout,
.mid-smartlink-banner,
div[style*="border: 2px solid #f59e0b"],
div[style*="border:2px solid #f59e0b"],
div[style*="border: 2px solid rgb(245, 158, 11)"],
div[style*="border:2px solid rgb(245, 158, 11)"],
.top-winner-spotlight {
    background: radial-gradient(80% 120% at 100% 0%, rgba(236, 72, 153, 0.18), transparent 60%), #111a2e !important;
    border: 1.5px solid rgba(236, 72, 153, 0.48) !important;
    border-radius: 20px !important;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(236, 72, 153, 0.22) !important;
}

/* Top Winner Badge (#1 TOP PICK) */
div[style*="border: 2px solid #f59e0b"] span[style*="linear-gradient"],
div[style*="border:2px solid #f59e0b"] span[style*="linear-gradient"],
.top-winner-badge {
    background: linear-gradient(135deg, #ec4899, #8b5cf6) !important;
    color: #ffffff !important;
    box-shadow: 0 0 14px rgba(236, 72, 153, 0.45) !important;
    border-radius: 8px !important;
}

/* 🎴 6. Tool Listing Cards & Matrix Tiles */
.tool-grid-card,
.adult-cat-card,
article.tool-grid-card,
.angel-card {
    background: #111a2e !important;
    border: 1.5px solid rgba(236, 72, 153, 0.28) !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 15px rgba(236, 72, 153, 0.08) !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.tool-grid-card:hover,
.adult-cat-card:hover,
article.tool-grid-card:hover,
.angel-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(236, 72, 153, 0.65) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(236, 72, 153, 0.3) !important;
}

/* 🏷️ 7. Filter Pills & Category Chips */
.pb-filter-pill,
.sw-chip,
.category-filter-bar button {
    background: #111a2e !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #cbd5e1 !important;
    border-radius: 999px !important;
    padding: 7px 16px !important;
    font-weight: 750 !important;
    font-size: 0.85rem !important;
    cursor: pointer !important;
    transition: all 0.18s ease !important;
}

.pb-filter-pill:hover,
.sw-chip:hover,
.category-filter-bar button:hover {
    border-color: #ec4899 !important;
    color: #ffffff !important;
}

.pb-filter-pill.active,
.sw-chip.on,
.category-filter-bar button.active {
    background: linear-gradient(135deg, #ec4899, #8b5cf6) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(236, 72, 153, 0.4) !important;
}

/* 🎁 8. Voucher & Coupon Code Badges */
code,
.sw-code,
span.promo-code {
    background: #0f172a !important;
    color: #f9a8d4 !important;
    border: 1.5px dashed #ec4899 !important;
    border-radius: 8px !important;
    padding: 3px 8px !important;
    font-weight: 800 !important;
    font-family: monospace !important;
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.2) !important;
}

/* ❓ 9. Accordions & FAQ Cards */
.faq-item,
details,
.faq-card {
    background: #111a2e !important;
    border: 1px solid rgba(236, 72, 153, 0.25) !important;
    border-radius: 14px !important;
    margin-bottom: 0.85rem !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
    overflow: hidden !important;
}

/* 📊 10. Tables & Ranking Matrices */
table.benchmark-table,
.adult-table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1.5px solid rgba(236, 72, 153, 0.3) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #111a2e !important;
}

table.benchmark-table th,
.adult-table th {
    background: #0f172a !important;
    color: #f472b6 !important;
    font-weight: 850 !important;
    padding: 12px 16px !important;
    border-bottom: 2px solid rgba(236, 72, 153, 0.35) !important;
}

table.benchmark-table td,
.adult-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 12px 16px !important;
    color: #e2e8f0 !important;
}

table.benchmark-table tr:hover td,
.adult-table tr:hover td {
    background: rgba(236, 72, 153, 0.06) !important;
}

/* 🧭 11. Breadcrumbs */
header nav a,
.sw-crumbs a {
    color: #94a3b8 !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
}

header nav a:hover,
.sw-crumbs a:hover {
    color: #f472b6 !important;
}

header nav span[style*="#f43f5e"],
header nav span:last-child {
    color: #f472b6 !important;
    font-weight: 800 !important;
}

/* 🔴 12. Live Indicator Pulse */
@keyframes adultLivePulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.7); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 7px rgba(236, 72, 153, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(236, 72, 153, 0); }
}

.adult-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ec4899;
    animation: adultLivePulse 1.8s infinite;
    display: inline-block;
}
