/*GLOBAL*/
:root {
    --light-color: #b5b5b5;
    --dark-color: rgb(71, 71, 71);
    --dark-txt-color: #2B2B2B;
    --primary-color: #f5f5f5;
    --black-color: #2B2B2B;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: auto;
}
body {
    background-color: var(--light-color);
}

.main_width {
    width: 100%;
    height: 100%;
    max-width: 500px;
    padding: 1em;
    margin-bottom: 1em;
}

section {
    width: 100%;
}

a {
    text-decoration: none;
    cursor: pointer;
}
h2 {
    font-size: 1.5em;
    margin-bottom: 0.5em;
}
.top-section {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #292929;
}
.top-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
    circle at 50% 35%,
    #636363 0%,
    #292929 90%
    );
    animation: fadeGradient 1s ease;
}

@keyframes fadeGradient {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.gap {
    gap: 15%;
}
.gap1 {
    gap: 1em;
}

.txt_rob {
    font-family: 'Roboto', sans-serif;
}

.txt_rob_mono {
    font-family: 'Roboto', monospace;
}
.white-text {
    color: #e3e3e3;
    /*color: #efefef;*/
}
.dark-grey-txt {
    color: var(--dark-txt-color);
}
/*КНОПКИ*/
.fade-block {
    opacity: 0; /* изначально невидимый */
    transform: translateY(10px); /* смещен вниз */
    animation: slideUpFade 0.5s ease forwards;
}

@keyframes slideUpFade {
    to {
        opacity: 1; /* полностью видимый */
        transform: translateY(0); /* возвращаем на место */
    }
}
.btn {
    width: 100%;
    height: fit-content;
    padding: 16px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 10px;
    border: 1px solid rgb(60, 60, 60);
    background: rgb(66, 66, 66);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    color: #e3e3e3;
}

.svg-btns {
    display: block;
    fill: #e3e3e3;
    color: #e3e3e3;
    height: 20px;
    width: 20px;
    margin-right: 10px;
}
.span-btn {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.span-btn span:last-child {
    color: #8f8f8f;
}

.btns_container {
    display: flex;
    justify-content: space-between;
    gap: 1em;
}

.btn:active, .green-btn:active {
    animation: click 0.25s ease;
}

@keyframes click {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}
.span-main {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
}
/*КНОПКИ*/


/*БЛОК С ЛОГО */
.flex-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}
.soda-logo {
    position: absolute;
    height: 100%; /* растягиваем по высоте контейнера */
    width: auto;
    object-fit: contain;
    opacity: 0;
    filter: blur(8px);
}

.logo_container {
    margin-bottom: 10%;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    height: 130px; /* 👈 добавь, чтобы блок не схлопывался */
    overflow: visible;
    margin-top: 7%;
}
/*Плавное появление + левитация */
.img1 {
    animation: appear 0.2s ease forwards 0s, levitation1 1.5s ease-in-out infinite alternate;
}

.img2 {
    animation: appear 0.2s ease forwards 0.2s, levitation2 1.9s ease-in-out infinite alternate;
}

.img3 {
    animation: appear 0.2s ease forwards 0.4s, levitation3 1.8s ease-in-out infinite alternate;
}

.img4 {
    animation: appear 0.2s ease forwards 0.6s, levitation4 1.9s ease-in-out infinite alternate;
}

/*Анимация появления*/
@keyframes appear {
    0% {
        opacity: 0;
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
    }
}

/* левитации */
@keyframes levitation1 {
    0% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-1px, -1px, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

@keyframes levitation2 {
    0% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-1px, -1px, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

@keyframes levitation3 {
    0% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-1px, 1px, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

@keyframes levitation4 {
    0% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-1px, 1px, 0); }
    100% { transform: translate3d(0, 0, 0); }
}
/*БЛОК С ЛОГО*/
.glass-block {
    padding: 1em;
    border-radius: 10px;
    border: 1px solid rgba(78, 78, 78, 0.17);
    background: rgb(66, 66, 66);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    color: #fff;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    position: relative;
}
.glass-item {
    display: flex;
    flex-direction: column;
}
.glass-item span {
    padding-left: 1.6em;
    padding-top: 0.4em;
}
.date {
    color: #9e9d9d;
    font-weight: bold;
    font-size: 0.7em;
    position: absolute;
    right: 1em;
    top: 1em;
}
.srok-oplaty-green {
    color: #52d85c;

}
.srok-oplaty-red {
    color: #d63535;
}

/*ТАРИФЫ*/

.dark-bkgr {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background: radial-gradient(*/
    /*        circle at 50% 45%,*/
    /*        #636363 0%,*/
    /*        #292929 90%*/
    /*);*/
    background: radial-gradient(
            circle at 50% 45%,
            #474747 0%,
            #252525 90%
    );
}

.active {
    border: 2px solid rgb(112, 112, 112);
    box-shadow: 0 0 6px rgb(108, 108, 108);
}

.main-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.tarifs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.new-slider-container {
    width: 100%;
    position: relative;
}

.new-slider-track {
    position: relative;
    height: 19px;
    background: #ccc;
    border-radius: 10px;
    box-shadow: 1px 3px 10px rgba(0, 0, 0, 0.5);
}

.new-slider-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: rgb(66, 66, 66);
    border-radius: 10px;
}

.new-slider-thumb {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: rgb(46, 46, 46);
    box-shadow: 1px 3px 10px rgba(0, 0, 0, 0.5);
    border: 4px solid #ffffff;
    border-radius: 50%;
    cursor: pointer;
}

/* блок делений */
.new-slider-ticks {
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    top: 5px;
}
.slider-numbers {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.slider-numbers span {
    font-size: 13px;
    color: #cfcfcf;
    font-weight: bold;
}
.slider-numbers span:nth-child(1) {
    transform: translateX(10px);
}

.slider-numbers span:nth-child(2) {
    transform: translateX(-2px);
}

.slider-numbers span:nth-child(4) {
    transform: translateX(2px);
}

.slider-numbers span:nth-child(5) {
    transform: translateX(-10px);
}
.new-slider-ticks span {
    display: block;
    font-weight: lighter;
    width: 1px;
    height: 8px;
    background: #808080;
}

.new-slider-ticks span:first-child,
.new-slider-ticks span:last-child {
    opacity: 0;
    background: none;
}
/*блоки с тарифами*/
.tarifs-grid a {
    padding: 16px;
    height: 100%;
}
.tafifs-txt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0.5em;
    font-size: 1.05em;
    color: #c8c8c8;
    font-weight: bold;
    aspect-ratio: 1 / 1;
}
.tafifs-txt span:last-child {
    font-size: 1.2em;
    color: #e1e1e1;
}
.tafifs-txt div {
    background-color: #429f46;
    padding: 3px 6px;
    color: #e1e1e1;
    font-size: 12px;
    border-radius: 10px;
    font-weight: lighter;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.tafifs-txt div.skidka {
    background-color: #ab5517;
}
.subscribe-button {
    position: relative;
    overflow: hidden;
    display: inline-block;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border-radius: 10px;
}

/* тонкая горизонтальная полоска */
.subscribe-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -40%;
    width: 30%;
    height: 100%;
    background: linear-gradient(
            90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.21) 50%,
            transparent 100%
    );
    opacity: 0;
    filter: blur(4px);
    animation: shine 3s linear infinite;
}

@keyframes shine {
    0% {
        left: -40%;
        opacity: 0;
    }
    10% {
        opacity: 0.35;
    }
    50% {
        left: 110%;
        opacity: 0.35;
    }
    60% {
        opacity: 0;
    }
    100% {
        left: 110%;
        opacity: 0;
    }
}
/*ТАРИФЫ*/
.btns-block {
    display: flex;
    flex-direction: column;
}
.btns-items {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5em;
}
.btns-items2 {
    position: relative;
    justify-content: space-between;
}
.btns-items2:hover {
    animation: none;
}

.dark-txt {
    color: #aaaaaa;
}
.btns-items3 {
    display: flex;
    align-items: flex-end;
}
.btns-items4 {
    display: flex;
    width: 100%;
    border-top: 1px solid #959595;
}

.btns-items4 > div {
    flex: 1;
    text-align: center;
    margin-top: 0.8em;
}

.btns-items4 > div:first-child {
    border-right: 1px solid #959595;
}
.btn-icon {
    width: 22px;
    height: 22px;
    margin-right: 8px;
    vertical-align: middle;
}

.btns-items4 span {
    display: block;
}
.btns-items4 > div span:nth-of-type(2),
.btns-items4 > div span:nth-of-type(4) {
    margin-top: 0.3em;
    font-size: 1.7em;
}
.profit-txt {
    color: #aaaaaa;
    font-weight: lighter;
    font-size: 0.8em;
}
.block-days {
    display: flex;
    flex-direction: column;
}
.green-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.green-btn {
    background: #1b6e49;
    border: 1px solid #134c33;
    color: #fff;
    border-radius: 10px;
    padding: 0.8em;
    font-size: 16px;
}

.ssilka {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5em;
    width: 100%;
    padding: 0.5em;
    border-radius: 10px;
    background-color: rgba(124, 183, 251, 0.2);
    border: 1px solid #7c8ffb;
    font-family: 'Roboto', monospace;
    color: #f9faff;
    cursor: pointer; /* чтобы было понятно, что можно кликать */
}
.ssilka-text {
    font-size: 1em;
    line-height: 1.1;
}
.ssilka svg {
    width: 1.5em;
    margin-right: 0.3em;
    transition: opacity 0.3s ease;
}
.ssilka-block {
    display: flex;
    flex-direction: column;
    gap: 0.2em;
    width: 100%;
}
.gap11 {
    gap: 1em;
}
.ukazatel {
    font-weight: lighter;
    font-size: 14px;
    color: #bcbcbc;
    font-style: italic;
}
.defeat {
    background: #555555;
    width: 100%;
    border: 2px solid #494949;
    box-shadow: inset 1px 1px 6px #494949;
    cursor: default;
    min-height: 52px;
    color: #7e7e7e;
}
.defeat:hover {
    animation: none;
}

.clear-red {
    width: 100%;
    border-radius: 10px;
    background: #6e2323;
    border: 2px solid #702121;
    box-shadow: 0 0 5px #3a1111;
    text-align: center;
    padding: 1em;
    align-self: flex-end;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    font-size: 1em;
}
.red-text {
    display: flex;
    justify-content: center;
    margin-top: 13px;
    color: rgba(191, 53, 53, 0.8);
    font-weight: bold;

    width: 100%;
}
.red-border {
    border: 2px solid rgba(191, 53, 53, 0.8);
    border-radius: 10px;
    padding: 0.5em;
    width: fit-content;
}
.clear-red:active {
    animation: click 0.25s ease;
    cursor: default;
}
.none:hover {
    animation: none;
}
.btn-orange {
    text-align: center;
}
.orange-glass {
    background: rgba(207, 101, 0, 0.2);
    border-radius: 10px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(165, 79, 1, 0.24);
    padding: 10px;
}
.date {
    color: #9e9d9d;
    font-weight: bold;
    font-size: 0.7em;
    position: absolute;
    right: 1em;
    top: 1em;
}


/*ПОДКЛЮЧИТЬ СТРАНИЦА*/
.btns-block3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.btn3 {
    width: fit-content;
    font-size: 14px;
}
.select {
    position: relative;
    font-family: 'Roboto', sans-serif;
    color: #fff;
}

.select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 140px;
    height: auto;
    padding: 7px 10px;
    background: #2c2c2c;
    border: 1px solid #252525;
    border-radius: 10px;
    box-shadow: inset 0 2px 5px rgba(32, 32, 32, 0.38);

    cursor: pointer;
}

.select-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 16px;
}

.icon {
    width: 20px;
    height: 20px;
}

.select-arrows {
    display: flex;
    flex-direction: column;
    gap: 2px;
    pointer-events: none;
}

.arrow {
    width: 10px;
    height: 6px;
    opacity: .6;
    color: white;
}

.select.open .arrow.up { opacity: 1; }
.select.open .arrow.down { opacity: .25; }

.select-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    max-height: 300px;
    overflow-y: auto;
    /*background: #414141;*/
    /*border-radius: 10px;*/
    /*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);*/
    background: #2c2c2c;
    border: 1px solid #252525;
    border-radius: 10px;
    box-shadow: inset 0 2px 5px rgba(32, 32, 32, 0.38);
    z-index: 1000;
    display: none;
}

.select.open .select-dropdown {
    display: block;
}

.option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 1em;
    cursor: pointer;
}

.option:hover {
    background: rgba(255,255,255,.08);
}




.step {
    display: flex;
    gap: 24px;
    position: relative;
}

/* Левая колонка с линией */
.step-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40px;
    flex-shrink: 0;
}

.circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #393939;
    border: 5px solid #232323;
    display: flex;
    align-items: center;
    justify-content: center;
}
.circle svg {
    margin: 0;
    width: 18px;
    height: 18px;
}

.line {
    width: 3px;
    flex-grow: 1;
    background: #232323;
    margin: 8px 0;
}

/* Контент */
.step-content {
    padding-bottom: 1.1em;
}

.step-content h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.step-content p {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.5;
    max-width: 520px;
}

.step.done .step-content {
    padding: 0;
}
/* Последний шаг — без линии */
.step:last-child .line {
    display: none;
}
.step-2 {
    display: flex;
    justify-content: center;
    margin-top: 1em;
}
.step-2 a {
    text-decoration: none;
    color: #7e7e7e;
    font-size: 14px;
}
#timer {
    font-size: 1.7em;
    font-weight: bold;
    width: fit-content;
}
.summ-div {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.span-summ {
    font-size: 1.2em;
    margin-left: 10px;
}
.rekv {
    width: 100%;
}
.info {
    color: #9a9a9a;
    font-size: 0.9em;
}
.timer-block {
    display: flex;
    align-items: center;
    gap: 1em;
}
.flex-row {
    display: flex;
    gap: 1em;
}
.flex-row > :nth-child(1) {
    height: 100%;
    padding: 0;
    display: flex;
    align-items: center;
}

.flex-row > :nth-child(2) {
    width: 70%;
}