:root {
  --ft-background: #ffffff;
  --ft-foreground: #0f172a; /* Slate 900 */
  --ft-muted: #f1f5f9;      /* Slate 100 */
  --ft-muted-text: #64748b; /* Slate 500 */
  --ft-border: #e2e8f0;     /* Slate 200 */
  
  --ft-fighter-a: #ef4444;  /* Red 500 */
  --ft-fighter-b: #3b82f6;  /* Blue 500 */
  
  --ft-font-display: 'Oswald', sans-serif;
  --ft-font-body: 'Inter', sans-serif;
}

/* Base resets for the container */
.ft-container {
    font-family: var(--ft-font-body);
    color: var(--ft-foreground);
    background-color: var(--ft-background);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem 4rem;
}

.ft-container * {
    box-sizing: border-box;
}

/* HERO SECTION */
.ft-hero {
    position: relative;
    width: 100%;
    min-height: 300px;
    background-color: var(--ft-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--ft-border);
    overflow: hidden;
    margin: 0 -1rem 2rem;
}

@media (min-width: 768px) {
    .ft-hero {
        min-height: 400px;
        margin-bottom: 3rem;
    }
}

.ft-hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: radial-gradient(circle at 2px 2px, black 1px, transparent 0);
    background-size: 32px 32px;
}

.ft-vs-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 3px solid var(--ft-muted);
}

@media (min-width: 768px) {
    .ft-vs-icon {
        width: 80px;
        height: 80px;
        border-width: 4px;
    }
}

.ft-vs-text {
    font-family: var(--ft-font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ft-foreground);
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .ft-vs-text {
        font-size: 1.5rem;
    }
}

.ft-hero-fighter {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
}

@media (min-width: 768px) {
    .ft-hero-fighter {
        padding: 2rem;
    }
}

.ft-hero-fighter.left {
    left: 0;
    background: linear-gradient(to right, rgba(239, 68, 68, 0.05), transparent);
}

.ft-hero-fighter.right {
    right: 0;
    background: linear-gradient(to left, rgba(59, 130, 246, 0.05), transparent);
}

.ft-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
    border: 3px solid;
}

@media (min-width: 768px) {
    .ft-avatar-large {
        width: 120px;
        height: 120px;
        margin-bottom: 1.5rem;
        border-width: 4px;
    }
}

.ft-hero-fighter.left .ft-avatar-large {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: var(--ft-fighter-a);
}

.ft-hero-fighter.right .ft-avatar-large {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
    color: var(--ft-fighter-b);
}

.ft-avatar-large svg {
    width: 32px;
    height: 32px;
}

@media (min-width: 768px) {
    .ft-avatar-large svg {
        width: 48px;
        height: 48px;
    }
}

.ft-fighter-name {
    font-family: var(--ft-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0;
    text-align: center;
    word-break: break-word;
}

@media (min-width: 768px) {
    .ft-fighter-name {
        font-size: 2rem;
    }
}

.ft-fighter-meta {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--ft-muted-text);
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-top: 0.5rem;
}

.ft-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .ft-grid {
        grid-template-columns: 300px 1fr;
    }
}

aside {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ft-sidebar-title {
    font-family: var(--ft-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ft-chart-card {
    background: var(--ft-background);
    border: 1px solid var(--ft-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.ft-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.ft-stat-box {
    background: var(--ft-muted);
    border-radius: 0.75rem;
    padding: 1.25rem;
    text-align: center;
}

.ft-stat-val {
    display: block;
    font-family: var(--ft-font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.ft-stat-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--ft-muted-text);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.ft-timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.ft-timeline-title {
    font-family: var(--ft-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ft-sort-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--ft-muted);
    border: 1px solid var(--ft-border);
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--ft-foreground);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
}

.ft-sort-toggle:hover {
    background: var(--ft-border);
    border-color: var(--ft-muted-text);
}

.ft-sort-toggle svg {
    width: 16px;
    height: 16px;
}

.ft-timeline-wrapper {
    position: relative;
    padding-left: 2rem;
}

.ft-timeline-line {
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--ft-fighter-a), var(--ft-fighter-b));
}

.ft-quote-item {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

@media (min-width: 768px) {
    .ft-quote-item {
        flex-direction: row;
        gap: 2rem;
    }
}

.ft-quote-item.is-speaker {
    flex-direction: column;
}

@media (min-width: 768px) {
    .ft-quote-item.is-speaker {
        flex-direction: row-reverse;
    }
}

.ft-timeline-icon {
    position: absolute;
    left: -2rem;
    top: 1rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 10;
}

@media (min-width: 768px) {
    .ft-timeline-icon {
        display: none;
    }
}

.ft-timeline-icon.bg-red {
    background-color: var(--ft-fighter-a);
}

.ft-timeline-icon.bg-blue {
    background-color: var(--ft-fighter-b);
}

.ft-center-icon-wrapper {
    display: none;
}

@media (min-width: 768px) {
    .ft-center-icon-wrapper {
        display: flex;
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        color: white;
        flex-shrink: 0;
        align-self: flex-start;
        margin-top: 0.75rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
}

.ft-connector {
    display: none;
}

@media (min-width: 768px) {
    .ft-connector {
        display: block;
        position: absolute;
        top: 1.5rem;
        width: 2rem;
        height: 2px;
    }

    .ft-quote-item.is-speaker .ft-connector {
        right: calc(100% - 2rem);
        background: linear-gradient(to left, var(--ft-fighter-a), transparent);
    }

    .ft-quote-item.is-target .ft-connector {
        left: -2rem;
        background: linear-gradient(to right, var(--ft-fighter-b), transparent);
    }
}

.ft-quote-card {
    flex: 1;
    background: var(--ft-background);
    border: 1px solid var(--ft-border);
    border-radius: 0.75rem;
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
}

.ft-quote-border {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

.ft-quote-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ft-quote-author {
    font-weight: 700;
    font-size: 1rem;
}

.ft-quote-date {
    font-size: 0.75rem;
    color: var(--ft-muted-text);
    font-family: 'Courier New', monospace;
}

.ft-quote-text {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    font-style: italic;
    color: #334155;
}

@media (min-width: 768px) {
    .ft-quote-text {
        font-size: 1.125rem;
    }
}

.ft-sentiment-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background: var(--ft-muted);
    border-radius: 99px;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--ft-muted-text);
    font-weight: 600;
}

.ft-sentiment-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 6px;
}

/* Load More Button */
#load-more-pair:hover {
    background: #ef4444 !important;
}

/* Colors */
.text-red { color: var(--ft-fighter-a); }
.text-blue { color: var(--ft-fighter-b); }
.bg-red { background-color: var(--ft-fighter-a); }
.bg-blue { background-color: var(--ft-fighter-b); }

/* Quote border strip colors */
.ft-quote-border.bg-red { background-color: var(--ft-fighter-a); }
.ft-quote-border.bg-blue { background-color: var(--ft-fighter-b); }

/* NEW: Fighter Profile Links Section */
.fighter-profile-links-section {
    background: #f8f9fa;
    padding: 2rem;
    margin: 3rem 0 2rem;
    border-radius: 0.75rem;
    border: 2px solid #e9ecef;
}

.fighter-profile-links-title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #212529;
    font-size: 1.5rem;
    font-family: var(--ft-font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fighter-profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.fighter-profile-card {
    display: block;
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    border: 2px solid #dee2e6;
    transition: all 0.3s;
    text-align: center;
}

.fighter-profile-card:hover {
    border-color: #0d6efd;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15);
    transform: translateY(-2px);
}

.fighter-profile-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.75rem;
    font-family: var(--ft-font-display);
}

.fighter-profile-subtitle {
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.fighter-profile-button {
    display: inline-block;
    background: #0d6efd;
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: background 0.2s;
}

.fighter-profile-card:hover .fighter-profile-button {
    background: #0b5ed7;
}
