/* =====================================================================
   BT STICKY AUDIO PLAYER
   ===================================================================== */
.bt-sticky-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #1a1008;
    border-top: 2px solid #c9a227;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 24px rgba(0,0,0,0.35);
}
.bt-sticky-player--visible {
    transform: translateY(0);
}
.bt-sticky-player-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: nowrap;
}
.bt-sticky-player-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 0 0 auto;
    max-width: 220px;
}
.bt-sticky-player-thumb {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}
.bt-sticky-player-meta {
    min-width: 0;
}
.bt-sticky-player-title {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #faf8f5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}
.bt-sticky-player-ep {
    display: block;
    font-size: 0.7rem;
    color: #c9a227;
    white-space: nowrap;
}
.bt-sticky-player-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.bt-sticky-btn {
    background: none;
    border: 1px solid rgba(201,162,39,0.4);
    color: #faf8f5;
    border-radius: 4px;
    padding: 5px 9px;
    font-size: 0.78rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    line-height: 1;
}
.bt-sticky-btn:hover {
    background: rgba(201,162,39,0.15);
    border-color: #c9a227;
    color: #c9a227;
}
.bt-sticky-play-btn {
    background: #c9a227;
    border-color: #c9a227;
    color: #1a1008;
    font-size: 1rem;
    padding: 6px 12px;
    font-weight: 700;
}
.bt-sticky-play-btn:hover {
    background: #b8911f;
    border-color: #b8911f;
    color: #1a1008;
}
.bt-sticky-close {
    font-size: 1.1rem;
    flex-shrink: 0;
    opacity: 0.7;
}
.bt-sticky-close:hover { opacity: 1; }
.bt-sticky-player-progress-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 100px;
}
.bt-sticky-player-progress-wrap span {
    font-size: 0.72rem;
    color: #a09080;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: monospace;
}
.bt-sticky-seek {
    flex: 1;
    height: 4px;
    accent-color: #c9a227;
    cursor: pointer;
}

/* =====================================================================
   LEAD MAGNET MODAL
   ===================================================================== */
.bt-lm-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26,16,8,0.72);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.bt-lm-modal-overlay.is-open {
    display: flex;
}
.bt-lm-modal {
    background: #faf8f5;
    border-radius: 8px;
    max-width: 480px;
    width: 100%;
    padding: 36px 32px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    animation: btModalIn 0.22s ease-out;
}
@keyframes btModalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)  scale(1); }
}
.bt-lm-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #8a7f72;
    line-height: 1;
    padding: 2px 6px;
}
.bt-lm-modal-close:hover { color: #1a1008; }
.bt-lm-modal-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #c9a227;
    font-family: 'DM Sans', sans-serif;
    margin: 0 0 0.5rem;
}
.bt-lm-modal-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.6rem;
    color: #1a1008;
    margin: 0 0 0.5rem;
    line-height: 1.2;
}
.bt-lm-modal-desc {
    font-size: 0.875rem;
    color: #4a4540;
    margin: 0 0 1.5rem;
    line-height: 1.6;
}
.bt-lm-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.bt-lm-form input[type="text"],
.bt-lm-form input[type="email"] {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #e8e3dc;
    border-radius: 4px;
    font-size: 0.9rem;
    font-family: inherit;
    color: #1a1008;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.15s;
}
.bt-lm-form input:focus {
    outline: none;
    border-color: #c9a227;
}
.bt-lm-form-consent {
    font-size: 0.75rem;
    color: #8a7f72;
    line-height: 1.5;
    margin: 0;
}
.bt-lm-submit {
    background: #4a1942;
    color: #faf8f5;
    border: none;
    border-radius: 4px;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    letter-spacing: 0.03em;
    transition: background 0.2s;
}
.bt-lm-submit:hover { background: #3a1232; }
.bt-lm-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.bt-lm-success {
    display: none;
    text-align: center;
    padding: 20px 0;
}
.bt-lm-success-icon {
    font-size: 2.5rem;
    color: #c9a227;
    margin-bottom: 12px;
}
.bt-lm-success-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.4rem;
    color: #1a1008;
    margin: 0 0 0.5rem;
}
.bt-lm-success-text {
    font-size: 0.875rem;
    color: #4a4540;
    margin: 0 0 1.25rem;
}
.bt-lm-download-btn {
    display: inline-block;
    background: #c9a227;
    color: #1a1008;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s;
}
.bt-lm-download-btn:hover { background: #b8911f; }
.bt-lm-error {
    font-size: 0.825rem;
    color: #c0392b;
    margin: 0;
    display: none;
}

/* Resource page CTA button */
.bt-pdf-gate-btn {
    display: block;
    text-align: center;
    padding: 0.85rem 1rem;
    background: #4a1942;
    color: #faf8f5;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 3px;
    border: none;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}
.bt-pdf-gate-btn:hover { background: #3a1232; }

@media (max-width: 600px) {
    .bt-sticky-player-info { max-width: 120px; }
    .bt-sticky-player-progress-wrap { display: none; }
    .bt-lm-modal { padding: 28px 20px; }
}
