.compare-form {
    margin-bottom: 30px;
}

.hero-select {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 8px;
}

.hero-select label {
    display: block;
    margin-bottom: 15px;
    color: #888;
    font-size: 16px;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.hero-option {
    position: relative;
    text-align: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-option:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.hero-option input[type="checkbox"] {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.hero-option img {
    width: 60px;
    height: 100px;
    border-radius: 8px;
    margin: 5px 0;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.hero-option input[type="checkbox"]:checked + img {
    border-color: #4a9eff;
    box-shadow: 0 0 10px rgba(74, 158, 255, 0.5);
}

.hero-option span {
    display: block;
    font-size: 14px;
    color: #fff;
    margin-top: 5px;
}

.compare-button {
    background: linear-gradient(to right, #4a9eff, #45f3ff);
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.compare-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 158, 255, 0.3);
}

.comparison-container {
    margin-top: 30px;
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 8px;
}

.comparison-grid {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.comparison-header {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.hero-column {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 15px;
    position: relative;
    flex: 1;
    max-width: 300px;
    min-width: 200px;
}

.hero-column::after {
    display: none;
}

.hero-column img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 2px solid rgba(74, 158, 255, 0.3);
}

.hero-column h3 {
    font-size: 18px;
    color: #4a9eff;
    margin: 0;
}

.stats-comparison {
    display: grid;
    gap: 30px;
}

.stats-section {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.section-title {
    color: #4a9eff;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(74, 158, 255, 0.3);
}

.stat-group {
    margin-bottom: 25px;
}

.stat-group h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.stat-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.stat-column {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 20px;
    flex: 1;
    max-width: 300px;
    min-width: 200px;
}

.stat-item {
    margin-bottom: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-label {
    color: #888;
    font-size: 14px;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 18px;
    color: #fff;
    margin-bottom: 10px;
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 12px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.stat-value::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: rgba(74, 158, 255, 0.15);
    transition: width 0.3s ease;
    z-index: 1;
}

.stat-value.highest {
    color: #4a9eff;
    font-weight: bold;
}

.stat-value.highest::after {
    background: rgba(74, 158, 255, 0.25);
}

.stat-value.lowest {
    color: #ff4a4a;
}

.stat-value.lowest::after {
    background: rgba(255, 74, 74, 0.15);
}

/* Specifiniai gradientai skirtingoms statistikoms */
.stat-value[data-stat="block"]::after {
    background: linear-gradient(to right, rgba(142, 142, 142, 0.15), rgba(192, 192, 192, 0.15));
}

.stat-value[data-stat="strength"]::after {
    background: linear-gradient(to right, rgba(255, 77, 77, 0.15), rgba(255, 128, 128, 0.15));
}

.stat-value[data-stat="dexterity"]::after {
    background: linear-gradient(to right, rgba(255, 215, 0, 0.15), rgba(255, 235, 153, 0.15));
}

.stat-value[data-stat="defence"]::after {
    background: linear-gradient(to right, rgba(50, 205, 50, 0.15), rgba(144, 238, 144, 0.15));
}

.stat-value[data-stat="vitality"]::after {
    background: linear-gradient(to right, rgba(255, 105, 180, 0.15), rgba(255, 182, 193, 0.15));
}

.stat-value[data-stat="energy"]::after {
    background: linear-gradient(to right, rgba(65, 105, 225, 0.15), rgba(135, 206, 235, 0.15));
}

/* Animacijos */
@keyframes fillBar {
    from { width: 0; }
    to { width: var(--fill-width); }
}

.stat-value::after {
    animation: fillBar 0.8s ease-out forwards;
}

.stat-bar {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    width: 100%;
    margin-top: 4px;
}

.stat-bar .stat-fill {
    height: 100%;
    transition: width 0.3s ease;
}

/* Statistikų spalvos */
.stat-bar.block .stat-fill { background: linear-gradient(to right, #8e8e8e, #c0c0c0); }
.stat-bar.strength .stat-fill { background: linear-gradient(to right, #ff4d4d, #ff8080); }
.stat-bar.dexterity .stat-fill { background: linear-gradient(to right, #ffd700, #ffeb99); }
.stat-bar.defence .stat-fill { background: linear-gradient(to right, #32cd32, #90ee90); }
.stat-bar.vitality .stat-fill { background: linear-gradient(to right, #ff69b4, #ffb6c1); }
.stat-bar.energy .stat-fill { background: linear-gradient(to right, #4169e1, #87ceeb); }
.stat-bar.health-regen .stat-fill { background: linear-gradient(to right, #ff4d4d, #ff8080); }
.stat-bar.mana-regen .stat-fill { background: linear-gradient(to right, #4169e1, #87ceeb); }

.navigation {
    margin-top: 30px;
    text-align: center;
}

.back-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: #fff;
}

.regen-stats {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.regen-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 14px;
    line-height: 1.2;
    color: #fff;
    white-space: nowrap;
}

.regen-value {
    color: #4a9eff;
    font-weight: bold;
}

.regen-per-second {
    font-size: 16px;
    color: #4a9eff;
    text-align: center;
    margin: 5px 0 15px;
    background: rgba(0, 0, 0, 0.3);
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

.regen-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.regen-time, .regen-amount {
    font-size: 14px;
    color: #ccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 15px;
    border-radius: 6px;
    position: relative;
}

.regen-time .value, .regen-amount .value {
    color: #fff;
    font-weight: bold;
    font-size: 15px;
}

.regen-per-second::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(74, 158, 255, 0.1), rgba(74, 158, 255, 0));
    opacity: 0.5;
}

/* Regeneracijos hover efektai */
.regen-time:hover, .regen-amount:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: translateX(3px);
    transition: all 0.2s ease;
}

.stat-item.regeneration {
    margin-bottom: 25px;
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.stat-item.regeneration:last-child {
    margin-bottom: 0;
}

.stat-item.regeneration .stat-label {
    color: #4a9eff;
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 500;
}

.stat-item.regeneration .stat-value {
    background: none;
    padding: 0;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .hero-option img {
        width: 50px;
        height: 50px;
    }
    
    .comparison-header,
    .stat-row {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-column,
    .stat-column {
        width: 100%;
        max-width: 100%;
    }
    
    .hero-column img {
        width: 60px;
        height: 60px;
    }
    
    .hero-column h3 {
        font-size: 14px;
    }
    
    .stat-item {
        margin-bottom: 20px;
    }

    .regen-info {
        gap: 8px;
    }

    .regen-time, .regen-amount {
        font-size: 13px;
        padding: 8px 12px;
    }

    .regen-time .value, .regen-amount .value {
        font-size: 14px;
    }

    .regen-per-second {
        font-size: 14px;
        padding: 10px;
        margin: 4px 0 12px;
    }

    .stat-item.regeneration {
        padding: 15px;
    }

    .stat-item.regeneration .stat-label {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .stat-column {
        padding: 15px;
    }

    .stat-value {
        font-size: 16px;
        padding: 6px 10px;
    }

    .stat-bar {
        height: 10px;
    }
}

/* Regeneracijos sekcijos stiliai */
.regeneration-section {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
}

.regeneration-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.regeneration-column {
    flex: 1;
    max-width: 300px;
    min-width: 200px;
}

/* Health Regeneration */
.health-regeneration {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.health-regeneration .title {
    color: #ff4d4d;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 77, 77, 0.3);
}

/* Mana Regeneration */
.mana-regeneration {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
}

.mana-regeneration .title {
    color: #4a9eff;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(74, 158, 255, 0.3);
}

/* Regeneration Info Box */
.regen-box {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 10px;
}

.regen-timer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    color: #ccc;
    font-size: 14px;
}

.regen-timer .value {
    color: #fff;
    font-weight: 500;
}

.regen-amount {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ccc;
    font-size: 14px;
}

.regen-amount .value {
    color: #fff;
    font-weight: 500;
}

.regen-per-second {
    text-align: center;
    margin-top: 10px;
    font-size: 15px;
    font-weight: 500;
}

.health-regeneration .regen-per-second {
    color: #ff4d4d;
}

.mana-regeneration .regen-per-second {
    color: #4a9eff;
}

/* Progress bars */
.regen-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-top: 10px;
    overflow: hidden;
}

.health-regeneration .regen-progress .fill {
    height: 100%;
    background: linear-gradient(to right, #ff4d4d, #ff8080);
    width: var(--fill-width);
    transition: width 0.3s ease;
}

.mana-regeneration .regen-progress .fill {
    height: 100%;
    background: linear-gradient(to right, #4a9eff, #87ceeb);
    width: var(--fill-width);
    transition: width 0.3s ease;
}

@media (max-width: 768px) {
    .regeneration-grid {
        flex-direction: column;
        align-items: center;
    }

    .regeneration-column {
        width: 100%;
        max-width: 100%;
    }

    .health-regeneration,
    .mana-regeneration {
        padding: 12px;
    }

    .regen-box {
        padding: 10px;
    }

    .regen-timer,
    .regen-amount {
        font-size: 13px;
    }

    .regen-per-second {
        font-size: 14px;
    }
} 