/* ============================================================
   Books Showcase Elementor Widget — Frontend CSS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Outfit:wght@300;400;500;600;700&display=swap');

/* Section Wrapper */
.bse-books-showcase {
    position: relative;
    background-color: #020617;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    padding: 120px 20px;
    color: #ffffff;
}

.bse-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.5) 0%, rgba(2, 6, 23, 0.95) 100%);
    z-index: 1;
    pointer-events: none;
}

.bse-container {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
}

/* Header */
.bse-header {
    text-align: center;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.bse-eyebrow {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 0.85rem;
    letter-spacing: 0.35em;
    color: #38bdf8;
    text-transform: uppercase;
    font-weight: 700;
}

.bse-title {
    font-family: 'Cinzel', Georgia, serif;
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

/* Vaults Grid */
.bse-vaults-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 992px) {
    .bse-vaults-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* Vault Card */
.bse-vault-card {
    position: relative;
    background: rgba(147, 160, 190, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 3.5rem 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bse-vault-cyan {
    border: 1.5px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 30px 70px -15px rgba(2, 6, 23, 0.9), 0 0 40px rgba(56, 189, 248, 0.15);
}

.bse-vault-gold {
    border: 1.5px solid rgba(229, 192, 123, 0.4);
    box-shadow: 0 30px 70px -15px rgba(2, 6, 23, 0.9), 0 0 40px rgba(229, 192, 123, 0.15);
}

.bse-vault-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.bse-vault-cyan:hover {
    box-shadow: 0 40px 90px -20px rgba(56, 189, 248, 0.3), 0 0 60px rgba(56, 189, 248, 0.25);
}

.bse-vault-gold:hover {
    box-shadow: 0 40px 90px -20px rgba(229, 192, 123, 0.3), 0 0 60px rgba(229, 192, 123, 0.25);
}

/* Book Stage */
.bse-book-stage {
    position: relative;
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.bse-aura {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    filter: blur(25px);
    z-index: 1;
}

.bse-aura-cyan {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.4) 0%, rgba(2, 6, 23, 0) 70%);
}

.bse-aura-gold {
    background: radial-gradient(circle, rgba(229, 192, 123, 0.4) 0%, rgba(2, 6, 23, 0) 70%);
}

.bse-book-img,
.bse-book-stage img {
    position: relative;
    z-index: 3;
    max-height: 300px;
    max-width: 85%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.85));
    transition: transform 0.6s ease;
}

.bse-vault-card:hover .bse-book-img,
.bse-vault-card:hover .bse-book-stage img {
    transform: translateY(-12px) scale(1.08) rotate(-3deg);
}

/* Badges */
.bse-badge {
    position: absolute;
    z-index: 4;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #f8fafc;
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.bse-badge-lt {
    top: 20px;
    left: -10px;
}

.bse-badge-rb {
    bottom: 10px;
    right: -10px;
}

.bse-badge-gold {
    border-color: rgba(229, 192, 123, 0.4);
}

/* Info Block */
.bse-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 2;
    width: 100%;
}

.bse-vol-label {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 700;
}

.bse-cyan-label {
    color: #38bdf8;
}

.bse-gold-label {
    color: #e5c07b;
}

.bse-book-title {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin: 0;
}

.bse-synopsis {
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    line-height: 1.7;
    color: #94a3b8;
    max-width: 420px;
    margin: 0;
}

/* CTA Buttons */
.bse-cta {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: #020617;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.bse-cta-cyan {
    background: linear-gradient(135deg, #7dd3fc 0%, #0ea5e9 50%, #0369a1 100%);
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.4);
}

.bse-cta-cyan:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.6);
}

.bse-cta-gold {
    background: linear-gradient(135deg, #ffe5a3 0%, #cfa553 50%, #9a7224 100%);
    box-shadow: 0 4px 20px rgba(229, 192, 123, 0.4);
}

.bse-cta-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(229, 192, 123, 0.6);
}

/* View All Button */
.bse-view-all-wrap {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.bse-view-all-btn {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #7dd3fc 0%, #0ea5e9 50%, #0369a1 100%);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.5);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.bse-view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(56, 189, 248, 0.7);
    color: #ffffff;
}

.bse-view-all-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.bse-view-all-btn:hover i {
    transform: translateX(5px);
}
