/* Creator Comparison Section */
.creator-comparison {
    padding: 80px 20px;
    background: #fff;
    overflow: hidden;
}

.creator-comparison__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.creator-comparison__header {
    text-align: center;
    max-width: 700px;
    margin-bottom: 60px;
}

.creator-comparison__title {
    font-family: var(--font-family-heading, sans-serif);
    font-size: var(--section-title);
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.creator-comparison__subtitle {
    font-size: 18px;
    color: #6B7280;
    line-height: 1.6;
}

.highlight-red {
    color: #EF4444;
}

/* Visual Layout */
.comparison-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    width: 100%;
    max-width: 900px;
    position: relative;
}

.thumbnail-card {
    flex: 1;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #f0f4fa;
    box-shadow: inset 0 -3px 3px #0013581a, 0 4px 12px #0013580a, 0 3px 6px #0013580a, 0 0.5px 1px #00135826;
    transition: all 0.3s ease;
    max-width: 380px;
}

.thumbnail-card:hover {
    transform: translateY(-4px);
    box-shadow: inset 0 -3px 3px #0013581a, 0 8px 24px #0013580f, 0 4px 12px #0013580a, 0 0.5px 1px #00135826;
}

.thumbnail-image-container {
    width: 100%;
    aspect-ratio: 16/9;
    background: #F3F4F6;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #F3F4F6;
}

.comparison-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.thumbnail-card:hover .comparison-thumb {
    transform: scale(1.03);
}

/* Badges */
.thumb-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.original-badge {
    background: rgba(255, 255, 255, 0.9);
    color: #4B5563;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.copy-badge {
    background: #EF4444;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}


.thumbnail-meta {
    padding: 16px;
}

.meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
}



.channel-avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background: #E5E7EB;
    /* Fallback */
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.meta-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.channel-name {
    font-weight: 700;
    color: #111827;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-stats {
    font-size: 12px;
    color: #6B7280;
}

/* Animated Arrow */
.comparison-arrow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100px;
    flex-shrink: 0;
    position: relative;
    top: -10px;
    /* Adjust alignment with visuals */
}

.copy-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #EF4444;
    letter-spacing: 0.1em;
    margin-bottom: 2px;
}

.animated-arrow-svg {
    width: 100px;
    height: 40px;
    overflow: visible;
}

/* Animation for the arrow */
.arrow-path {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawLine 2s ease-in-out infinite;
}

.arrow-head-wing {
    stroke-dasharray: 12;
    stroke-dashoffset: 12;
    animation: drawHead 2s ease-in-out infinite;
}

@keyframes drawLine {
    0% {
        stroke-dashoffset: 100;
    }

    50% {
        stroke-dashoffset: 0;
    }

    /* Line fully drawn at 50% */
    100% {
        stroke-dashoffset: 0;
    }

    /* Stay drawn */
}

@keyframes drawHead {

    0%,
    45% {
        stroke-dashoffset: 12;
        opacity: 0;
    }

    /* Wait for line */
    50% {
        stroke-dashoffset: 12;
        opacity: 1;
    }

    /* Start drawing */
    70% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    /* Consummate draw */
    100% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

/* Responsive */
/* Responsive */
@media (max-width: 768px) {
    .creator-comparison {
        padding: 60px 20px;
    }

    .comparison-visual {
        flex-direction: column;
        gap: 24px;
        max-width: 400px;
        margin: 0 auto;
    }

    .thumbnail-card {
        width: 100%;
        max-width: 100%;
    }

    .comparison-arrow-container {
        flex-direction: row;
        /* Label to the right of arrow */
        justify-content: center;
        gap: 12px;
        margin: 20px 0;
        top: 0;
        width: auto;
        /* Allow it to fit content */
    }

    .copy-label {
        order: 2;
        /* Move label after SVG */
        margin-bottom: 0;
    }

    .animated-arrow-svg {
        transform: rotate(90deg);
        width: 60px;
        /* Smaller on mobile */
        height: 24px;
        order: 1;
    }

    .arrow-path,
    .arrow-head-wing {
        animation: none !important;
        stroke-dashoffset: 0 !important;
        opacity: 1 !important;
    }

    /* Adjust badges for mobile if needed */
    .thumb-badge {
        font-size: 10px;
        padding: 3px 8px;
    }
}