/* ===== VARIABLES & RESET ===== */
:root {
    --red: #EC1C24;
    --red-dark: #C8141B;
    --red-soft: #FDECEC;
    --max-blue: #1D8BFF;
    --max-blue-dark: #0867D9;
    --dark: #14161F;
    --gray: #6E7079;
    --bg: #FFFFFF;
    --bg-soft: #F6F7FB;
    --surface: rgba(255, 255, 255, .78);
    --border: rgba(20, 22, 31, .09);
    --radius: 24px;
    --radius-sm: 16px;
    --shadow: 0 18px 55px rgba(20, 22, 31, 0.09);
    --shadow-red: 0 18px 34px rgba(236, 28, 36, 0.32);
    --shadow-blue: 0 14px 30px rgba(29, 139, 255, .24);
    --gradient-red: linear-gradient(135deg, #FF4B54 0%, #EC1C24 45%, #B80F17 100%);
    --gradient-max: linear-gradient(135deg, #46C5FF 0%, #1D8BFF 48%, #0867D9 100%);
    --container: 1180px;
}


* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: hidden; }


body {
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
    color: var(--dark);
    background:
        radial-gradient(circle at 12% 8%, rgba(29, 139, 255, .10), transparent 28%),
        radial-gradient(circle at 88% 0%, rgba(236, 28, 36, .11), transparent 30%),
        linear-gradient(180deg, #fff 0%, #fbfcff 48%, #fff 100%);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}


a { text-decoration: none; color: inherit; }
ol, ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.text-red { color: var(--red); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
    font-weight: 800;
    font-size: 15px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.28) 45%, transparent 70%);
    transform: translateX(-120%);
    transition: transform .55s ease;
}
.btn:hover::after { transform: translateX(120%); }
.btn--red {
    background: var(--gradient-red);
    color: #fff;
    padding: 12px 22px;
    box-shadow: var(--shadow-red);
}
.btn--red:hover { transform: translateY(-3px) scale(1.01); box-shadow: 0 22px 42px rgba(236, 28, 36, .38); }
.btn--ghost {
    background: rgba(255,255,255,.78);
    color: var(--dark);
    padding: 12px 22px;
    border: 1.5px solid rgba(20,22,31,.10);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 30px rgba(20,22,31,.06);
}
.btn--ghost:hover { border-color: rgba(29,139,255,.36); transform: translateY(-3px); box-shadow: var(--shadow-blue); }
.btn--lg { padding: 17px 30px; font-size: 16px; border-radius: 999px; }
.btn--block { width: 100%; }
.btn__play { display: inline-flex; }
.max-logo {
    width: 26px;
    height: 26px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 3px 6px rgba(29,139,255,.45));
}
.max-logo--lg { width: 30px; height: 30px; }




/* ===== BADGE ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(236,28,36,.95), rgba(29,139,255,.92));
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 9px 15px;
    border-radius: 999px;
    box-shadow: 0 14px 26px rgba(236,28,36,.16);
}

.badge svg { flex-shrink: 0; }

/* ===== SECTION TITLE ===== */
.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: -1px;
}

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .74);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
    gap: 20px;
}
.logo__img { height: 36px; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(20,22,31,.12)); transition: transform .2s ease; }


.logo:hover .logo__img { transform: scale(1.04); }


.nav { display: flex; gap: 30px; }
.nav__link {
    font-size: 15px;
    font-weight: 600;
    color: #2b2b2b;
    transition: color .2s;
}
.nav__link:hover { color: var(--red); }
.header__btn { font-size: 14px; padding: 11px 20px; }

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.burger span {
    width: 24px; height: 2.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: .25s;
}
.burger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 70px 0 78px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 8%; right: -4%;
    width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(236,28,36,.10) 1.6px, transparent 1.7px);
    background-size: 22px 22px;
    opacity: .5;
    z-index: 0;
}
.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
}
.hero__title {
    font-size: clamp(42px, 6.4vw, 76px);
    font-weight: 900;
    line-height: .98;
    text-transform: uppercase;
    letter-spacing: -2.6px;
    margin: 22px 0 18px;
}

.hero__text {
    font-size: 17px;
    color: var(--gray);
    margin-bottom: 30px;
}
.hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}
.hero__social {
    display: flex;
    align-items: center;
    gap: 16px;
}
.avatars { display: flex; }
.avatars__item {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 3px solid #fff;
    object-fit: cover;
    margin-left: -12px;
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.avatars__item:first-child { margin-left: 0; }

.hero__social-text { font-size: 14px; color: var(--gray); line-height: 1.35; }

.hero__media {
    display: flex;
    justify-content: center;
    position: relative;
}
.hero__media::before {
    content: "";
    position: absolute;
    inset: 12% 8% 8%;
    border-radius: 42% 58% 48% 52%;
    background: linear-gradient(135deg, rgba(236,28,36,.18), rgba(29,139,255,.16));
    filter: blur(2px);
    z-index: -1;
}
.hero__img { width: 100%; max-width: 560px; filter: drop-shadow(0 28px 42px rgba(20,22,31,.18)); animation: floatHero 5.8s ease-in-out infinite; }
@keyframes floatHero {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-14px) rotate(1deg); }
}


/* ===== FEATURES ===== */
.features { padding: 10px 0 70px; }
.features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 36px 30px;
    backdrop-filter: blur(18px);
}
.feature { text-align: left; transition: transform .2s ease; }
.feature:hover { transform: translateY(-6px); }

.feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    border-radius: 16px;
    background: var(--red-soft);
    margin-bottom: 16px;
}
.feature__title {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.feature__text { font-size: 14px; color: var(--gray); }

/* ===== HOW IT WORKS ===== */
.how {
    background: linear-gradient(180deg, rgba(246,247,251,.95), rgba(255,255,255,.96));
    padding: 86px 0;
    overflow: hidden;
}

.how__inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 40px;
}
.how .section-title { margin: 18px 0 34px; }
.steps { display: flex; flex-direction: column; gap: 16px; }
.step {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255,255,255,.82);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    box-shadow: 0 10px 24px rgba(20,20,30,.05);
    backdrop-filter: blur(14px);
    transition: transform .18s ease, box-shadow .2s ease;
}
.step:hover { transform: translateX(8px); box-shadow: var(--shadow); }

.step__num {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    background: var(--gradient-red);
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    border-radius: 16px;
    box-shadow: var(--shadow-red);
}

.step__title { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.step__text { font-size: 14px; color: var(--gray); }
.how__media { display: flex; justify-content: center; position: relative; }
.how__img { width: 100%; max-width: 480px; filter: drop-shadow(0 24px 36px rgba(20,22,31,.16)); }


/* ===== REVIEWS ===== */
.reviews { padding: 80px 0; }
.reviews__head { text-align: center; margin-bottom: 44px; }
.reviews__head .badge { margin-bottom: 18px; }
.reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.review {
    background: rgba(255,255,255,.84);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    transition: transform .2s ease, box-shadow .2s ease;
}
.review:hover { transform: translateY(-6px); box-shadow: 0 24px 58px rgba(20,22,31,.12); }

.review__top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.review__avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid #fff;
    box-shadow: 0 6px 16px rgba(20,22,31,.16);
}

.review__name { font-weight: 700; font-size: 15px; }
.stars { color: #FFB400; font-size: 14px; letter-spacing: 2px; }
.review__text { font-size: 15px; color: var(--gray); }

/* ===== FAQ ===== */
.faq { background: linear-gradient(180deg, #fff, var(--bg-soft)); padding: 80px 0; }

.faq__inner { max-width: 760px; margin: 0 auto; }
.faq__head { text-align: center; margin-bottom: 40px; }
.faq__head .badge { margin-bottom: 18px; }
.accordion { display: flex; flex-direction: column; gap: 14px; }
.accordion__item {
    background: rgba(255,255,255,.86);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(20,22,31,.05);
}

.accordion__head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    background: none;
    border: none;
    padding: 20px 24px;
    cursor: pointer;
}
.accordion__icon {
    position: relative;
    flex-shrink: 0;
    width: 18px; height: 18px;
}
.accordion__icon::before,
.accordion__icon::after {
    content: "";
    position: absolute;
    background: var(--red);
    border-radius: 2px;
    transition: transform .25s ease;
}
.accordion__icon::before { top: 8px; left: 0; width: 18px; height: 2.5px; }
.accordion__icon::after { left: 8px; top: 0; width: 2.5px; height: 18px; }
.accordion__item.active .accordion__icon::after { transform: scaleY(0); }
.accordion__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}
.accordion__body p { padding: 0 24px 20px; color: var(--gray); font-size: 15px; }

/* ===== CTA ===== */
.cta { padding: 30px 0 80px; }
.cta__box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    background:
        radial-gradient(circle at 90% 20%, rgba(29,139,255,.20), transparent 34%),
        linear-gradient(135deg, rgba(255,255,255,.94), rgba(255,246,246,.92));
    border: 1px solid var(--border);
    border-radius: 30px;
    box-shadow: var(--shadow);
    padding: 52px 54px;
    position: relative;
    overflow: hidden;
}
.cta__box::before {
    content: "";
    position: absolute;
    inset: auto -60px -80px auto;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: rgba(236,28,36,.14);
}
.cta__content, .cta__action { position: relative; z-index: 1; }

.cta__title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    line-height: 1.08;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 14px;
}
.cta__text { font-size: 16px; color: var(--gray); }
.cta__hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 13px;
    color: #9AA0A6;
    margin-top: 14px;
}

/* ===== FOOTER ===== */
.footer { border-top: 1px solid var(--border); padding: 34px 0; }
.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.footer__logo { height: 32px; margin-bottom: 10px; object-fit: contain; }




.footer__copy { font-size: 13px; color: var(--gray); }
.footer__nav { display: flex; gap: 28px; }
.footer__link { font-size: 14px; color: var(--gray); transition: color .2s; }
.footer__link:hover { color: var(--red); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .nav {
        position: fixed;
        top: 74px; right: 0;
        z-index: 60;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        width: min(80vw, 280px);
        max-width: 100vw;
        height: calc(100vh - 74px);
        padding: 16px 20px;
        border-left: 1px solid var(--border);
        transform: translateX(100%);
        visibility: hidden;
        transition: transform .3s ease, visibility .3s ease;
        box-shadow: -8px 0 30px rgba(0,0,0,.10);
    }
    .nav.open { transform: translateX(0); visibility: visible; }
    .nav__link { padding: 14px 6px; border-bottom: 1px solid var(--border); }
    .nav__link:last-child { border-bottom: none; }
    .burger { display: flex; }
    .header__btn { display: none; }

    .nav-overlay {
        position: fixed;
        inset: 74px 0 0 0;
        background: rgba(20, 22, 31, .45);
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s ease, visibility .3s ease;
        z-index: 55;
    }
    .nav-overlay.open { opacity: 1; visibility: visible; }


    .hero__inner { grid-template-columns: 1fr; text-align: center; }
    .hero__media { order: -1; }
    .hero__text br, .hero__title br { display: none; }
    .hero__actions, .hero__social { justify-content: center; }
    .badge { margin: 0 auto; }

    .features__grid { grid-template-columns: repeat(2, 1fr); }
    .how__inner { grid-template-columns: 1fr; }
    .how__media { order: -1; }
    .reviews__grid { grid-template-columns: 1fr; }
    .cta__box { grid-template-columns: 1fr; padding: 36px 28px; text-align: center; }
    .cta__hint { justify-content: center; }
}

@media (max-width: 540px) {
    .features__grid { grid-template-columns: 1fr; padding: 26px 22px; }
    .hero { padding: 40px 0 50px; }
    .how, .reviews, .faq { padding: 56px 0; }
    .footer__inner { flex-direction: column; text-align: center; }
    .footer__left { display: flex; flex-direction: column; align-items: center; }
    .btn--lg { width: 100%; }
    .hero__actions { flex-direction: column; }
    .legal__title { font-size: 30px; }
}

/* ===== LEGAL PAGES ===== */
.legal { padding: 60px 0 80px; }
.legal__inner { max-width: 820px; margin: 0 auto; }
.legal .badge { margin-bottom: 18px; }
.legal__title {
    font-size: clamp(30px, 5vw, 46px);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 10px;
}
.legal__updated { font-size: 14px; color: var(--gray); margin-bottom: 36px; }
.legal__section {
    background: rgba(255,255,255,.84);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 26px 28px;
    margin-bottom: 18px;
    box-shadow: 0 10px 24px rgba(20,22,31,.05);
    backdrop-filter: blur(14px);
}
.legal__section h2 {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 12px;
}
.legal__section p { font-size: 15px; color: var(--gray); margin-bottom: 12px; }
.legal__section p:last-child { margin-bottom: 0; }
.legal__back { margin-top: 22px; }

/* ===== GET ROBUX PAGE ===== */
.getrx {
    position: relative;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 130px 0 70px;
    overflow: hidden;
}
.badge--center { margin: 0 auto 18px; }

.getrx__card {
    position: relative;
    z-index: 2;
    max-width: 540px;
    margin: 0 auto;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    padding: 40px 36px;
    animation: cardIn .5s ease both;
}
@keyframes cardIn {
    from { opacity: 0; transform: translateY(24px) scale(.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.getrx__title {
    font-size: 34px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 12px;
}
.getrx__title--sm { font-size: 28px; }
.getrx__subtitle { color: var(--gray); font-size: 15px; margin-bottom: 22px; }

.getrx__char {
    width: 160px;
    margin: 0 auto 24px;
    filter: drop-shadow(0 16px 24px rgba(20,22,31,.18));
    animation: floatY 3.5s ease-in-out infinite;
}
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

.getrx__form { text-align: left; }
.getrx__label {
    display: block;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
}
.getrx__field {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 999px;
    padding: 0 18px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.getrx__field:focus-within {
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(236,28,36,.12);
}
.getrx__field-icon { display: flex; margin-right: 10px; }
.getrx__field input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    padding: 15px 0;
}
.getrx__field.is-invalid { border-color: var(--red); animation: shake .35s; }
@keyframes shake {
    0%,100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}
.getrx__error {
    color: var(--red);
    font-size: 13px;
    font-weight: 600;
    margin-top: 8px;
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: opacity .2s ease, height .2s ease;
}
.getrx__error.show { height: 18px; opacity: 1; }
.getrx__submit { margin-top: 18px; }
.getrx__hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: var(--gray);
    font-size: 13px;
    margin-top: 16px;
}

/* ----- Loader ----- */
.getrx__loader .progress {
    width: 100%;
    height: 10px;
    background: var(--bg-soft);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 22px;
}
.progress__bar {
    display: block;
    height: 100%;
    width: 0;
    background: var(--gradient-red);
    border-radius: 999px;
    transition: width .8s ease;
}
.spinner {
    width: 96px;
    height: 96px;
    margin: 0 auto 22px;
    border: 6px solid var(--red-soft);
    border-top-color: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: spin 1s linear infinite;
}
.spinner__coin { width: 46px; animation: spin 1s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ----- Success ----- */
.success__check {
    width: 84px;
    height: 84px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #34C759 0%, #1f9e44 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 26px rgba(52,199,89,.35);
    animation: pop .5s cubic-bezier(.2,1.4,.5,1) both;
}
@keyframes pop {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}
.success__amount {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 38px;
    font-weight: 900;
    color: var(--red);
    margin: 6px 0 16px;
}
.success__amount img { width: 38px; }
.success__text { font-size: 16px; margin-bottom: 10px; }
.success__text strong { color: var(--dark); }
.success__note { color: var(--gray); font-size: 13px; margin-bottom: 24px; }

/* ----- Floating coins ----- */
.coin {
    position: absolute;
    z-index: 1;
    opacity: .5;
    pointer-events: none;
    animation: floatY 5s ease-in-out infinite;
}
.coin img { width: 100%; }
.coin--1 { width: 70px; top: 16%; left: 8%; animation-delay: 0s; }
.coin--2 { width: 54px; top: 28%; right: 10%; animation-delay: .8s; }
.coin--3 { width: 90px; bottom: 14%; left: 12%; animation-delay: 1.4s; }
.coin--4 { width: 46px; bottom: 22%; right: 14%; animation-delay: 2s; }

/* ----- Confetti ----- */
.confetti {
    position: fixed;
    top: -20px;
    width: 11px;
    height: 11px;
    border-radius: 2px;
    z-index: 9999;
    pointer-events: none;
    animation: confettiFall linear forwards;
}
@keyframes confettiFall {
    to { transform: translateY(105vh) rotate(720deg); opacity: 0; }
}

@media (max-width: 600px) {
    .getrx__card { padding: 32px 22px; }
    .getrx__title { font-size: 28px; }
    .coin { display: none; }
}


