/* ============================================================
   My Spin Wheel — AskBossWheel Casino Theme
   Deep navy + electric gold + neon accents
   ============================================================ */

/* Fonts loaded via wp_enqueue_style in PHP for non-blocking delivery */

/* ---- Token palette ---- */
.msw-wrap {
    --msw-navy:        #0a0e1a;
    --msw-navy-mid:    #111827;
    --msw-navy-light:  #1e2a40;
    --msw-gold:        #FFD700;
    --msw-gold-lt:     #ffe97a;
    --msw-gold-dk:     #b8860b;
    --msw-electric:    #00e5ff;
    --msw-neon-green:  #00ff88;
    --msw-neon-pink:   #ff3cac;
    --msw-neon-purple: #784ba0;
    --msw-accent:      #7b2fff;
    --msw-accent-dark: #5a1fd1;
    --msw-text:        #ffffff;
    --msw-text-soft:   #94a3b8;
    --msw-border:      rgba(255,215,0,0.22);
    --msw-radius:      18px;
    --msw-muted:       #64748b;

    box-sizing: border-box;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 36px 24px;
    border-radius: var(--msw-radius);
    color: var(--msw-text);
    font-family: 'Poppins', system-ui, sans-serif;
    position: relative;
    overflow: hidden;

    /* Deep casino background */
    background:
        radial-gradient(ellipse at 10% 15%, rgba(123,47,255,0.28) 0%, transparent 45%),
        radial-gradient(ellipse at 90% 10%, rgba(0,229,255,0.18) 0%, transparent 40%),
        radial-gradient(ellipse at 85% 85%, rgba(255,60,172,0.20) 0%, transparent 42%),
        radial-gradient(ellipse at 15% 85%, rgba(255,215,0,0.14) 0%, transparent 42%),
        linear-gradient(160deg, #0a0e1a 0%, #111827 50%, #0d1220 100%);
}

/* Animated floating particles via pseudo-element */
.msw-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1.5px 1.5px at 10% 20%, rgba(255,215,0,0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 25% 60%, rgba(0,229,255,0.5) 0%, transparent 100%),
        radial-gradient(2px 2px at 40% 35%, rgba(255,215,0,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 55% 75%, rgba(0,255,136,0.5) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 70% 20%, rgba(255,60,172,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 80% 55%, rgba(255,215,0,0.4) 0%, transparent 100%),
        radial-gradient(2px 2px at 90% 35%, rgba(0,229,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 15% 80%, rgba(255,215,0,0.5) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 60% 90%, rgba(255,60,172,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 35% 10%, rgba(0,255,136,0.4) 0%, transparent 100%),
        radial-gradient(2px 2px at 5% 50%, rgba(255,215,0,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 95% 70%, rgba(0,229,255,0.3) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
    animation: msw-stars-drift 18s linear infinite;
}

/* Animated golden scan line */
.msw-wrap::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--msw-gold) 40%, var(--msw-electric) 60%, transparent 100%);
    opacity: 0.35;
    top: 0;
    animation: msw-scan 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes msw-stars-drift {
    0%   { background-position: 0 0; }
    100% { background-position: 60px 120px; }
}

@keyframes msw-scan {
    0%   { top: 0%;   opacity: 0; }
    10%  { opacity: 0.35; }
    90%  { opacity: 0.35; }
    100% { top: 100%; opacity: 0; }
}

.msw-wrap *,
.msw-wrap *::before,
.msw-wrap *::after {
    box-sizing: border-box;
}

/* All child content above pseudo-elements */
.msw-wrap > * { position: relative; z-index: 2; }

.msw-title {
    margin: 0 0 24px;
    font-family: 'Bebas Neue', 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 400;
    letter-spacing: 2px;
    text-align: center;
    background: linear-gradient(180deg, #fff8d4 0%, var(--msw-gold) 50%, var(--msw-gold-dk) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 0 18px rgba(255,215,0,0.5));
}

/* ---- Layout ---- */
.msw-layout {
    display: grid;
    grid-template-columns: 260px 1fr 300px;
    gap: 28px;
    align-items: start;
}

@media (max-width: 1000px) {
    .msw-layout { grid-template-columns: 1fr 300px; }
    .msw-lotto  { grid-column: 1 / -1; order: 3; }
}
@media (max-width: 700px) {
    .msw-layout { grid-template-columns: 1fr; gap: 24px; }
    .msw-lotto  { order: 3; }
}

/* ---- Canvas / Wheel ---- */
.msw-canvas-area {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.msw-canvas-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1 / 1;
}

/* Spinning glow ring around wheel */
.msw-canvas-container::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: conic-gradient(
        var(--msw-gold) 0deg,
        var(--msw-electric) 90deg,
        var(--msw-neon-pink) 180deg,
        var(--msw-neon-green) 270deg,
        var(--msw-gold) 360deg
    );
    animation: msw-ring-spin 4s linear infinite;
    opacity: 0.7;
    z-index: 0;
    filter: blur(2px);
}
.msw-canvas-container::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--msw-navy);
    z-index: 0;
}

@keyframes msw-ring-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.msw-canvas-container.msw-shake {
    animation: msw-shake 0.45s ease-in-out;
}

@keyframes msw-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-6px); }
    80% { transform: translateX(6px); }
}

.msw-canvas {
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 24px rgba(255,215,0,0.3)) drop-shadow(0 8px 20px rgba(0,0,0,0.5));
}

/* ---- Overlay text ---- */
.msw-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 22% 0;
    z-index: 3;
    transition: opacity 0.25s ease;
    opacity: 0;
}

.msw-overlay-top,
.msw-overlay-bottom {
    color: #ffffff;
    font-weight: 800;
    font-size: clamp(18px, 3.5vw, 28px);
    letter-spacing: 0.5px;
    text-shadow:
        -1px -1px 0 rgba(0,0,0,0.7),
        1px -1px 0 rgba(0,0,0,0.7),
        -1px 1px 0 rgba(0,0,0,0.7),
        1px 1px 0 rgba(0,0,0,0.7),
        0 0 20px rgba(255,215,0,0.6);
}

.msw-canvas-container.is-spinning .msw-overlay { opacity: 0; }

/* ---- Pointer ---- */
.msw-pointer {
    position: absolute;
    top: 50%;
    right: -4px;
    width: 0;
    height: 0;
    transform: translateY(-50%);
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 36px solid var(--msw-gold);
    filter: drop-shadow(-2px 0 8px rgba(255,215,0,0.8));
    pointer-events: none;
    z-index: 4;
}

/* ---- Center SPIN button ---- */
.msw-center-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 92px;
    height: 92px;
    border-radius: 50%;
    border: 3px solid var(--msw-gold);
    background: linear-gradient(135deg, #7b2fff 0%, #3a0fa8 100%);
    color: var(--msw-gold);
    box-shadow:
        0 0 20px rgba(123,47,255,0.8),
        0 0 40px rgba(123,47,255,0.4),
        inset 0 0 20px rgba(255,215,0,0.15);
    cursor: pointer;
    font-family: 'Bebas Neue', 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 20px;
    letter-spacing: 2px;
    z-index: 4;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    animation: msw-pulse-btn 2.5s ease-in-out infinite;
}

@keyframes msw-pulse-btn {
    0%, 100% { box-shadow: 0 0 20px rgba(123,47,255,0.8), 0 0 40px rgba(123,47,255,0.4), inset 0 0 20px rgba(255,215,0,0.15); }
    50%       { box-shadow: 0 0 30px rgba(123,47,255,1),   0 0 60px rgba(255,215,0,0.5),  inset 0 0 30px rgba(255,215,0,0.25); }
}

.msw-center-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 40px rgba(255,215,0,0.9), 0 0 80px rgba(123,47,255,0.6), inset 0 0 30px rgba(255,215,0,0.3);
    animation-play-state: paused;
}

.msw-center-btn:active {
    transform: translate(-50%, -50%) scale(0.95);
}

.msw-canvas-container.is-empty .msw-center-btn,
.msw-canvas-container.is-empty .msw-pointer,
.msw-canvas-container.is-empty .msw-overlay {
    opacity: 0;
    pointer-events: none;
}

.msw-hint {
    margin: 16px 0 0;
    font-size: 13px;
    color: var(--msw-text-soft);
    text-align: center;
}

.msw-hint kbd {
    display: inline-block;
    padding: 2px 6px;
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    color: var(--msw-gold);
    background: rgba(255,215,0,0.1);
    border: 1px solid rgba(255,215,0,0.35);
    border-bottom-width: 2px;
    border-radius: 4px;
}

/* ---- Input panel (right) ---- */
.msw-input-area {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--msw-border);
    border-radius: var(--msw-radius);
    padding: 22px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,215,0,0.1);
}

.msw-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--msw-gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.msw-textarea {
    width: 100%;
    min-height: 200px;
    padding: 12px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;
    color: var(--msw-text);
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: 10px;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.msw-textarea::placeholder { color: #4b5563; }

.msw-textarea:focus {
    outline: none;
    border-color: var(--msw-gold);
    box-shadow: 0 0 0 3px rgba(255,215,0,0.15), 0 0 20px rgba(255,215,0,0.1);
}

.msw-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.msw-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    gap: 12px;
}

.msw-counter { font-size: 13px; color: var(--msw-text-soft); }
.msw-count   { font-weight: 700; color: var(--msw-gold); }

/* ---- Buttons ---- */
.msw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 11px 16px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease;
    letter-spacing: 0.3px;
}

.msw-btn:active { transform: translateY(1px) scale(0.98); }

.msw-btn-primary {
    background: linear-gradient(135deg, #7b2fff 0%, #4f1ecc 100%);
    color: #fff;
    border: 1px solid rgba(255,215,0,0.25);
    box-shadow: 0 4px 15px rgba(123,47,255,0.5);
}

.msw-btn-primary:hover {
    background: linear-gradient(135deg, #9b4fff 0%, #6a35dd 100%);
    box-shadow: 0 6px 25px rgba(123,47,255,0.7), 0 0 15px rgba(255,215,0,0.2);
    transform: translateY(-1px);
}

.msw-btn-secondary {
    background: rgba(255,255,255,0.07);
    color: var(--msw-text-soft);
    border: 1px solid rgba(255,255,255,0.12);
}

.msw-btn-secondary:hover {
    background: rgba(255,255,255,0.12);
    color: var(--msw-text);
    border-color: rgba(255,215,0,0.3);
}

.msw-btn-text {
    background: transparent;
    color: var(--msw-text-soft);
    flex: 0 0 auto;
}

.msw-btn-text:hover {
    color: var(--msw-gold);
    background: rgba(255,215,0,0.08);
}

.msw-reset   { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px !important; font-size: 13px !important; border-radius: 8px !important; }
.msw-shuffle { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px !important; font-size: 13px !important; border-radius: 8px !important; }
.msw-meta-actions { display: flex; align-items: center; gap: 4px; }
.msw-reset:hover .msw-reset-icon     { transform: rotate(-180deg); }
.msw-reset-icon, .msw-shuffle-icon   { transition: transform 0.4s ease; }
.msw-shuffle:not(:disabled):hover .msw-shuffle-icon { transform: scale(1.2); }

/* ---- Winner Modal ---- */
.msw-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.msw-modal.is-open {
    display: flex;
    animation: msw-fadein 0.25s ease-out;
}

@keyframes msw-fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.msw-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
}

.msw-modal-card {
    position: relative;
    width: 90%;
    max-width: 480px;
    background: linear-gradient(160deg, #111827 0%, #0a0e1a 100%);
    border: 1px solid rgba(255,215,0,0.4);
    border-radius: 16px;
    box-shadow:
        0 0 40px rgba(255,215,0,0.2),
        0 24px 60px rgba(0,0,0,0.6);
    overflow: hidden;
    animation: msw-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes msw-pop {
    from { transform: scale(0.85); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

.msw-modal-header {
    background: linear-gradient(135deg, #7b2fff, #b8006e);
    color: var(--msw-gold);
    padding: 16px 22px;
    font-family: 'Bebas Neue', 'Poppins', sans-serif;
    font-size: 20px;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255,215,0,0.5);
}

.msw-modal-body {
    padding: 40px 22px;
    text-align: center;
}

.msw-winner-name {
    font-family: 'Bebas Neue', 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 400;
    letter-spacing: 3px;
    background: linear-gradient(180deg, #fff8d4 0%, var(--msw-gold) 60%, var(--msw-gold-dk) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(255,215,0,0.6));
    word-break: break-word;
    animation: msw-winner-glow 1.5s ease-in-out infinite;
}

@keyframes msw-winner-glow {
    0%, 100% { filter: drop-shadow(0 0 16px rgba(255,215,0,0.5)); }
    50%       { filter: drop-shadow(0 0 30px rgba(255,215,0,0.9)); }
}

.msw-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 14px 22px;
    border-top: 1px solid rgba(255,215,0,0.12);
    background: rgba(0,0,0,0.3);
}

.msw-modal-footer .msw-btn { flex: 0 0 auto; min-width: 92px; }

/* ---- Confetti ---- */
.msw-confetti {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
}


   Get Answers + How-to links / popups
   ============================================================ */
.msw-get-answers-row { margin-bottom: 10px; }

.msw-get-answers-link {
    font-size: 13px;
    color: var(--msw-electric);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s;
}
.msw-get-answers-link:hover { color: var(--msw-gold); text-decoration: underline; }

.msw-answers-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
.msw-answers-modal.is-open { display: flex; }

.msw-answers-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
}

.msw-answers-card {
    position: relative;
    z-index: 1;
    background: linear-gradient(160deg, #111827 0%, #0a0e1a 100%);
    border: 1px solid rgba(255,215,0,0.35);
    border-radius: 16px;
    padding: 32px 36px;
    max-width: 520px;
    width: 90%;
    box-shadow: 0 0 40px rgba(255,215,0,0.15), 0 20px 60px rgba(0,0,0,0.5);
    animation: msw-modal-in 0.25s ease;
}

@keyframes msw-modal-in {
    from { transform: scale(0.9) translateY(20px); opacity: 0; }
    to   { transform: scale(1) translateY(0);      opacity: 1; }
}

.msw-answers-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--msw-text-soft);
    line-height: 1;
    padding: 4px;
    transition: color 0.15s;
}
.msw-answers-close:hover { color: var(--msw-gold); }

.msw-answers-title {
    margin: 0 0 20px;
    font-family: 'Bebas Neue', 'Poppins', sans-serif;
    font-size: 24px;
    letter-spacing: 2px;
    background: linear-gradient(90deg, var(--msw-gold) 0%, var(--msw-electric) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.msw-answers-list {
    margin: 0;
    padding: 0 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.msw-answers-list li {
    font-size: 14px;
    line-height: 1.6;
    color: var(--msw-text-soft);
}

.msw-answers-list li strong {
    color: var(--msw-gold);
    display: block;
    margin-bottom: 2px;
}

.msw-answers-list li em { color: var(--msw-muted); font-size: 13px; }

/* ---- Lotto how-to row ---- */
.msw-lotto-howto-row {
    padding: 8px 16px 10px;
    border-bottom: 1px solid rgba(255,215,0,0.1);
}

.msw-lotto-howto-link {
    font-size: 12px;
    color: var(--msw-electric);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s;
    flex-wrap: wrap;
}
.msw-lotto-howto-link:hover { color: var(--msw-gold); text-decoration: underline; }

/* ---- Flash "Must Read this" ---- */
.msw-flash-red {
    color: #ff6b6b;
    animation: msw-flash 1.4s ease-in-out infinite;
}

@keyframes msw-flash {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.2; }
}

/* ---- Toast ---- */
.msw-toast {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: linear-gradient(135deg, #7b2fff, #3a0fa8);
    color: var(--msw-gold);
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    border: 1px solid rgba(255,215,0,0.3);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 20px rgba(123,47,255,0.4);
}

.msw-toast.msw-toast-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ---- Copy button ---- */
.msw-lotto-copy {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 6px;
    border: 1px solid rgba(255,215,0,0.3);
    background: rgba(255,215,0,0.06);
    font-size: 11px;
    font-weight: 600;
    color: var(--msw-gold);
    cursor: pointer;
    transition: all 0.15s;
}
.msw-lotto-copy:hover  { background: rgba(255,215,0,0.18); border-color: var(--msw-gold); }
.msw-lotto-copy.copied { background: rgba(0,200,83,0.2); color: var(--msw-neon-green); border-color: rgba(0,200,83,0.5); }

/* ============================================================
   Banner buttons (Visit My Sister / Today's Lucky Numbers)
   ============================================================ */
.msw-lucky-banner-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.msw-lucky-banner-btn {
    display: inline-block;
    padding: 13px 32px;
    background: linear-gradient(135deg, #FFD700 0%, #ff8c00 60%, #ff4500 100%);
    color: #1a0a00;
    font-family: 'Bebas Neue', 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.3);
    box-shadow: 0 0 20px rgba(255,215,0,0.5), 0 4px 18px rgba(0,0,0,0.4);
    animation: msw-banner-flash 1.4s ease-in-out infinite;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    position: relative;
    overflow: hidden;
}

/* Shimmer sweep */
.msw-lucky-banner-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    animation: msw-shimmer 2.2s ease-in-out infinite;
}

@keyframes msw-shimmer {
    0%   { left: -75%; }
    100% { left: 125%; }
}

.msw-lucky-banner-btn:hover {
    transform: scale(1.06) translateY(-2px);
    box-shadow: 0 0 35px rgba(255,215,0,0.8), 0 6px 24px rgba(0,0,0,0.4);
    animation-play-state: paused;
    color: #1a0a00;
    text-decoration: none;
}

.msw-lucky-banner-btn-sister {
    background: linear-gradient(135deg, #ff3cac 0%, #784ba0 50%, #2b86c5 100%);
    color: #fff;
    border-color: rgba(255,255,255,0.25);
    box-shadow: 0 0 20px rgba(255,60,172,0.5), 0 4px 18px rgba(0,0,0,0.4);
    animation: msw-banner-flash-sister 1.6s ease-in-out infinite;
}

.msw-lucky-banner-btn-sister:hover {
    color: #fff;
    box-shadow: 0 0 35px rgba(255,60,172,0.8), 0 6px 24px rgba(0,0,0,0.4);
}

@keyframes msw-banner-flash {
    0%, 100% { opacity: 1;    transform: scale(1);    box-shadow: 0 0 20px rgba(255,215,0,0.5); }
    50%       { opacity: 0.9; transform: scale(1.03); box-shadow: 0 0 35px rgba(255,215,0,0.8); }
}

@keyframes msw-banner-flash-sister {
    0%, 100% { box-shadow: 0 0 20px rgba(255,60,172,0.5); }
    50%       { box-shadow: 0 0 35px rgba(255,60,172,0.8); }
}

/* ============================================================
   Pick Your Vibe — Left Panel (adapted to AskBossWheel theme)
   ============================================================ */
.msw-folders {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--msw-border);
    border-radius: var(--msw-radius);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,215,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.msw-folders-header {
    background: linear-gradient(135deg, #7b2fff 0%, #3a0fa8 100%);
    color: var(--msw-gold);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Bebas Neue', 'Poppins', sans-serif;
    font-size: 18px;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255,215,0,0.4);
    border-bottom: 1px solid rgba(255,215,0,0.2);
}

.msw-folders-icon { font-size: 20px; line-height: 1; }
.msw-folders-title { font-family: 'Bebas Neue', 'Poppins', sans-serif; }

.msw-folders-howto-row {
    padding: 8px 16px 10px;
    border-bottom: 1px solid rgba(255,215,0,0.1);
    text-align: center;
}
.msw-folders-howto-link {
    font-size: 12px;
    color: var(--msw-electric);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s;
    flex-wrap: wrap;
    justify-content: center;
}
.msw-folders-howto-link:hover { color: var(--msw-gold); text-decoration: underline; }

.msw-folders-body {
    padding: 14px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.msw-folders-instructions {
    font-size: 12px;
    color: var(--msw-text-soft);
    text-align: center;
}

.msw-folders-empty {
    background: rgba(255,255,255,0.05);
    border: 1px dashed rgba(255,215,0,0.25);
    color: var(--msw-text-soft);
    border-radius: 10px;
    padding: 12px;
    font-size: 13px;
    line-height: 1.5;
}
.msw-folders-empty code {
    background: rgba(0,0,0,0.35);
    padding: 1px 6px;
    border-radius: 4px;
    color: var(--msw-gold);
}

/* 2-column pill grid */
.msw-folders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.msw-folder-btn {
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255,255,255,0.05);
    color: var(--msw-text-soft);
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: 999px;
    padding: 9px 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
    line-height: 1.2;
}
.msw-folder-btn:hover:not(:disabled) {
    background: rgba(255,215,0,0.12);
    border-color: var(--msw-gold);
    color: var(--msw-gold);
    box-shadow: 0 0 10px rgba(255,215,0,0.2);
}
.msw-folder-btn:active:not(:disabled) { transform: translateY(1px); }
.msw-folder-btn.is-active {
    background: linear-gradient(135deg, rgba(255,215,0,0.25), rgba(255,215,0,0.1));
    border-color: var(--msw-gold);
    color: var(--msw-gold);
    box-shadow: 0 0 14px rgba(255,215,0,0.35);
}
.msw-folder-btn:disabled {
    opacity: 0.38;
    cursor: not-allowed;
}

/* Status text */
.msw-folders-status {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    min-height: 1.4em;
    padding: 4px 4px 0;
    color: var(--msw-text-soft);
    line-height: 1.4;
}
.msw-folders-status.is-yes   {
    color: var(--msw-neon-green);
    text-shadow: 0 0 8px rgba(0,255,136,0.5);
}
.msw-folders-status.is-no    { color: #ff6b6b; }
.msw-folders-status.is-error { color: #ff6b6b; }

/* Responsive */
@media (max-width: 1000px) {
    .msw-folders { grid-column: 1 / -1; order: 1; }
}
@media (max-width: 700px) {
    .msw-folders { order: 1; }
    .msw-folders-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Video / image lightbox overlay
   ============================================================ */
.msw-video-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.msw-video-overlay.is-open { display: flex; }

.msw-video-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.72);
    backdrop-filter: blur(4px);
}

.msw-video-card {
    position: relative;
    z-index: 1;
    background: linear-gradient(160deg, var(--msw-navy-mid) 0%, var(--msw-navy) 100%);
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: calc(100vh - 32px);
    padding: 20px 20px 18px;
    box-shadow: 0 0 40px rgba(255,215,0,0.15), 0 20px 60px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: var(--msw-text);
    animation: msw-pop 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

.msw-video-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: transparent;
    border: 0;
    color: var(--msw-text-soft);
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    transition: color 0.15s;
}
.msw-video-close:hover { color: var(--msw-gold); }

.msw-video-title {
    font-family: 'Bebas Neue', 'Poppins', sans-serif;
    font-size: 17px;
    letter-spacing: 1px;
    color: var(--msw-gold);
    padding-right: 30px;
    text-shadow: 0 0 10px rgba(255,215,0,0.4);
}

.msw-video-player {
    width: 100%;
    max-height: 70vh;
    background: #000;
    border-radius: 10px;
    display: block;
    border: 1px solid rgba(255,215,0,0.15);
}

.msw-video-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

@media (max-width: 700px) {
    .msw-video-card   { padding: 14px 12px 12px; }
    .msw-video-player { max-height: 60vh; }
}

/* Image fallback */
.msw-image-display {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    background: #000;
    border-radius: 10px;
    display: block;
    border: 1px solid rgba(255,215,0,0.15);
}
.msw-image-display[hidden]  { display: none !important; }
.msw-video-player[hidden]   { display: none !important; }

@media (max-width: 700px) {
    .msw-image-display { max-height: 60vh; }
}

/* ============================================================
   Email capture modal — white card (readable on dark page)
   ============================================================ */
.msw-email-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.msw-email-modal.is-open { display: flex; }

.msw-email-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(3px);
}

.msw-email-card {
    position: relative;
    z-index: 1;
    background: #ffffff;
    color: #1f2330;
    border-radius: 16px;
    max-width: 440px;
    width: 100%;
    padding: 24px 24px 20px;
    box-shadow: 0 0 40px rgba(255,215,0,0.2), 0 20px 60px rgba(0,0,0,0.5);
    animation: msw-pop 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

.msw-email-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: transparent;
    border: 0;
    color: #6b7280;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    transition: color 0.15s;
}
.msw-email-close:hover { color: #1f2330; }

.msw-email-title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 800;
    color: #5a1fd1;
    padding-right: 26px;
    font-family: 'Poppins', sans-serif;
}
.msw-email-sub {
    margin: 0 0 14px;
    font-size: 13px;
    color: #4b5563;
    line-height: 1.5;
}
.msw-email-optin {
    display: block;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
}
.msw-email-field { margin-bottom: 10px; }
.msw-email-input {
    width: 100%;
    padding: 11px 13px;
    font-size: 15px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    color: #1f2330;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
}
.msw-email-input:focus {
    outline: 0;
    border-color: #7b2fff;
    box-shadow: 0 0 0 3px rgba(123,47,255,0.18);
}
.msw-email-message {
    min-height: 1.3em;
    font-size: 13.5px;
    margin: 4px 0 10px;
}
.msw-email-message.is-error   { color: #b91c1c; }
.msw-email-message.is-success { color: #15803d; font-weight: 600; }
.msw-email-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 8px;
}
.msw-email-fineprint {
    margin: 8px 0 0;
    font-size: 11.5px;
    color: #9ca3af;
    text-align: center;
}
.msw-email-download-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 8px 0 4px;
    text-align: center;
}
.msw-email-download-step[hidden] { display: none !important; }
.msw-email-thanks {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #15803d;
}
.msw-email-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 13px 20px;
    background: linear-gradient(135deg, #7b2fff 0%, #4f1ecc 100%);
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    border-radius: 10px;
    border: 0;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(123,47,255,0.5);
    transition: background 0.15s, box-shadow 0.15s;
    box-sizing: border-box;
    font-family: inherit;
}
.msw-email-download-btn:hover,
.msw-email-download-btn:focus {
    background: linear-gradient(135deg, #9b4fff 0%, #6a35dd 100%);
    box-shadow: 0 6px 25px rgba(123,47,255,0.7);
    color: #fff !important;
}

/* In the email modal, override the text button to look right on white bg */
.msw-email-card .msw-btn-text {
    color: #6b7280;
}
.msw-email-card .msw-btn-text:hover {
    color: #1f2330;
    background: rgba(0,0,0,0.06);
}
.msw-email-card .msw-btn-primary {
    background: linear-gradient(135deg, #7b2fff 0%, #4f1ecc 100%);
    color: #fff;
    flex: 0 0 auto;
}
.msw-email-card .msw-btn-primary:hover {
    background: linear-gradient(135deg, #9b4fff 0%, #6a35dd 100%);
}

@media (max-width: 480px) {
    .msw-email-card    { padding: 20px 16px 16px; }
    .msw-email-actions { flex-direction: column-reverse; }
    .msw-email-actions .msw-btn { width: 100%; }
}

/* ============================================================
   Vibe Popup — standalone modal for Pick Your Vibe results.
   Completely separate from .msw-modal (right-side wheel popup).
   ============================================================ */
.msw-vibe-popup {
    position: fixed;
    inset: 0;
    z-index: 99997;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.msw-vibe-popup.is-open { display: flex; animation: msw-fadein 0.25s ease-out; }

.msw-vibe-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
}

.msw-vibe-card {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 480px;
    background: linear-gradient(160deg, #111827 0%, #0a0e1a 100%);
    border-radius: 16px;
    overflow: hidden;
    animation: msw-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 40px rgba(255,215,0,0.15), 0 24px 60px rgba(0,0,0,0.6);
}

/* Win card — gold/purple header */
.msw-vibe-card--win { border: 1px solid rgba(255,215,0,0.4); }
.msw-vibe-card--win .msw-vibe-header {
    background: linear-gradient(135deg, #7b2fff, #b8006e);
}
.msw-vibe-card--win .msw-vibe-footer .msw-btn-primary {
    background: linear-gradient(135deg, #7b2fff 0%, #4f1ecc 100%);
    box-shadow: 0 4px 15px rgba(123,47,255,0.5);
}

/* No card — red header */
.msw-vibe-card--no  { border: 1px solid rgba(239,68,68,0.35); }
.msw-vibe-card--no .msw-vibe-header {
    background: linear-gradient(135deg, #7f1d1d, #b91c1c);
}
.msw-vibe-card--no .msw-vibe-footer .msw-btn-primary {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    box-shadow: 0 4px 15px rgba(239,68,68,0.45);
}
.msw-vibe-card--no .msw-vibe-footer .msw-btn-primary:hover {
    background: linear-gradient(135deg, #f87171 0%, #dc2626 100%);
}

.msw-vibe-header {
    padding: 16px 22px;
    font-family: 'Bebas Neue', 'Poppins', sans-serif;
    font-size: 20px;
    letter-spacing: 2px;
    color: var(--msw-gold);
    text-shadow: 0 0 10px rgba(255,215,0,0.5);
}

.msw-vibe-body {
    padding: 36px 22px 28px;
    text-align: center;
}

/* Big result text — YES! or NO LUCK */
.msw-vibe-bigtext {
    font-family: 'Bebas Neue', 'Poppins', sans-serif;
    font-size: 56px;
    font-weight: 400;
    letter-spacing: 4px;
    word-break: break-word;
}

/* YES! — gold glow */
.msw-vibe-win-text {
    background: linear-gradient(180deg, #fff8d4 0%, var(--msw-gold) 60%, var(--msw-gold-dk) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(255,215,0,0.6));
    animation: msw-winner-glow 1.5s ease-in-out infinite;
}

/* NO LUCK — red glow */
.msw-vibe-no-text {
    background: linear-gradient(180deg, #fca5a5 0%, #ef4444 55%, #b91c1c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(239,68,68,0.6));
    animation: msw-vibe-no-glow 1.5s ease-in-out infinite;
}
@keyframes msw-vibe-no-glow {
    0%, 100% { filter: drop-shadow(0 0 14px rgba(239,68,68,0.5)); }
    50%       { filter: drop-shadow(0 0 28px rgba(239,68,68,0.9)); }
}

/* Subtitle text */
.msw-vibe-sub {
    margin-top: 12px;
    font-size: 15px;
    color: var(--msw-text-soft);
    line-height: 1.6;
}
.msw-vibe-sub strong { color: var(--msw-gold); }
.msw-vibe-card--no .msw-vibe-sub strong { color: #fca5a5; }

/* Three-dot loading indicator (win popup only) */
.msw-vibe-loader {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.msw-vibe-loader span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--msw-gold);
    animation: msw-vibe-bounce 1.1s ease-in-out infinite;
    opacity: 0.85;
}
.msw-vibe-loader span:nth-child(2) { animation-delay: 0.18s; background: var(--msw-electric); }
.msw-vibe-loader span:nth-child(3) { animation-delay: 0.36s; background: var(--msw-neon-pink); }
@keyframes msw-vibe-bounce {
    0%, 80%, 100% { transform: translateY(0);     opacity: 0.6; }
    40%            { transform: translateY(-10px); opacity: 1; }
}

.msw-vibe-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 14px 22px;
    border-top: 1px solid rgba(255,215,0,0.12);
    background: rgba(0,0,0,0.3);
}
.msw-vibe-footer .msw-btn-primary {
    flex: 0 0 auto;
    min-width: 110px;
}

/* ============================================================
   BONUS button — same pill as category buttons, gold highlight
   ============================================================ */
.msw-bonus-grid { margin-top: 8px; }
.msw-bonus-btn.msw-folder-btn {
    background: linear-gradient(135deg, rgba(255,215,0,0.18), rgba(255,149,0,0.1));
    border-color: #FFD700;
    color: #FFD700;
    font-weight: 700;
}
.msw-bonus-btn.msw-folder-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(255,215,0,0.35), rgba(255,149,0,0.2));
    border-color: #FFD700;
    color: #FFD700;
    box-shadow: 0 0 18px rgba(255,215,0,0.5);
}
