@font-face {
	font-family: 'Onest'; 
	font-display: swap;
	src: url(/assets/fonts/Onest-VariableFont_wght.ttf); 
}
* { padding: 0px; margin: 0px; border: 0px; box-sizing: border-box;}
:root {
	--bg-dark: #03010e;
	--bg-light: #060318;
	--pink: #ffbade;
	--blue: #a9e6fe;
	--purple: #acb6f7;
}
*, *:before, *:after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-thumb { 
    background-color:  var(--blue);
}
html, body {
	position: relative;
	height: 100%;
	min-width: 320px;
	scroll-behavior: smooth;
}
html {
	background-color: var(--bg-dark);
	background-repeat: repeat;
	background-position: center;
	background-size: cover;
	background-attachment: fixed;
}
body {
	line-height: 1.3;
	color: white;
	 font-family: "Onest", sans-serif;
  font-weight: 400;
  font-style: normal;
	font-size: 1rem;
	-ms-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	
}
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;
}
a {
	color: inherit;
}
a:link, a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
ul li {
	list-style: none;
}
img {
	vertical-align: top;
}
h1, h2, h3, h4, h5, h6 {
    color: white;
	font-weight: inherit;
	font-size: inherit;
}
h1, h2 {
    font-size: 1.3rem;
}
.wrapper {
    padding: 1rem 0 1rem 0;
}
[class*=__container], .container {
	width: 100%;
	max-width: 1100px;
	padding: 0 0.9375rem;
	margin: 0 auto;
}
.header {
    padding-top: 30px;
    padding-bottom: 30px;
}	
.header__container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.header-logo {
    display: flex;
    align-items: center;
    column-gap: 1rem;
    font-size: 43px;
    font-weight: 800;
}
.header-logo p span {
    color: var(--pink);
}
.header-logo img {
    width: 100px;
    height: 100px;
    filter: drop-shadow(0px 0px 15px var(--pink));
    animation: blinking 0.8s ease infinite alternate;
}
@keyframes blinking {
	from {
		filter: drop-shadow(0px 0px 10px var(--pink));
	}
	to {
		filter: drop-shadow(0px 0px 15px var(--pink));
	}
}
.header-menu {
    font-size: 16px;
}
.header-menu ul {
    display: flex;
    column-gap: 0.25rem;
}
.header-menu li {
    padding: 0.5rem;
}
.header-menu a {
    border-radius: 0.5rem;
    transition: all .5s ease;
}
.header-menu a:hover {
    text-shadow: 0px 0px 15px white;
}
.header-menu .active {
    background-color: var(--pink);
    color: var(--bg-dark);
}
.navigator {
   /* background: url(../../assets/img/bg-head.jpg);*/
   background-color: var(--bg-light);
    height: 485px;
    padding-top: 45px;
    padding-bottom: 45px;
}
.navigator-pr {
    background-color: var(--bg-light);
    padding-top: 45px;
    padding-bottom: 45px;
}
.navigator-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    user-select: none;
}
.navigator-text p:nth-child(1) {
    text-decoration: underline dotted;
}
.navigator-text p:nth-child(2) {
    font-size: 36px;
    font-weight: 600;
}
.navigator-text p:nth-child(3) {
    color: var(--pink);
    padding-top: 1rem;
    position: relative;
}
.cl {
    position: absolute;
    top: 60px;
    left: -160px;
}
.cr {
    position: absolute;
    top: 60px;
    right: -160px;
}
.navigator__container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.navigator-pr__container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    row-gap: 1rem;
}
/* Навигатор страницы премиума */
.navigator-pr__container p:nth-child(2) {
    font-size: 36px;
    font-weight: 600;
}
.navigator-pr__container p:nth-child(3) {
    color: var(--pink);
}
.navigator-pr__container img {
    width: 225px;
}
.navigator-pr__container a {
    background-color: var(--blue);
    color: var(--bg-dark);
    padding: 0.5rem 2rem;
    border-radius: 0.5rem;
}
/* */
.navigator-menu {
    display: flex;
    column-gap: 1.5rem;
    justify-content: center;
}
.navigator-menu a {
    padding: 0.5rem 2rem;
    border-radius: 0.5rem;
    color: var(--bg-dark);
    transition: all .3s ease;
}
.navigator-menu a:first-child {
    background-color: var(--pink);
}
.navigator-menu a:first-child:hover {
   box-shadow: 0 0 15px var(--pink); 
}
.navigator-menu a:nth-child(2) {
    background-color: var(--blue);
}
.navigator-menu a:nth-child(2):hover {
    box-shadow: 0 0 15px var(--blue);
}
.navigator-menu a:last-child {
    background-color: var(--purple);
}
.navigator-menu a:last-child:hover {
    box-shadow: 0 0 15px var(--purple);
}
.hiw {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    display: flex;
    column-gap: 4rem;
    align-items: center;
}
.hiw h2 {
    font-size: 30px;
    font-weight: 600;
}
.hiw p {
    font-size: 24px;
}
.hiw img {
    width: 345px;
    border-radius: 1rem;
}
.hiw-text {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    row-gap: 1.5rem;
}
/* Статистика */
.aboutus {
    background-color: var(--bg-light);
}
.aboutus__container {
    padding-top: 2rem;
    padding-bottom: 3rem;
}
.aboutus-header {
    display: flex;
    align-items: center;
    column-gap: 30px;
    padding-bottom: 1.5rem;
}
.aboutus-header span p:first-child {
    font-size: 18px;
}
.aboutus-header span p:last-child {
    font-size: 30px;
    font-weight: 500;
}
.aboutus-header span {
    width: 100%;
    /*border-bottom: 1px solid white;*/
}
.statistic {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: space-between;
    row-gap: 2rem;
}
.statistic-group {
    display: flex;
    flex-direction: column;
}
.statistic-group p:first-child {
    font-size: 30px;
}
.statistic-group p:last-child {
    font-size: 20px;
    color: var(--pink);
    text-decoration: underline 2px solid rgba(255,255,255,0.08);
    text-underline-offset: 10px;
}
/* Блок с Премиум - Главная */
.premium__container {
    padding-top: 3rem;
    padding-bottom: 3rem;
    display: grid;
    justify-content: space-between;
    align-items: center;
    grid-template-columns: 1fr 1fr;
}
.premium-benefits span {
    background-color: var(--bg-light);
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    display: inline-block;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}
.premium-benefits .p {
    color: var(--pink);
    text-shadow: 2px 2px 20px var(--pink);
}
.premium-benefits .pur {
    color: var(--purple);
    text-shadow: 2px 2px 20px var(--purple);
}
.premium-benefits .b {
    color: var(--blue);
    text-shadow: 2px 2px 20px var(--blue);
}
.premium-about {
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
    padding-left: 3rem;
    align-items: flex-start;
}
.premium-about p:first-child {
    font-size: 30px;
    font-weight: 600;
}
.premium-about p:last-of-type {
    font-size: 18px;
}
.premium-about a {
    background-color: var(--pink);
    color: var(--bg-dark);
    display: flex;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
    transition: all .3s ease;
}
.premium-about a img {
    width: 24px;
}
.premium-about a:hover {
    background-color: white;
    color: var(--bg-dark);
    transform: translate(5%,0%);
}
#premium-packages {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    row-gap: 0.5rem;
}
/* other */
 /* CSS тут */
    .stars {
    padding-top: 2rem;
    padding-bottom: 2rem;
    background-color: var(--bg-light);
}
.stars-title {
    font-size: 24px;
    text-align: center;
    padding: 1rem;
    text-decoration: 2px dashed underline;
}
.form-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 8px;
}
.input-group {
  margin-bottom: 15px;
  position: relative;
}
.input-img {
    position: absolute;
    left: 0.75rem;
    top: 1rem;
    height: 24px;
}
label {
  display: block;
  margin-bottom: 6px;
  font-weight: normal;
}
#telegram, #email, #stars-count {
    padding-left: 3rem;
}
input[type="text"], input[type="number"], input[type="password"] {
  width: 100%;
  padding: 1rem;
  color: white;
  border-radius: 0.5rem;
  background-color: var(--bg-dark);
  box-shadow: 0 0 30px rgba(255,95,198,0.1); 
  transition: all .3s ease;
}
input[type="text"]:focus, input[type="number"]:focus {
    box-shadow: 0 0 30px rgba(255,95,198,0.3); 
}
input[type="text"]::placeholder, input[type="number"]::placeholder {
    color: white;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="radio"] {
  accent-color: var(--pink);
  width: 20px;
  height: 20px;
}
/* Стиль для пакетов */
#packages-list {
    padding-top: 0.5rem;
    display: flex;
    flex-direction: column;
    row-gap: 0.5rem;
}
.package-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  background-color: var(--bg-dark);
  box-shadow: 0 0 30px rgba(255,95,198,0.1); 
  cursor: pointer;
  transition: border 0.3s, background-color 0.3s;
}
.package-option.selected {
  border: 1px solid var(--pink);
}
.list-left {
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
}
.list-left img {
    padding-left: 0.5rem;
    height: 24px;
}
.list-price {
    color: var(--pink);
    font-weight: 600;
}
#show-more {
  margin-top: 10px;
  background: none;
  border: none;
  color: #007bff;
  cursor: pointer;
  padding: 0;
  font-size: 14px;
}
#hidden-packages {
  margin-top: 10px;
}
#hidden-packages .package-option:not(:first-child) {
    margin-top: 0.5rem;
}
/* класс для скрытия элементов */
.hidden {
  display: none;
}
button {
  width: 100%;
  padding: 12px;
  background-color: #007bff;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
button:disabled {
  background-color: #999;
}
/* Для выделенного блока */
.package-option.selected {
  border: 2px solid var(--pink);
}
/* Дополнительные стили для блока информации о пользователе */
#user-info {
  background-color: var(--bg-dark);
  border: 1px solid rgba(255,95,198,0.1); 
  margin-top: 10px;
  border-radius: 0.5rem;
  margin-bottom: 10px;
}
#user-info div {
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
  padding: 10px;
}
#user-info div img {
    border-radius: 50rem;
    height: 45px;
    width: 45px;
}
    
/* Футер */
.footer {
    margin-top: 2rem;
    
}
.footer__container {
    padding-top: 2rem;
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
}
.footer__first-r {
    display: flex;
    justify-content: space-between;
    aling-items: center;
}
.footer-icons {
    display: flex;
    column-gap: 1rem;
}
.footer-icons a {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 20rem;
    display: flex;
    height: auto;
}
.footer-icons img {
    height: 45px;
}
.footer-nav {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
}
.footer__second-r {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    display: grid;
    grid-template-columns: 25% 25% 25% 25%
}
.footer__second-r a {
    transition: all .3s ease;
}
.footer__second-r a:hover {
    color: var(--pink);
    text-shadow: 2px 2px 10px var(--pink);
}
.footer__nav-first-c, .footer__nav-second-c, .footer__nav-third-c {
    display: flex;
    flex-direction: column;
    row-gap: 0.5rem;
}
.footer-bottom {
    background-color: rgba(0,0,0,0.5);
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.footer-bottom__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom__container span:last-child {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}
/* */
/* Страница премиума*/
.premium-wrap__container {
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}
.premium-wrap__container p:nth-child(1) {
    font-size: 30px;
}
.premium-wrap__container p:nth-child(2) {
    font-size: 24px;
    color: var(--pink);
}
.premium-wrap__container ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 1rem;
}
.premium-wrap__container ul>li {
    background-color: var(--bg-light);
    padding: 0.5rem 2rem;
    border-radius: 0.5rem;
}
.premium-wrap__container ul .p {
    color: var(--pink);
    text-shadow: 2px 2px 20px var(--pink);
}
.premium-wrap__container ul .pur {
    color: var(--purple);
    text-shadow: 2px 2px 20px var(--purple);
}
.premium-wrap__container ul .b {
    color: var(--blue);
    text-shadow: 2px 2px 20px var(--blue);
}
/* */
#mmenu {
    font-size: 70px;
    font-weight: 800;
    cursor: pointer;
    display: none;
    color: rgba(255,255,255,1);
}
#telegram-loader {
  display: none;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pink);
  font-size: 22px;
  cursor: pointer;
  z-index: 2;
  user-select: none;
}
.input-group {
  position: relative;
}
#telegram-loader {
    display:none; 
    position:absolute; 
    right:15px; 
    top:50%; 
    transform:translateY(-50%); 
    color:#ffbade; 
    font-size:22px; 
    cursor:pointer;
}
#telegram-loader img {
    width: 30px;
}
/* ===================== */
/* Кнопка "Оплатить" со спиннером */
/* ===================== */
#pay-button {
  position: relative;
  min-width: 230px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s;
}

.pay-btn-text {
  display: inline-block;
  vertical-align: middle;
  font-weight: 600;
  letter-spacing: 0.02em;
}
pay-btn-text img {
    padding-left: 1rem;
}
.pay-btn-spinner {
  display: none;
  vertical-align: middle;
  margin-left: 10px;
}

#pay-button.loading .pay-btn-text {
  display: none;
}
#pay-button.loading .pay-btn-spinner {
  display: inline-block;
}

.spinner {
  animation: rotate 1s linear infinite;
  width: 22px;
  height: 22px;
  vertical-align: middle;
}
.spinner .path {
  stroke: var(--blue);
  stroke-linecap: round;
  animation: dash 1.2s ease-in-out infinite;
}

@keyframes rotate {
  100% { transform: rotate(360deg);}
}
@keyframes dash {
  0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0;}
  50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35;}
  100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124;}
}
/* Личный кабинет (временно) */
.lk-form {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    max-width: 700px;
    align-items: center;
    margin: 0 auto;
}
.lk {
    background-color: var(--bg-light);
    padding-top: 1rem;
    padding-bottom: 5.5rem;
}
/* */

@media (max-width: 1040px) {
    .header-menu {
        display: none;
    }
    #mmenu {
        display: flex;
    }
    .hiw img {
    width: 245px;
    }
    .statistic {
        grid-template-columns: 1fr 1fr;
        
    }
}
@media (max-width: 890px) {
    .premium__container {
        grid-template-columns: 1fr;
        row-gap: 3rem;
    }
    .premium-about {
        order: 0;
    }
    .premium-benefits {
        order: 1;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}
@media (max-width: 785px) {
    .hiw {
        flex-direction: column;
        row-gap: 1rem;
    }
    .hiw p {
        font-size: 20px;
    }
    .footer-nav {
        display: grid;
        grid-template-rows: 1fr;
    }
}
@media (max-width: 675px) {
    .cl, .cr {
        display: none;
    }
    .navigator-menu {
        padding-top: 1rem;
        display: grid;
        grid-template-rows: 1fr 1fr 1fr;
        row-gap: 0.5rem;
        flex-direction: column;
    }
    .footer__second-r {
        grid-template-columns: 1fr;
        row-gap: 0.5rem;
    }
    .header-logo img {
        width: 70px;
        height: 70px;
    }
    .header-logo {
        font-size: 30px;
    }
    .footer-bottom__container {
        flex-direction: column;
        align-items: flex-start;
        
    }
    .footer-icons img {
        width: 35px;
        
    }
    .footer-icons a {
        padding: 0.5rem 1rem;
        
    }
}
@media (max-width: 490px) {
    .statistic {
        grid-template-columns: 1fr;
        
    }
}