* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Rubik", "Vazirmatn", serif;
    line-height: 1.4;
    background-color: #000;
    color: #fff;
    min-height: 100vh;
}
.container {
    width: 100%;
    max-width: 1100px;
    margin: auto;
    padding: 0 15px;
    text-align: center;
}
.header {
    background: #202020;
    padding-top: 15px;
    padding-bottom: 10px;
}

.header__inner {
    position: relative;
}

.header__text {
    margin-bottom: 0;
    text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25);
    font-size: 44px;
    font-weight: 500;
    line-height: 1.15;
}

.header__text-cloud {
    color: #2cadef;
}

.header__text-miner {
    color: #ff9f00;
}

.header__lang {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    z-index: 20;
}

.language__box {
    position: relative;
}

.language__button {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.language__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: visibility 0.3s, opacity 0.3s ease;
    position: absolute;
    z-index: 30;
    top: 36px;
    right: 0;
    left: auto;
    max-width: 120px;
    width: 103px;
    border: 1px solid #333;
    border-radius: 0 0 0 9px;
    background: #202020;
    list-style: none;
    padding: 4px 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 17.913px;
}

.language__list.active {
    visibility: visible;
    opacity: 1;
}

.language__item {
    width: calc((100% - 10px) / 2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.language__item > img,
.lang__img {
    width: 28px;
    margin-bottom: 2.5px;
    display: block;
}

.language__item > p {
    margin: 0;
    color: #fff;
    font-size: 12px;
}

.hero__title {
    margin: auto;
    background-image: url(../img/block.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    width: min(100%, 320px);
    padding: 14px 14px 16px;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25);
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.hero__usdt {
    width: 26px;
    height: 26px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.hero__counter {
    display: inline-block;
    white-space: nowrap;
}

.swiper-custom {
    max-width: 500px;
}
.hero__image {
    width: 223px;
}
@media screen and (min-width: 768px) {
    .hero__image {
        width: 277px;
    }
}
.custom-button-prev,
.custom-button-next {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    z-index: 10;
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
}

.custom-button-prev {
    left: 10px;
}

.custom-button-next {
    right: 10px;
}
.landing-slogan {
    margin: 18px auto 16px;
    max-width: 420px;
    padding: 12px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(44, 173, 239, 0.18), rgba(255, 159, 0, 0.12));
    border: 1px solid rgba(44, 173, 239, 0.35);
    color: #fff;
    text-align: center;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.35;
}

@media screen and (min-width: 768px) {
    .landing-slogan {
        max-width: 520px;
        margin-bottom: 20px;
        padding: 14px 22px;
        font-size: 17px;
    }
}

.hero__auth {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 10px 0 28px;
}

a.btn--auth {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 255px;
    height: 52px;
    margin: 0;
    border-radius: 10px;
    background: #2cadef;
    border: none;
    color: #041018;
    text-decoration: none;
    text-shadow: none;
    font-size: 22px;
    font-weight: 500;
    font-family: inherit;
    line-height: 1;
}

a.btn--auth:last-child {
    background: #ff9f00;
    border: none;
    color: #1a1000;
}

a.btn--auth:hover {
    opacity: 0.92;
}

a.btn--auth:last-child:hover {
    background: #ff9f00;
    color: #1a1000;
    opacity: 0.92;
}

@media screen and (min-width: 768px) {
    .hero__auth {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }

    a.btn--auth {
        width: 180px;
        font-size: 18px;
    }
}

.landing-stats__title {
    margin: 28px 0 12px;
    color: #fff;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
}

.landing-stats {
    list-style: none;
    margin: 0 auto 10px;
    padding: 14px 12px;
    max-width: 520px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 10px;
    border-radius: 12px;
    background: rgba(32, 32, 32, 0.85);
}

.landing-stats__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.landing-stats__value {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.landing-stats__value--online {
    color: #3dce6a;
}

.landing-stats__value--paid {
    color: #2cadef;
}

.landing-stats__label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-weight: 400;
    text-align: center;
    line-height: 1.2;
}

@media screen and (min-width: 768px) {
    .landing-stats__title {
        font-size: 26px;
        margin: 36px 0 16px;
    }

    .landing-stats {
        grid-template-columns: repeat(4, 1fr);
        max-width: 640px;
        padding: 16px 18px;
        gap: 12px;
    }

    .landing-stats__value {
        font-size: 20px;
    }
}

.landing-reviews {
    margin: 32px auto 24px;
    max-width: 560px;
    text-align: left;
}

.landing-reviews__title {
    margin: 0 0 16px;
    color: #fff;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
}

.landing-reviews__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-card {
    display: flex;
    gap: 12px;
    padding: 14px 14px 16px;
    border-radius: 12px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.review-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #2a2a2a;
}

.review-card__body {
    flex: 1;
    min-width: 0;
}

.review-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.review-card__meta {
    min-width: 0;
}

.review-card__name {
    margin: 0 0 2px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
}

.review-card__flag {
    font-weight: 400;
    font-size: 20px;
    line-height: 1;
    vertical-align: -2px;
}

.review-card__stars {
    margin: 0;
    font-size: 13px;
    letter-spacing: 1px;
    line-height: 1.2;
}

.review-card__stars-on {
    color: #ffc107;
}

.review-card__stars-off {
    color: rgba(255, 255, 255, 0.22);
}

.review-card__time {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
    line-height: 1.3;
    white-space: nowrap;
}

.review-card__text {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.45;
}

@media screen and (min-width: 768px) {
    .landing-reviews {
        max-width: 640px;
        margin-top: 40px;
    }

    .landing-reviews__title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .review-card {
        padding: 16px 18px;
    }
}

/* Auth pages (register / signin) */
.auth-brand {
    color: inherit;
    text-decoration: none;
}

.auth-brand__page {
    color: #2cadef;
}

.auth-page {
    padding: 28px 0 40px;
}

.auth-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0 auto;
    max-width: 420px;
    padding: 22px 18px;
    border-radius: 12px;
    background: rgba(32, 32, 32, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.auth-form-msg {
    margin: 0;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.35;
}

.auth-form-msg--error {
    background: rgba(255, 80, 80, 0.12);
    border: 1px solid rgba(255, 80, 80, 0.35);
    color: #ffb4b4;
}

.auth-form-msg--ok {
    background: rgba(61, 206, 106, 0.12);
    border: 1px solid rgba(61, 206, 106, 0.35);
    color: #9be7b3;
}

.auth-card__submit:disabled {
    opacity: 0.6;
    cursor: wait;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-field__label {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    font-weight: 400;
}

.auth-field__input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #121212;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.15s ease;
}

.auth-field__input::placeholder {
    color: rgba(255, 255, 255, 0.28);
}

.auth-field__input:focus {
    border-color: #2cadef;
}

.auth-field--error .auth-field__input {
    border-color: #e85a5a;
}

.auth-field__error {
    color: #ff8f8f;
    font-size: 12px;
    line-height: 1.3;
}

.auth-captcha {
    display: flex;
    justify-content: center;
    margin: 8px 0 4px;
    min-height: 78px;
}

.auth-card__submit {
    width: 100%;
    height: 48px;
    margin-top: 6px;
    border-radius: 10px;
    background: #ff9f00;
    border: none;
    color: #1a1000;
}

.auth-card__submit:hover {
    background: #ff9f00;
    opacity: 0.92;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0;
    color: rgba(255, 255, 255, 0.35);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.auth-google {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #fff;
    color: #1f1f1f;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.auth-google:hover {
    opacity: 0.92;
}

.auth-google:disabled {
    opacity: 0.6;
    cursor: wait;
}

.auth-google__icon {
    flex-shrink: 0;
}

a.auth-card__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
}

.auth-card--signin .auth-google {
    margin-top: 4px;
}

.auth-card .auth-links {
    margin: 14px 0 0;
    max-width: none;
}

.auth-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 20px auto 0;
    max-width: 420px;
}

.auth-links__item {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.15s ease;
}

.auth-links__item:hover {
    color: #2cadef;
}

@media screen and (min-width: 768px) {
    .auth-page {
        padding: 40px 0 56px;
    }

    .auth-card {
        max-width: 460px;
        padding: 28px 26px;
        gap: 16px;
    }

    .auth-card__submit {
        height: 48px;
        font-size: 16px;
    }
}

/**
  |============================
  | RTL (فارسی / العربية) — зеркалирование позиционируемых элементов.
  | Flexbox/grid и текстовое выравнивание через text-align: start/center
  | подхватываются браузером автоматически по direction, здесь только то,
  | что завязано на физические left/right и не мирроуется само.
  |============================
*/
html[dir="rtl"] .header__lang {
    right: auto;
    left: 15px;
}

html[dir="rtl"] .language__list {
    right: auto;
    left: 0;
    border-radius: 0 0 9px 0;
}

html[dir="rtl"] .custom-button-prev {
    left: auto;
    right: 10px;
}

html[dir="rtl"] .custom-button-next {
    right: auto;
    left: 10px;
}

html[dir="rtl"] .landing-reviews,
html[dir="rtl"] .auth-card {
    text-align: right;
}

/* Числа/суммы всегда слева-направо, даже в RTL-контексте — иначе цифры "переворачиваются" */
html[dir="rtl"] .hero__counter,
html[dir="rtl"] .landing-stats__value {
    direction: ltr;
    unicode-bidi: plaintext;
}
