.calculator-section-area {
    padding: 60px 0;
    /* background: linear-gradient(180deg, rgba(3, 6, 10, 0.95) 0%, rgba(10, 15, 25, 0.98) 100%); */
    position: relative;
}

.calculator-card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.calculator-card::before {
    content: "";
    position: absolute;
    top: -20%;
    left: -10%;
    width: 100%;
    height: 120%;
    opacity: 0.12;
    background: conic-gradient(
        from 220deg,
        rgb(85, 51, 207) 0deg,
        rgb(146, 64, 222) 120deg,
        rgba(64, 64, 222, 1) 240deg,
        rgb(160, 123, 245) 360deg
    );
    filter: blur(80px);
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: stretch;
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: 100%;
    justify-content: space-around;
}

.calculator-input-group {
    position: relative;
}

.calculator-results {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.calculator-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.calculator-label i {
    color: #902bf1;
    font-size: 18px;
}

.calculator-input-wrapper {
    position: relative;
}

.calculator-number-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.calculator-number-input:focus {
    outline: none;
    border-color: #902bf1;
    background: rgba(144, 43, 241, 0.1);
    box-shadow: 0 0 20px rgba(144, 43, 241, 0.3);
}

.calculator-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: linear-gradient(90deg, rgba(144, 43, 241, 0.3) 0%, rgba(144, 43, 241, 0.8) 100%);
    outline: none;
    opacity: 0.9;
    transition: opacity 0.2s;
    margin-bottom: 10px;
}

.calculator-slider:hover {
opacity: 1;
}

.calculator-slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 20px;
height: 20px;
border-radius: 50%;
background: linear-gradient(135deg, #902bf1 0%, #b24fff 100%);
cursor: pointer;
box-shadow: 0 0 15px rgba(144, 43, 241, 0.6);
transition: all 0.3s ease;
}

.calculator-slider::-webkit-slider-thumb:hover {
transform: scale(1.2);
box-shadow: 0 0 25px rgba(144, 43, 241, 0.9);
}

.calculator-slider::-moz-range-thumb {
width: 20px;
height: 20px;
border-radius: 50%;
background: linear-gradient(135deg, #902bf1 0%, #b24fff 100%);
cursor: pointer;
border: none;
box-shadow: 0 0 15px rgba(144, 43, 241, 0.6);
transition: all 0.3s ease;
}

.calculator-slider::-moz-range-thumb:hover {
transform: scale(1.2);
box-shadow: 0 0 25px rgba(144, 43, 241, 0.9);
}

.slider-value-display {
text-align: center;
font-size: 14px;
color: rgba(255, 255, 255, 0.7);
}

.slider-value-display span {
color: #ffffff;
font-weight: 600;
font-size: 16px;
}

.calculator-result {
position: relative;
border: 1px solid rgba(144, 43, 241, 0.4);
border-radius: 20px;
background: rgba(144, 43, 241, 0.08);
backdrop-filter: blur(10px);
padding: 35px 30px;
overflow: hidden;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
}

.result-glow {
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(144, 43, 241, 0.15) 0%, transparent 70%);
animation: pulse 3s ease-in-out infinite;
pointer-events: none;
}

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

.result-decoration {
position: absolute;
border-radius: 50%;
background: radial-gradient(circle, rgba(144, 43, 241, 0.3) 0%, transparent 70%);
pointer-events: none;
z-index: 0;
}

.result-decoration-1 {
width: 100px;
height: 100px;
top: -20px;
right: -20px;
animation: float 6s ease-in-out infinite;
}

.result-decoration-2 {
width: 80px;
height: 80px;
bottom: -15px;
left: -15px;
animation: float 8s ease-in-out infinite reverse;
}

.result-decoration-3 {
width: 60px;
height: 60px;
top: 50%;
right: 10px;
animation: float 7s ease-in-out infinite;
}

@keyframes float {
0%, 100% {
    transform: translateY(0px);
    opacity: 0.3;
}
50% {
    transform: translateY(-15px);
    opacity: 0.6;
}
}

.result-header {
position: relative;
z-index: 1;
text-align: center;
padding-bottom: 20px;
border-bottom: 1px solid rgba(144, 43, 241, 0.2);
}

.result-title {
font-size: 20px;
font-weight: 700;
color: #ffffff;
margin: 0 0 5px 0;
text-transform: uppercase;
letter-spacing: 1px;
}

.result-subtitle {
font-size: 12px;
color: rgba(255, 255, 255, 0.5);
text-transform: uppercase;
letter-spacing: 0.5px;
}

.result-content {
position: relative;
z-index: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 25px;
flex: 1;
padding: 20px 0;
}

.result-item {
display: flex;
align-items: center;
gap: 18px;
width: 100%;
padding: 15px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.03);
transition: all 0.3s ease;
}

.result-item:hover {
background: rgba(255, 255, 255, 0.06);
transform: translateX(5px);
}

.result-icon-wrapper {
position: relative;
flex-shrink: 0;
}

.result-icon {
width: 60px;
height: 60px;
border-radius: 50%;
background: linear-gradient(135deg, #902bf1 0%, #b24fff 100%);
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
color: #ffffff;
box-shadow: 0 5px 20px rgba(144, 43, 241, 0.4);
position: relative;
z-index: 2;
}

.result-icon-accent {
background: linear-gradient(135deg, #b24fff 0%, #ff6ec7 100%);
box-shadow: 0 5px 20px rgba(255, 110, 199, 0.4);
}

.icon-ring {
position: absolute;
top: -5px;
left: -5px;
right: -5px;
bottom: -5px;
border: 2px solid rgba(144, 43, 241, 0.3);
border-radius: 50%;
animation: ring-pulse 2s ease-in-out infinite;
}

.icon-ring-accent {
border-color: rgba(255, 110, 199, 0.3);
}

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

.result-text {
flex: 1;
}

.result-label {
font-size: 11px;
color: rgba(255, 255, 255, 0.6);
margin: 0 0 6px 0;
text-transform: uppercase;
letter-spacing: 0.8px;
font-weight: 600;
}

.result-value {
font-size: 30px;
font-weight: 700;
color: #ffffff;
margin: 0 0 4px 0;
line-height: 1.1;
}

.result-hint {
font-size: 11px;
color: rgba(255, 255, 255, 0.4);
font-style: italic;
}

.sonar-gradient-text {
background: linear-gradient(135deg, #902bf1 0%, #b24fff 50%, #ff6ec7 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.result-divider-wrapper {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
width: 100%;
}

.result-divider {
width: 60px;
height: 2px;
background: linear-gradient(90deg, transparent 0%, rgba(144, 43, 241, 0.6) 50%, transparent 100%);
flex-shrink: 0;
border-radius: 2px;
}

.divider-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: linear-gradient(135deg, #902bf1 0%, #b24fff 100%);
box-shadow: 0 0 10px rgba(144, 43, 241, 0.6);
animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
0%, 100% {
    transform: scale(1);
    opacity: 0.6;
}
50% {
    transform: scale(1.3);
    opacity: 1;
}
}

.result-footer {
position: relative;
z-index: 1;
padding-top: 20px;
border-top: 1px solid rgba(144, 43, 241, 0.2);
display: flex;
justify-content: center;
}

.result-badge {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 16px;
background: rgba(144, 43, 241, 0.15);
border: 1px solid rgba(144, 43, 241, 0.3);
border-radius: 20px;
font-size: 11px;
color: rgba(255, 255, 255, 0.8);
text-transform: uppercase;
letter-spacing: 0.5px;
}

.result-badge i {
color: #902bf1;
font-size: 12px;
animation: bolt-flash 2s ease-in-out infinite;
}

@keyframes bolt-flash {
0%, 100% {
    opacity: 0.6;
}
50% {
    opacity: 1;
    filter: drop-shadow(0 0 5px #902bf1);
}
}


/* Адаптивность */
@media (max-width: 992px) {
.calculator-grid {
    grid-template-columns: 1fr;
    gap: 30px;
}

.calculator-card {
    padding: 30px 25px;
}
}

@media (max-width: 768px) {
.calculator-card {
    padding: 25px 20px;
}

.result-content {
    gap: 20px;
}

.result-item {
    width: 100%;
    padding: 12px;
}

.result-value {
    font-size: 26px;
}

.result-icon {
    width: 55px;
    height: 55px;
    font-size: 22px;
}

.result-title {
    font-size: 18px;
}

.calculator-label {
    font-size: 15px;
}

.calculator-number-input {
    font-size: 16px;
}

.result-decoration-1,
.result-decoration-2,
.result-decoration-3 {
    display: none;
}
}

@media (max-width: 430px) {
.result-value {
    font-size: 24px;
}

.result-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
}

.calculator-label {
    font-size: 14px;
}

.calculator-result {
    padding: 25px 20px;
}

.result-title {
    font-size: 16px;
}

.result-badge {
    font-size: 10px;
    padding: 6px 12px;
}

.result-item {
    gap: 12px;
}
}