/* ==========================================================================
   RSolutions × Bengaluru Tech Summit 2026 — homepage announcement popup
   All selectors are prefixed "bts26-" so nothing clashes with main.css / Bootstrap 3.
   ========================================================================== */

.bts26-overlay {
    --bts-gold: #FDB92E;
    --bts-orange: #E67817;
    --bts-blue: #4F8BFF;
    --bts-ink: #0E0E10;
    --bts-char: #1C1C1F;
    --bts-cream: #FDE3A7;
    --bts-muted: #B9B4AA;
    position: fixed;
    inset: 0;
    z-index: 2147483600; /* above the fixed header and the chatbot bubble */
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(8, 8, 10, 0.72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    font-family: "Segoe UI", "Poppins", Roboto, "Helvetica Neue", Arial, sans-serif;
    opacity: 0;
    transition: opacity .35s ease;
}

    .bts26-overlay.bts26-open {
        display: flex;
    }

    .bts26-overlay.bts26-visible {
        opacity: 1;
    }

html.bts26-lock, html.bts26-lock body {
    overflow: hidden !important;
}

.bts26-overlay *, .bts26-overlay *::before, .bts26-overlay *::after {
    box-sizing: border-box;
}

/* ---------- modal shell ---------- */
.bts26-modal {
    position: relative;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    width: 100%;
    max-width: 960px;
    max-height: calc(100vh - 40px);
    overflow: hidden;
    border-radius: 22px;
    color: #fff;
    background: radial-gradient(120% 90% at 0% 100%, rgba(230, 120, 23, .22) 0%, rgba(230, 120, 23, 0) 55%), radial-gradient(80% 70% at 100% 0%, rgba(253, 185, 46, .20) 0%, rgba(253, 185, 46, 0) 60%), linear-gradient(135deg, #1C1C1F 0%, #0E0E10 100%);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(253, 185, 46, .25);
    transform: translateY(24px) scale(.96);
    transition: transform .45s cubic-bezier(.2, .9, .3, 1.2);
}

.bts26-visible .bts26-modal {
    transform: translateY(0) scale(1);
}

/* gradient hairline frame */
.bts26-modal::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(120deg, var(--bts-gold), var(--bts-orange) 40%, rgba(79, 139, 255, .7) 75%, var(--bts-gold));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
}

/* tech dot-grid texture */
.bts26-modal::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(253, 185, 46, .16) 1px, transparent 1.4px);
    background-size: 18px 18px;
    -webkit-mask-image: linear-gradient(105deg, #000 0%, transparent 55%);
    mask-image: linear-gradient(105deg, #000 0%, transparent 55%);
    pointer-events: none;
}

/* ---------- close button ---------- */
.bts26-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: rgba(14, 14, 16, .65);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, transform .2s, border-color .2s;
}

    .bts26-close:hover, .bts26-close:focus-visible {
        background: var(--bts-orange);
        border-color: var(--bts-orange);
        transform: rotate(90deg);
        outline: none;
    }

/* ---------- left: message ---------- */
.bts26-main {
    position: relative;
    z-index: 2;
    padding: 15px;
    overflow-y: auto;
}

.bts26-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

    .bts26-brand img {
        height: 46px;
        width: auto;
        display: block;
        background-color:#fff;
        border-radius:3px;
        padding:3px;
    }

.bts26-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(253, 185, 46, .12);
    border: 1px solid rgba(253, 185, 46, .45);
    color: var(--bts-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

    .bts26-live i {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--bts-orange);
        box-shadow: 0 0 0 0 rgba(230, 120, 23, .7);
        animation: bts26-pulse 1.8s infinite;
    }

.bts26-eyebrow {
    margin: 0 0 6px;
    color: var(--bts-muted);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .02em;
}

.bts26-title {
    margin: 0;
    font-size: 46px;
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #fff;
}

    .bts26-title span {
        display: block;
        background: linear-gradient(90deg, var(--bts-gold) 0%, var(--bts-orange) 70%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .bts26-title b {
        font-weight: 800;
        color: #fff;
    }

.bts26-hook {
    margin: 16px 0 20px;
    max-width: 470px;
    color: #E9E6DF;
    font-size: 15.5px;
    line-height: 1.55;
}

    .bts26-hook strong {
        color: var(--bts-gold);
        font-weight: 700;
    }

    .bts26-hook em {
        font-style: normal;
        color: var(--bts-blue);
        font-weight: 700;
    }

/* capability chips */
.bts26-caps {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .bts26-caps li {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 7px 12px;
        border-radius: 999px;
        background: rgba(255, 255, 255, .06);
        border: 1px solid rgba(255, 255, 255, .14);
        font-size: 12.5px;
        font-weight: 600;
        color: #fff;
        white-space: nowrap;
        transition: border-color .2s, background .2s, transform .2s;
    }

        .bts26-caps li:hover {
            border-color: var(--bts-gold);
            background: rgba(253, 185, 46, .1);
            transform: translateY(-2px);
        }

    .bts26-caps .fa {
        color: var(--bts-gold);
        font-size: 13px;
    }

/* CTA row */
.bts26-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
}

.bts26-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 28px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--bts-gold), var(--bts-orange));
    color: #0E0E10 !important;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .01em;
    text-decoration: none !important;
    box-shadow: 0 10px 28px rgba(230, 120, 23, .45);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}

    .bts26-cta::after { /* moving shine */
        content: "";
        position: absolute;
        top: 0;
        left: -60%;
        width: 40%;
        height: 100%;
        background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
        transform: skewX(-20deg);
        animation: bts26-shine 3.2s ease-in-out infinite;
    }

    .bts26-cta:hover, .bts26-cta:focus-visible {
        transform: translateY(-2px);
        box-shadow: 0 14px 34px rgba(230, 120, 23, .6);
        outline: none;
    }

    .bts26-cta .bts26-arrow {
        display: inline-block;
        transition: transform .2s;
        font-size: 18px;
    }

    .bts26-cta:hover .bts26-arrow {
        transform: translateX(4px);
    }

.bts26-later {
    border: 0;
    background: none;
    padding: 4px 0;
    color: var(--bts-muted);
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

    .bts26-later:hover {
        color: #fff;
    }

/* ---------- right: event pass ---------- */
.bts26-side {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 44px 34px;
    overflow: hidden;
}
/* orbit rings behind the pass */
.bts26-orbit {
    position: absolute;
    width: 520px;
    height: 520px;
    top: 50%;
    left: 50%;
    margin: -260px 0 0 -260px;
    border-radius: 50%;
    border: 1px dashed rgba(253, 185, 46, .35);
    animation: bts26-spin 40s linear infinite;
}

    .bts26-orbit::before, .bts26-orbit::after {
        content: "";
        position: absolute;
        border-radius: 50%;
    }

    .bts26-orbit::before {
        inset: 70px;
        border: 1px solid rgba(79, 139, 255, .3);
    }

    .bts26-orbit::after {
        width: 14px;
        height: 14px;
        top: 46px;
        left: 80px;
        background: var(--bts-orange);
        box-shadow: 0 0 18px var(--bts-orange);
    }

.bts26-glow {
    position: absolute;
    width: 340px;
    height: 340px;
    top: 50%;
    left: 50%;
    margin: -170px 0 0 -170px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(253, 185, 46, .35) 0%, rgba(230, 120, 23, .12) 45%, transparent 70%);
}

.bts26-pass {
    position: relative;
    width: 100%;
    max-width: 310px;
    border-radius: 18px;
    background: #fff;
    color: #1C1C1F;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .45);
    transform: rotate(-3deg);
    transition: transform .4s ease;
    animation: bts26-float 6s ease-in-out infinite;
}

    .bts26-pass:hover {
        transform: rotate(0deg) scale(1.02);
    }

.bts26-pass-top {
    padding: 22px 22px 16px;
    text-align: center;
}

    .bts26-pass-top img {
        width: 100%;
        height: auto;
        display: block;
    }

.bts26-pass-theme {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #0E0E10;
    color: var(--bts-gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}
/* perforation */
.bts26-perf {
    position: relative;
    height: 0;
    border-top: 2px dashed #E3DED3;
    margin: 0 18px;
}

    .bts26-perf::before, .bts26-perf::after {
        content: "";
        position: absolute;
        top: -13px;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: #141416;
    }

    .bts26-perf::before {
        left: -31px;
    }

    .bts26-perf::after {
        right: -31px;
    }

.bts26-pass-body {
    padding: 16px 22px 20px;
}

.bts26-pass-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

    .bts26-pass-row:last-child {
        margin-bottom: 0;
    }

    .bts26-pass-row .fa {
        flex: 0 0 30px;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--bts-gold), var(--bts-orange));
        color: #0E0E10;
        font-size: 13px;
        line-height: 30px;
        text-align: center;
    }

    .bts26-pass-row small {
        display: block;
        color: #8A857A;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: .14em;
        text-transform: uppercase;
    }

    .bts26-pass-row strong {
        display: block;
        font-size: 14.5px;
        font-weight: 800;
        line-height: 1.25;
        color: #1C1C1F;
    }

.bts26-pass-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 0 0 18px 18px;
    background: #0E0E10;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

    .bts26-pass-foot span {
        color: var(--bts-gold);
    }

    .bts26-pass-foot img {
        height: 26px;
        width: auto;
        display: block;
    }

/* stats strip under the message */
.bts26-stats {
    display: flex;
    gap: 22px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

    .bts26-stats div {
        font-size: 11px;
        font-weight: 600;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--bts-muted);
    }

    .bts26-stats b {
        display: block;
        font-size: 22px;
        letter-spacing: -.01em;
        color: var(--bts-gold);
        font-weight: 800;
    }

/* ---------- animations ---------- */
@keyframes bts26-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 120, 23, .7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(230, 120, 23, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(230, 120, 23, 0);
    }
}

@keyframes bts26-shine {
    0%, 60% {
        left: -60%;
    }

    100% {
        left: 130%;
    }
}

@keyframes bts26-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes bts26-float {
    0%, 100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bts26-overlay, .bts26-modal, .bts26-pass {
        transition: none;
    }

    .bts26-orbit, .bts26-pass, .bts26-cta::after, .bts26-live i {
        animation: none;
    }
}

/* ---------- tablet ---------- */
@media (max-width: 900px) {
    .bts26-modal {
        grid-template-columns: 1fr;
        max-width: 640px;
        overflow-y: auto;
    }

    .bts26-side {
        order: -1;
        padding: 30px 24px 6px;
    }

    .bts26-orbit {
        width: 380px;
        height: 380px;
        margin: -190px 0 0 -190px;
    }

    .bts26-pass {
        max-width: 420px;
        display: grid;
        grid-template-columns: 1.1fr 1fr;
        transform: rotate(0);
        animation: none;
    }

    .bts26-pass-top {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .bts26-perf {
        display: none;
    }

    .bts26-pass-body {
        border-left: 2px dashed #E3DED3;
        padding: 18px;
    }

    .bts26-pass-foot {
        grid-column: 1 / -1;
    }

    .bts26-main {
        padding: 26px 32px 30px;
        overflow: visible;
    }

    .bts26-title {
        font-size: 40px;
    }
}

/* ---------- mobile ---------- */
@media (max-width: 560px) {
    .bts26-overlay {
        padding: 12px;
        align-items: flex-end;
    }

    .bts26-modal {
        border-radius: 20px;
        max-height: calc(100vh - 24px);
    }

    .bts26-side {
        padding: 24px 16px 2px;
    }

    .bts26-pass {
        grid-template-columns: 1fr;
        max-width: 300px;
    }

    .bts26-pass-top {
        padding: 16px 16px 10px;
    }

    .bts26-pass-body {
        border-left: 0;
        border-top: 2px dashed #E3DED3;
        padding: 12px 16px;
        display: flex;
        flex-wrap: wrap;
        gap: 6px 16px;
    }

    .bts26-pass-row {
        margin: 0;
    }

        .bts26-pass-row .fa {
            flex-basis: 26px;
            width: 26px;
            height: 26px;
            line-height: 26px;
            font-size: 11px;
        }

        .bts26-pass-row strong {
            font-size: 13px;
        }

    .bts26-main {
        padding: 18px 20px 24px;
    }

    .bts26-brand {
        margin-bottom: 14px;
    }

        .bts26-brand img {
            height: 38px;
        }

    .bts26-title {
        font-size: 32px;
    }

    .bts26-hook {
        font-size: 14.5px;
        margin: 12px 0 16px;
    }

    .bts26-caps li {
        font-size: 12px;
        padding: 6px 10px;
    }

        .bts26-caps li:nth-child(n+5) {
            display: none;
        }
    /* keep mobile uncluttered */
    .bts26-actions {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .bts26-cta {
        justify-content: center;
    }

    .bts26-stats {
        gap: 14px;
        justify-content: space-between;
    }

        .bts26-stats b {
            font-size: 18px;
        }

    .bts26-orbit {
        display: none;
    }
    /* compact event pass so the CTA stays on screen without scrolling */
    .bts26-pass {
        max-width: 250px;
    }

    .bts26-pass-top img {
        max-height: 54px;
        width: auto;
        margin: 0 auto;
    }

    .bts26-pass-theme {
        margin-top: 6px;
        font-size: 10px;
        padding: 3px 10px;
    }

    .bts26-pass-foot {
        display: none;
    }

    .bts26-pass-body {
        border-radius: 0 0 18px 18px;
    }

    .bts26-stats {
        display: none;
    }

    .bts26-eyebrow {
        font-size: 13px;
    }
}
