/* Reset и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #161618;
    color: white;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    background-color: #161618;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

/* Хедер */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 43px 45px 32px 45px;
    width: 100%;
    max-width: 1620px;
}

.logo {
    width: 290px;
    height: 75px;
    object-fit: contain;
}

.telegram-login-btn {
    width: 360px;
    height: 61px;
    background: transparent;
    border: none;
    border-radius: 20px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 25px;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s ease;
    box-shadow: 0 0 5px rgba(27, 67, 252, 0.5), 0 0 10px rgba(248, 193, 242, 0.5), 0 0 5px rgba(27, 67, 252, 0.3), 0 0 5px rgba(248, 193, 242, 0.3);
}

.telegram-login-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 20px;
    background: linear-gradient(270deg, rgba(27, 67, 252, 1) 0%, rgba(248, 193, 242, 1) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 1;
    pointer-events: none;
}

.header__buttons-holder {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: flex-end;
}

.user-profile {
    display: none;
    align-items: center;
    gap: 10px;
}

.user-name {
    background: linear-gradient(270deg, rgba(27, 67, 252, 1) 0%, rgba(248, 193, 242, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1rem;
    font-weight: 500;
}

/* Основная форма */
.main-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 540px;
    margin: 0 auto 0px auto;
    padding: 0 16px;
    width: 100%;
    z-index: 1;
    margin-top: 12%;
}

.form-section {
    width: 100%;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.input-wrapper {
    position: relative;
    width: 100%;
    height: 54px;
}

.input-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 20px;
    background: linear-gradient(270deg, rgba(27, 67, 252, 1) 0%, rgba(248, 193, 242, 1) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 1;
    pointer-events: none;
}

.cost-output {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    color: rgba(242, 193, 242, 0.8);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 20px;
    z-index: 2;
}

.form-input {
    width: 100%;
    height: 100%;
    background: linear-gradient(221deg, rgba(50, 50, 54, 1) 0%, rgba(35, 35, 39, 1) 100%);
    border: none;
    border-radius: 20px;
    padding: 14px 56px;
    color: rgba(242, 193, 242, 0.48);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 20px;
    text-align: center;
    outline: none;
    box-shadow: 0 0 5px rgba(27, 67, 252, 0.5), 0 0 10px rgba(248, 193, 242, 0.5), 0 0 5px rgba(27, 67, 252, 0.3), 0 0 5px rgba(248, 193, 242, 0.3);
}

.form-input::placeholder {
    color: rgba(242, 193, 242, 0.48);
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 29px;
    height: 29px;
    z-index: 2;
    color: rgba(242, 193, 242, 0.48);
    font-size: 20px;
    font-weight: 500;
}

/* Переключатель (свитч) */
.switch-btn {
    width: 73px;
    height: 49px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    margin: 0 auto 40px auto;
    display: none;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

.switch-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 20px;
    background: linear-gradient(90deg, rgba(249, 197, 242, 1) 0%, rgba(14, 57, 254, 1) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 1;
    pointer-events: none;
}

.switch-btn .btn-icon:nth-of-type(2) {
    opacity: 0.5;
    filter: brightness(70%);
}

.switch-btn.on .btn-icon:nth-of-type(2) {
    opacity: 1;
    filter: brightness(100%);
}

.switch-btn.on .btn-icon:nth-of-type(1) {
    opacity: 0.5;
    filter: brightness(70%);
}

.slider {
    position: absolute;
    width: 73px;
    height: 47px;
    border-radius: 20px;
    left: 0.1px;
    transition: left 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.slider::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 3px;
    border-radius: 20px;
    background: linear-gradient(90deg, rgba(249, 197, 242, 1) 0%, rgba(14, 57, 254, 1) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    pointer-events: none;
}

.switch-btn.on .slider {
    left: 73px;
}

.btn-icon {
    width: 35px;
    height: 35px;
    z-index: 3;
}

.btn-icon-left {
    margin-left: 17px !important;
}

.btn-icon-right {
    margin-right: 17px !important;
}

/* Выбор количества звезд */
.star-selection {
    width: 100%;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
}

.star-amounts {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    transition: height 0.3s ease;
}

.toggle-star-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
    background: none;
    border: none;
    width: 100%;
    text-align: center;
    transition: transform 0.3s ease;
}

.toggle-arrow {
    width: 14px;
    height: 14px;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.star-package {
    position: relative;
    width: 100%;
}

.star-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 54px;
    background: linear-gradient(221deg, rgba(50, 50, 54, 1) 0%, rgba(35, 35, 39, 1) 100%) !important;
    border: none;
    border-radius: 20px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 22px;
    cursor: pointer;
    position: relative;
    padding: 0px 0 0 60px;
    text-align: center;
    transition: background 0.3s ease, transform 0.3s ease, height 0.3s ease;
    overflow: hidden;
}

.star-btn.active::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 20px;
    background: linear-gradient(270deg, rgba(27, 67, 252, 1) 0%, rgba(248, 193, 242, 1) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 1;
    pointer-events: none;
}
.star-btn.active {
    box-shadow: 0 0 5px rgba(27, 67, 252, 0.5), 0 0 10px rgba(248, 193, 242, 0.5), 0 0 5px rgba(27, 67, 252, 0.3), 0 0 5px rgba(248, 193, 242, 0.3);
}

.star-btn img {
    width: 25px;
    height: 25px;
    position: absolute;
    left: 50px;
}

/* Стили для кастомного радио-круга */
.star-btn::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(242, 193, 242, 0.8);
    background: transparent;
    transition: background 0.3s ease;
    box-sizing: border-box;
}

.star-radio:checked + .star-btn::after {
    background: radial-gradient(circle, rgba(242, 193, 242, 1) 40%, transparent 50%);
}

/* Стили для cost-output в пакетах */
.star-btn .cost-output {
    position: absolute;
    right: 20px;
    color: rgba(242, 193, 242, 0.8);
    font-size: 20px;
    display: none;
}

.statusOutput{
    display: none;
    margin-bottom: 40px;
    color: rgba(249, 197, 242, 1);
}

/* Покупка */
.purchase-section {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
}

.buy-btn {
    width: 100%;
    height: 68px;
    background: linear-gradient(90deg, rgba(249, 197, 242, 1) 0%, rgba(14, 57, 254, 1) 100%);
    border: none;
    border-radius: 20px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 29px;
    cursor: pointer;
    margin-bottom: 16px;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 3%;
    position: relative;
    box-shadow: 0 0 5px rgba(27, 67, 252, 0.5), 0 0 10px rgba(248, 193, 242, 0.5), 0 0 5px rgba(27, 67, 252, 0.3), 0 0 5px rgba(248, 193, 242, 0.3);
}

.buy-btn img {
    width: 32px;
    height: 32px;
}

.buy-btn.crypto-btn {
    background: transparent;
}

.buy-btn.crypto-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 20px;
    background: linear-gradient(270deg, rgba(27, 67, 252, 1) 0%, rgba(248, 193, 242, 1) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    pointer-events: none;
}

/* Чекбоксы */
.checkboxes {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.checkbox-label {
    color: #f2c1f2;
    font-size: 16px;
    font-weight: 500;
    text-align: justify;
    display: flex;
    align-items: center;
}

.checkbox {
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 5px;
    position: relative;
    cursor: pointer;
    margin-right: 3px;
}
.checkbox-label a {
    color: rgba(249, 197, 242, 1);
    margin-left: 3px;
}

.checkbox::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: 5px;
    background: linear-gradient(90deg, rgba(249, 197, 242, 1) 0%, rgba(14, 57, 254, 1) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 1;
    pointer-events: none;
}

.checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    z-index: 2;
}

.status-display {
    margin-top: 20px;
}

#payment-block {
    display: none;
    background: #161618;
    border-radius: 20px;
    padding: 20px;
    margin-top: 20px;
    position: relative;
    width: 100%;
    max-width: 540px;
    box-sizing: border-box;
    border: 1px solid transparent;
}

#payment-block::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 20px;
    background: linear-gradient(270deg, rgba(27, 67, 252, 1) 0%, rgba(248, 193, 242, 1) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 1;
    pointer-events: none;
}

#payment-block pre {
    white-space: pre-wrap;
    font-size: 16px;
    color: #F2C1F2;
    text-align: left;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    word-break: break-word;
}

#payment-block img {
    max-width: 200px;
    display: block;
    margin: 0 auto;
    padding: 10px;
    background: white;
    border-radius: 10px;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input[type='number'],
input[type="number"]:hover,
input[type="number"]:focus {
    appearance: none;
    -moz-appearance: textfield;
}

/* Декоративные элементы */
.decoration {
    position: absolute;
    width: 173px;
    height: 171px;
    z-index: 0;
}

.decoration-right {
    top: 276px;
    right: 260px;
}

.decoration-left {
    top: 666px;
    left: 157px;
}

/* Секция статистики */
.statistics-section {
    position: relative;
    width: 100%;
    margin-top: 162px;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.stats-bg {
    width: 100%;
    max-width: 564px;
    height: auto;
    object-fit: contain;
    margin-bottom: 32px;
    margin-top: 230px;
}

.stats-decoration-right {
    position: absolute;
    width: 304px;
    height: 419px;
    top: 478px;
    right: 0;
    z-index: 1;
    pointer-events: none;
}

.stats-decoration-left {
    position: absolute;
    width: 304px;
    height: 419px;
    top: 302px;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.stats-pattern-top {
    position: absolute;
    width: 100%;
    max-width: 1472px;
    height: 99px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: none;
}

.stats-pattern-bottom {
    position: absolute;
    width: 100%;
    max-width: 1472px;
    height: 99px;
    top: 516px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: none;
}

.stats-banner {
    width: 100%;
    max-width: 1351px;
    height: 98px;
    background: linear-gradient(221deg, rgba(50, 50, 54, 1) 0%, rgba(35, 35, 39, 1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding-left: 59px;
    margin-bottom: 49px;
    position: relative;
    margin-top: 243px;
}

.banner-accent {
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 98px;
    background: linear-gradient(180deg, rgba(238, 190, 242, 1) 0%, rgba(33, 68, 252, 1) 100%);
    border-bottom-left-radius: 20px;
    border-top-left-radius: 20px;
}

.stats-banner h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 39px;
    color: white;
    line-height: 1.1;
}

/* Статистические данные */
.stats-grid {
    position: absolute;
    top: 109px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    width: 100%;
    max-width: 972px;
    margin-bottom: 49px;
    justify-items: center;
}

.stat-item {
    text-align: center;
    color: white;
    padding: 16px;
    width: 100%;
    max-width: 405px;
}

.stat-number {
    font-family: 'Along Sans s2', 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 52px;
    letter-spacing: 2.08px;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-family: 'Along Sans s2', 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 29px;
    letter-spacing: 0.42px;
    line-height: 1.1;
}

/* Карточки преимуществ */
.feature-cards {
    width: 100%;
    max-width: 1356px;
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.feature-row {
    display: flex;
    gap: 45px;
    width: 100%;
    flex-direction: row;
}

.feature-card {
    width: 100%;
    min-height: 340px;
    background: linear-gradient(221deg, rgba(50, 50, 54, 1) 0%, rgba(35, 35, 39, 1) 100%);
    border-radius: 20px;
    padding: 40px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    z-index: 1;
}

.feature-content {
    text-align: start;
    flex: 1;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

.feature-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 26px;
    color: white;
    line-height: 1.1;
    margin-bottom: 16px;
    overflow-wrap: break-word;
}

.feature-content p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 26px;
    color: white;
    line-height: 1.1;
    overflow-wrap: break-word;
}

.feature-image {
    width: 194px;
    height: 166px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Нижняя секция */
.bottom-section {
    position: relative;
    width: 100%;
    margin-top: 81px;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.bottom-decoration-right {
    position: absolute;
    width: 488px;
    height: 624px;
    top: -48px;
    right: 0;
    z-index: 0;
    pointer-events: none;
}

.bottom-decoration-left {
    position: absolute;
    width: 604px;
    height: 702px;
    top: -362px;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

/* Реферальная секция */
.referral-section {
    width: 100%;
    max-width: 1356px;
    height: 347px;
    margin: 0 auto;
    position: relative;
    background: url('/static/img/Rectangle 18.svg') no-repeat center center;
    background-size: cover;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 56px;
}

.referral-content {
    max-width: 711px;
}

.referral-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 39px;
    color: white;
    line-height: 1.1;
    margin-bottom: 32px;
}

.referral-content span {
    font-weight: 600;
}

.join-btn {
    width: 433px;
    height: 68px;
    background: linear-gradient(90deg, rgba(249, 197, 242, 1) 0%, rgba(14, 57, 254, 1) 100%);
    border: none;
    border-radius: 20px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 32px;
    cursor: pointer;
    transition: transform 0.2s ease;
    box-shadow: 0 0 5px rgba(27, 67, 252, 0.5), 0 0 10px rgba(248, 193, 242, 0.5), 0 0 5px rgba(27, 67, 252, 0.3), 0 0 5px rgba(248, 193, 242, 0.3);
}

.referral-decoration {
    width: 340px;
    height: 185px;
    object-fit: contain;
}

/* Футер */
.footer {
    width: 100%;
    height: 189px;
    background-color: #0e0e10;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 142px;
    overflow-x: hidden;
}

.footer-links {
    display: flex;
    gap: 81px;
    align-items: center;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 26px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f2c1f2;
}

/* Модальное окно для выбора криптовалюты */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(2px);
}

.modal-content {
    background: #161618;
    border-radius: 20px;
    padding: 24px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.modal-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: white;
    margin-bottom: 20px;
}

.crypto-choice-btn {
    width: 100%;
    height: 54px;
    background: linear-gradient(90deg, rgba(249, 197, 242, 1) 0%, rgba(14, 57, 254, 1) 100%);
    border: none;
    border-radius: 20px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 25px;
    cursor: pointer;
    margin-bottom: 16px;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.crypto-choice-btn:last-child {
    margin-bottom: 0;
}

/* Медиазапросы, отсортированные от большего к меньшему */

/* 2560px (large desktops) */
@media (min-width: 1921px) and (max-width: 2560px) {
    .container {
        max-width: 1920px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .header {
        padding: 49px 65px 40px 65px;
        max-width: 1458px;
    }

    .logo {
        width: 320px;
        height: 82px;
    }

    .telegram-login-btn {
        width: 421px;
        height: 75px;
        font-size: 29px;
    }

    .main-form {
        max-width: 616px;
    }

    .input-wrapper {
        height: 60px;
    }

    .form-input {
        font-size: 21px;
        padding: 14px 60px;
    }

    .star-amounts {
        gap: 20px;
    }

    .star-btn {
        height: 60px;
        font-size: 25px;
        padding: 0 0 0 70px;
    }

    .star-btn img {
        left: 60px;
    }

    .buy-btn {
        height: 75px;
        font-size: 29px;
    }

    .stats-decoration-left {
        left: -373px;
    }

    .stats-decoration-right {
        right: -320px;
    }

    .bottom-decoration-left {
        left: -370px;
    }

    .bottom-decoration-right {
        right: -320px;
    }

    .statistics-section {
        margin-top: 178px;
    }

    .stats-banner {
        max-width: 1356px;
    }

    .input-icon {
        font-size: 21px;
        width: 32px;
        height: 32px;
    }

    .cost-output {
        font-size: 21px !important;
    }

    .star-btn::after {
        left: 20px;
        width: 24px;
        height: 24px;
    }
}

/* 1920px (baseline desktops) */
@media (max-width: 1920px) {
    .container {
        max-width: 1920px;
    }

    .stats-decoration-right {
        right: 0;
    }

    .stats-decoration-left {
        left: 0;
    }

    .bottom-decoration-right {
        right: 0;
    }

    .bottom-decoration-left {
        left: 0;
        top: -430px;
    }
}

/* 1440px */
@media (max-width: 1440px) {
    .container {
        max-width: 1037px;
        padding: 0 16px;
    }

    .header {
        padding: 32px 24px;
    }

    .logo {
        width: 240px;
        height: 62px;
    }
    
    .telegram-login-btn {
        width: 292px;
        height: 57px;
        font-size: 22px;
    }

    .main-form {
        padding: 0 16px;
    }

    .input-wrapper {
        height: 49px;
    }

    .form-input {
        font-size: 16px;
        padding: 12px 40px;
    }

    .input-icon {
        width: 28px;
        height: 28px;
        left: 12px;
        font-size: 16px;
    }

    .switch-btn {
        width: 67px;
        height: 40px;
    }

    .slider {
        width: 65px;
        height: 39px;
    }

    .switch-btn.on .slider {
        left: 65px;
    }

    .btn-icon {
        width: 30px;
        height: 30px;
    }

    .star-amounts {
        gap: 12px;
    }

    .star-btn {
        height: 49px;
        font-size: 22px;
        padding: 0 0 0 50px;
    }

    .star-btn img {
        width: 24px;
        height: 24px;
        left: 46px;
    }

    .buy-btn {
        height: 57px;
        font-size: 26px;
    }

    .buy-btn img {
        width: 32px;
        height: 32px;
    }

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

    .checkbox {
        width: 22px;
        height: 22px;
    }

    .decoration {
        width: 140px;
        height: 138px;
    }

    .decoration-right {
        top: 200px;
        right: 50px;
    }

    .decoration-left {
        top: 500px;
        left: 50px;
    }

    .statistics-section {
        margin-top: 122px;
        padding: 0 32px;
    }

    .stats-bg {
        max-width: 446px;
    }

    .stats-decoration-right {
        right: -100px;
    }

    .stats-decoration-left {
        left: -100px;
    }

    .stats-decoration-right,
    .stats-decoration-left {
        width: 200px;
        height: 350px;
    }

    .stats-pattern-top,
    .stats-pattern-bottom {
        max-width: 80%;
    }

    .stats-banner {
        max-width: 893px;
        padding-left: 32px;
        margin-bottom: 49px;
        width: 100%;
    }

    .stats-banner h2 {
        font-size: 28px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        max-width: 648px;
        margin-bottom: 49px;
        top: 201px;
    }

    .stat-item {
        padding: 12px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-label {
        font-size: 18px;
    }

    .feature-cards {
        max-width: 893px;
        gap: 24px;
        margin-top: 32px;
    }

    .feature-row {
        gap: 24px;
    }

    .feature-card {
        min-height: auto;
        padding: 24px;
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .feature-content {
        max-width: 100%;
    }

    .feature-content h3 {
        font-size: 21px;
    }

    .feature-content p {
        font-size: 18px;
    }

    .feature-image {
        width: 162px;
        height: 144px;
    }

    .bottom-section {
        margin-top: 65px;
        padding: 0 32px;
    }

    .bottom-decoration-right {
        top: 51px;
        right: -213px;
    }

    .bottom-decoration-left {
        top: -146px;
        left: -218px;
    }

    .bottom-decoration-right,
    .bottom-decoration-left {
        width: 325px;
        height: 500px;
    }

    .referral-section {
        max-width: 95%;
        height: 324px;
        padding: 0 24px;
    }

    .referral-content {
        max-width: 486px;
    }

    .referral-content h2 {
        font-size: 26px;
    }

    .join-btn {
        width: 324px;
        height: 57px;
        font-size: 26px;
    }

    .referral-decoration {
        width: 340px;
        height: 185px;
    }

    .footer {
        height: 162px;
        margin-top: 162px;
    }

    .footer-links {
        gap: 40px;
    }

    .footer-links a {
        font-size: 20px;
    }

    .star-btn::after {
        left: 16px;
    }

    .cost-output {
        font-size: 16px !important;
    }

    .star-btn::after {
        left: 16px;
        width: 18px;
        height: 18px;
    }
}

/* 1024px */
@media (max-width: 1024px) {
    .container {
        padding: 0 16px;
    }

    .header {
        flex-direction: row;
        gap: 16px;
        padding: 24px 16px;
    }

    .logo {
        width: 200px;
        height: 52px;
    }

    .header__buttons-holder {
        width: 320px;
    }

    .telegram-login-btn {
        width: 80%;
        max-width: 324px;
        height: 49px;
        font-size: 16px;
    }

    .main-form {
        max-width: 540px;
        padding: 0 40px;
    }

    .input-wrapper {
        height: 40px;
    }

    .form-input {
        font-size: 14px;
        padding: 10px 32px;
    }

    .input-icon {
        width: 24px;
        height: 24px;
        left: 10px;
        font-size: 14px;
    }

    .switch-btn {
        width: 59px;
        height: 36px;
    }

    .slider {
        width: 57px;
        height: 35px;
    }

    .switch-btn.on .slider {
        left: 57px;
    }

    .btn-icon {
        width: 25px;
        height: 25px;
    }

    .star-amounts {
        gap: 8px;
    }

    .star-btn {
        height: 40px;
        font-size: 20px;
        padding: 0 0 0 40px;
    }

    .star-btn img {
        width: 20px;
        height: 20px;
        left: 42px;
    }

    .buy-btn {
        height: 49px;
        font-size: 22px;
    }

    .decoration {
        width: 100px;
        height: 100px;
    }

    .decoration-right {
        top: 150px;
        right: 20px;
    }

    .decoration-left {
        top: 326px;
        left: 3px;
    }

    .statistics-section {
        margin-top: 81px;
        padding: 0 24px;
    }

    .stats-bg {
        max-width: 365px;
    }

    .stats-decoration-right {
        right: -20px;
    }

    .stats-decoration-left {
        left: -20px;
    }

    .stats-decoration-right,
    .stats-decoration-left {
        width: 150px;
        height: 250px;
    }

    .stats-pattern-top,
    .stats-pattern-bottom {
        width: 70%;
    }

    .stats-banner {
        max-width: 802px;
        height: 81px;
        padding-left: 24px;
        margin-bottom: 32px;
    }

    .stats-banner h2 {
        font-size: 22px;
    }

    .banner-accent {
        height: 81px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 486px;
        margin-bottom: 32px;
    }

    .stat-item {
        padding: 12px;
    }

    .stat-number {
        font-size: 29px;
    }

    .stat-label {
        font-size: 16px;
    }

    .feature-cards {
        max-width: 802px;
        gap: 16px;
        margin-top: 24px;
    }

    .feature-row {
        gap: 16px;
    }

    .feature-card {
        padding: 16px;
    }

    .feature-content h3 {
        font-size: 20px;
    }

    .feature-content p {
        font-size: 16px;
    }

    .feature-image {
        width: 135px;
        height: 117px;
    }

    .bottom-section {
        margin-top: 49px;
        padding: 0 24px;
    }

    .bottom-decoration-right {
        right: -18px;
        top: 106px;
    }

    .bottom-decoration-left {
        left: -87px;
        top: -280px;
    }

    .bottom-decoration-right,
    .bottom-decoration-left {
        width: 250px;
        height: 347px;
    }

    .referral-section {
        height: 250px;
        padding: 0 16px;
        max-width: 85%;
    }

    .referral-content h2 {
        font-size: 22px;
    }

    .join-btn {
        width: 243px;
        height: 49px;
        font-size: 20px;
    }

    .referral-decoration {
        width: 335px;
        height: 235px;
    }

    .footer {
        height: 122px;
        margin-top: 140px;
    }

    .footer-links a {
        font-size: 16px;
    }

    .star-btn::after {
        left: 12px;
    }

    .cost-output {
        font-size: 14px !important;
    }

    .star-btn::after {
        left: 12px;
        width: 16px;
        height: 16px;
    }
}

/* 768px */
@media (max-width: 768px) {
    .star-btn .cost-output {
        display: block;
    }

    .star-btn {
        height: 36px;
        font-size: 16px;
        padding: 0 0 0 0px;
    }

    .star-btn img {
        width: 18px;
        height: 18px;
        left: 40px;
    }

    .form-section {
        gap: 10px;
        margin-bottom: 10px;
    }

    .buy-btn {
        margin-bottom: 10px;
    }

    .feature-content h3 {
        font-size: 18px;
    }

    .feature-content p {
        font-size: 16px;
    }

    .cost-output {
        font-size: 13px !important;
    }

    .star-btn::after {
        left: 10px;
        width: 16px;
        height: 16px;
    }

    .decoration-left {
        top: 293px;
    }

    .decoration-right {
        top: 120px;
    }

    .checkbox-label {
        font-size: 12px;
    }

    .checkbox {
        width: 16px;
        height: 16px;
    }

    .checkbox:checked::after {
        font-size: 12px;
    }

    .decoration {
        width: 80px;
        height: 80px;
    }

    .statistics-section {
        margin-top: 65px;
        padding: 0 16px;
    }

    .stats-bg {
        max-width: 284px;
    }

    .stats-decoration-right,
    .stats-decoration-left {
        width: 100px;
        height: 150px;
    }

    .stats-decoration-right {
        right: -10px;
    }

    .stats-pattern-top {
        top: 80px;
    }

    .stats-pattern-bottom {
        top: 450px;
    }

    .stats-pattern-top,
    .stats-pattern-bottom {
        width: 70%;
    }

    .stats-banner {
        height: 65px;
        padding-left: 24px;
        margin-bottom: 16px;
        max-width: 90%;
        width: 100%;
    }

    .stats-banner h2 {
        font-size: 20px;
    }

    .banner-accent {
        height: 64px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 13px;
        max-width: 324px;
        margin-bottom: 24px;
        top: 138px;
    }

    .stat-item {
        padding: 12px;
    }

    .stat-number {
        font-size: 22px;
    }

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

    .feature-cards {
        max-width: 100%;
        gap: 16px;
        margin-top: 16px;
    }

    .feature-row {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .feature-card {
        padding: 16px;
        min-height: auto;
        height: auto;
        flex-direction: row;
        width: 90%;
    }

    .feature-content {
        max-width: 65%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .feature-content h3 {
        font-size: 18px;
    }

    .feature-content p {
        font-size: 16px;
    }

    .feature-image {
        width: 138px;
        height: 125px;
    }

    .bottom-section {
        margin-top: 32px;
        padding: 0 16px;
    }

    .bottom-decoration-right,
    .bottom-decoration-left {
        width: 200px;
        height: 300px;
    }

    .bottom-decoration-right {
        right: -10px;
    }

    .referral-section {
        height: 425px;
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        max-width: 90%;
    }

    .referral-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .referral-content h2 {
        font-size: 20px;
        text-align: center;
    }

    .join-btn {
        width: 202px;
        height: 40px;
        font-size: 16px;
    }

    .referral-decoration {
        width: 300px;
        height: 200px;
        margin-bottom: 16px;
        margin-top: 16px;
    }

    .footer {
        height: 122px;
        margin-top: 32px;
    }

    .footer-links {
        gap: 24px;
        flex-direction: column;
    }

    .footer-links a {
        font-size: 14px;
    }

    .modal-content {
        padding: 16px;
        max-width: 90%;
    }

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

    .crypto-choice-btn {
        height: 48px;
        font-size: 20px;
    }
    .checkbox::before{
        padding: 1px;
    }
}

/* 425px */
@media (max-width: 425px) {
    .header {
        padding: 12px 8px;
    }

    .logo {
        width: 150px;
        height: 39px;
    }

    .telegram-login-btn {
        max-width: 100%;
        height: 36px;
        font-size: 12px;
    }

    .main-form {
        padding: 0 12px;
        margin-bottom: 24px;
        max-width: 90%;
    }

    .input-wrapper {
        height: 32px;
    }

    .form-input {
        font-size: 12px;
        padding: 6px 24px;
    }

    .input-icon {
        width: 18px;
        height: 18px;
        left: 10px;
        font-size: 12px;
    }

    .switch-btn {
        width: 42px;
        height: 28px;
    }

    .slider {
        width: 40px;
        height: 27px;
    }

    .btn-icon-left {
        margin-left: 11px !important;
    }

    .btn-icon-right {
        margin-right: 15px !important;
    }

    .switch-btn.on .slider {
        left: 40px;
    }

    .btn-icon {
        width: 18px;
        height: 18px;
    }

    .toggle-star-btn {
        font-size: 12px;
    }

    .toggle-arrow {
        width: 12px;
        height: 12px;
    }

    .star-btn {
        height: 32px;
        font-size: 14px;
    }

    .star-btn img {
        width: 16px;
        height: 16px;
        left: 36px;
    }

    .buy-btn {
        height: 36px;
        font-size: 16px;
    }

    .buy-btn img {
        width: 21px;
        height: 21px;
    }

    .checkbox-label {
        font-size: 10px;
    }

    .checkbox {
        width: 14px;
        height: 14px;
    }

    .decoration {
        width: 60px;
        height: 60px;
    }

    .decoration-left {
        top: 275px;
    }

    .decoration-right {
        top: 108px;
    }

    .statistics-section {
        margin-top: 49px;
    }

    .stats-bg {
        max-width: 202px;
    }

    .stats-decoration-right,
    .stats-decoration-left {
        width: 80px;
        height: 120px;
    }

    .stats-decoration-right {
        right: -10px;
    }

    .stats-banner {
        height: 54px;
        padding-left: 12px;
        margin-bottom: 16px;
        border-radius: 11px;
    }

    .banner-accent {
        height: 53px;
        border-top-left-radius: 11px;
        border-bottom-left-radius: 11px;
    }

    .stats-banner h2 {
        font-size: 16px;
        margin-left: 16px;
    }

    .stats-pattern-top {
        top: 49px;
    }

    .stats-pattern-bottom {
        top: 369px;
    }

    .stats-grid {
        gap: 13px;
        max-width: 243px;
        top: 115px;
    }

    .stat-item {
        padding: 8px;
    }

    .stat-number {
        font-size: 20px;
    }

    .stat-label {
        font-size: 13px;
    }

    .feature-cards {
        gap: 12px;
    }

    .feature-row {
        gap: 12px;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-content h3 {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .feature-content p {
        font-size: 12px;
    }

    .feature-image {
        width: 108px;
        height: 96px;
    }

    .bottom-section {
        margin-top: 24px;
    }

    .bottom-decoration-right,
    .bottom-decoration-left {
        width: 150px;
        height: 200px;
    }

    .bottom-decoration-right {
        right: -10px;
    }

    .referral-section {
        height: 324px;
        padding: 0 8px;
        gap: 16px;
    }

    .referral-content h2 {
        font-size: 16px;
        max-width: 200px;
    }

    .join-btn {
        width: 200px;
        height: 36px;
        font-size: 14px;
    }

    .referral-decoration {
        width: 180px;
        height: 125px;
        margin-bottom: 0px;
        margin-top: 0px;
    }

    .footer {
        height: 162px;
        margin-top: 24px;
        padding-top: 16px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .star-btn::after {
        left: 8px;
    }

    .cost-output {
        font-size: 12px !important;
    }

    .star-btn::after {
        left: 8px;
        width: 14px;
        height: 14px;
    }

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

    .crypto-choice-btn {
        height: 40px;
        font-size: 18px;
    }
}

/* 375px */
@media (max-width: 375px) {
    .header {
        padding: 8px 6px;
    }

    .logo {
        width: 130px;
        height: 34px;
    }

    .telegram-login-btn {
        height: 32px;
        font-size: 10px;
    }

    .main-form {
        padding: 0 8px;
    }

    .form-input {
        font-size: 10px;
        padding: 5px 20px;
    }

    .input-icon {
        width: 16px;
        height: 16px;
        font-size: 10px;
    }

    .switch-btn {
        width: 38px;
        height: 24px;
    }

    .slider {
        width: 36px;
        height: 23px;
    }

    .btn-icon-left {
        margin-left: 10px !important;
    }

    .btn-icon-right {
        margin-right: 10px !important;
    }

    .switch-btn.on .slider {
        left: 36px;
    }

    .btn-icon {
        width: 16px;
        height: 16px;
    }

    .toggle-star-btn {
        font-size: 10px;
    }

    .toggle-arrow {
        width: 10px;
        height: 10px;
    }

    .star-btn {
        height: 28px;
        font-size: 13px;
    }

    .star-btn img {
        width: 14px;
        height: 14px;
        left: 32px;
    }

    .buy-btn {
        height: 32px;
        font-size: 14px;
    }

    .buy-btn img {
        width: 18px;
        height: 18px;
    }

    .checkbox-label {
        font-size: 9px;
    }

    .checkbox {
        width: 13px;
        height: 13px;
    }

    .decoration {
        width: 50px;
        height: 50px;
    }

    .decoration-left {
        top: 255px;
    }

    .decoration-right {
        top: 108px;
    }

    .statistics-section {
        margin-top: 40px;
    }

    .stats-bg {
        max-width: 162px;
    }

    .stats-banner h2 {
        font-size: 14px;
    }

    .stats-grid {
        max-width: 202px;
        top: 125px;
    }

    .stat-number {
        font-size: 16px;
    }

    .stat-label {
        font-size: 12px;
    }

    .feature-content h3 {
        font-size: 13px;
    }

    .feature-content p {
        font-size: 10px;
    }

    .feature-image {
        width: 90px;
        height: 72px;
    }

    .bottom-section {
        margin-top: 20px;
    }

    .referral-content h2 {
        font-size: 14px;
        width: 180px;
    }

    .join-btn {
        width: 180px;
        height: 32px;
        font-size: 13px;
    }

    .cost-output {
        font-size: 10px !important;
    }

    .star-btn::after {
        left: 7px;
        width: 12px;
        height: 12px;
    }
}

/* 320px */
@media (max-width: 320px) {
    .header {
        padding: 6px 4px;
    }

    .logo {
        width: 120px;
        height: 31px;
    }

    .telegram-login-btn {
        height: 28px;
        font-size: 8px;
    }

    .main-form {
        padding: 0 4px;
    }

    .form-input {
        font-size: 9px;
        padding: 4px 16px;
    }

    .input-icon {
        width: 14px;
        height: 14px;
        left: 10px;
        font-size: 9px;
    }

    .switch-btn {
        width: 34px;
        height: 20px;
    }

    .slider {
        width: 32px;
        height: 19px;
    }

    .switch-btn.on .slider {
        left: 32px;
    }

    .btn-icon {
        width: 14px;
        height: 14px;
    }

    .decoration-right {
        top: 76px;
        right: 0px;
    }

    .decoration-left {
        top: 214px;
        left: 0px;
    }

    .star-btn {
        height: 24px;
        font-size: 12px;
    }

    .star-btn img {
        width: 12px;
        height: 12px;
        left: 28px;
    }

    .buy-btn {
        height: 28px;
        font-size: 13px;
    }

    .buy-btn img {
        width: 16px;
        height: 16px;
    }

    .checkbox-label {
        font-size: 8px;
    }

    .checkbox {
        width: 12px;
        height: 12px;
    }

    .checkbox:checked::after {
        font-size: 8px;
    }

    .decoration {
        width: 79px;
        height: 70px;
    }

    .statistics-section {
        margin-top: 32px;
    }

    .stats-bg {
        max-width: 146px;
    }

    .stats-decoration-right,
    .stats-decoration-left {
        width: 60px;
        height: 100px;
    }

    .banner-accent {
        height: 50px;
        border-top-left-radius: 11px;
        border-bottom-left-radius: 11px;
    }

    .stats-banner {
        padding-left: 8px;
        margin-bottom: 12px;
        border-radius: 11px;
        height: 50px;
    }

    .stats-banner h2 {
        font-size: 13px;
    }

    .stats-grid {
        max-width: 162px;
    }

    .stat-number {
        font-size: 14px;
    }

    .stat-label {
        font-size: 10px;
    }

    .feature-cards {
        gap: 10px;
    }

    .feature-row {
        gap: 10px;
    }

    .feature-card {
        padding: 10px;
    }

    .feature-content h3 {
        font-size: 12px;
    }

    .feature-content p {
        font-size: 9px;
    }

    .feature-image {
        width: 75px;
        height: 80px;
    }

    .bottom-section {
        margin-top: 16px;
    }

    .bottom-decoration-right,
    .bottom-decoration-left {
        width: 100px;
        height: 150px;
    }

    .referral-section {
        height: 260px;
        padding: 0 6px;
    }

    .referral-content h2 {
        font-size: 13px;
        width: 170px;
    }

    .join-btn {
        width: 170px;
        height: 28px;
        font-size: 12px;
    }

    .referral-decoration {
        width: 150px;
        height: 80px;
    }

    .footer {
        height: 122px;
        margin-top: 16px;
    }

    .footer-links {
        gap: 16px;
    }

    .footer-links a {
        font-size: 12px;
    }

    .cost-output {
        font-size: 9px !important;
    }

    .star-btn::after {
        left: 6px;
        width: 10px;
        height: 10px;
    }
}

/* Новые media queries для больших экранов (1024px и выше) */
@media (min-width: 1024px) {
    .toggle-star-btn {
        display: flex !important;
    }
    
    .star-amounts {
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }
    
    .star-package {
        width: calc((100% - 32px) / 3);
    }
}

/* Fix for grid layout in different wide screen ranges */
@media (min-width: 1024px) and (max-width: 1440px) {
    .star-package {
        width: calc((100% - 24px) / 3);
    }
}

@media (min-width: 1441px) and (max-width: 1920px) {
    .star-package {
        width: calc((100% - 32px) / 3);
    }
}

@media (min-width: 1921px) and (max-width: 2560px) {
    .star-package {
        width: calc((100% - 40px) / 3);
    }
}