/* =======================
   SINGLE ANALYSIS STYLES
   ======================= */

/* Global Analysis Page Styles */
body.single-analysis {
    background: #ffffff;
    color: #333;
}

/* Consistent Container Styles for All Sections */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Ensure all sections have consistent spacing */
body.single-analysis section {
    padding: 60px 0;
    overflow: visible;
    background: transparent;
}

body.single-analysis section:first-of-type {
    padding-top: 0;
}

body.single-analysis section.analysis-hero-enhanced {
    padding-top: 140px;
}

/* Admin bar adjustment */
body.single-analysis.admin-bar .header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.single-analysis.admin-bar .header {
        top: 46px;
    }
}

.single-analysis h1,
.single-analysis h2,
.single-analysis h3,
.single-analysis h4,
.single-analysis h5,
.single-analysis h6 {
    color: #1a1a1a;
}

/* Analysis Hero Enhanced */
.analysis-hero-enhanced {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: visible;
    min-height: 600px;
}

.analysis-hero-enhanced .container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.analysis-hero-enhanced::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(0, 178, 138, 0.08) 0%, transparent 70%);
    transform: rotate(-15deg);
    pointer-events: none;
    z-index: 1;
}

.analysis-hero-enhanced::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 40%;
    height: 80%;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.analysis-hero-content {
    position: relative;
    z-index: 1;
}

.analysis-meta-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.analysis-category {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: linear-gradient(135deg, #00b28a 0%, #00e67a 100%);
    color: #000;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 178, 138, 0.2);
    transition: all 0.3s ease;
}

.analysis-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 178, 138, 0.3);
}

.analysis-date {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.analysis-title {
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.1;
    margin-bottom: 32px;
    color: #1a1a1a;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.analysis-meta-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    color: #444;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.meta-item:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(0, 178, 138, 0.2);
    transform: translateY(-2px);
}

.meta-icon {
    font-size: 18px;
}

/* Hero Grid Layout */
.hero-grid-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    margin-top: 48px;
}

.hero-left-section {
    min-width: 0;
}

.hero-right-section {
    min-width: 0;
}

/* Enhanced Featured Personas Section */
.analysis-personas-enhanced {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    padding: 32px;
    height: fit-content;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.analysis-personas-enhanced h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.personas-list-enhanced {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.persona-link-enhanced {
    text-decoration: none;
    color: inherit;
}

.persona-card-enhanced {
    background: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.persona-link-enhanced:hover .persona-card-enhanced {
    background: #ffffff;
    border-color: rgba(0, 178, 138, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 178, 138, 0.15);
}

.persona-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.persona-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(0, 178, 138, 0.2);
}

.persona-avatar-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 168, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #00b28a;
    border: 3px solid rgba(0, 178, 138, 0.2);
}

.persona-info {
    flex: 1;
    min-width: 0;
}

.persona-info .persona-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 4px 0;
    display: block;
}

.persona-info .persona-title {
    font-size: 14px;
    color: #666;
    margin: 0 0 8px 0;
}

.persona-affiliation {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.affiliation-badge {
    font-size: 12px;
    padding: 4px 10px;
    background: rgba(0, 178, 138, 0.1);
    color: #00b28a;
    border-radius: 12px;
    font-weight: 600;
}

.persona-bio-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 16px 0;
}

.persona-stats-mini {
    display: flex;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.persona-stats-mini .stat-item {
    text-align: center;
}

.persona-stats-mini .stat-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #00b28a;
    margin-bottom: 4px;
}

.persona-stats-mini .stat-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
}

/* Old Featured Personas - Keep for backward compatibility */
.analysis-personas {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 24px;
    margin-top: 32px;
}

.analysis-personas h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.personas-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.persona-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.persona-link {
    text-decoration: none;
    color: inherit;
}

.persona-link:hover .persona-item {
    background: rgba(0, 255, 136, 0.05);
    border-color: #00b28a;
    transform: translateY(-2px);
}

.persona-thumb {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0, 255, 136, 0.2);
}

.persona-thumb-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    color: #00b28a;
    border: 2px solid rgba(0, 255, 136, 0.2);
}

.persona-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.persona-name {
    font-size: 16px;
    font-weight: 600;
}

.persona-role {
    font-size: 13px;
    color: #666;
}

/* Video Section */
.analysis-video {
    padding: 60px 0;
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
}

.video-wrapper {
    max-width: 1000px;
    margin: 0 auto 40px;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
}

.video-embed iframe,
.video-embed video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-thumbnail {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.video-thumbnail:hover .play-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.play-icon {
    font-size: 64px;
    color: #fff;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.video-info {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.manipulation-score-large {
    background: #ffffff;
    border: 2px solid #e5e5e5;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.manipulation-score-large.score-high {
    border-color: rgba(255, 68, 68, 0.3);
    background: rgba(255, 68, 68, 0.05);
}

.manipulation-score-large.score-medium {
    border-color: rgba(255, 170, 0, 0.3);
    background: rgba(255, 170, 0, 0.05);
}

.manipulation-score-large.score-low {
    border-color: rgba(0, 255, 136, 0.3);
    background: rgba(0, 255, 136, 0.05);
}

.score-circle {
    margin-bottom: 16px;
}

.score-circle .score-number {
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.score-circle .score-label {
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
    margin-top: 8px;
    display: block;
}

.score-description {
    font-size: 14px;
    color: #666;
}

.video-context,
.video-audience {
    margin-bottom: 24px;
}

.video-context h3,
.video-audience h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.video-context p,
.video-audience p {
    color: #666;
    line-height: 1.6;
}

/* Content Sections */
.analysis-summary,
.analysis-findings,
.analysis-fate,
.analysis-methodology,
.analysis-related,
.analysis-share {
    padding: 60px 0;
}

.analysis-summary,
.analysis-fate,
.analysis-share {
    background: #f8f9fa;
    border-top: 1px solid #e5e5e5;
}

.analysis-findings,
.analysis-methodology,
.analysis-related {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.summary-content {
    max-width: 800px;
    margin: 0 auto;
}

.summary-content h2 {
    font-size: 36px;
    margin-bottom: 32px;
}

.summary-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 24px;
}

/* Key Findings */
.findings-grid {
    display: flex;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.finding-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    width: 18%;
}

.finding-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #00b28a;
}

.finding-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.finding-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.finding-card p {
    color: #666;
    line-height: 1.6;
}

/* FATE Analysis */
.fate-analysis-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.fate-analysis-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.fate-analysis-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.fate-focus {
    border-color: rgba(0, 255, 136, 0.2);
}

.fate-authority {
    border-color: rgba(255, 170, 0, 0.2);
}

.fate-tribe {
    border-color: rgba(0, 168, 255, 0.2);
}

.fate-emotion {
    border-color: rgba(255, 0, 136, 0.2);
}

.fate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.fate-header h3 {
    font-size: 24px;
    margin: 0;
}

.fate-impact {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.impact-low {
    background: rgba(0, 255, 136, 0.1);
    color: #00b28a;
}

.impact-medium {
    background: rgba(255, 170, 0, 0.1);
    color: #ffaa00;
}

.impact-high {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
}

.fate-score {
    text-align: center;
    margin-bottom: 24px;
}

.fate-score .score-value {
    font-size: 48px;
    font-weight: 700;
}

.fate-description p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 24px;
}

.fate-techniques,
.fate-timestamps {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.fate-techniques h4,
.fate-timestamps h4 {
    font-size: 16px;
    margin-bottom: 16px;
}

.fate-techniques ul {
    list-style: none;
    padding: 0;
}

.fate-techniques li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.fate-techniques li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #00b28a;
}

.timestamps-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.timestamp-item {
    display: flex;
    gap: 16px;
    align-items: baseline;
}

.timestamp-time {
    font-family: 'Space Mono', monospace;
    color: #00b28a;
    font-size: 14px;
    min-width: 60px;
}

.timestamp-desc {
    color: #666;
    font-size: 14px;
}

/* Methodology */
.methodology-content {
    max-width: 800px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-right: 65px;
}

.methodology-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 24px;
}

.methodology-content-flex {
    display: flex;
}

.methodology-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
    transform: translateY(-41px);
}

.method-item {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 24px;
}

.method-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.method-item p {
    color: #666;
    line-height: 1.6;
}

/* Share Section */
.share-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.share-content h3 {
    font-size: 24px;
    margin-bottom: 24px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.share-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #ffffff;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-button:hover {
    background: #00b28a;
    border-color: #00b28a;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.2);
}

.share-icon {
    font-size: 18px;
}

/* Key Metrics Dashboard */
.key-metrics-dashboard {
    display: flex;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 24px;
    margin-top: 0px;
    align-content: space-between;
    flex-wrap: wrap;
    flex-direction: row;
    height: 100%;
}

.metric-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    padding: 20px 32px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 210px;
    width: 48%;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00b28a 0%, #00e67a 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 178, 138, 0.2);
}

.metric-card:hover .metric-icon {
    transform: scale(1.1) rotate(5deg);
}

.metric-card:hover .gauge-value {
    color: #00b28a;
    transform: scale(1.05);
}

.metric-card:hover::before {
    transform: scaleX(1);
}

.manipulation-score-card {
    grid-column: span 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.98) 100%);
}

.metric-gauge {
    position: relative;
    width: 100%;
    height: 80px;
    margin: 0 auto 20px;
}

.gauge-svg {
    width: 100%;
    height: 100%;
}

.gauge-background {
    stroke: rgba(0, 0, 0, 0.08);
}

.gauge-fill {
    transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 8px rgba(0, 178, 138, 0.3));
}

.gauge-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    text-align: center;
    margin-top: 36px;
}

.gauge-value {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
    display: block;
    line-height: 1;
    transition: all 0.3s ease;
}

.gauge-label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
    display: block;
}

.metric-value {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    display: block;
    margin-bottom: 2px;
    line-height: 1.2;
}

.metric-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 600;
}

.metric-icon {
    font-size: 48px;
    margin-bottom: 0px;
    display: block;
    opacity: 1;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
    line-height: normal;
}

/* Fact Check Summary Card */
.fact-check-summary {
    position: relative;
}

.fact-check-summary .metric-icon {
    margin-bottom: 0px;
}

.fact-check-bars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 20px;
    height: 40px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 4px;
    overflow: hidden;
}

.fact-bar {
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.fact-bar span {
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.fact-bar.verified {
    background: linear-gradient(135deg, #00b28a 0%, #00e67a 100%);
}

.fact-bar.disputed {
    background: linear-gradient(135deg, #ffaa00 0%, #ffcc00 100%);
}

.fact-bar.false {
    background: linear-gradient(135deg, #ff4444 0%, #ff6666 100%);
}

.fact-bar:hover {
    transform: scaleY(1.1);
}

/* Executive Summary Enhanced */
.enhanced-summary {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 60px;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.summary-header h2 {
    font-size: 32px;
    margin: 0;
}

.summary-tags {
    display: flex;
    gap: 8px;
}

.summary-tag {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.tag-danger {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
}

.tag-warning {
    background: rgba(255, 170, 0, 0.1);
    color: #ffaa00;
}

.tag-success {
    background: rgba(0, 255, 136, 0.1);
    color: #00b28a;
}

.summary-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 32px;
}

.manipulation-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.indicator-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
}

.indicator-icon {
    font-size: 24px;
}

.indicator-text {
    flex: 1;
}

.indicator-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.indicator-value {
    font-size: 13px;
    color: #666;
}

/* Interactive Timeline - Modern Design */
.analysis-timeline {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.analysis-timeline::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 178, 138, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.analysis-timeline h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 48px;
    color: #1a1a1a;
}

.timeline-container {
    position: relative;
    padding: 80px 20px;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}

.timeline-wrapper {
    display: flex;
    position: relative;
    min-width: max-content;
    padding: 100px 0;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00b28a 0%, #00e67a 100%);
    transform: translateY(-50%);
    border-radius: 2px;
    opacity: 0.2;
}

.timeline-line::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: #00b28a;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 178, 138, 0.3);
}

.timeline-line::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: #00e67a;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 230, 122, 0.3);
}

/* Timeline Events */
.timeline-event {
    position: relative;
    flex: 0 0 320px;
    margin: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-event:first-child {
    margin-left: 0;
}

.timeline-event:last-child {
    margin-right: 0;
}

.timeline-event.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Alternating top/bottom layout */
.timeline-event:nth-child(odd) {
    flex-direction: column-reverse;
}

.timeline-event:nth-child(even) {
    flex-direction: column;
}

/* Timeline Marker */
.timeline-marker {
    position: relative;
    width: 56px;
    height: 56px;
    background: #ffffff;
    border: 4px solid #00b28a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 2;
    box-shadow: 0 8px 24px rgba(0, 178, 138, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 20px 0;
}

.timeline-marker.critical {
    border-color: #ff4444;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    box-shadow: 0 8px 24px rgba(255, 68, 68, 0.2);
}

.timeline-event:hover .timeline-marker {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(0, 178, 138, 0.3);
}

.timeline-event:hover .timeline-marker.critical {
    box-shadow: 0 12px 32px rgba(255, 68, 68, 0.3);
}

/* Timeline Content */
.timeline-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: 28px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.timeline-event:hover .timeline-content {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 178, 138, 0.2);
}

.timeline-event.critical .timeline-content {
    border-color: rgba(255, 68, 68, 0.1);
    background: linear-gradient(135deg, rgba(255, 245, 245, 0.95) 0%, rgba(255, 255, 255, 0.95) 100%);
}

/* Arrow pointing to marker */
.timeline-content::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 0;
    height: 0;
    border-style: solid;
    transform: translateX(-50%);
}

.timeline-event:nth-child(odd) .timeline-content::before {
    top: -12px;
    border-width: 0 12px 12px 12px;
    border-color: transparent transparent #ffffff transparent;
}

.timeline-event:nth-child(even) .timeline-content::before {
    bottom: -12px;
    border-width: 12px 12px 0 12px;
    border-color: #ffffff transparent transparent transparent;
}

/* Event Time */
.event-time {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: #00b28a;
    background: rgba(0, 178, 138, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.timeline-event.critical .event-time {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
}

/* Event Title */
.event-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
    line-height: 1.3;
}

/* Event Description */
.event-description {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Timeline Responsive Design */
@media (max-width: 768px) {
    .analysis-timeline {
        padding: 60px 0;
    }
    
    .timeline-container {
        padding: 60px 10px;
    }
    
    .timeline-wrapper {
        padding: 80px 0;
    }
    
    .timeline-event {
        flex: 0 0 260px;
        margin: 0 20px;
    }
    
    .timeline-marker {
        width: 48px;
        height: 48px;
        font-size: 20px;
        margin: 15px 0;
    }
    
    .timeline-content {
        padding: 20px 24px;
    }
    
    .event-title {
        font-size: 18px;
    }
    
    .event-time {
        font-size: 13px;
        padding: 4px 12px;
    }
}

/* Timeline Animations */
@keyframes pulse {
    0% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 8px 24px rgba(0, 178, 138, 0.2);
    }
    50% {
        transform: translateX(-50%) scale(1.15);
        box-shadow: 0 12px 32px rgba(0, 178, 138, 0.4);
    }
    100% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 8px 24px rgba(0, 178, 138, 0.2);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    25% {
        transform: translateX(-50%) translateY(-8px);
    }
    75% {
        transform: translateX(-50%) translateY(-4px);
    }
}

/* Timeline progress indicator */
.timeline-progress {
    position: absolute;
    left: 0;
    top: 50%;
    height: 4px;
    background: linear-gradient(90deg, #00b28a 0%, #00e67a 100%);
    transform: translateY(-50%) scaleX(0);
    transform-origin: left;
    transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.timeline-progress.active {
    transform: translateY(-50%) scaleX(1);
}

/* Scroll indicators for horizontal timeline */
.timeline-container::before,
.timeline-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 3;
    pointer-events: none;
}

.timeline-container::before {
    left: 0;
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.timeline-container::after {
    right: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
}

/* Custom scrollbar for horizontal timeline */
.timeline-container::-webkit-scrollbar {
    height: 10px;
}

.timeline-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.timeline-container::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #00b28a 0%, #00e67a 100%);
    border-radius: 10px;
}

.timeline-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #00a074 0%, #00d56a 100%);
}

/* Remove old timeline styles below */
.event-content {
    background: #ffffff;
    border-radius: 0px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.event-title {
    font-weight: 600;
    margin-bottom: 8px;
}

.event-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* FATE Radar Chart */
.fate-radar-section {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 60px;
}

.fate-radar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.radar-chart-container {
    position: relative;
    height: 400px;
}

.fate-breakdown {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fate-item {
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fate-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.fate-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.fate-item h4 {
    font-size: 18px;
    margin: 0;
}

.fate-percentage {
    font-size: 24px;
    font-weight: 700;
    color: #00b28a;
}

.fate-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Enhanced Fact Check Analysis Section */
.fact-check-analysis-enhanced {
    padding: 80px 0;
    background: white;
    position: relative;
    overflow: hidden;
}


@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

@keyframes growUp {
    from {
        height: 0;
        opacity: 0;
    }
    to {
        height: var(--bar-height);
        opacity: 1;
    }
}

.fact-check-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}



.accuracy-badge {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    background: transparent;
    border: 0px;
    border-radius: 20px;
    padding: 0xp;
    gap: 10px;
    min-width: 120px;
    /* box-shadow: 0 8px 32px rgba(34, 197, 94, 0.15); */
    transition: all 0.3s ease;
}

.accuracy-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(34, 197, 94, 0.2);
}

.accuracy-score {
    font-size: 36px;
    font-weight: 900;
    color: #16a34a;
    line-height: 1;
    margin-bottom: 4px;
}

.accuracy-label {
    font-size: 14px;
    font-weight: 600;
    color: #15803d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-subtitle {
    font-size: 20px;
    color: #166534;
    font-weight: 400;
}

/* Detailed Claims Analysis */
.fact-check-claims-detailed {
    background: transparent;
    border-radius: 24px;
    padding: 0px;
    /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1); */
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

/* Verdict Filter */
.verdict-filter-container {
    margin-bottom: 40px;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.filter-label {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.verdict-filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.verdict-filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.verdict-filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.verdict-filter-btn.active {
    background: #00b28a;
    color: white;
    border-color: #00b28a;
}

/* Verdict-specific colors */
.verdict-filter-btn[data-verdict="true"].active {
    background: #22c55e;
    border-color: #22c55e;
}

.verdict-filter-btn[data-verdict="mostly-true"].active {
    background: #84cc16;
    border-color: #84cc16;
}

.verdict-filter-btn[data-verdict="mixed"].active {
    background: #eab308;
    border-color: #eab308;
}

.verdict-filter-btn[data-verdict="mostly-false"].active {
    background: #f59e0b;
    border-color: #f59e0b;
}

.verdict-filter-btn[data-verdict="false"].active {
    background: #ef4444;
    border-color: #ef4444;
}

.verdict-filter-btn[data-verdict="unverifiable"].active {
    background: #6b7280;
    border-color: #6b7280;
}

/* Hide/show claims based on filter */
.claim-item.filter-hidden {
    display: none;
}

.fact-check-claims-detailed h3 {
    font-size: 36px;
    font-weight: 800;
    color: #14532d;
    text-align: center;
    margin-bottom: 50px;
}

.claims-timeline {
    display: flex;
    flex-direction: row;
    gap: 40px;
    row-gap: 40px;
    max-height: 650px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0px;
    padding-top: 0px;
    margin-bottom: 20px;
    scroll-behavior: smooth;
    position: relative;
    flex-wrap: wrap;
}

/* Custom scrollbar for claims timeline */
.claims-timeline::-webkit-scrollbar {
    width: 8px;
}

.claims-timeline::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.claims-timeline::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #22c55e, #16a34a);
    border-radius: 10px;
    border: 2px solid #f1f5f9;
}

.claims-timeline::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #16a34a, #15803d);
}

/* Position container */
.fact-check-claims-detailed {
    position: relative;
    min-height: 300px; /* Ensure minimum height */
}

/* Gradient fade-out effect for claims timeline */
.fact-check-claims-detailed::after {
    content: '';
    position: absolute;
    bottom: 82px;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
    z-index: 1;
}


.claim-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 0px;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border-radius: 20px;
    border: 2px solid #e2e8f0;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 31%;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.claim-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #22c55e;
}

.claim-item.true {
    border-left: 6px solid #22c55e;
    background: linear-gradient(135deg, #f0fdf4, #ffffff);
}

.claim-item.mostly-true {
    border-left: 6px solid #84cc16;
    background: linear-gradient(135deg, #f7fee7, #ffffff);
}

.claim-item.mixed {
    border-left: 6px solid #eab308;
    background: linear-gradient(135deg, #fefce8, #ffffff);
}

.claim-item.mostly-false {
    border-left: 6px solid #f59e0b;
    background: linear-gradient(135deg, #fff7ed, #ffffff);
}

.claim-item.false {
    border-left: 6px solid #ef4444;
    background: linear-gradient(135deg, #fef2f2, #ffffff);
}

.claim-item.unverifiable {
    border-left: 6px solid #6b7280;
    background: linear-gradient(135deg, #f9fafb, #ffffff);
}

.claim-verdict-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    flex-shrink: 0;
    position: absolute;
    z-index: 2;
    right: 12%;
    top: 11%;
}

.verdict-icon {
    font-size: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.claim-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 17px;
}

.claim-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
    flex-direction: column;
}

.verdict-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid;
}

.verdict-true {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border-color: #22c55e;
}

.verdict-mostly-true {
    background: linear-gradient(135deg, #84cc16, #65a30d);
    color: white;
    border-color: #84cc16;
}

.verdict-mixed {
    background: linear-gradient(135deg, #eab308, #ca8a04);
    color: white;
    border-color: #eab308;
}

.verdict-mostly-false {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border-color: #f59e0b;
}

.verdict-false {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border-color: #ef4444;
}

.verdict-unverifiable {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    border-color: #6b7280;
}

.claim-timestamp {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(107, 114, 128, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
}

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

.claim-quote {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-left: 4px solid #3b82f6;
    border-radius: 12px;
    padding: 20px 30px;
    margin: 20px 0;
    font-size: 18px;
    font-style: italic;
    line-height: 1.6;
    color: #1e293b;
    position: relative;
}

.quote-mark {
    font-size: 40px;
    color: #3b82f6;
    font-family: serif;
    line-height: 1;
    opacity: 0.7;
}

.claim-evidence {
    background: rgba(249, 250, 251, 0.8);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.claim-evidence h5 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 12px;
}

.evidence-icon {
    font-size: 18px;
}

.claim-evidence p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
    font-size: 14px;
}




.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #14532d;
}

.stat-label {
    font-size: 14px;
    color: #166534;
    font-weight: 600;
    margin-left: auto;
}

.fact-stat {
    text-align: center;
}

.fact-stat-value {
    font-size: 32px;
    font-weight: 700;
    display: block;
}

.fact-stat-value.true {
    color: #00b28a;
}

.fact-stat-value.false {
    color: #ff4444;
}

.fact-stat-value.misleading {
    color: #ffaa00;
}

.fact-stat-label {
    font-size: 14px;
    color: #666;
}



.fact-item {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
}

.fact-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    cursor: pointer;
    transition: background 0.3s ease;
}

.fact-item-header:hover {
    background: #f0f0f0;
}

.fact-claim {
    flex: 1;
    font-weight: 600;
}

.fact-verdict {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.verdict-true {
    background: rgba(0, 255, 136, 0.1);
    color: #00b28a;
}

.verdict-false {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
}

.verdict-misleading {
    background: rgba(255, 170, 0, 0.1);
    color: #ffaa00;
}

.fact-expand-icon {
    margin-left: 16px;
    transition: transform 0.3s ease;
}

.fact-item.expanded .fact-expand-icon {
    transform: rotate(180deg);
}

.fact-item-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.fact-item.expanded .fact-item-content {
    padding: 20px;
    max-height: 500px;
}

.fact-evidence {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}

.fact-sources {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fact-source {
    padding: 4px 12px;
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    font-size: 12px;
    color: #666;
    text-decoration: none;
}

.fact-source:hover {
    background: #e5e5e5;
    color: #333;
}

/* Manipulation Techniques Showcase */
.techniques-showcase {
    margin-bottom: 60px;
}

.techniques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
    row-gap: 40px;
}

.technique-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.technique-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.technique-header {
    /* background: #f8f9fa; */
    padding: 10px 0px;
    border-bottom: 1px solid #e5e5e5;
}

.technique-icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}

.technique-header h3 {
    font-size: 20px;
    margin: 0 0 8px 0;
    padding-right: 50px;
}

.technique-frequency {
    font-size: 14px;
    color: #666;
}

.technique-content {
    padding: 24px;
}

.technique-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}

.technique-examples {
    border-top: 1px solid #e5e5e5;
    padding-top: 16px;
}

.technique-examples h4 {
    font-size: 14px;
    margin-bottom: 12px;
    color: #999;
    text-transform: uppercase;
}

.example-item {
    font-size: 13px;
    color: #666;
    padding: 8px 0;
    border-bottom: 1px dashed #e5e5e5;
}

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



/* Risk Assessment Matrix */
.risk-matrix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
    margin-top: 40px;
}

.risk-cell {
    background: #ffffff;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    position: relative;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.risk-low {
    background: rgba(0, 255, 136, 0.05);
    border-color: rgba(0, 255, 136, 0.3);
}

.risk-medium {
    background: rgba(255, 170, 0, 0.05);
    border-color: rgba(255, 170, 0, 0.3);
}

.risk-high {
    background: rgba(255, 68, 68, 0.05);
    border-color: rgba(255, 68, 68, 0.3);
}

.risk-level {
    font-size: 1em;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.risk-low .risk-level {
    color: #16a34a;
}

.risk-medium .risk-level {
    color: #d97706;
}

.risk-high .risk-level {
    color: #dc2626;
}

.risk-score {
    font-size: 36px;
    font-weight: 800;
    margin: 10px 0;
    line-height: 1;
    margin-top: 0px;
    transform: translateX(10px);
}

.risk-low .risk-score {
    color: #16a34a;
}

.risk-medium .risk-score {
    color: #d97706;
}

.risk-high .risk-score {
    color: #dc2626;
}

.risk-cell h4 {
    font-size: 1.2em;
    font-weight: 700;
    color: #1a1a1a;
    margin: 8px 0 12px 0;
}

.risk-description {
    font-size: 1em;
    color: #666;
    line-height: 1.4;
}

/* Risk Details Section */
.risk-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #e5e7eb;
}

.risk-factors,
.mitigation-strategies {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.risk-factors {
    border-left: 4px solid #ef4444;
}

.mitigation-strategies {
    border-left: 4px solid #22c55e;
}

.risk-factors h3,
.mitigation-strategies h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.risk-factors h3 {
    color: #dc2626;
}

.mitigation-strategies h3 {
    color: #16a34a;
}

.risk-factors p,
.mitigation-strategies p {
    font-size: 1em;
    line-height: 1.6;
    color: #4b5563;
    margin: 0;
}

/* Fact Check Expand/Collapse Button */
.fact-check-expand-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    position: relative;
}

.fact-check-expand-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.05) 0%, rgba(34, 197, 94, 0.05) 100%);
    color: #16a34a;
    border: 2px solid #16a34a;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.fact-check-expand-btn:hover {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.2);
}

.fact-check-expand-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.15);
}

.fact-check-expand-btn[aria-expanded="true"] {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    color: white;
}

.fact-check-expand-btn .expand-icon {
    transition: transform 0.3s ease;
    width: 16px;
    height: 16px;
}

.fact-check-expand-btn[aria-expanded="true"] .expand-icon {
    transform: rotate(180deg);
}

/* Claims timeline states */
.claims-timeline {
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.claims-timeline.expanded {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    overflow-y: visible !important;
    overflow-x: visible !important;
    padding-bottom: 20px; /* Reduce padding when expanded */
}

/* Ensure page remains scrollable when expanded */
.fact-check-claims-detailed.expanded {
    overflow: visible !important;
}

/* Immediate animation for claim items on page load */
.claim-item {
    animation-delay: calc(var(--index, 0) * 0.1s);
}

/* Override AOS animation for claim items to use our custom animation */
.claim-item[data-aos] {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: calc(var(--index, 0) * 0.1s);
}

/* Ensure animations play immediately, not on scroll */
.claim-item[data-aos].aos-animate {
    animation-play-state: running;
}

/* Hide gradient when expanded */
.fact-check-claims-detailed.expanded::after {
    opacity: 0 !important;
}

/* Additional styling for expanded state */
.fact-check-expand-container {
    z-index: 10;
}

/* Smooth icon rotation */
.fact-check-expand-btn .expand-icon {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fact-check-expand-btn[aria-expanded="true"] .expand-icon {
    transform: rotate(180deg);
}

/* Ensure button text doesn't jump */
.fact-check-expand-btn .expand-text,
.fact-check-expand-btn .collapse-text {
    display: inline-block;
    min-width: 70px;
    text-align: center;
}
.fact-check-claims-detailed.has-scroll::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(255, 255, 255, 1), transparent);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.fact-check-claims-detailed.expanded::after {
    opacity: 0;
}

/* Logical Fallacies Grid */
.fallacies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
    margin-top: 40px;
}

.fallacy-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.fallacy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #ff4444;
}

.fallacy-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.fallacy-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}

.fallacy-example {
    font-size: 13px;
    font-style: italic;
    color: #999;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Video and Summary Combined Section */
.analysis-video-summary-combined {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.video-summary-grid {
    display: grid;
    grid-template-columns: 35fr 65fr;
    gap: 40px;
    align-items: stretch;
}

/* Summary Column (Left) */
.summary-column {
    display: flex;
    flex-direction: column;
}

.summary-column .summary-content {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.summary-column h2 {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.summary-column h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
}

/* Video Column (Right) */
.video-column {
    display: flex;
    flex-direction: column;
}

.video-column .video-wrapper {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Ensure video embed is visible */
.video-embed {
    width: 100%;
}

/* Add specific styling for YouTube embeds */
.video-embed iframe[src*="youtube.com"],
.video-embed iframe[src*="youtu.be"] {
    width: 100%;
    height: 100%;
}

.video-column .video-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
    margin-bottom: 20px;
}

.video-column .video-embed iframe,
.video-column .video-embed video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: none;
}

.video-column .video-thumbnail {
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
}

.video-column .video-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.video-column .play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.video-column .play-overlay:hover {
    background: rgba(0, 0, 0, 0.6);
}

.video-column .play-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.video-column .play-overlay:hover .play-icon {
    transform: scale(1.1);
    background: #fff;
}

.video-column .video-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.video-column .video-context,
.video-column .video-audience {
    margin-bottom: 16px;
}

.video-column .video-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.video-column .video-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Manipulation Indicators */
.manipulation-indicators {
    margin-bottom: 24px;
}

.indicators-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.indicator-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.indicator-badge.severity-high {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
    border: 1px solid rgba(255, 68, 68, 0.2);
}

.indicator-badge.severity-medium {
    background: rgba(255, 170, 0, 0.1);
    color: #ffaa00;
    border: 1px solid rgba(255, 170, 0, 0.2);
}

.indicator-badge.severity-low {
    background: rgba(0, 178, 138, 0.1);
    color: #00b28a;
    border: 1px solid rgba(0, 178, 138, 0.2);
}

.indicator-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.indicator-label {
    font-weight: 600;
}

.indicator-severity {
    font-size: 12px;
    text-transform: uppercase;
    opacity: 0.8;
}

.summary-text {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

.summary-text p {
    margin-bottom: 16px;
}

.summary-text p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .video-summary-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .summary-column {
        order: 2;
    }
    
    .video-column {
        order: 1;
    }
}

@media (max-width: 768px) {
    .analysis-video-summary-combined {
        padding: 60px 0;
    }
    
    .summary-column .summary-content,
    .video-column .video-wrapper {
        padding: 24px;
    }
    
    .summary-column h2 {
        font-size: 28px;
    }
}

/* ===============================
   Modern Video Analysis Section
   =============================== */
.video-analysis-modern {
    padding: 60px 0;
    background: linear-gradient(76deg, #ffffff 0%, #f8f9fa 100%);
    z-index: 0;
}

.video-analysis-modern .container-fluid {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.video-analysis-wrapper {
    display: flex;
    gap: 0;
    background: #ffffff;
    border-radius: 16px;
    overflow: visible;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
    /* Prevent layout shifts */
    contain: layout;
}

/* Video Container - 70% */
.video-container-wrapper {
    flex: 0 0 70%;
    background: #000;
    position: relative;
    border-radius: 16px 0 0 16px;
    overflow: hidden;
}

.video-player-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    background: #000;
    min-height: 75.7%;
}

#youtube-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Video Controls Overlay */
.video-controls-overlay {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
}

.video-player-container:hover .video-controls-overlay {
    opacity: 1;
}

.playback-progress {
    position: relative;
}

.progress-bar {
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    margin-bottom: 10px;
}

.progress-bar:hover {
    height: 8px;
    margin-top: -1px;
}

.progress-fill {
    height: 100%;
    background: #00b28a;
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #00b28a;
    border: 2px solid #fff;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-controls-overlay:hover .progress-fill::after {
    opacity: 1;
}

.time-display {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    opacity: 0.9;
}

/* Timeline Markers */
.timeline-markers {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    pointer-events: none;
}

.timeline-marker {
    position: absolute;
    top: -8px;
    width: 20px;
    height: 20px;
    margin-left: -10px;
    cursor: pointer;
    pointer-events: all;
    z-index: 5;
}

.timeline-marker::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #fff;
    border: 2px solid #00b28a;
    border-radius: 50%;
    top: 4px;
    left: 4px;
    transition: all 0.3s;
}

.timeline-marker[data-type="warning"]::before {
    border-color: #ff4444;
    background: #ff4444;
}

.timeline-marker[data-type="fact_check"]::before {
    border-color: #ffa500;
    background: #ffa500;
}

.timeline-marker[data-type="manipulation"]::before {
    border-color: #e74c3c;
    background: #e74c3c;
}

.timeline-marker:hover::before,
.timeline-marker.active::before {
    transform: scale(1.5);
    box-shadow: 0 0 0 4px rgba(0,178,138,0.2);
}

.marker-tooltip {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.9);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.timeline-marker:hover .marker-tooltip {
    opacity: 1;
}

/* Timeline Events Wrapper */
.timeline-events-wrapper {
    position: relative;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 0 0 0 16px;
}

/* Timeline Events Bar - Modern Bright Design */
.timeline-events-bar {
    padding: 0;
    max-height: 224px;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    cursor: grab;
    scroll-behavior: smooth;
    background: #f8f9fa;
    /* Prevent scrollIntoView from affecting the whole page */
    overscroll-behavior-x: contain;
}

.timeline-events-bar:active {
    cursor: grabbing;
}

/* Scroll indicators on wrapper */
.timeline-events-wrapper::before,
.timeline-events-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s;
}

.timeline-events-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(248, 249, 250, 0.95), transparent);
}

.timeline-events-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(248, 249, 250, 0.95), transparent);
}

.timeline-events-wrapper:hover::before,
.timeline-events-wrapper:hover::after {
    opacity: 1;
}

.timeline-events-bar::-webkit-scrollbar {
    height: 8px;
}

.timeline-events-bar::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 4px;
}

.timeline-events-bar::-webkit-scrollbar-thumb {
    background: #00b28a;
    border-radius: 4px;
    opacity: 0.7;
}

.timeline-events-bar::-webkit-scrollbar-thumb:hover {
    background: #00e67a;
    opacity: 1;
}

.timeline-events-scroll {
    display: flex;
    gap: 16px;
    padding: 20px;
    min-width: fit-content;
    align-items: stretch;
    background: #f8f9fa;
    /* Ensure proper positioning context for scrolling */
    position: relative;
}

.timeline-event-item {
    flex: 0 0 auto;
    background: #ffffff;
    padding: 0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 180px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Video Preview Thumbnail */
.event-preview {
    width: 100%;
    height: 100px;
    background: #f3f4f6;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-preview-placeholder {
    font-size: 24px;
    color: #9ca3af;
    opacity: 0.5;
}

.event-preview-time {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

/* Event Content */
.event-content {
    padding: 12px 16px;
}

.timeline-event-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #00b28a;
}

.timeline-event-item.active {
    background: linear-gradient(135deg, #00b28a 0%, #00e67a 100%);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 178, 138, 0.3);
}

.timeline-event-item.active .event-time,
.timeline-event-item.active .event-type-badge {
    color: rgba(255, 255, 255, 0.9);
}

.timeline-event-item.active .event-title {
    color: #00b28a;
}

.timeline-event-item.active .event-preview {
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.event-time {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: none;
}

.event-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1f2937;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-type-badge {
    display: inline-block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    background: #f3f4f6;
    color: #6b7280;
}

/* Event type specific colors - Modern Bright */
.timeline-event-item.manipulation .event-type-badge {
    background: #fee2e2;
    color: #dc2626;
}

.timeline-event-item.fact_check .event-type-badge {
    background: #fef3c7;
    color: #f59e0b;
}

.timeline-event-item.warning .event-type-badge {
    background: #fecaca;
    color: #ef4444;
}

.timeline-event-item.key_moment .event-type-badge {
    background: #d1fae5;
    color: #059669;
}

/* Severity indicators - Modern Style */
.event-severity-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6b7280;
    box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.2);
}

.timeline-event-item.critical .event-severity-indicator {
    background: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
    animation: pulse-critical 2s infinite;
}

.timeline-event-item.high .event-severity-indicator {
    background: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.timeline-event-item.medium .event-severity-indicator {
    background: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

@keyframes pulse-critical {
    0% {
        box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.1);
    }
    100% {
        box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
    }
}

/* Event type borders - Subtle left accent */
.timeline-event-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #e5e7eb;
    transition: all 0.3s;
}

.timeline-event-item.manipulation::before {
    background: linear-gradient(to bottom, #ef4444, #dc2626);
}

.timeline-event-item.fact_check::before {
    background: linear-gradient(to bottom, #f59e0b, #d97706);
}

.timeline-event-item.warning::before {
    background: linear-gradient(to bottom, #f87171, #ef4444);
}

.timeline-event-item.key_moment::before {
    background: linear-gradient(to bottom, #00b28a, #059669);
}

.timeline-event-item:hover::before {
    width: 6px;
}

/* Loading state for previews */
.event-preview.loading {
    background: linear-gradient(90deg, #f3f4f6 0%, #e5e7eb 50%, #f3f4f6 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Content Panel - 30% */
.video-content-panel {
    flex: 0 0 30%;
    background: #fff;
    overflow-y: auto;
    position: relative;
    border-radius: 0 16px 16px 0;
    border-left: 1px solid #e5e7eb;
    overflow: visible;
}

.content-panel-inner {
    padding: 37px 40px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.panel-header {
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 20px;
}

#event-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #1a1a1a;
    line-height: 1.2;
}

.event-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.meta-type {
    padding: 4px 12px;
    background: #f0f0f0;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-type.type-manipulation {
    background: #fee;
    color: #e74c3c;
}

.meta-type.type-fact_check {
    background: #fff5e6;
    color: #ff8c00;
}

.meta-type.type-warning {
    background: #ffe6e6;
    color: #ff4444;
}

.meta-type.type-key_moment {
    background: #e6f7f1;
    color: #00b28a;
}

/* Panel Content */
.panel-content {
    flex: 1;
    margin-bottom: 20px;
}

.default-content {
    line-height: 1.6;
}

.event-content-wrapper {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.event-severity {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    display: inline-block;
}

.event-severity.severity-low {
    background: #e8f5e9;
    color: #2e7d32;
}

.event-severity.severity-medium {
    background: #fff3e0;
    color: #f57c00;
}

.event-severity.severity-high {
    background: #ffebee;
    color: #c62828;
}

.event-severity.severity-critical {
    background: #f3e5f5;
    color: #6a1b9a;
}

.severity-label {
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-description {
    color: #333;
    line-height: 1.6;
}

/* Manipulation Indicators Modern */
.manipulation-indicators-modern {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.manipulation-indicators-modern h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #1a1a1a;
}

.indicators-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.indicator-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.indicator-item:hover {
    border-color: #00b28a;
    box-shadow: 0 2px 8px rgba(0,178,138,0.1);
}

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

.indicator-item.severity-low .indicator-icon {
    background: #4caf50;
}

.indicator-item.severity-medium .indicator-icon {
    background: #ff9800;
}

.indicator-item.severity-high .indicator-icon {
    background: #f44336;
}

.indicator-label {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.indicator-severity {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
}

/* Panel Navigation */
.panel-navigation {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: 20px 0;
    margin-top: auto;
    border-top: 1px solid #f0f0f0;
    display: flex;
    gap: 10px;
}

.nav-btn {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #e0e0e0;
    background: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #333;
}

.nav-btn:hover:not(:disabled) {
    background: #00b28a;
    color: #fff;
    border-color: #00b28a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,178,138,0.2);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-btn i {
    font-size: 12px;
}

/* Responsive */
@media (max-width: 1200px) {
    .video-analysis-wrapper {
        flex-direction: column;
    }
    
    .video-container-wrapper,
    .video-content-panel {
        flex: 1 1 100%;
    }
    
    .video-content-panel {
        max-height: none;
        min-height: 400px;
    }
    
    .content-panel-inner {
        padding: 30px;
    }
}

@media (max-width: 1024px) {
    .video-analysis-wrapper {
        flex-direction: column;
        border-radius: 16px;
    }
    
    .video-container-wrapper {
        flex: 1 1 100%;
        border-radius: 16px 16px 0 0;
    }
    
    .video-content-panel {
        flex: 1 1 100%;
        max-height: 400px;
        border-radius: 0 0 16px 16px;
        border-left: none;
        border-top: 1px solid #e5e7eb;
    }
    
    .timeline-events-wrapper {
        border-radius: 0;
    }
}

@media (max-width: 768px) {
    body.single-analysis section {
        padding: 40px 0;
    }
    
    .video-analysis-modern {
        padding: 40px 0;
    }
    
    .content-panel-inner {
        padding: 20px;
    }
    
    #event-title {
        font-size: 20px;
    }
    
    .timeline-events-scroll {
        padding: 10px 5px;
    }
    
    .timeline-event-item {
        min-width: 120px;
        padding: 8px 12px;
    }
    
    .panel-navigation {
        flex-direction: column;
    }
    
    .nav-btn {
        width: 100%;
    }
}

/* Timeline Section */
.analysis-timeline-section {
    padding: 80px 0;
    background: linear-gradient(328deg, #f5f5f5 0%, #ffffff 100%);
}

.analysis-timeline-section .analysis-timeline {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.analysis-timeline-section .analysis-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00b28a 0%, #4ecdc4 100%);
}

/* FATE Analysis Section */
.analysis-fate-section {
    padding: 80px 0;
    background: linear-gradient(38deg, #ffffff 0%, #f8f9fa 100%);
}

.analysis-fate-section .analysis-fate-enhanced {
    /* background: #fff; */
    /* border-radius: 20px; */
    /* padding: 40px; */
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.05); */
    position: relative;
    /* overflow: hidden; */
}



/* Enhanced FATE Radar Chart Container - Compact */
.fate-radar-container {
    margin: 20px auto 30px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    max-width: 300px;
    text-align: center;
}

.fate-radar-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,178,138,0.05) 0%, transparent 70%);
    animation: radarPulse 4s ease-in-out infinite;
}

@keyframes radarPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.fate-radar-container canvas {
    position: relative;
    z-index: 1;
    max-width: 100%;
    height: auto;
}

/* Enhanced FATE Analysis Cards - Compact 4-Column Layout */
.fate-analysis-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.fate-analysis-card {
    background: #fff;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.fate-analysis-card:nth-child(1) { animation-delay: 0.1s; }
.fate-analysis-card:nth-child(2) { animation-delay: 0.2s; }
.fate-analysis-card:nth-child(3) { animation-delay: 0.3s; }
.fate-analysis-card:nth-child(4) { animation-delay: 0.4s; }

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

/* FATE Card Type-Specific Styling */
.fate-analysis-card.fate-focus {
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    border-color: #ff6b6b75;
}

.fate-analysis-card.fate-authority {
    background: linear-gradient(135deg, #f5f5ff 0%, #ffffff 100%);
    border-color: #4263eb70;
}

.fate-analysis-card.fate-tribe {
    background: linear-gradient(135deg, #f5fff5 0%, #ffffff 100%);
    border-color: #00b28a75;
}

.fate-analysis-card.fate-emotion {
    background: linear-gradient(135deg, #fffaf5 0%, #ffffff 100%);
    border-color: #ffaa008f;
}

/* Hover Effects */
.fate-analysis-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.fate-analysis-card.fate-focus:hover {
    box-shadow: 0 15px 40px rgba(255,107,107,0.2);
}

.fate-analysis-card.fate-authority:hover {
    box-shadow: 0 15px 40px rgba(66,99,235,0.2);
}

.fate-analysis-card.fate-tribe:hover {
    box-shadow: 0 15px 40px rgba(0,178,138,0.2);
}

.fate-analysis-card.fate-emotion:hover {
    box-shadow: 0 15px 40px rgba(255,170,0,0.2);
}

/* FATE Header - Compact */
.fate-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    width: 50%;
    text-align: left;
}

.fate-header h3 {
    font-size: 0.95em;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1a1a1a;
}

/* FATE Icon - Compact circular design */
.fate-icon {
    width: 48px;
    height: 48px;
    margin: 0px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 24px;
}

.fate-focus .fate-icon {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
}

.fate-authority .fate-icon {
    background: rgba(66, 99, 235, 0.1);
    color: #4263eb;
}

.fate-tribe .fate-icon {
    background: rgba(0, 178, 138, 0.1);
    color: #00b28a;
}

.fate-emotion .fate-icon {
    background: rgba(255, 170, 0, 0.1);
    color: #ffaa00;
}

.fate-focus .fate-header h3::before { background: #ff6b6b; }
.fate-authority .fate-header h3::before { background: #4263eb; }
.fate-tribe .fate-header h3::before { background: #00b28a; }
.fate-emotion .fate-header h3::before { background: #ffaa00; }

/* FATE Impact Badge - Compact */
.fate-impact {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.7em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.impact-high {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    color: white;
}

.impact-medium {
    background: linear-gradient(135deg, #ffaa00 0%, #ff8c00 100%);
    color: white;
}

.impact-low {
    background: linear-gradient(135deg, #00b28a 0%, #00a074 100%);
    color: white;
}

/* FATE Score Visual - Compact Circular */
.fate-score-visual {
    margin-bottom: 15px;
    text-align: center;
    width: 50%;
    position: absolute;
    right: -19px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 0px;
    height: 120px;
}

.fate-score-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto 10px;
    position: relative;
}

.fate-score-circle svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.fate-score-circle circle {
    fill: none;
    stroke-width: 6;
}

.fate-score-circle .circle-bg {
    stroke: #f0f0f0;
}

.fate-score-circle .circle-progress {
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    transition: stroke-dashoffset 1.5s ease;
}

/* Score-based colors matching FATE colors */
.fate-score-circle[data-score-range="0-25"] .circle-progress { stroke: #00b28a; } /* Green - Low */
.fate-score-circle[data-score-range="26-50"] .circle-progress { stroke: #ffaa00; } /* Orange - Medium */
.fate-score-circle[data-score-range="51-75"] .circle-progress { stroke: #4263eb; } /* Blue - High */
.fate-score-circle[data-score-range="76-100"] .circle-progress { stroke: #ff6b6b; } /* Red - Critical */

/* Match score value text color */
.fate-score-circle[data-score-range="0-25"] .score-value { color: #00b28a; }
.fate-score-circle[data-score-range="26-50"] .score-value { color: #ffaa00; }
.fate-score-circle[data-score-range="51-75"] .score-value { color: #4263eb; }
.fate-score-circle[data-score-range="76-100"] .score-value { color: #ff6b6b; }

.score-value {
    position: absolute;
    transform: translate(-50%, -50%);
    font-size: 1.2em;
    left: 51%;
    bottom: 13%;
    font-weight: 700;
    color: #1a1a1a;
}

/* Compact Score Bar Alternative */
.fate-score-bar {
    height: 4px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    width: 80%;
    margin: 0 auto;
}

.fate-score-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(90deg, #00b28a 0%, #4ecdc4 100%);
    position: relative;
    overflow: hidden;
}

.fate-score-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    to { left: 100%; }
}

.technique-score-badge {
    display: flex;
    align-items: center;
    position: absolute;
    right: 7px;
    top: 31px;
    gap: 2px;
}
.technique-score-badge .score-value {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
}

.score-value {
    font-size: 1.5em;
    font-weight: 700;
    color: #00b28a;
    min-width: auto;
    text-align: right;
}

.score-max {
    display:flex;
    letter-spacing: 2px;
}

/* FATE Description - Compact */
.fate-description {
    margin-bottom: 15px;
    flex: 1;
}

.fate-description p {
    font-size: 1em;
    line-height: 1.4;
    color: #666;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* FATE Techniques List - Compact Pills */
.fate-techniques {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.fate-techniques h4 {
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
    margin-bottom: 8px;
}

.fate-techniques ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.fate-techniques li {
    font-size: 0.8em;
    color: #666;
    background: #f8f9fa;
    padding: 3px 10px;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    white-space: nowrap;
    padding-left: 15px;
}

.fate-techniques li::before {
    content: '▸';
    position: absolute;
    left: 6px;
    color: #00b28a;
    transition: all 0.3s ease;
}

.fate-techniques li:hover {
    padding-left: 21px;
    color: #00b28a;
}

.fate-techniques li:hover::before {
    transform: translateX(5px);
}

/* FATE Timestamps - Compact */
.fate-timestamps {
    margin-top: 10px;
    display: none; /* Hidden by default, can be toggled */
}

.fate-timestamps.visible {
    display: block;
}

.fate-timestamps h4 {
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
    margin-bottom: 8px;
}

.timestamps-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.timestamp-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7em;
    background: rgba(0,0,0,0.03);
    padding: 2px 8px;
    border-radius: 10px;
}

.timestamp-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.timestamp-time {
    background: #00b28a;
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
}

.timestamp-desc {
    flex: 1;
    font-size: 0.9em;
    color: #555;
}

/* Responsive adjustments */
/* FATE Responsive Design */
@media (max-width: 1200px) {
    .fate-analysis-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .fate-analysis-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .fate-analysis-card {
        padding: 16px;
    }
    
    .analysis-timeline-section .analysis-timeline,
    .analysis-fate-section .analysis-fate-enhanced {
        padding: 20px;
    }
    
    .analysis-timeline-section,
    .analysis-fate-section {
        padding: 40px 0;
    }
    
    /* Fact Check Responsive */
    .fact-check-claims-detailed {
        padding: 30px 20px;
    }
    
    .fact-check-claims-detailed h3 {
        font-size: 28px;
    }
    
    .claims-timeline {
        padding-right: 10px;
    }
    
    .claim-item {
        gap: 15px;
        padding: 20px;
    }
    
    .claim-verdict-indicator {
        width: 50px;
        height: 50px;
    }
    
    .verdict-icon {
        font-size: 24px;
    }
    
    .claim-content {
        padding: 16px;
    }
    
    .claim-quote {
        font-size: 15px;
        padding: 14px 25px;
    }
    
    .quote-mark {
        font-size: 30px;
    }
}

/* Constructive Questions */
.questions-container {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 40px;
}

.questions-intro {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 32px;
}

.questions-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.question-item {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.question-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.question-header:hover {
    background: #f0f0f0;
}

.question-number {
    width: 32px;
    height: 32px;
    background: #00b28a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.question-text {
    flex: 1;
    font-weight: 600;
}

.question-toggle {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.question-item.expanded .question-toggle {
    transform: rotate(180deg);
}

.question-context {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: #f8f9fa;
}

.question-context.expanded {
    padding: 20px 20px 20px 68px;
    max-height: 600px;
}

.question-context p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.context-section,
.answer-section {
    margin-bottom: 20px;
}

.context-section:last-child,
.answer-section:last-child {
    margin-bottom: 0;
}

.context-section h4,
.answer-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.answer-content {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
}

.answer-content p {
    margin-bottom: 12px;
}

.answer-content p:last-child {
    margin-bottom: 0;
}

.answer-content ul,
.answer-content ol {
    margin: 12px 0;
    padding-left: 20px;
}

.answer-content li {
    margin-bottom: 8px;
    color: #555;
}

/* Additional Modern Styling */
.analysis-personas {
    margin-top: 40px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.analysis-personas h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.personas-list {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.persona-item {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 16px 20px;
    transition: all 0.3s ease;
}

.persona-item:hover {
    background: linear-gradient(135deg, rgba(0, 178, 138, 0.05) 0%, rgba(0, 230, 122, 0.05) 100%);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-grid-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .hero-right-section {
        order: -1; /* Move personas above metrics on mobile */
    }
    
    .key-metrics-dashboard {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }
    
    .findings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .fate-radar-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .analysis-hero-enhanced {
        padding: 120px 0 60px;
        min-height: auto;
    }
    
    .analysis-title {
        font-size: 32px;
    }
    
    .analysis-meta-top {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .analysis-meta-bottom {
        gap: 12px;
    }
    
    .meta-item {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .key-metrics-dashboard {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .metric-card {
        padding: 24px;
        width: 47%;
    }
    
    .gauge-value {
        font-size: 36px;
    }
    
    .metric-value {
        font-size: 28px;
    }
    
    .personas-list {
        flex-direction: column;
    }
    
    .analysis-personas-enhanced {
        padding: 24px;
    }
    
    .persona-card-enhanced {
        padding: 16px;
    }
    
    .persona-avatar {
        width: 56px;
        height: 56px;
    }
    
    .persona-avatar-placeholder {
        width: 56px;
        height: 56px;
        font-size: 20px;
    }
    
    .video-info {
        grid-template-columns: 1fr;
    }
    
    .findings-grid,
    .fate-analysis-grid,
    .methodology-details {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
    }
    
    .share-buttons {
        flex-wrap: wrap;
    }
    
    .timeline-event {
        grid-template-columns: auto 1fr;
        gap: 16px;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .event-time {
        font-size: 12px;
    }
    
    .timeline-event:nth-child(even) .event-content {
        order: 2;
        text-align: left;
    }
    
    .fact-check-header {
        flex-direction: column;
        gap: 24px;
    }
    
    .techniques-grid,
    .context-grid,
    .fallacies-grid {
        grid-template-columns: 1fr;
    }
    
    .risk-matrix {
        grid-template-columns: 1fr;
    }
    
    .risk-details {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
        padding-top: 30px;
    }
    
    .risk-factors,
    .mitigation-strategies {
        padding: 20px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .analysis-hero-enhanced {
        background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    }
    
    .metric-card,
    .analysis-personas {
        background: rgba(30, 30, 30, 0.95);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .analysis-title,
    .gauge-value,
    .metric-value {
        color: #f0f0f0;
    }
    
    .meta-item {
        background: rgba(30, 30, 30, 0.8);
        border-color: rgba(255, 255, 255, 0.1);
        color: #ccc;
    }
}

/* ========================================= */
/* Modern Redesign - Three Analysis Sections */
/* ========================================= */

/* Fact Check Analysis - Modern Design */
.fact-check-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 24px;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.fact-check-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 178, 138, 0.05) 0%, transparent 70%);
    animation: pulse 20s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.fact-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.claim-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 178, 138, 0.2);
    border-radius: 20px;
    padding: 35px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.claim-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00b28a, #00d4a1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.claim-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 178, 138, 0.15);
    border-color: rgba(0, 178, 138, 0.4);
}

.claim-card:hover::before {
    opacity: 1;
}

.claim-type {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.claim-type::before {
    content: '';
    position: absolute;
    inset: 0;
    background: currentColor;
    opacity: 0.1;
}

.claim-type-true {
    color: #059669;
}

.claim-type-false {
    color: #dc2626;
}

.claim-type-misleading {
    color: #d97706;
}

.claim-type-unverified {
    color: #6b7280;
}

.claim-type i {
    font-size: 16px;
}

.claim-text {
    font-size: 18px;
    line-height: 1.6;
    color: #1f2937;
    margin-bottom: 25px;
    font-weight: 500;
}

.fact-details {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
}

.fact-details h4 {
    font-size: 14px;
    font-weight: 700;
    color: #00b28a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fact-details h4::before {
    content: '';
    width: 20px;
    height: 2px;
    background: #00b28a;
}

.fact-details p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

.evidence-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.evidence-item {
    position: relative;
    padding: 20px;
    padding-left: 50px;
    background: white;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.evidence-item:hover {
    border-color: #00b28a;
    transform: translateX(5px);
}

.evidence-item::before {
    content: '✓';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #00b28a, #00d4a1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.evidence-source {
    display: block;
    font-size: 13px;
    color: #6b7280;
    margin-top: 8px;
    font-style: italic;
}

/* Manipulation Techniques - Modern Design */
.manipulation-analysis {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.manipulation-analysis::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.techniques-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

/* Technique Cards - Modern Design with Score-based Colors */
.technique-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 15px 30px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
    overflow: hidden;
    border: 2px solid;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

/* Score-based color coding */
.technique-card.score-low {
    border-color: rgba(34, 197, 94, 0.3);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(255, 255, 255, 0.95) 50%);
}

.technique-card.score-medium {
    border-color: rgba(251, 191, 36, 0.3);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.05) 0%, rgba(255, 255, 255, 0.95) 50%);
}

.technique-card.score-high {
    border-color: rgba(239, 68, 68, 0.3);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(255, 255, 255, 0.95) 50%);
}

.technique-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    transition: all 0.6s ease;
    opacity: 0;
    z-index: 0;
}

.technique-card.score-low::before {
    background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
}

.technique-card.score-medium::before {
    background: radial-gradient(circle, rgba(251, 191, 36, 0.1) 0%, transparent 50%);
}

.technique-card.score-high::before {
    background: radial-gradient(circle, rgba(239, 68, 68, 0.1) 0%, transparent 50%);
}

.technique-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.technique-card.score-low:hover {
    box-shadow: 0 25px 50px rgba(34, 197, 94, 0.15);
    border-color: #22c55e;
}

.technique-card.score-medium:hover {
    box-shadow: 0 25px 50px rgba(251, 191, 36, 0.15);
    border-color: #fbbf24;
}

.technique-card.score-high:hover {
    box-shadow: 0 25px 50px rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
}

.technique-card:hover::before {
    top: -150%;
    left: -150%;
    opacity: 1;
}

.technique-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.technique-info {
    flex: 1;
    min-width: 0;
}

.technique-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    flex-shrink: 0;
    transition: all 0.3s ease;
    font-weight: 600;
}

.technique-card.score-low .technique-icon {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.technique-card.score-medium .technique-icon {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.technique-card.score-high .technique-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.technique-card:hover .technique-icon {
    transform: rotate(5deg) scale(1.05);
}

.technique-name {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.technique-card.score-low .technique-name {
    color: #15803d;
}

.technique-card.score-medium .technique-name {
    color: #d97706;
}

.technique-card.score-high .technique-name {
    color: #dc2626;
}

.technique-description {
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
    color: #64748b;
}

.technique-score-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.technique-score {
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.technique-card.score-low .technique-score {
    color: #16a34a;
}

.technique-card.score-medium .technique-score {
    color: #d97706;
}

.technique-card.score-high .technique-score {
    color: #dc2626;
}

.score-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
}

.technique-examples {
    border-radius: 16px;
    padding: 0;
    margin-bottom: 0px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    background: transparent;
    border: 1px solid transparent;
}

.technique-card.score-low .technique-examples {
    background: transparent;
    border: 1px solid transparent;
}

.technique-card.score-medium .technique-examples {
    background: transparent;
    border: 1px solid transparent;
}

.technique-card.score-high .technique-examples {
    background: transparent;
    border: 1px solid transparent;
}

.technique-examples h5 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.technique-card.score-low .technique-examples h5 {
    color: #15803d;
}

.technique-card.score-medium .technique-examples h5 {
    color: #d97706;
}

.technique-card.score-high .technique-examples h5 {
    color: #dc2626;
}

.technique-examples h5::before {
    content: '💡';
    font-size: 16px;
}

.example-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.example-item:hover {
    transform: translateX(5px);
}


.example-preview {
    display: inline-block;
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
}

.example-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 60px;
    flex-shrink: 0;
}
.example-header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 16px;
    align-items: center;
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.technique-card.score-low .example-header {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.technique-card.score-medium .example-header {
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.technique-card.score-high .example-header {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.example-item:hover .example-header {
    transform: translateX(4px);
}

.technique-card.score-low .example-item:hover .example-header {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.3);
}

.technique-card.score-medium .example-item:hover .example-header {
    background: rgba(251, 191, 36, 0.12);
    border-color: rgba(251, 191, 36, 0.3);
}

.technique-card.score-high .example-item:hover .example-header {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.3);
}
/* Timestamp wrapper */
.example-timestamp-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

/* Play button */
.example-play-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #6b7280, #4b5563); /* Default gradient */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Create the play triangle using pseudo-element */
.example-play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 12px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    margin-left: 3px; /* Center the triangle */
}

/* Timestamp text */
.example-timestamp-text {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    white-space: nowrap;
}

/* Color variations for play button */
.technique-card.score-low .example-play-button {
    background: linear-gradient(135deg, #16a34a, #15803d) !important;
    box-shadow: 0 2px 4px rgba(22, 163, 74, 0.3);
}

.technique-card.score-medium .example-play-button {
    background: linear-gradient(135deg, #d97706, #b45309) !important;
    box-shadow: 0 2px 4px rgba(217, 119, 6, 0.3);
}

.technique-card.score-high .example-play-button {
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
}

/* Hover effects */
.example-play-button:hover {
    transform: scale(1.1);
}

.technique-card.score-low .example-play-button:hover {
    box-shadow: 0 4px 8px rgba(22, 163, 74, 0.4);
}

.technique-card.score-medium .example-play-button:hover {
    box-shadow: 0 4px 8px rgba(217, 119, 6, 0.4);
}

.technique-card.score-high .example-play-button:hover {
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.4);
}

/* Active/click effect */
.example-play-button:active {
    transform: scale(0.95);
}

/* Color timestamp text on hover to match button */
.technique-card.score-low .example-timestamp-wrapper:hover .example-timestamp-text {
    color: #16a34a;
}

.technique-card.score-medium .example-timestamp-wrapper:hover .example-timestamp-text {
    color: #d97706;
}

.technique-card.score-high .example-timestamp-wrapper:hover .example-timestamp-text {
    color: #dc2626;
}

/* Legacy support for old example-timestamp structure */
.example-timestamp {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    cursor: pointer;
}

/* Create play button for legacy structure */
.example-timestamp::before {
    content: '';
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6b7280, #4b5563);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Play triangle for legacy structure */
.example-timestamp::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-40%);
    width: 0;
    height: 0;
    border-left: 12px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

/* Hide clock icon in legacy structure */
.example-timestamp i {
    display: none;
}

/* Show timestamp text below button */
.example-timestamp {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
}

/* Color variations for legacy structure */
.technique-card.score-low .example-timestamp::before {
    background: linear-gradient(135deg, #16a34a, #15803d) !important;
}

.technique-card.score-medium .example-timestamp::before {
    background: linear-gradient(135deg, #d97706, #b45309) !important;
}

.technique-card.score-high .example-timestamp::before {
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
}

/* Hover effects for legacy structure */
.example-timestamp:hover::before {
    transform: scale(1.1);
}

/* Style the example action icon */
.example-action {
    font-size: 18px;
    color: #6b7280;
    margin-left: auto;
    transition: all 0.3s ease;
}

.example-item:hover .example-action {
    color: #374151;
    transform: translateX(2px);
}

.technique-card.score-low .example-item:hover .example-action {
    color: #16a34a;
}

.technique-card.score-medium .example-item:hover .example-action {
    color: #d97706;
}

.technique-card.score-high .example-item:hover .example-action {
    color: #dc2626;
}

.example-impact {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    text-align: center;
}

/* ========================================= */
/* Technique Overview Modal Styles */
/* ========================================= */

.technique-overview-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    z-index: 10000;
    overflow-y: auto;
    padding: 20px;
}

.technique-overview-modal {
    position: relative;
    max-width: 900px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.technique-overview-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.technique-overview-modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

.technique-overview-modal-content {
    padding: 40px;
}

/* Header Section */
.technique-overview-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #f3f4f6;
}

.technique-icon-large {
    font-size: 64px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: #f9fafb;
}

.technique-info-header {
    flex: 1;
}

.technique-name-large {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 12px 0;
}

.technique-score-display {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 20px;
}

.score-label {
    color: #6b7280;
    font-weight: 500;
}

.score-value-large {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
}

/* Description Section */
.technique-overview-description {
    margin-bottom: 32px;
}

.technique-overview-description p {
    font-size: 16px;
    line-height: 1.6;
    color: #4b5563;
}

/* Examples Navigation Section */
.technique-examples-navigation {
    margin-bottom: 32px;
}

.technique-examples-navigation h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
}

.examples-nav-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 8px;
}

/* Example Navigation Item */
.example-nav-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.example-nav-item:hover {
    background: #f3f4f6;
    transform: translateX(4px);
}

.example-nav-item.active {
    border-color: #3b82f6;
    background: #eff6ff;
}

.example-nav-play {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    flex-shrink: 0;
    position: relative;
}

.example-nav-play::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 12px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    margin-left: 3px;
}

.example-nav-content {
    flex: 1;
    min-width: 0;
}

.example-nav-timestamp {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 4px;
}

.example-nav-text {
    font-size: 14px;
    line-height: 1.4;
    color: #374151;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Color variations for score classes */
.technique-overview-modal.score-low .technique-icon-large {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.technique-overview-modal.score-medium .technique-icon-large {
    background: rgba(251, 191, 36, 0.1);
    color: #d97706;
}

.technique-overview-modal.score-high .technique-icon-large {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.technique-overview-modal.score-low .example-nav-play {
    background: linear-gradient(135deg, #16a34a, #15803d);
}

.technique-overview-modal.score-medium .example-nav-play {
    background: linear-gradient(135deg, #d97706, #b45309);
}

.technique-overview-modal.score-high .example-nav-play {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

/* Stats Section */
.technique-overview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 24px;
    background: #f9fafb;
    border-radius: 12px;
}

.technique-overview-stats .stat-item {
    text-align: center;
}

.technique-overview-stats .stat-icon {
    font-size: 24px;
    display: block;
    margin-bottom: 8px;
}

.technique-overview-stats .stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
}

.technique-overview-stats .stat-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .technique-overview-modal {
        margin: 20px auto;
    }
    
    .technique-overview-modal-content {
        padding: 24px;
    }
    
    .technique-overview-header {
        flex-direction: column;
        text-align: center;
    }
    
    .technique-overview-stats {
        grid-template-columns: 1fr;
    }
}

.example-content {
    flex: 1;
    min-width: 0;
}

.example-text {
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
    margin: 0;
}

.expandable-examples {
    max-height: 200px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.expandable-examples.expanded {
    max-height: none;
}

.expand-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.technique-card.score-low .expand-toggle {
    border-color: rgba(34, 197, 94, 0.3);
    color: #15803d;
}

.technique-card.score-medium .expand-toggle {
    border-color: rgba(251, 191, 36, 0.3);
    color: #d97706;
}

.technique-card.score-high .expand-toggle {
    border-color: rgba(239, 68, 68, 0.3);
    color: #dc2626;
}

.expand-toggle:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

.expand-icon {
    transition: transform 0.3s ease;
}

.expandable-examples.expanded + .expand-toggle .expand-icon {
    transform: rotate(180deg);
}


/* Responsive adjustments for sections */
@media (max-width: 768px) {
    .fact-check-grid,
    .techniques-showcase {
        grid-template-columns: 1fr;
    }
    
    .claim-card,
    .technique-card {
        padding: 25px;
    }
}

/* Animation for interactive elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.claim-card,
.technique-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.claim-card:nth-child(1),
.technique-card:nth-child(1) {
    animation-delay: 0.1s;
}

.claim-card:nth-child(2),
.technique-card:nth-child(2) {
    animation-delay: 0.2s;
}

.claim-card:nth-child(3),
.technique-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .fact-check-section,
    .manipulation-analysis,
    .fact-check-section {
        background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    }
    
    .claim-card,
    .technique-card {
        background: rgba(30, 30, 30, 0.95);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .claim-text,
    .technique-description,
    .context-summary,
    .fact-details p {
        color: #e5e7eb;
    }
    
    .technique-name,
    .context-card-title {
        color: #f3f4f6;
    }
    
    .evidence-item,
    .meta-badge {
        background: rgba(30, 30, 30, 0.8);
        border-color: rgba(255, 255, 255, 0.1);
        color: #d1d5db;
    }
}

/* ========================================= */
/* Related Analysis Section - Modern Cards */
/* ========================================= */

.related-analysis-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #f3f4f6 100%);
    position: relative;
    overflow: hidden;
}

.related-analysis-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 178, 138, 0.08) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-30px, -30px) scale(1.1); }
    66% { transform: translate(30px, -20px) scale(0.9); }
}

.related-header {
    text-align: left;
    margin-bottom: 50px;
}

.related-header h2 {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    margin-bottom: 20px !important;
    text-align: left !important;
}

.related-header p {
    font-size: 18px;
    color: #6b7280;
    margin: 0;
}

.related-analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.related-analysis-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.related-analysis-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00b28a, #00d4a1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.related-analysis-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.related-analysis-card:hover::before {
    transform: scaleX(1);
}

.related-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #1f2937;
}

.related-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.related-analysis-card:hover .related-thumbnail img {
    transform: scale(1.08);
}

.related-thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    color: #6b7280;
    font-size: 48px;
}

.related-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.related-score-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.related-analysis-card:hover .related-score-badge {
    transform: scale(1.1) rotate(5deg);
}

.related-score-badge .score-value {
    font-size: 20px;
    line-height: 1;
    color: white;
}

.related-score-badge .score-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 2px;
}

.related-score-badge.score-low {
    background: linear-gradient(135deg, #10b981, #059669);
}

.related-score-badge.score-medium {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.related-score-badge.score-high {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.related-content {
    padding: 25px;
}

.related-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 15px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.related-analysis-card:hover .related-title {
    color: #00b28a;
}

.related-personas {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.related-persona-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    background: rgba(0, 178, 138, 0.1);
    color: #00b28a;
    border: 1px solid rgba(0, 178, 138, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.related-persona-tag:hover {
    background: rgba(0, 178, 138, 0.2);
    border-color: rgba(0, 178, 138, 0.4);
}

.related-persona-more {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    background: #f3f4f6;
    color: #6b7280;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
}

.related-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: #6b7280;
}

.related-meta i {
    margin-right: 5px;
    font-size: 13px;
}

.related-date,
.related-views {
    display: flex;
    align-items: center;
}

.related-footer {
    text-align: center;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #00b28a, #00d4a1);
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 100px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 178, 138, 0.3);
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 178, 138, 0.4);
    background: linear-gradient(135deg, #00d4a1, #00b28a);
}

.view-all-btn i {
    transition: transform 0.3s ease;
}

.view-all-btn:hover i {
    transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .related-analysis-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .related-header h2 {
        font-size: 28px;
    }
    
    .related-thumbnail {
        height: 180px;
    }
    
    .related-content {
        padding: 20px;
    }
    
    .related-title {
        font-size: 18px;
    }
}

/* Dark mode for related section */
@media (prefers-color-scheme: dark) {
    .related-analysis-section {
        background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    }
    
    .related-analysis-card {
        background: rgba(30, 30, 30, 0.95);
    }
    
    .related-header h2,
    .related-title {
        color: #f3f4f6;
    }
    
    .related-header p,
    .related-meta {
        color: #9ca3af;
    }
    
    .related-analysis-card:hover .related-title {
        color: #00d4a1;
    }
}

/* ========================================= */
/* Old Analysis Related Section - Card Style */
/* ========================================= */

.analysis-related {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #f3f4f6 100%);
}

.analysis-related .related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.analysis-related .analysis-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.analysis-related .analysis-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00b28a, #00d4a1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.analysis-related .analysis-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.analysis-related .analysis-card:hover::before {
    transform: scaleX(1);
}

.analysis-related .analysis-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.analysis-related .analysis-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #1f2937;
}

.analysis-related .analysis-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.analysis-related .analysis-card:hover .analysis-thumbnail img {
    transform: scale(1.08);
}

.analysis-related .thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    color: #6b7280;
    font-size: 48px;
}

.analysis-related .thumbnail-placeholder::before {
    content: '🎬';
}

.analysis-related .video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.analysis-related .analysis-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 15px;
    pointer-events: none;
}

.analysis-related .manipulation-score {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.analysis-related .analysis-card:hover .manipulation-score {
    transform: scale(1.1) rotate(5deg);
}

.analysis-related .manipulation-score .score-number {
    font-size: 20px;
    line-height: 1;
    color: white;
}

.analysis-related .manipulation-score .score-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 2px;
}

.analysis-related .manipulation-score.score-low {
    background: linear-gradient(135deg, #10b981, #059669);
}

.analysis-related .manipulation-score.score-medium {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.analysis-related .manipulation-score.score-high {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.analysis-related .analysis-content {
    padding: 25px;
}

.analysis-related .analysis-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 15px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.analysis-related .analysis-card:hover .analysis-title {
    color: #00b28a;
}

.analysis-related .analysis-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: #6b7280;
}

.analysis-related .meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    padding: 0;
    border: none;
}

.analysis-related .meta-icon {
    font-size: 13px;
}

/* Dark mode for old analysis-related section */
@media (prefers-color-scheme: dark) {
    .analysis-related {
        background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    }
    
    .analysis-related .analysis-card {
        background: rgba(30, 30, 30, 0.95);
    }
    
    .analysis-related .analysis-title {
        color: #f3f4f6;
    }
    
    .analysis-related .analysis-card:hover .analysis-title {
        color: #00d4a1;
    }
    
    .analysis-related .analysis-meta {
        color: #9ca3af;
    }
}

/* ========================================= */
/* Consistent Section Titles */
/* ========================================= */

/* Apply consistent styling to all section h2 titles */
.analysis-timeline h2,
.analysis-fate-enhanced h2,
.fact-check-header h2,
.manipulation-techniques-showcase h2,
.risk-assessment-matrix h2,
.logical-fallacies h2,
.analysis-findings h2,
.constructive-questions h2,
.analysis-methodology h2,
.analysis-related h2,
.related-header h2,
.summary-content h2 {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    text-align: left !important;
    margin: 0 0 20px 0 !important;
    line-height: 1.2 !important;
    /* Remove any gradients or special effects */
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
}

/* Dark mode support for section titles */
@media (prefers-color-scheme: dark) {
    .analysis-timeline h2,
    .analysis-fate-enhanced h2,
    .fact-check-header h2,
    .manipulation-techniques-showcase h2,
    .risk-assessment-matrix h2,
    .logical-fallacies h2,
    .analysis-findings h2,
    .constructive-questions h2,
    .analysis-methodology h2,
    .analysis-related h2,
    .related-header h2,
    .summary-content h2 {
        color: #f3f4f6 !important;
    }
}

/* ========================================= */
/* Video Event Voting System */
/* ========================================= */

.event-voting-section {
    margin-top: 30px;
    padding: 10px 15px;
    background: #f8fafc;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
}

.voting-prompt {
    font-size: 16px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 20px;
    text-align: center;
}

.voting-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.voting-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.vote-btn {
    display: flex;
    align-items: center;
    gap: -6px;
    padding: 12px 5px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    justify-content: center;
}

.vote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.vote-agree {
    color: #059669;
}

.vote-agree:hover {
    background: #f0fdf4;
    border-color: #059669;
}

.vote-disagree {
    color: #dc2626;
}

.vote-disagree:hover {
    background: #fef2f2;
    border-color: #dc2626;
}

.vote-icon {
    font-size: 20px;
}

.vote-count {
    font-weight: 700;
    padding: 2px 8px;
    background: #f1f5f9;
    border-radius: 15px;
    min-width: 30px;
    text-align: center;
}

/* Vote animation */
.vote-btn.voted {
    animation: voteClick 0.6s ease;
}

@keyframes voteClick {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.vote-btn.voted::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.3);
    transform: translate(-50%, -50%);
    animation: ripple 0.6s ease-out;
}

.vote-disagree.voted::after {
    background: rgba(220, 38, 38, 0.3);
}

@keyframes ripple {
    to {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

/* Speedometer Visualization */
.vote-speedometer {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    position: relative;
    width: 100%;
    flex-wrap: nowrap;
    direction: rtl;
    align-content: center;
    justify-content: center;
}

.speedometer-svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    overflow: visible;
    width: auto;
    min-width: 274px;
}

#speedometer-needle {
    transform-origin: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.speedometer-percentage {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    position: relative;
    bottom: 0px;
    border-right: 1px solid;
    padding-right: 10px;
}

.vote-speedometer.disagree-dominant .speedometer-percentage {
    color: #dc2626;
    position: absolute;
    bottom: 32px;
}

.vote-speedometer.agree-dominant .speedometer-percentage {
    color: #059669;
    position: absolute;
    bottom: 33px;
}

.vote-speedometer.neutral .speedometer-percentage {
    color: #f59e0b;
}

/* Enhanced Event Content Sections */
.event-details-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-description {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
}

.event-quote-section,
.event-technique-section,
.event-evidence-section,
.event-impact-section {
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #00b28a;
}

.event-quote-section h4,
.event-technique-section h4,
.event-evidence-section h4,
.event-impact-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-quote {
    font-style: italic;
    font-size: 16px;
    line-height: 1.6;
    color: #64748b;
    border-left: 3px solid #cbd5e1;
    padding-left: 15px;
    margin: 0;
}

.technique-badge,
.impact-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #e0f2fe;
    color: #0369a1;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.impact-badge.impact-emotional {
    background: #fce7f3;
    color: #be185d;
}

.impact-badge.impact-cognitive {
    background: #e0e7ff;
    color: #4c1d95;
}

.impact-badge.impact-social {
    background: #fed7aa;
    color: #c2410c;
}

.impact-badge.impact-authority {
    background: #fef3c7;
    color: #b45309;
}

.impact-badge.impact-fear {
    background: #fee2e2;
    color: #b91c1c;
}

.impact-badge.impact-trust {
    background: #d1fae5;
    color: #047857;
}

.evidence-content {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
}

/* ========================================= */
/* FATE Details Modal */
/* ========================================= */

/* Make FATE cards clickable */
.fate-analysis-card {
    cursor: pointer;
    position: relative;
}

.fate-analysis-card::after {
    content: '→';
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 18px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.fate-analysis-card:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Modal Overlay - Matching Technique Modal Exactly */
.fate-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* Ensure duplicate or malformed modals are hidden */
.fate-modal:not([id="fate-modal"]) {
    display: none !important;
}

.fate-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Container - Updated to match technique modal */
.fate-modal,
.fate-timestamp-modal {
    background: white;
    width: 90%;
    max-width: 1600px;
    height: 80vh;
    max-height: 800px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.fate-modal-overlay.active .fate-modal,
.fate-timestamp-modal-overlay.active .fate-timestamp-modal {
    transform: scale(1);
}

/* Modal Close Button */
.fate-modal-close,
.fate-timestamp-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #333;
}

.fate-modal-close:hover,
.fate-timestamp-modal-close:hover {
    transform: rotate(90deg);
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Split Layout */
.fate-modal-split,
.fate-timestamp-modal-split {
    display: flex;
    height: 100%;
}

/* Modal Content */
.fate-modal-content {
    height: 100%;
}

/* Video Section */
.fate-modal-video,
.fate-timestamp-modal-video {
    flex: 0 0 60%;
    background: #000;
    position: relative;
    display: flex;
    flex-direction: column;
}

.fate-video-container,
.fate-timestamp-video-container {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fate-video-container iframe,
.fate-timestamp-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Video Controls */
.fate-video-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 5;
}

.fate-video-control {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
}

.fate-video-control:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Content Section */
.fate-modal-details,
.fate-timestamp-modal-details {
    flex: 0 0 40%;
    padding: 40px 24px;
    overflow-y: auto;
    background: #f8f9fa;
    padding-top: 88px;
    position: relative;
}

/* Header Styles */
.fate-modal-header,
.fate-timestamp-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.fate-modal-header h3,
.fate-timestamp-modal-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.fate-modal-icon {
    font-size: 36px;
    line-height: 1;
}

/* Meta Info */
.fate-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.fate-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
}

.fate-score-badge {
    background: #f3f4f6;
    padding: 4px 12px;
    border-radius: 16px;
    font-weight: 600;
    color: #1f2937;
}

.fate-timestamp-badge,
.timestamp-badge {
    background: #00b28a;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.fate-type-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.fate-type-indicator .fate-icon {
    font-size: 48px;
    line-height: 1;
}

.header-content {
    flex: 1;
}

.fate-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.fate-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Content Sections */
.fate-content-section {
    margin-bottom: 32px;
}

.fate-content-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fate-description,
.fate-timestamp-description {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 24px;
}

.fate-modal-description {
    font-size: 18px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 40px;
    text-align: center;
}

/* Timestamp Section - Matching Technique Modal */
.timestamp-section {
    background: white;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.timestamp-section h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
}

.timestamp-description {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
}

/* Technique Section - Matching Technique Modal */
.technique-section {
    background: white;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.technique-section h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.technique-content {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
}

/* Quote Section - Matching Technique Modal */
.quote-section {
    background: white;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 30px;
    border-left: 4px solid #00b28a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.quote-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.quote-content {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
    font-style: italic;
}

/* Impact Section - Matching Technique Modal */
.impact-section {
    background: white;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.impact-section h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.impact-content {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
}

/* Severity Indicator */
.severity-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.severity-label {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.severity-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.severity-badge.severity-low {
    background: #10b981;
    color: white;
}

.severity-badge.severity-medium {
    background: #f59e0b;
    color: white;
}

.severity-badge.severity-high {
    background: #ef4444;
    color: white;
}

.fate-modal-section {
    margin-bottom: 40px;
}

.fate-modal-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Techniques List */
.fate-techniques-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.technique-tag {
    background: #e0f2fe;
    color: #0369a1;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #bae6fd;
    transition: all 0.2s ease;
}

.technique-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(3, 105, 161, 0.1);
}

/* Evidence List */
.fate-evidence-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.evidence-item {
    background: #f8fafc;
    border-left: 4px solid #00b28a;
    padding: 16px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.evidence-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.evidence-timestamp {
    font-size: 12px;
    font-weight: 600;
    color: #00b28a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.evidence-text {
    font-size: 15px;
    line-height: 1.6;
    color: #334155;
}

/* Score Visualization */
.fate-modal-visual {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
}

.fate-score-visualization {
    max-width: 400px;
    margin: 0 auto;
}

.score-bar-container {
    height: 20px;
    background: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.score-bar {
    height: 100%;
    background: linear-gradient(90deg, #00b28a 0%, #ffaa00 33%, #4263eb 66%, #ff6b6b 100%);
    width: 0%;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
}

.score-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #64748b;
}


/* Type-specific evidence colors */
.fate-modal.fate-focus .evidence-item {
    border-left-color: #ff6b6b;
}

.fate-modal.fate-authority .evidence-item {
    border-left-color: #4263eb;
}

.fate-modal.fate-tribe .evidence-item {
    border-left-color: #00b28a;
}

.fate-modal.fate-emotion .evidence-item {
    border-left-color: #ffaa00;
}

.fate-modal.fate-focus .evidence-timestamp {
    color: #ff6b6b;
}

.fate-modal.fate-authority .evidence-timestamp {
    color: #4263eb;
}

.fate-modal.fate-tribe .evidence-timestamp {
    color: #00b28a;
}

.fate-modal.fate-emotion .evidence-timestamp {
    color: #ffaa00;
}

/* Additional FATE Modal Styles */
.fate-quote-box {
    background: #f8fafc;
    border-left: 4px solid #4263eb;
    padding: 16px 20px;
    border-radius: 8px;
    font-style: italic;
    color: #334155;
    margin-bottom: 16px;
}

.fate-impact-item,
.fate-technique-item,
.fate-severity-display {
    background: #f8fafc;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.fate-impact-item strong,
.fate-technique-item strong {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 8px;
}

.severity-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.severity-badge.severity-low {
    background: #e0f2fe;
    color: #0369a1;
}

.severity-badge.severity-medium {
    background: #fef3c7;
    color: #d97706;
}

.severity-badge.severity-high {
    background: #fee2e2;
    color: #dc2626;
}

.severity-badge.severity-extreme {
    background: #dc2626;
    color: white;
}

/* Timestamp Modal Overlay */
.fate-timestamp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.fate-timestamp-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive */
@media (max-width: 1200px) {
    .fate-modal-split,
    .fate-timestamp-modal-split {
        flex-direction: column;
    }
    
    .fate-modal-video,
    .fate-timestamp-modal-video,
    .fate-modal-details,
    .fate-timestamp-modal-details {
        flex: 1 1 auto;
        width: 100%;
    }
    
    .fate-modal-video,
    .fate-timestamp-modal-video {
        height: 40vh;
    }
}

@media (max-width: 768px) {
    .fate-modal,
    .fate-timestamp-modal {
        width: 100%;
        height: 100vh;
        max-width: 100%;
        border-radius: 0;
    }
    
    .fate-modal-header {
        padding: 30px 20px 20px;
    }
    
    .fate-modal-content {
        padding: 20px;
    }
    
    .fate-modal-title {
        font-size: 28px;
    }
    
    .fate-modal-icon {
        font-size: 48px;
    }
}

/* Technique Example Modal Styles */
.technique-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.technique-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.technique-modal {
    background: white;
    width: 90%;
    max-width: 1600px;
    height: 80vh;
    max-height: 800px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.technique-modal-overlay.active .technique-modal {
    transform: scale(1);
}

.technique-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.technique-modal-close:hover {
    transform: rotate(90deg);
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.technique-modal-content {
    height: 100%;
    overflow: hidden;
}

.technique-modal-split {
    display: flex;
    height: 100%;
}

/* Video Section */
.technique-modal-video {
    flex: 0 0 60%;
    background: #000;
    position: relative;
}

#technique-video-container {
    width: 100%;
    height: calc(100% - 80px);
}

#technique-video-container iframe {
    width: 100%;
    height: 100%;
}

.video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.current-timestamp {
    color: #00b28a;
    font-size: 18px;
    font-weight: 600;
}

.video-controls {
    display: flex;
    gap: 12px;
}

.video-control-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Content Section */
.technique-modal-details {
    flex: 0 0 40%;
    padding: 40px 24px;
    overflow-y: auto;
    background: #f8f9fa;
    padding-top: 88px;
}

.technique-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.technique-modal-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.timestamp-badge {
    background: #00b28a;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.example-full-text {
    background: white;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 30px;
    border-left: 4px solid #00b28a;
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.technique-analysis {
    background: white;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.technique-analysis h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
}

.analysis-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.analysis-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.analysis-item strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.analysis-item p {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

.related-examples {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.related-examples h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-item {
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
    color: #475569;
    border-left: 3px solid #00b28a;
    transition: all 0.3s ease;
    cursor: pointer;
}

.related-item:hover {
    transform: translateX(4px);
    background: #f1f5f9;
}

/* Responsive */
@media (max-width: 1200px) {
    .technique-modal-split {
        flex-direction: column;
    }
    
    .technique-modal-video,
    .technique-modal-details {
        flex: 1 1 auto;
        width: 100%;
    }
    
    .technique-modal-video {
        height: 50%;
    }
    
    #technique-video-container {
        height: calc(100% - 60px);
    }
    
    .video-info {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .technique-modal {
        width: 95%;
        height: 90vh;
        max-height: none;
    }
    
    .technique-modal-details {
        padding: 20px;
    }
    
    .technique-modal-header h3 {
        font-size: 20px;
    }
    
    .example-full-text,
    .technique-analysis,
    .related-examples {
        padding: 16px;
    }
}

/* Event Details Modal Styles */
body.modal-open {
    overflow: hidden;
    position: relative;
}

.event-details-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
}

.event-details-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.event-details-modal {
    background: #ffffff;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.event-details-modal-overlay.active .event-details-modal {
    transform: translateY(0);
}

.event-details-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.event-details-modal-close:hover {
    background: #e2e8f0;
    transform: rotate(90deg);
}

.event-details-modal-close span {
    font-size: 20px;
    color: #64748b;
    line-height: 1;
}

.event-details-modal-header {
    padding: 30px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e8f0;
}

.event-details-modal-header h2 {
    font-size: 24px;
    color: #1a1a1a;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.event-details-modal-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}

.event-modal-time {
    color: #00b28a;
    font-weight: 500;
}

.event-modal-type {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-modal-type.type-misinformation {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.event-modal-type.type-manipulation {
    background: #fed7aa;
    color: #ea580c;
    border: 1px solid #fdba74;
}

.event-modal-type.type-propaganda {
    background: #e9d5ff;
    color: #9333ea;
    border: 1px solid #d8b4fe;
}

.event-modal-type.type-factual {
    background: #d1fae5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.event-details-modal-content {
    padding: 30px;
    max-height: calc(80vh - 200px);
    overflow-y: auto;
}

.event-details-modal-section {
    margin-bottom: 30px;
}

.event-details-modal-section:last-child {
    margin-bottom: 0;
}

.event-details-modal-section h3 {
    font-size: 18px;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.event-details-modal-section h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #00b28a;
    border-radius: 2px;
}

.event-modal-quote {
    background: #f8f9fa;
    border-left: 4px solid #00b28a;
    padding: 20px;
    border-radius: 8px;
    font-style: italic;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

.event-modal-quote::before {
    content: '"';
    font-size: 48px;
    color: rgba(0, 178, 138, 0.3);
    line-height: 0;
    vertical-align: -20px;
    margin-right: 10px;
}

.event-modal-technique,
.event-modal-evidence {
    color: #666;
    line-height: 1.6;
}

.event-modal-impact {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: capitalize;
}

.event-modal-impact.impact-emotional {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.event-modal-impact.impact-cognitive {
    background: #fed7aa;
    color: #ea580c;
    border: 1px solid #fdba74;
}

.event-modal-impact.impact-social {
    background: #e0e7ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
}

.event-modal-impact.impact-authority {
    background: #fef3c7;
    color: #d97706;
    border: 1px solid #fde68a;
}

.event-modal-impact.impact-fear {
    background: #fce7f3;
    color: #be185d;
    border: 1px solid #fbcfe8;
}

.event-modal-impact.impact-trust {
    background: #d1fae5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

/* More Info Button Styles */
.event-more-info-section {
    margin-top: 20px;
    text-align: left;
}

.more-info-btn {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 24px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.more-info-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: #00b28a;
    border-color: #00b28a;
    color: #fff;
}

.more-info-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.more-info-btn .btn-icon {
    font-size: 18px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.more-info-btn .btn-text {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Scrollbar styling for modal */
.event-details-modal-content::-webkit-scrollbar {
    width: 8px;
}

.event-details-modal-content::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.event-details-modal-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.event-details-modal-content::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.fact-check-header h2 {
    font-size: 48px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
    text-align: left;
    margin-bottom: 0px !important;
}

/* Responsive adjustments for event details modal */
@media (max-width: 768px) {
    .event-details-modal {
        max-height: 90vh;
        margin: 10px;
    }
    
    .event-details-modal-header {
        padding: 20px;
    }
    
    .event-details-modal-header h2 {
        font-size: 20px;
    }
    
    .event-details-modal-content {
        padding: 20px;
        max-height: calc(90vh - 160px);
    }
    
    .event-details-modal-section h3 {
        font-size: 16px;
    }
    
    .event-modal-quote {
        font-size: 14px;
        padding: 15px;
    }
    
    .more-info-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .finding-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.analysis-hero-enhanced::after {
    display: none;
}

}

/* Vote Feedback Messages */
.vote-feedback {
    margin-top: 20px;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    animation: slideInUp 0.3s ease;
    position: relative;
}

.vote-feedback.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.vote-feedback.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.vote-feedback.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Disabled vote button styles */
.vote-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.vote-btn:disabled:hover {
    transform: none;
    box-shadow: none;
    background: white;
    border-color: #e2e8f0;
}

/* Already Voted Message */
.already-voted-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 3px 24px;
    background: #f0fdf4;
    border: 2px solid #86efac;
    border-radius: 12px;
    margin: 0px;
    animation: slideInUp 0.3s ease;
}

.voted-icon {
    font-size: 24px;
    color: #22c55e;
}

.voted-text {
    font-size: 16px;
    color: #15803d;
    font-weight: 500;
}

.voted-text strong {
    font-weight: 700;
    color: #14532d;
}

.analysis-comments {
    padding-top: 0px !important;
}

#wpdcom {
    height: auto;
    padding: 5px 1px;
    max-width: 100% !important;
}

/* Section Indicator Bubble */
.section-indicator {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 165px;
    height: 80px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.section-indicator.visible {
    opacity: 0.3;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.section-indicator.active {
    opacity: 1;
}

.section-indicator-inner {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* Progress Border */
.section-indicator-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.section-indicator-bg {
    fill: none;
    stroke: rgba(0, 0, 0, 0.1);
    stroke-width: 2;
    rx: 35;
    ry: 35;
}

.section-indicator-fill {
    fill: none;
    stroke: #00b28a;
    stroke-width: 2;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.3s ease;
    rx: 35;
    ry: 35;
}

/* Content Container */
.section-indicator-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 
                0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 20px;
}

/* Text Container */
.section-indicator-text {
    position: relative;
    text-align: left;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding-left: 10px;
}

.section-indicator-text span {
    position: relative;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.section-current {
    opacity: 1;
    transform: translateY(0);
    font-size: 14px;
}

.section-next {
    opacity: 0.4;
    transform: translateY(0);
    font-size: 11px;
    font-weight: 500;
    color: #666;
}

/* Hover Effects */
.section-indicator:hover .section-indicator-content {
    transform: translate(-50%, -50%) scale(1.03);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15), 
                0 2px 8px rgba(0, 0, 0, 0.1);
}

.section-indicator:hover .section-indicator-fill {
    stroke: #00ff88;
}

/* Active state animations */
.section-indicator.active .section-indicator-content {
    animation: pulse 2s ease-in-out infinite;
}

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

/* Expanded state for longer text */
.section-indicator:hover {
    width: 180px;
}

.section-indicator:hover .section-next {
    opacity: 0.6;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .section-indicator {
        bottom: 20px;
        right: 20px;
        width: 140px;
        height: 70px;
    }
    
    .section-indicator-bg,
    .section-indicator-fill {
        rx: 30;
        ry: 30;
    }
    
    .section-indicator-content {
        width: calc(100% - 6px);
        height: calc(100% - 6px);
        padding: 0 16px;
        border-radius: 30px;
    }
    
    .section-indicator-text span {
        font-size: 12px;
    }
    
    .section-current {
        font-size: 13px;
    }
    
    .section-next {
        font-size: 10px;
    }
    
    .section-indicator:hover {
        width: 160px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .section-indicator-content {
        background: rgba(26, 26, 26, 0.95);
    }
    
    .section-indicator-text span {
        color: #ffffff;
    }
    
    .section-indicator-bg {
        stroke: rgba(255, 255, 255, 0.1);
    }
}

/* Fact Check Filter Modal Styles */
.fact-check-filter-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    position: relative;
    z-index: 2;
    background: transparent;
}

.fact-check-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.05) 0%, rgba(34, 197, 94, 0.05) 100%);
    color: #16a34a;
    border: 2px solid #16a34a;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.fact-check-filter-btn:hover {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.2);
}

.fact-check-filter-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.15);
}

.fact-check-filter-btn .filter-icon {
    width: 20px;
    height: 20px;
}

/* Modal Styles */
.fact-check-filter-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.fact-check-filter-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background overlay specific to filter modal */
.fact-check-filter-modal .fact-check-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    cursor: pointer;
    z-index: 1;
}

/* Filter modal content specific styling */
.fact-check-filter-modal .fact-check-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 85vh;
    background: white;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 2;
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fact-check-filter-modal.active .fact-check-modal-content {
    transform: scale(1);
    opacity: 1;
}

/* Specific styling for filter modal header */
.fact-check-filter-modal .fact-check-modal-header {
    padding: 35px 40px 0px 40px;
    background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
    border-bottom: 0px;
}

.fact-check-filter-modal .fact-check-modal-header h2 {
    font-size: 32px;
    background: linear-gradient(135deg, #00b28a 0%, #00d56a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Enhanced filter section for filter modal */
.fact-check-filter-modal .fact-check-modal-filters {
    padding: 30px 40px;
    background: #f8f9fa;
    flex-shrink: 0;
}

/* Modal results section for filter modal */
.fact-check-filter-modal .fact-check-modal-results {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0 40px 40px;
}

.fact-check-filter-modal .results-header {
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 20px;
}

.fact-check-filter-modal .fact-check-modal-claims {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
}

/* Custom scrollbar for filter modal */
.fact-check-filter-modal .fact-check-modal-claims::-webkit-scrollbar {
    width: 8px;
}

.fact-check-filter-modal .fact-check-modal-claims::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.fact-check-filter-modal .fact-check-modal-claims::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #00b28a, #00d56a);
    border-radius: 10px;
}

/* Enhanced claims display in filter modal */
.fact-check-filter-modal .fact-check-modal-claims {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    align-content: start;
}

.fact-check-filter-modal .claim-item {
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
}

.fact-check-filter-modal .claim-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #00b28a;
}

.fact-check-filter-modal .claim-item:focus {
    outline: none;
    border-color: #00d56a;
    box-shadow: 0 0 0 3px rgba(0, 178, 138, 0.1);
}

/* Add click indication */
.fact-check-filter-modal .claim-item:active {
    transform: translateY(-2px);
    transition: all 0.1s ease;
}

/* Add subtle hover indicator */
.fact-check-filter-modal .claim-item::after {
    content: "Click to view details";
    position: absolute;
    top: 10px;
    right: 15px;
    background: rgba(0, 178, 138, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 10;
}

.fact-check-filter-modal .claim-item:hover::after {
    opacity: 1;
}

/* Fade-in animation for claims */
.fact-check-filter-modal .claim-item.fade-in-up {
    animation: fadeInUpFilter 0.5s ease-out forwards;
}

@keyframes fadeInUpFilter {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Header */
.fact-check-modal-header {
    padding: 30px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fact-check-modal-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.fact-check-modal-close,
.fact-check-filter-modal-close {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.2s;
    border-radius: 8px;
}

.fact-check-modal-close:hover,
.fact-check-filter-modal-close:hover {
    background: #f3f4f6;
    color: #1f2937;
}

/* Modal Filters */
.fact-check-modal-filters {
    padding: 25px 30px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.filter-section h3 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b7280;
    margin: 0 0 15px 0;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 16px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-btn:hover {
    border-color: #16a34a;
    background: rgba(22, 163, 74, 0.05);
    color: #00b28a;
}

.filter-btn.active {
    background: #00b28a;
    border-color: #16a34a;
    color: white;
}

.filter-count {
    font-size: 12px;
    font-weight: 600;
    background: #00b28a;
    padding: 2px 6px;
    border-radius: 10px;
    color: white;
}

.filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.2);
}

.verdict-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.verdict-dot.true { background: #22c55e; }
.verdict-dot.mostly-true { background: #86efac; }
.verdict-dot.mixed { background: #fbbf24; }
.verdict-dot.mostly-false { background: #fb923c; }
.verdict-dot.false { background: #ef4444; }
.verdict-dot.unverifiable { background: #9ca3af; }

/* Sort Section */
.sort-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-section label {
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    width: fit-content;
    white-space: nowrap;
}

.fact-check-sort-select {
    padding: 8px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    color: #1f2937;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}

.fact-check-sort-select:hover {
    border-color: #16a34a;
}

.fact-check-sort-select:focus {
    outline: none;
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

/* Modal Results */
.fact-check-modal-results {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.results-header {
    padding: 20px 30px;
    border-bottom: 1px solid #e5e7eb;
}

.results-count {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.fact-check-modal-claims {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
}

/* Claims in Modal */
.fact-check-modal-claims .claim-item {
    max-height: none !important;
    overflow: visible !important;
    animation: none;
    width: 100%;
    max-width: 100%;
}

.fact-check-modal-claims .claim-item.expanded {
    background: #fafafa;
}

.fact-check-modal-claims .claim-item.fade-in-up {
    animation: fadeInUp 0.5s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* No Results */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.no-results p {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 20px;
}

.reset-filters-btn {
    padding: 10px 24px;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.reset-filters-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);
}

/* Scrollbar Styling */
.fact-check-modal-claims::-webkit-scrollbar {
    width: 8px;
}

.fact-check-modal-claims::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.fact-check-modal-claims::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #22c55e, #16a34a);
    border-radius: 10px;
}

.fact-check-modal-claims::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #16a34a, #15803d);
}

/* Responsive */
@media (max-width: 768px) {
    /* Filter Modal Responsive */
    .fact-check-filter-modal .fact-check-modal-content {
        width: 95%;
        max-height: 95vh;
        border-radius: 16px;
        max-width: none;
    }
    
    .fact-check-filter-modal .fact-check-modal-header {
        padding: 20px;
    }
    
    .fact-check-filter-modal .fact-check-modal-header h2 {
        font-size: 24px;
    }
    
    .fact-check-filter-modal .fact-check-modal-filters {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .fact-check-filter-modal .fact-check-modal-results {
        padding: 0 20px 20px;
    }
    
    .fact-check-filter-modal .fact-check-modal-claims {
        grid-template-columns: 1fr;
        padding: 0;
    }
    
    /* Regular modal responsive */
    .fact-check-modal-content {
        width: 95%;
        max-height: 95vh;
        border-radius: 16px;
    }
    
    .fact-check-modal-header {
        padding: 20px;
    }
    
    .fact-check-modal-header h2 {
        font-size: 22px;
    }
    
    .fact-check-modal-filters {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .filter-buttons {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .fact-check-modal-claims {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 16px;
    }
    
    .fact-check-filter-btn {
        padding: 12px 24px;
        font-size: 15px;
    }
}

/* Fact Check Claim Modal Styles */
.fact-check-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.fact-check-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.fact-check-modal {
    background: white;
    width: 90%;
    max-width: 1600px;
    height: 80vh;
    max-height: 800px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.fact-check-modal-overlay.active .fact-check-modal {
    transform: scale(1);
}

.fact-check-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fact-check-modal-close:hover {
    transform: rotate(90deg);
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.fact-check-modal-content {
    height: 100%;
    overflow: hidden;
}

.fact-check-modal-split {
    display: flex;
    height: 100%;
}

/* Video Section */
.fact-check-modal-video {
    flex: 0 0 60%;
    background: #000;
    position: relative;
}

#fact-check-video-container {
    width: 100%;
    height: calc(100% - 80px);
}

#fact-check-video-container iframe {
    width: 100%;
    height: 100%;
}

.fact-check-modal-video .video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 20px;
    color: white;
}

.fact-check-modal-video .current-timestamp {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.fact-check-modal-video .video-controls {
    display: flex;
    gap: 12px;
}

.fact-check-modal-video .video-control-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fact-check-modal-video .video-control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Content Section */
.fact-check-modal-details {
    flex: 0 0 40%;
    padding: 40px 24px;
    overflow-y: auto;
    background: #f8f9fa;
    padding-top: 88px;
}

.fact-check-modal-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 0px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.fact-check-modal-header .verdict-indicator {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
}

.fact-check-modal-header .verdict-indicator.verdict-true,
.fact-check-modal-header .verdict-indicator.verdict-verified,
.fact-check-modal-header .verdict-indicator.verdict-mostly-true {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.fact-check-modal-header .verdict-indicator.verdict-mixed {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.fact-check-modal-header .verdict-indicator.verdict-mostly-false,
.fact-check-modal-header .verdict-indicator.verdict-false {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.fact-check-modal-header .verdict-indicator.verdict-unverifiable {
    background: linear-gradient(135deg, #9ca3af, #6b7280);
}

.fact-check-modal-header .header-content {
    flex: 1;
}

.fact-check-modal-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.fact-check-modal-header .claim-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fact-check-modal-header .verdict-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
}

.fact-check-modal-header .verdict-badge.verdict-true,
.fact-check-modal-header .verdict-badge.verdict-verified,
.fact-check-modal-header .verdict-badge.verdict-mostly-true {
    background: #d1fae5;
    color: #065f46;
}

.fact-check-modal-header .verdict-badge.verdict-mixed {
    background: #fef3c7;
    color: #78350f;
}

.fact-check-modal-header .verdict-badge.verdict-mostly-false,
.fact-check-modal-header .verdict-badge.verdict-false {
    background: #fee2e2;
    color: #7f1d1d;
}

.fact-check-modal-header .verdict-badge.verdict-unverifiable {
    background: #f3f4f6;
    color: #374151;
}

.fact-check-modal-header .timestamp-badge {
    color: #6b7280;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Content Sections */
.claim-section,
.analysis-section,
.evidence-section {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.claim-section h4,
.analysis-section h4,
.evidence-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 16px 0;
}

.claim-text-full {
    font-size: 18px;
    line-height: 1.6;
    color: #1e293b;
    font-style: italic;
    border-left: 4px solid #e5e7eb;
    padding-left: 20px;
}

.analysis-content {
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
}

.evidence-content {
    font-size: 15px;
    line-height: 1.7;
    color: #64748b;
}

.evidence-content ul {
    margin: 10px 0;
    padding-left: 20px;
}

.evidence-content li {
    margin-bottom: 8px;
}

/* Evidence Links Styles */
.evidence-description {
    margin-bottom: 20px;
}

.evidence-links {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.evidence-links h5 {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.evidence-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.evidence-links-list li {
    margin-bottom: 10px;
}

.evidence-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 8px 12px;
    border-radius: 6px;
    background: white;
    border: 1px solid #e5e7eb;
}

.evidence-link:hover {
    color: #0052a3;
    background: #f0f7ff;
    border-color: #0066cc;
    transform: translateX(4px);
}

.source-type-badge {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 8px;
}

.source-type-badge.source-fact_checker {
    background: #e3f2fd;
    color: #1976d2;
}

.source-type-badge.source-news_outlet {
    background: #f3e5f5;
    color: #7b1fa2;
}

.source-type-badge.source-academic {
    background: #e8f5e9;
    color: #388e3c;
}

.source-type-badge.source-government {
    background: #fff3e0;
    color: #f57c00;
}

.source-type-badge.source-other {
    background: #eceff1;
    color: #546e7a;
}

/* Responsive */
@media (max-width: 1200px) {
    .fact-check-modal-split {
        flex-direction: column;
    }
    
    .fact-check-modal-video,
    .fact-check-modal-details {
        flex: 1 1 auto;
        width: 100%;
    }
    
    .fact-check-modal-video {
        height: 50%;
    }
    
    #fact-check-video-container {
        height: calc(100% - 60px);
    }
    
    .fact-check-modal-video .video-info {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .fact-check-modal {
        width: 95%;
        height: 90vh;
        max-height: none;
    }
    
    .fact-check-modal-details {
        padding: 20px;
        padding-top: 60px;
    }
    
    .fact-check-modal-header h3 {
        font-size: 20px;
    }
    
    .fact-check-modal-header .verdict-indicator {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .claim-section,
    .analysis-section,
    .evidence-section {
        padding: 16px;
    }
    
    .claim-text-full {
        font-size: 16px;
    }
}