/* =============================================
   Splash sticky bar – left edge tab
   ============================================= */
   .splash-sticky-bar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    background: linear-gradient(180deg, #1a6fbf 0%, #085394 100%);
    color: #fff;
    z-index: 1020;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 0;
    border-radius: 0 8px 8px 0;
    box-shadow: 3px 0 12px rgba(8, 83, 148, 0.3);
    transition: all 0.25s ease;
}

.splash-sticky-bar:hover {
    width: 44px;
    box-shadow: 4px 0 20px rgba(8, 83, 148, 0.45);
    background: linear-gradient(180deg, #085394 0%, #063d6e 100%);
}

.splash-sticky-dot {
    width: 12px;
    height: 12px;
    background: #ffea00;
    border-radius: 50%;
    margin-bottom: 10px;
    box-shadow: 0 0 8px rgba(255, 234, 0, 0.7);
    animation: splash-dot-pulse 2s ease-in-out infinite;
}

@keyframes splash-dot-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(255, 234, 0, 0.7); }
    50%       { opacity: 0.5; box-shadow: 0 0 3px rgba(255, 234, 0, 0.4); }
}

.splash-sticky-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* =============================================
   Splash Modal – polished design
   ============================================= */

/* Modal chrome */
.splash-modal {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

#splashModal.in ~ .modal-backdrop.in,
.modal-backdrop.in {
    opacity: 0.75;
}

/* ---------- Vertical centering ---------- */
#splashModal .modal-dialog {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 60px);
    max-width: 1100px;
    margin-top: 30px;
    margin-bottom: 30px;
}

/* ---------- Hero header ---------- */
.splash-hero {
    position: relative;
    background: linear-gradient(135deg, #1a6fbf 0%, #085394 100%);
    padding: 36px 32px 30px;
    color: #fff;
}

.splash-close {
    position: absolute;
    top: 14px;
    right: 18px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 26px;
    text-shadow: none;
    opacity: 1;
}
.splash-close:hover,
.splash-close:focus {
    color: #fff;
}

.splash-version-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.splash-hero-title {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
}

.splash-hero-subtitle {
    margin: 0;
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.5;
}

/* ---------- Body ---------- */
.splash-body {
    padding: 28px 32px !important;
    background: #f7f8fa;
}

/* ---------- Cards ---------- */
.splash-card {
    background: #fff;
    border: 1px solid #e3e6eb;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.splash-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

.splash-card:last-child {
    margin-bottom: 0;
}

.splash-card-header {
    display: flex;
    align-items: center;
    padding: 16px 20px 0;
    gap: 10px;
}

.splash-card-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
}

.splash-card-body {
    padding: 10px 20px 20px;
}

.splash-card-body > p {
    margin: 0 0 10px;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

.splash-card-compact .splash-card-body {
    padding-top: 8px;
}

/* ---------- Split layout: copy left, screenshot right ---------- */
.splash-card-body-split {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.splash-card-body-split .splash-card-copy {
    flex: 1;
    min-width: 0;
}

.splash-card-body-split .splash-screenshot {
    flex: 1;
    min-width: 0;
    margin: 0;
}

/* ---------- Badges ---------- */
.splash-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 10px;
    border-radius: 4px;
    flex-shrink: 0;
}

.splash-badge-new {
    background: #e8f5e9;
    color: #2e7d32;
}

.splash-badge-improved {
    background: #e3f2fd;
    color: #085394;
}

.splash-badge-info {
    background: #fff3e0;
    color: #e65100;
}

/* ---------- Feature list ---------- */
.splash-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}

.splash-feature-list li {
    display: flex;
    align-items: flex-start;
    padding: 6px 0;
    font-size: 14px;
    color: #444;
    line-height: 1.5;
}

.splash-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    margin-right: 10px;
    margin-top: 1px;
}

.splash-emphasis {
    font-style: italic;
    color: #555;
    margin-bottom: 14px !important;
}

/* ---------- Screenshots ---------- */
.splash-screenshot {
    margin: 14px 0 4px;
    text-align: center;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.splash-screenshot img {
    width: 100%;
    display: block;
}

/* ---------- Footer ---------- */
.splash-footer {
    padding: 16px 32px 20px;
    background: #f7f8fa;
    border-top: 1px solid #e3e6eb;
    text-align: right;
}

.splash-btn-dismiss {
    background: linear-gradient(135deg, #1a6fbf 0%, #085394 100%);
    color: #fff;
    border: none;
    padding: 10px 32px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.splash-btn-dismiss:hover,
.splash-btn-dismiss:focus {
    background: linear-gradient(135deg, #085394 0%, #063d6e 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(8, 83, 148, 0.35);
    transform: translateY(-1px);
}

.splash-btn-dismiss:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(8, 83, 148, 0.25);
}

/* ---------- Responsive: stack on mobile ---------- */
@media (max-width: 767px) {
    .splash-card-body-split {
        flex-direction: column;
    }

    .splash-card-body-split .splash-screenshot {
        margin-top: 14px;
    }

    #splashModal .modal-dialog {
        min-height: auto;
        margin-top: 10px;
        margin-bottom: 10px;
    }
}