/* ── Bio Link Block Styles ─────────────────────────────────────── */

/* ── Image Block ── */
.bl-image-block {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    display: block;
    text-decoration: none;
    box-shadow: 0 4px 24px rgba(0,0,0,.35);
    transition: transform .2s, box-shadow .2s;
}
.bl-image-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,.45);
}
.bl-image-block img {
    width: 100%;
    display: block;
    object-fit: cover;
    max-height: 220px;
}
.bl-image-block .bl-image-placeholder {
    width: 100%;
    height: 140px;
    background: linear-gradient(135deg, rgba(108,77,255,.15), rgba(56,189,248,.1));
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.bl-image-block .bl-image-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    font-size: .85rem;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(108,77,255,.22), rgba(56,189,248,.14));
    border-top: 1px solid rgba(108,77,255,.25);
    color: #fff;
    cursor: pointer;
    transition: background .2s;
    text-decoration: none;
    letter-spacing: .01em;
}
.bl-image-block .bl-image-btn:hover {
    background: linear-gradient(135deg, rgba(108,77,255,.4), rgba(56,189,248,.28));
}
.bl-image-block .bl-image-btn svg { flex-shrink: 0; opacity: .8; }

/* ── Embed Block (YouTube / TikTok) ── */
.bl-embed-block {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    position: relative;
    box-shadow: 0 6px 28px rgba(0,0,0,.5);
    transition: transform .2s, box-shadow .2s;
}
.bl-embed-block:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(0,0,0,.6); }
.bl-embed-block .bl-embed-thumb {
    width: 100%;
    position: relative;
    cursor: pointer;
    display: block;
    overflow: hidden;
}
.bl-embed-block .bl-embed-thumb img {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform .4s;
}
.bl-embed-block .bl-embed-thumb:hover img { transform: scale(1.04); }
.bl-embed-block.tiktok-embed .bl-embed-thumb img {
    aspect-ratio: 9/16;
    max-height: 360px;
}
/* Gradient overlay on thumb */
.bl-embed-block .bl-embed-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.55) 100%);
    pointer-events: none;
    transition: opacity .3s;
}
.bl-embed-block .bl-embed-thumb:hover::after { opacity: .75; }

.bl-embed-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 58px;
    height: 58px;
    background: rgba(0,0,0,.6);
    border-radius: 50%;
    border: 2.5px solid rgba(255,255,255,.9);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s, background .2s, border-color .2s;
    backdrop-filter: blur(6px);
    z-index: 2;
}
.bl-embed-block .bl-embed-thumb:hover .bl-embed-play {
    transform: translate(-50%,-50%) scale(1.12);
    background: rgba(108,77,255,.8);
    border-color: #fff;
}
.bl-embed-play svg { margin-left: 4px; }

.bl-embed-meta {
    padding: 10px 14px 12px;
    background: rgba(8,6,12,.9);
    border-top: 1px solid rgba(255,255,255,.06);
    display: flex;
    align-items: center;
    gap: 10px;
}
.bl-embed-meta .bl-embed-platform {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    flex-shrink: 0;
    padding: 3px 8px;
    border-radius: 20px;
    background: rgba(255,255,255,.06);
}
.bl-embed-meta .bl-embed-title {
    font-size: .8rem;
    color: rgba(255,255,255,.65);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bl-embed-iframe-wrap {
    display: none;
    width: 100%;
    aspect-ratio: 16/9;
}
.bl-embed-iframe-wrap.tiktok-ratio { aspect-ratio: 9/16; max-height: 360px; }
.bl-embed-iframe-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ── QR Code Block ── */
.bl-qr-block {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.09);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: background .2s, transform .2s, box-shadow .2s;
    box-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.bl-qr-block:hover {
    background: rgba(255,255,255,.07);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,.3);
}
.bl-qr-block .bl-qr-img {
    width: 68px;
    height: 68px;
    border-radius: 12px;
    flex-shrink: 0;
    background: #fff;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.bl-qr-block .bl-qr-img img { width: 58px; height: 58px; display: block; }
.bl-qr-block .bl-qr-info { flex: 1; min-width: 0; }
.bl-qr-block .bl-qr-title {
    font-size: .86rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bl-qr-block .bl-qr-sub {
    font-size: .7rem;
    color: rgba(255,255,255,.33);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bl-qr-block .bl-qr-badge {
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 20px;
    background: rgba(52,211,153,.12);
    border: 1px solid rgba(52,211,153,.3);
    color: #34d399;
    flex-shrink: 0;
}

/* ── Catalog Swipe Block ── */
.bl-catalog-block {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    padding-bottom: 14px;
    box-shadow: 0 2px 16px rgba(0,0,0,.2);
}
.bl-catalog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 14px 10px;
}
.bl-catalog-title {
    font-size: .82rem;
    font-weight: 700;
    color: rgba(255,255,255,.85);
}
.bl-catalog-see-all {
    font-size: .7rem;
    color: rgba(108,77,255,.9);
    text-decoration: none;
    font-weight: 600;
    transition: color .15s;
    display: flex;
    align-items: center;
    gap: 3px;
}
.bl-catalog-see-all:hover { color: #a78bfa; }
.bl-catalog-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 14px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}
.bl-catalog-scroll::-webkit-scrollbar { display: none; }
.bl-catalog-card {
    flex-shrink: 0;
    width: 105px;
    border-radius: 13px;
    overflow: hidden;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.09);
    text-decoration: none;
    scroll-snap-align: start;
    transition: transform .2s, box-shadow .2s;
}
.bl-catalog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.35);
}
.bl-catalog-card img {
    width: 105px;
    height: 86px;
    object-fit: cover;
    display: block;
}
.bl-catalog-card .bl-catalog-card-img-ph {
    width: 105px;
    height: 86px;
    background: rgba(255,255,255,.06);
    display: flex;
    align-items: center;
    justify-content: center;
}
.bl-catalog-card .bl-catalog-card-name {
    font-size: .68rem;
    font-weight: 600;
    color: rgba(255,255,255,.85);
    padding: 6px 8px 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bl-catalog-card .bl-catalog-card-price {
    font-size: .65rem;
    color: rgba(255,255,255,.38);
    padding: 0 8px 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── App Button Block ── */
.bl-app-block {
    width: 100%;
    display: flex;
    gap: 10px;
}
.bl-app-btn {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 14px;
    background: #000;
    border: 1.5px solid rgba(255,255,255,.14);
    text-decoration: none;
    transition: background .2s, border-color .2s, transform .15s, box-shadow .2s;
    min-width: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.bl-app-btn:hover {
    background: #111;
    border-color: rgba(255,255,255,.28);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.45);
}
.bl-app-btn svg, .bl-app-btn img { flex-shrink: 0; }
.bl-app-btn .bl-app-text { display: flex; flex-direction: column; min-width: 0; }
.bl-app-btn .bl-app-sub {
    font-size: .58rem;
    color: rgba(255,255,255,.5);
    white-space: nowrap;
    letter-spacing: .01em;
}
.bl-app-btn .bl-app-name {
    font-size: .8rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: .01em;
}

/* ── Store Variants ── */
.bl-app-btn.store-play { background: #000; }
.bl-app-btn.store-apple { background: #000; }
.bl-app-btn.store-huawei {
    background: linear-gradient(135deg,#cf0a2c,#a80823);
    border-color: rgba(207,10,44,.5);
}
.bl-app-btn.store-huawei:hover { background: linear-gradient(135deg,#a80823,#880618); }
.bl-app-btn.store-amazon {
    background: linear-gradient(135deg,#ff9900,#e88b00);
    border-color: rgba(255,153,0,.5);
}
.bl-app-btn.store-amazon .bl-app-sub,
.bl-app-btn.store-amazon .bl-app-name { color: #000; }
.bl-app-btn.store-amazon:hover { background: linear-gradient(135deg,#e88b00,#d07e00); }
.bl-app-btn.store-samsung {
    background: linear-gradient(135deg,#1428a0,#0e1e80);
    border-color: rgba(20,40,160,.5);
}
.bl-app-btn.store-samsung:hover { background: linear-gradient(135deg,#0e1e80,#0a1660); }
.bl-app-btn.store-windows {
    background: linear-gradient(135deg,#0078d4,#006ab8);
    border-color: rgba(0,120,212,.5);
}
.bl-app-btn.store-windows:hover { background: linear-gradient(135deg,#006ab8,#005a9e); }
.bl-app-btn.store-apk {
    background: rgba(52,211,153,.1);
    border-color: rgba(52,211,153,.3);
}
.bl-app-btn.store-apk .bl-app-sub,
.bl-app-btn.store-apk .bl-app-name { color: #34d399; }
.bl-app-btn.store-apk:hover { background: rgba(52,211,153,.2); }
.bl-app-btn.store-web {
    background: rgba(56,189,248,.09);
    border-color: rgba(56,189,248,.28);
}
.bl-app-btn.store-web .bl-app-sub,
.bl-app-btn.store-web .bl-app-name { color: #38bdf8; }
.bl-app-btn.store-web:hover { background: rgba(56,189,248,.18); }

