/**
 * Comparison Mode - Toggle to see Before/After
 * Add class "comparison-mode" to body to disable new UI
 */

 body.comparison-mode {
    /* Disable all new enhancements */
}

/* Disable hover effects in comparison mode */
body.comparison-mode .GameThumb_gameThumbLinkDesktop__LB7NJ:hover {
    transform: none !important;
    box-shadow: none !important;
}

body.comparison-mode .GameThumb_gameThumbLinkDesktop__LB7NJ::before {
    display: none !important;
}

body.comparison-mode .GameThumb_gameThumbImage__isqyS {
    transform: none !important;
}

body.comparison-mode .GameCarousel_primeCarouselArrow__BmHOa {
    background: rgba(55, 57, 82, 0.5) !important;
}

body.comparison-mode .GameCarousel_primeCarouselArrow__BmHOa:hover {
    transform: none !important;
    background: rgba(55, 57, 82, 0.7) !important;
}

body.comparison-mode .css-174kd1d {
    opacity: 0.2 !important;
    background-color: #373952 !important;
}

body.comparison-mode .css-174kd1d:focus {
    transform: none !important;
    box-shadow: none !important;
}

body.comparison-mode .Carousel_carouselTitle__kXgiB {
    background: none !important;
    -webkit-text-fill-color: #fff !important;
    color: #fff !important;
}

body.comparison-mode .css-nb4mi8:hover,
body.comparison-mode .css-inysc7:hover {
    transform: none !important;
    background: rgba(55, 57, 82, 0.4) !important;
    box-shadow: none !important;
}

/* Hide new features in comparison mode */
body.comparison-mode [style*="position: fixed"][style*="bottom: 30px"] {
    display: none !important; /* Back to top button */
}

body.comparison-mode [style*="position: fixed"][style*="top: 60px"] {
    display: none !important; /* Progress bar */
}

/* Add comparison toggle button - HIDDEN */
.comparison-toggle {
    display: none !important;
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 10000;
    background: linear-gradient(135deg, #6842FF, #9D7FFF);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 24px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(104, 66, 255, 0.4);
    transition: all 0.3s ease;
    font-family: '__Nunito_c77b14', '__Nunito_Fallback_c77b14', Arial, sans-serif;
}

.comparison-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(104, 66, 255, 0.6);
}

.comparison-toggle:active {
    transform: translateY(0);
}

body.comparison-mode .comparison-toggle {
    background: linear-gradient(135deg, #666, #888);
}

body.comparison-mode .comparison-toggle::before {
    content: '✨ ';
}

body:not(.comparison-mode) .comparison-toggle::before {
    content: '👁️ ';
}

/* Comparison info banner */
.comparison-info {
    position: fixed;
    top: 130px;
    right: 20px;
    z-index: 9999;
    background: rgba(12, 13, 20, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 16px 20px;
    border-radius: 12px;
    border: 2px solid #6842FF;
    max-width: 300px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    font-family: '__Nunito_c77b14', '__Nunito_Fallback_c77b14', Arial, sans-serif;
    display: none;
}

.comparison-info.active {
    display: block;
    animation: slideIn 0.3s ease;
}

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

.comparison-info h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #9D7FFF;
}

.comparison-info p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #AAADBE;
}

.comparison-info .close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: #AAADBE;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    padding: 4px;
}

.comparison-info .close-btn:hover {
    color: white;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .comparison-toggle {
        top: auto;
        bottom: 80px;
        right: 10px;
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .comparison-info {
        top: auto;
        bottom: 140px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}
