@import url('https://fonts.googleapis.com/css2?family=Onest:wght@100..900&display=swap');
* { padding: 0px; margin: 0px; border: 0px; box-sizing: border-box;}
:root {
    --blue: #278CF6;
}
*, *:before, *:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-thumb { 
    background-color:  var(--second-color);
}

/* ГЛАВНЫЕ ПРАВКИ ДЛЯ ЛИПКОГО ФУТЕРА */
html, body {
    height: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}
main {
    flex: 1 0 auto;
}
.footer {
    margin-top: 2rem;
    background-color: rgba(0,0,0,0.3);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    box-shadow: 0 0 35px var(--green);
}

/* остальной твой CSS оставляем без изменений: */
html {
    background: #021422;
    background-repeat: repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}
body {
    line-height: 1.2;
    color: white;
    font-family: "Onest";
    font-size: 16px;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
input, button, textarea {
    font-family: "Onest";
    font-size: inherit;
    outline: none;
    border: 1px solid transparent;
}
button {
    cursor: pointer;
    color: inherit;
    background-color: inherit;
}
input::-webkit-search-decoration, input::-webkit-search-cancel-button, input::-webkit-search-results-button, input::-webkit-search-results-decoration {
    display: none;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}
a {
    color: inherit;
}
a:link, a:visited {
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}
ul li {
    list-style: none;
}
img {
    vertical-align: top;
    max-width: 100%;
    height: auto;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: inherit;
    font-size: inherit;
}
h1, h2 {
    font-size: 1.3rem;
}
[class*=__container], .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.9375rem;
    box-sizing: border-box;
}
[class*=__box], .box {
    width: 100%;
    max-width: 910px;
    margin: 0 auto;
    padding: 0.9375rem;
    box-sizing: border-box;
}
/* Хедер */
.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-logo {
    display: flex;
    align-items: center;
    column-gap: 1rem;
}
.header-logo svg {
    filter: drop-shadow(0px 0px 25px rgba(39, 140, 246, 0.4));
}
.header-logo-text {
    font-size: 32px;
    font-weight: 600;
}
.header-logo-text span:last-child {
    color: var(--blue);
}
.header-menu ul {
    display: flex;
    column-gap: 1.5rem;
}

.header-menu li {
    position: relative;
    padding: 0.25em 0;
    cursor: pointer;
}

.header-menu li::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -0.25rem;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    width: 100%; 
    height: 4px;  
    background: #2483FB; 
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(.6,.3,0,1);
    z-index: 1;
}

.header-menu li:hover::after {
    transform: translateX(-50%) scaleX(1);
}
/* Баннер */
.banner {
    background-color: #081633;
    user-select: none;
    margin-bottom: 1rem;
}
.banner-substract1 {
    position: absolute;
    left: 100px;
    width: 201px;
    height: 176px;
    background: #1C2064;
    filter: blur(87.1px);
}
.banner-substract2 {
    position: absolute;
    right: 100px;
    width: 201px;
    height: 176px;
    background: #1C2064;
    filter: blur(87.1px);
}
.banner__container {
    display: flex;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.banner-left {
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
    z-index: 2;
}
.banner-left span:first-child p:first-child {
    font-size: 20px;
    font-weight: 400;
}
.banner-left span:first-child p:last-child {
    font-size: 26px;
    font-weight: 600;
}
.banner-left>p span:first-child {
    font-size: 20px;
    font-weight: 400;
}
.banner-left>p span:last-child {
    padding-left: 0.75rem;
    font-size: 26px;
    font-weight: 600;
    background: linear-gradient(90deg, #1249E0 0%, #2891FD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}
.banner-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
}
.banner-right-top {
    display: flex;
    column-gap: 0.75rem;
}
.banner-right-top>span p:first-child {
    font-size: 20px;
    font-weight: 400;
}
.banner-right-top>span p:last-child {
    font-size: 26px;
    font-weight: 600;
}
.banner-button {
    display: flex;
    background: linear-gradient(90deg, #134FF3 0%, #2891FD 100%);
    border-radius: 15px;
    justify-content: center;
    column-gap: 1rem;
    align-items: center;
    font-size: 20px;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
}
/* Текст после баннера */
.text-after__box {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 1rem;
}
.text-after__box>h1 {
    font-size: 24px;
    font-weight: 500;
}
.text-after__box>h1 p:last-child span {
    color: var(--blue);
}
.text-after__box>span {
    font-size: 16px;
    background-color: rgba(0,0,0,0.2);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
}
/* Форма покупки */
.form__box {
    margin-bottom: 2rem;
}
.form__box form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: #081633;
    padding: 1.5rem 4rem 2.5rem 4rem;
    border-radius: 1rem;
    row-gap: 1rem;
    position: relative;
    overflow: hidden;
}
.form__box form h2 {
    font-weight: 500;
    z-index: 2;
}
.form-substract-top-left {
    position: absolute;
    width: 270px;
    height: 230px;
    background: #1C1F63;
    filter: blur(49.1px);
    top: 0;
    left: 0;

}
.form-substract-top-right{
    position: absolute;
    width: 270px;
    height: 230px;
    background: #1C1F63;
    filter: blur(49.1px);
    top: 0;
    right: 0;
}
.form-substract-bottom-left {
    position: absolute;
    width: 270px;
    height: 230px;
    background: #1C1F63;
    filter: blur(49.1px);
    bottom: 0;
    left: 0;
}
.form-substract-bottom-right {
    position: absolute;
    width: 270px;
    height: 230px;
    background: #1C1F63;
    filter: blur(49.1px);
    bottom: 0;
    right: 0;
}
/* === ДОБАВЛЕНО === */
.input-with-icon {
    position: relative;
    width: 100%;
    margin-bottom: 0;
    z-index: 2;
}
.input-with-icon svg { 
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2;
}
.input-with-icon input { 
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(36, 133, 251, 0.5);
    border-radius: 15px;
    padding: 1rem 3.3rem 1rem 4rem; /* увеличил правый padding для status-svg */
    color: white;
    font-size: 1rem;
    font-family: "Onest";
    outline: none;
    box-sizing: border-box;
    z-index: 2;
    font-weight: 500;
    transition: all .3 ease;
}
.input-with-icon input:focus { 
    border-color: var(--blue);
    z-index: 2
}
.input-with-icon input::placeholder {
    color: white;
    opacity: 1;
    font-weight: 500;
}
#username-status-svg {
    position: absolute;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    z-index: 3;
    pointer-events: none;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#user-info {
    width: 100%;
    display: none; /* СКРЫТ по умолчанию, не занимает место! */
    margin: 0;
    padding: 0;
    z-index: 2;
}

.user-info-block {
    background: rgba(36, 131, 251, 0.15);
    border: 2px solid #2483FB;
    border-radius: 15px;
    color: #2483FB;
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 500;
    box-shadow: 0 2px 16px 0 rgba(36, 131, 251, 0.10);
    width: 100%;             /* точно так же, как input */
    box-sizing: border-box;  /* это важно! */
    display: flex;
    column-gap: 1rem;
    align-items: center;
}
.user-info-block img {
    width: 45px;
    border-radius: 50rem;
}
.user-info-block p {
    font-size: 16px;
}
/* === КОНЕЦ ДОБАВЛЕНИЙ === */
.form__box>form>input::placeholder {
    color: white;
}
.form-pack-text {
    background: rgba(36, 131, 251, 0.35);
    border: 2px solid #2483FB;
    border-radius: 15px;
    color: #2483FB;
    padding: 1rem;
    width: 100%;
    text-align: center;
    font-weight: 500;
    z-index: 2;

}
.pack-list {
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}
.pack-list li {
    background: rgba(0,0,0,0.3);
    border: 2px solid rgba(36, 133, 251, 0.5);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.5rem;
    padding: 0.5rem;
    font-size: 18px;
    cursor: pointer;
    transition: .3s all ease;
}
.pack-list li:hover {
    background: rgba(255,255,255,0.01)
}
.form-buy-btn {
    position: relative;
    background: linear-gradient(360deg, #134FF3 0%, #268AFC 100%);
    border: 2px solid #2483FB;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    column-gap: 0.5rem;
    padding: 0.75rem;
    font-size: 20px;
    font-weight: 500;
    z-index: 2;
    overflow: hidden; 
    cursor: pointer;
    box-shadow: 0 0 35px rgba(36, 131, 251, 0.35);
    animation: btnblink 0.8s ease infinite alternate;
    user-select: none;
}
@keyframes btnblink {
	from {
		box-shadow: 0 0 15px rgba(36, 131, 251, 0.35);
	}
	to {
		box-shadow: 0 0 35px rgba(36, 131, 251, 0.35);
	}
}
.form-buy-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 15px;
    background: linear-gradient(180deg, #134FF3 0%, #268AFC 100%);
    opacity: 0;
    transition: opacity .3s ease-in;
    z-index: 0;
}

.form-buy-btn:hover::before {
    opacity: 1;
}

.form-buy-btn > * {
    position: relative;
    z-index: 1; 
}
.form-total {
    padding: 1rem 0;
    display: flex;
    width: 100%;
    justify-content: flex-end;
    align-items: center;
    column-gap: 1rem;
    font-weight: 500;
    z-index: 2;
}
.form-total>span:first-child {
    font-size: 20px;
}
.form-total>span:last-child {
    font-size: 26px;
    color: var(--blue);
}
/* */
.wrapper__container>h3 p:first-child {
    font-size: 20px;
}
.wrapper__container>h3 p:last-child {
    font-size: 26px;
    font-weight: 600;
}

/* Текст после формы в рамке */
.main-page-text {
    margin-top: 1rem;
    background: #112F65;
    border: 2px solid #2992FE;
    border-radius: 15px;
    padding: 1rem;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
}
/* FAQ */

.faq {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    column-gap: 1.5rem;
}
.faq li {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    align-items: center;
    background-color: #081633;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    width: calc(100%/3);
    position: relative;
    overflow: hidden;
}
.faq-substract {
    position: absolute;
    width: 220px;
    height: 170px;
    background: #1C1F63;
    filter: blur(49.1px);
    transform: matrix(-1, 0, 0, 1, 0, 0);
}
.faq-li-title {
    font-size: 18px;
    font-weight: 500;
    z-index: 2;
}
.faq-li-desc {
    color: var(--blue);
    font-size: 16px;
    z-index: 2;
    text-align: center;
}
.faq svg {
    z-index: 2;
}

/* Футер */
.footer {
    background: #112F65;
}
.footer-first-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-contacts {
    display: flex;
    gap: 1.2rem;
}
.footer-contacts li {
    background: rgba(0,0,0,0.3); /* Тёмно-синий круглый фон */
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.footer-second-row {
    margin-top: 2.5rem;
}

.footer-menu {
    display: flex;
    justify-content: flex-start;
    gap: 3rem; /* расстояние между колонками, подбери под свой макет */
    font-size: 16px;
}

.footer-menu ul {
    display: flex;
    flex-direction: column;
    gap: 0.7rem; /* расстояние между пунктами */
    padding: 0;
    margin: 0;
    list-style: none;
    min-width: 210px; /* ширина колонки, подбери под свой макет */
}

.footer-menu li {
    color: #fff;
    font-size: 1.1rem;
    opacity: 0.93;
    cursor: pointer;
    transition: color 0.2s;
}

.footer-menu li:hover {
    color: #278CF6;
    text-decoration: underline;
}
.footer-bottom {
    background: #0A1C3C;
    border-bottom: 2px solid #278CF6;
}
.footer-bottom__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.7rem 1rem 0.4rem 1rem;
}
.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.footer-bottom-copyright {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}
.footer-bottom-support {
    font-size: 0.95rem;
    color: #b2c4dc;
}

.footer-bottom-payments img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}
.footer-bottom-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
    color: #b2c4dc;
    font-size: 0.97rem;
    line-height: 1.3;
}
.footer-bottom-right p {
    text-align: right;
}
.footer-bottom img {
    width: 220px;
}
.mobile-menu {
    position: fixed;
    width: 100%;
    z-index: 10;
    bottom: 0;
    background: white;
    color: black;
    padding: 1rem 0.5rem;
    filter: drop-shadow(0px 0px 25px rgba(39, 140, 246, 0.4));
    display: none;
    font-size: 14px;
}
.mobile-menu ul {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    text-align: center;
    align-items: center;
    column-gap: 2rem;
}
.mobile-menu ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 0.25rem;
}
@media (max-width:768px) {
	.success-container {
		padding: 25px 20px
	}
	.order-header h1 {
		font-size: 1.5rem
	}
	.detail-row {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
		text-align: left
	}
	.recipient-info {
		margin-top: 5px
	}
	.actions {
		flex-direction: column
	}
	.back-button, .refresh-button {
		width: 100%
	}
}
@media (max-width:768px) {
	.header-menu {
		display: none
	}
	.mobile-menu-btn {
		display: flex
	}
	.header-logo-text {
	    font-size: 26px;
	}
	/* баннер */
	.banner__container {
		flex-direction: column;
		gap: 1rem;
		text-align: center
	}
	.banner-left, .banner-right {
		align-items: center
	}
	.banner-left>p {
	    display: none;
	}
	.banner-left span:first-child p:first-child {
    	font-size: 16px;
    	font-weight: 400
    }
    .banner-left span:first-child p:last-child {
    	font-size: 20px;
    	font-weight: 600
    }
    .banner-right-top>span p:first-child {
    	font-size: 16px;
    	font-weight: 400
    }
    .banner-right-top>span p:last-child {
    	font-size: 20px;
    	font-weight: 600
    }
    .banner-button {
        margin-top: 0.5rem;
    }
    /* текст под баннером */
    .text-after__box h1 {
        font-size: 20px;
    }
    /* Текст после формы */
    .wrapper__container h3 p:first-child {
        font-size: 16px;
    }
    .wrapper__container h3 p:last-child {
        font-size: 24px;
    }
    .main-page-text {
        font-size: 16px;
    }
    /* форма */
	.form__box form {
		padding: 1.5rem 1rem 2.5rem
	}
	.pack-list {
		gap: .5rem;
		grid-template-columns: 1fr 1fr
	}
	.form-total {
	    justify-content: center;
	    padding: 0.5rem 0;
	}
	.faq {
		flex-direction: column;
		gap: 1rem
	}
	.faq li {
		width: 100%
	}
	.footer-second-row {
	    margin-top: 1rem;
	    
	}
	.footer-menu {
		flex-direction: column;
		gap: 1.5rem
	}
	.footer-bottom-row {
		flex-direction: column;
		gap: 1rem;
		text-align: center
	}
	.footer-bottom-right {
	    align-items: center;
	}
}
@media (max-width:468px) {
    .footer-first-row {
        flex-direction: column;
    }
    .footer-menu li {
        font-size: 14px;
    }
}