
.body-bg {
    background-color: #0a0a0a;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.compare-hero {
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.9), rgba(10, 10, 20, 0.95)),
                url('../img/compare-bg.jpg') center/cover no-repeat;
    padding: 100px 0 80px;
    margin-top: 76px; 
    position: relative;
    overflow: hidden;
}

.compare-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 165, 82, 0.1), transparent 70%);
}

.compare-title {
    font-size: 3.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #FFD37A, #D4A552, #B8860B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(212, 165, 82, 0.5);
}

.compare-title span {
    color: #FFD37A;
    text-shadow: 0 0 25px #D4A552;
}

.compare-subtitle {
    font-size: 1.3rem;
    color: #e6e6e6;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}


.select-consoles {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(212, 165, 82, 0.2);
    border-bottom: 1px solid rgba(212, 165, 82, 0.2);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.section-title span {
    color: #D4A552;
    text-shadow: 0 0 15px rgba(212, 165, 82, 0.7);
}

.selection-card {
    background: rgba(20, 20, 30, 0.7);
    border: 1px solid rgba(212, 165, 82, 0.3);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    height: 100%;
}

.selection-card:hover {
    border-color: #D4A552;
    box-shadow: 0 0 35px rgba(212, 165, 82, 0.4);
    transform: translateY(-5px);
}

.selection-title {
    color: #FFD37A;
    font-size: 1.8rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(212, 165, 82, 0.5);
}


.brand-header {
    color: #D4A552;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 25px 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(212, 165, 82, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}


.console-options {
    display: grid;
    gap: 15px;
}

.console-option {
    background: rgba(40, 40, 50, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
    width: 100%;
}

.console-option:hover {
    background: rgba(60, 60, 70, 0.8);
    border-color: rgba(212, 165, 82, 0.5);
    transform: translateX(5px);
}

.console-option.active {
    background: rgba(212, 165, 82, 0.15);
    border-color: #D4A552;
    box-shadow: 0 0 20px rgba(212, 165, 82, 0.3);
}

.option-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.option-img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(212, 165, 82, 0.3);
}

.option-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.option-info h5 {
    color: #fff;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
}

.option-info p {
    color: #D4A552;
    font-size: 0.9rem;
    margin: 5px 0 0;
    font-weight: 500;
}


.playstation-option .option-img {
    border-color: rgba(0, 111, 205, 0.5);
}

.xbox-option .option-img {
    border-color: rgba(16, 124, 16, 0.5);
}

.nintendo-option .option-img {
    border-color: rgba(230, 0, 18, 0.5);
}

.pc-option .option-img {
    border-color: rgba(156, 39, 176, 0.5);
}


.selected-console-card {
    background: rgba(30, 30, 40, 0.8);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid rgba(212, 165, 82, 0.4);
    display: flex;
    align-items: center;
    gap: 20px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.selected-img {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid #D4A552;
}

.selected-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.selected-info h4 {
    color: #FFD37A;
    font-size: 1.4rem;
    margin: 0 0 10px;
}

.selected-price {
    color: #D4A552;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 5px 0;
}

.selected-release {
    color: #aaa;
    font-size: 0.9rem;
    margin: 5px 0 15px;
}

.btn-remove {
    background: rgba(255, 50, 50, 0.2);
    color: #ff6b6b;
    border: 1px solid #ff6b6b;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-remove:hover {
    background: rgba(255, 50, 50, 0.4);
    transform: scale(1.05);
}


.comparison-table {
    background: rgba(15, 15, 25, 0.9);
    border-top: 1px solid rgba(212, 165, 82, 0.2);
}

.table-header {
    color: #FFD37A;
    font-size: 1.6rem;
    font-weight: 600;
    padding: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.console-header-card {
    background: rgba(25, 25, 35, 0.8);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(212, 165, 82, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 15px;
}

.header-img {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid rgba(212, 165, 82, 0.5);
}

.header-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-info h3 {
    color: #fff;
    font-size: 1.8rem;
    margin: 0 0 10px;
    font-weight: 700;
}

.header-price {
    color: #D4A552;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 5px 0;
}

.header-brand {
    color: #aaa;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.comparison-rows {
    background: rgba(20, 20, 30, 0.6);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(212, 165, 82, 0.2);
}

.comparison-row {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

.comparison-row:hover {
    background: rgba(212, 165, 82, 0.05);
}

.comparison-row:last-child {
    border-bottom: none;
}

.row-category {
    flex: 0 0 25%;
    color: #FFD37A;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.row-category i {
    font-size: 1.3rem;
    color: #D4A552;
}

.row-value {
    flex: 0 0 37.5%;
    color: #fff;
    font-size: 1.1rem;
    padding: 0 20px;
    position: relative;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.row-value.better {
    background: rgba(76, 175, 80, 0.1);
    border-radius: 10px;
    border-left: 4px solid #4CAF50;
}

.better-badge {
    position: absolute;
    top: -10px;
    right: 10px;
    background: #4CAF50;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.summary-card {
    background: rgba(25, 25, 35, 0.8);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(212, 165, 82, 0.3);
    height: 100%;
}

.summary-card h4 {
    color: #FFD37A;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.summary-card ul {
    list-style: none;
    padding: 0;
}

.summary-card li {
    color: #e6e6e6;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.summary-card li i {
    color: #4CAF50;
    font-size: 1.1rem;
}

.btn-view-more {
    display: inline-block;
    margin-top: 20px;
    color: #D4A552;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    padding: 12px;
    border: 1px solid #D4A552;
    border-radius: 8px;
}

.btn-view-more:hover {
    background: #D4A552;
    color: #000;
    box-shadow: 0 0 20px rgba(212, 165, 82, 0.5);
}


.btn-compare-main {
    background: linear-gradient(45deg, #D4A552, #B8860B);
    color: #000;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-compare-main:disabled {
    background: #555;
    color: #888;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-compare-main.enabled:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 165, 82, 0.4);
}

.btn-clear {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-clear:hover {
    background: rgba(255, 50, 50, 0.2);
    border-color: #ff6b6b;
    transform: translateY(-3px);
}

.btn-download {
    background: rgba(33, 150, 243, 0.2);
    color: #2196F3;
    border: 1px solid #2196F3;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-download:hover {
    background: rgba(33, 150, 243, 0.4);
    transform: translateY(-3px);
}

.btn-share {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid #4CAF50;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-share:hover {
    background: rgba(76, 175, 80, 0.4);
    transform: translateY(-3px);
}


@media (max-width: 992px) {
    .compare-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .header-img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .compare-hero {
        padding: 80px 0 60px;
        margin-top: 70px;
    }
    
    .compare-title {
        font-size: 2.2rem;
    }
    
    .compare-subtitle {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .selection-card {
        padding: 20px;
    }
    
    .console-header-card {
        padding: 15px;
    }
    
    .comparison-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .row-category,
    .row-value {
        width: 100%;
        flex: none;
    }
    
    .row-value {
        min-height: auto;
        padding: 10px;
        justify-content: flex-start;
    }
    
    .btn-compare-main,
    .btn-clear,
    .btn-download,
    .btn-share {
        width: 90%;
        margin: 10px auto;
        display: block;
    }
}

@media (max-width: 576px) {
    .compare-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .selected-console-card {
        flex-direction: column;
        text-align: center;
    }
    
    .option-content {
        flex-direction: column;
        text-align: center;
    }
    
    .option-img {
        margin: 0 auto;
    }
}


::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(20, 20, 30, 0.8);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #D4A552, #B8860B);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #FFD37A, #D4A552);
}