.online-highlighter{
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    background-color: var(--green-clr-lig-v3);
    padding: .25rem 1rem;
    font-size: .90rem;
    font-weight: 500;
    border-radius: 1rem;
    color: var(--green-clr);
    border: 1px solid var(--green);
    margin-bottom: 1rem;
}

.online-highlighter::before{
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color: var(--green);
}


.wrapper {
    background: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    width: 100%;
    margin: 3rem auto;
    overflow: visible;
    position: relative;
}

/* ─── LEFT: MARKET WIDGET ────────────────────── */
.market-side {
    padding: 28px 28px 20px;
    position: relative;
}

.market-card {
    background: var(--card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 20px 16px;
    position: relative;
    box-shadow: var(--shadow-sm);
}

/* Header */
.card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.sport-icon {
    width: 42px;
    height: 42px;
    background: #f4f5f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    border: 1.5px solid var(--border);
}

.card-meta {
    flex: 1;
}

.breadcrumb {
    font-size: 11.5px;
    color: var(--text-soft);
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 3px;
    font-family: var(--font-body);
}

.breadcrumb span {
    margin: 0 4px;
}

.card-title {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

.card-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 2px;
}

.card-actions button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-soft);
    padding: 4px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    transition: color 0.2s, background 0.2s;
}

.card-actions button:hover {
    color: var(--text-dark);
    background: #f0f2f5;
}

/* Team Rows */
.teams-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 14px;
}

.team-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.2s;
}

.team-row:hover {
    background: #f8f9fb;
}

.team-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-radius: var(--radius-sm);
    opacity: 0.11;
    width: 0;
    transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
    z-index: 1;
}

.team-name {
    flex: 1;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-dark);
    z-index: 1;
    font-family: var(--font-body);
}

.team-pct {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    z-index: 1;
}

/* Tabs */
.tabs-row {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-bottom: 10px;
    border-bottom: 1.5px solid var(--border);
    margin-bottom: 10px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border: none;
    background: none;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-soft);
    border-radius: 6px;
    font-family: var(--font-body);
    transition: color 0.2s, background 0.2s;
    position: relative;
}

.tab-btn.active {
    color: var(--text-dark);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
}

.tab-btn:hover:not(.active) {
    background: #f0f2f5;
    color: var(--text-dark);
}

.live-badge {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--green);
    font-family: var(--font-head);
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.7);
    }
}

/* Chart Legend */
.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 11px;
    color: var(--text-mid);
    margin-bottom: 6px;
    font-family: var(--font-body);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* Chart Y labels */
.chart-area {
    position: relative;
}

.chart-y-labels {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 10px;
    color: var(--text-soft);
    font-family: var(--font-body);
    padding-bottom: 4px;
}

.chart-container {
    padding-left: 28px;
    height: 130px;
}

/* Card Footer */
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1.5px solid var(--border);
    font-size: 11.5px;
    color: var(--text-soft);
    font-family: var(--font-body);
}

.footer-vol {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.footer-change {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--green);
    font-weight: 700;
    font-size: 12px;
}

.footer-ends {
    font-weight: 500;
}

/* Carousel Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-mid);
    transition: all 0.2s;
    z-index: 10;
}

.carousel-arrow:hover {
    background: var(--text-dark);
    color: white;
    border-color: var(--text-dark);
}

.arrow-left {
    left: -16px;
}

.arrow-right {
    right: -16px;
}

/* Pagination dots */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
}

.page-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s;
}

.page-dot.active {
    width: 22px;
    background: var(--text-dark);
}

/* ─── RIGHT: CTA PANEL ───────────────────────── */
.cta-side {
    padding: 36px 36px 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
    border-left: 1.5px solid var(--border);
}

.cta-headline {
    font-family: var(--font-head);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.cta-body {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.65;
    margin-bottom: 18px;
    font-weight: 400;
}

.cta-body strong {
    color: var(--text-dark);
    font-weight: 700;
}

.urgency-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding: 9px 13px;
    background: #f7f8fa;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.urgency-strip strong {
    font-weight: 800;
}

.urgency-icon {
    font-size: 15px;
}

.cta-btn {
    width: 100%;
    padding: 16px 20px;
    background: var(--dark-clr);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.25s, transform 0.15s, box-shadow 0.25s;
    box-shadow: 0 4px 20px rgba(13, 15, 20, 0.22);
    position: relative;
    overflow: hidden;
}

.cta-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: white;
    opacity: 0;
    transition: opacity 0.2s;
}

.cta-btn:hover {
    background: var(--btn-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(13, 15, 20, 0.3);
}

.cta-btn:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 16px;
}

.cta-subnote {
    text-align: center;
    font-size: 11.5px;
    color: var(--text-soft);
    margin-top: 10px;
    font-weight: 500;
}

.divider {
    height: 1.5px;
    background: var(--border);
    margin: 22px 0;
    border-radius: 2px;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    color: var(--text-mid);
    font-weight: 500;
    cursor: default;
    transition: color 0.2s;
}

.feature-item:hover {
    color: var(--text-dark);
}

.feature-icon {
    width: 30px;
    height: 30px;
    background: #f3f4f7;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    border: 1px solid var(--border);
    transition: background 0.2s;
}

.feature-item:hover .feature-icon {
    background: #e9ebf0;
}

/* ─── SLIDE DATA (hidden) ───────────────────── */
.slide {
    display: none;
}

.slide.active {
    display: block;
}

/* ─── ANIMATIONS ────────────────────────────── */
@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.market-card {
    animation: fade-up 0.55s ease both;
}

.cta-side>* {
    animation: fade-up 0.5s ease both;
}

.cta-side>*:nth-child(1) {
    animation-delay: 0.05s;
}

.cta-side>*:nth-child(2) {
    animation-delay: 0.10s;
}

.cta-side>*:nth-child(3) {
    animation-delay: 0.15s;
}

.cta-side>*:nth-child(4) {
    animation-delay: 0.20s;
}

.cta-side>*:nth-child(5) {
    animation-delay: 0.25s;
}

.cta-side>*:nth-child(6) {
    animation-delay: 0.30s;
}

.cta-side>*:nth-child(7) {
    animation-delay: 0.35s;
}

/* Activity tab */
.activity-panel {
    display: none;
    padding: 10px 0;
}

.activity-panel.visible {
    display: block;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid #f0f2f5;
    font-size: 12px;
    color: var(--text-mid);
    font-family: var(--font-body);
}

.activity-item:last-child {
    border-bottom: none;
}

.act-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.act-text {
    flex: 1;
}

.act-amount {
    font-weight: 700;
    color: var(--text-dark);
}

.act-time {
    color: var(--text-soft);
    font-size: 11px;
}

/* Responsive */
@media (max-width: 991px) {
    .wrapper {
        grid-template-columns: 1fr;
    }

    .market-side{
        padding: 9px 9px 5px;
    }

    .cta-side {
        border-left: none;
        border-top: 1.5px solid var(--border);
        padding: 18px;
    }

    .cta-headline {
        font-size: 22px;
    }

    .arrow-left {
        left: -12px;
    }

    .arrow-right {
        right: -12px;
    }
}