.content-wrapper {
    padding: 3vh 5vw 2vh;
}

.slide-header {
    margin-bottom: 1vh;
    /* Reduced to give more space to graph */
}

/* Layout */
.quadrant-layout {
    flex: 1;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: 1fr auto;
    gap: 10px;
    position: relative;
    padding: 1vh 2vw;
}

/* Axis Labels */
.axis-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.axis-label span {
    font-size: 14px;
    color: var(--primary);
}

.y-axis {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    justify-self: center;
    align-self: center;
}

.x-axis {
    grid-column: 2;
    justify-self: center;
    margin-top: 5px;
}

/* Graph Container */
.graph-container {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    overflow: hidden;
}

/* Quadrants */
.quadrant {
    position: relative;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    /* Labels at bottom */
}

.q-tl {
    /* Red */
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(255, 255, 255, 0.5) 80%);
    border-right: 1px dashed rgba(239, 68, 68, 0.4);
    border-bottom: 1px dashed rgba(239, 68, 68, 0.4);
}

.q-tr {
    /* Blue - Making it very visible */
    background: linear-gradient(225deg, rgba(37, 99, 235, 0.25) 0%, rgba(255, 255, 255, 0.5) 80%);
    border-bottom: 1px dashed rgba(37, 99, 235, 0.4);
}

.q-bl {
    /* Gray - Needs to be distinct from white */
    background: linear-gradient(45deg, rgba(107, 114, 128, 0.3) 0%, rgba(255, 255, 255, 0.5) 80%);
    border-right: 1px dashed rgba(107, 114, 128, 0.4);
}

.q-br {
    /* Red */
    background: linear-gradient(315deg, rgba(239, 68, 68, 0.25) 0%, rgba(255, 255, 255, 0.5) 80%);
}

.q-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    margin-bottom: 15px;
    border: 1px solid transparent;
}

/* Specific Label Colors */
.q-tl .q-label {
    color: #991b1b;
    border-color: #fca5a5;
    background: #fff1f2;
}

.q-tr .q-label {
    color: #1e40af;
    border-color: #93c5fd;
    background: #eff6ff;
}

.q-bl .q-label {
    color: #374151;
    border-color: #d1d5db;
    background: #f9fafb;
}

.q-br .q-label {
    color: #991b1b;
    border-color: #fca5a5;
    background: #fff1f2;
}

.q-label.win {
    color: var(--primary);
    background: #eff6ff;
    border: 1px solid #dbeafe;
}

/* Bubbles */
.bubble {
    position: absolute;
    /* Left and Bottom set inline */
    left: var(--l);
    bottom: var(--b);
    transform: translate(-50%, 50%) scale(0);
    /* Center anchor, start scaled down */
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 99px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    z-index: 10;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: var(--d);
}

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

.bubble.red .dot {
    background: #ef4444;
    box-shadow: 0 0 0 2px #fee2e2;
}

.bubble.gray .dot {
    background: #6b7280;
    box-shadow: 0 0 0 2px #f3f4f6;
}

.bubble.amber .dot {
    background: #eab308;
    box-shadow: 0 0 0 2px #fef9c3;
}

.bubble.blue .dot {
    background: #3b82f6;
    box-shadow: 0 0 0 2px #dbeafe;
}

/* Hero Bubble */
.bubble.hero {
    background: #1e3a8a;
    color: #fff;
    border: 2px solid #fff;
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.25);
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    z-index: 20;
}

.logo-icon {
    font-size: 14px;
}

@keyframes popIn {
    from {
        transform: translate(-50%, 50%) scale(0);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 50%) scale(1);
        opacity: 1;
    }
}

/* Pulse Ring */
.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 99px;
    border: 2px solid #3b82f6;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}