@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,200;0,400;0,500;0,600;0,700;0,800;1,400;1,500&display=swap');
* { padding: 0px; margin: 0px; border: 0px; box-sizing: border-box;}
:root {
	--first-color: #272630;
	--dark-first-color: #09080d;
	--second-color: #e65634;
	--third-color: #e65634;
	--opacity-color: rgba(255,255,255,0.1);
}
*, *: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 {
	position: relative;
	height: 100%;
	min-width: 320px;
}

html {
	/*background: url('../../assets/img/bg.webp');*/
	background: #3a414e;
	background-repeat: repeat;
	background-position: center;
	background-size: cover;
	background-attachment: fixed;
}
body {
	line-height: 1;
	color: white;
	font-family: "Montserrat";
	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: "Montserrat";
	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 {
	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: 1200px;
	padding: 0 0.9375rem;
	margin: 0 auto;
}
.header {
	width: 100%;
	padding: 30px 0px 30px 0px;
	position: relative;
/*	background-image: linear-gradient(var(--dark-first-color), var(--first-color));*/
	background: #272630;
}	
.header__container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.header__logo {
	display: flex;
	align-items: center;
}
.header__logo img {
     filter: drop-shadow(5px 5px 15px var(--third-color));
     border-radius: 1rem;
}
.header__logo span {
	font-size: 1.5rem;
	padding-left: 2rem;
	font-weight: 600;
}
.header__nav {
	display: flex;
	align-items: center;
	column-gap: 3rem;
}
.header__nav a {
	border-radius: 15px;
	background-color: var(--opacity-color);
	padding: 1rem 2rem 1rem 2rem;
}
.header__nav-online i, .header__nav-online span {
	color: var(--second-color);
	animation: online 0.8s ease infinite alternate;
}
.header__nav-online span { 
	font-size: 1.3rem; 
	font-weight: 600;
}
.header__nav-online p { 
	text-transform: uppercase; 
	color: rgba(255,255,255,0.8); 
	font-size: 0.8rem;
}
@keyframes online {
	from {
		text-shadow: 0px 0px 10px var(--second-color);
		opacity: 0.5;
	}
	to {
		text-shadow: 2px 2px 20px var(--second-color);
		opacity: 1;
	}
}
/* Как купить попап */
.button__htb {
    cursor: pointer;
}
.htb__popup {
    z-index: 10000;
    top: 20%;
    left: 50%;
    transform: translate(-50%,0%);
    position: fixed;
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
    background-color: var(--first-color);
    box-shadow: 0 0 35px var(--third-color);
    padding: 2rem 3rem;
    border-radius: 1rem;
    display: none;
    max-width: 500px;
}
.htb__popup img {
    max-width: 300px;
    margin: 0.5rem auto;
}
/* Конец как купить попапа */
.livebuy {
	background-color: rgba(255,255,255,0.03);
	margin-bottom: 2rem;
}
.livebuy__container {
	padding: 30px 0.9375rem 20px 0.9375rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.livebuy__title {
	text-align: center;
}
.livebuy__title p:first-child {
	font-weight: 600;
	font-size: 1.2rem;
}
.livebuy__title p:first-child span {
	padding-right: 0.3rem;
	color: var(--second-color);
	animation: online 0.8s ease infinite alternate;
}
.livebuy__items {
	display: flex;
	column-gap: 2rem;
}
.livebuy__item {
    width: 65px;
    height: 65px;
	display: flex;
	align-items: center;
	flex-direction: column;
	border-radius: 0.5rem;
	cursor: pointer;
	row-gap: 10px;
	filter: brightness(0.95);
	-webkit-user-select: none;
	user-select: none;
	position: relative;
	text-align:center;
	background: rgba(255,255,255,0.1);
}
.livebuy__item img {
    margin-top: 10px;
    width: 45px;
    height: 45px;
}
.livebuy__item:hover {
	filter: brightness(1.15);
}
.livebuy__item-img {
	width: 60px;
	height: 60px;
	border-radius: 0.5rem;
	background: url('../../assets/img/400.webp');
    background-position: center;
	background-size: cover;
}

/*.livebuy__items .livebuy__item:first-of-type .livebuy__item-img {
    background: url('../../assets/img/400.webp');
    background-position: center;
	background-size: cover;
}

.livebuy__items .livebuy__item:nth-child(2) .livebuy__item-img {
    background: url('../../assets/img/pp.webp');
    background-position: center;
	background-size: cover;
}

.livebuy__items .livebuy__item:nth-child(3) .livebuy__item-img {
    background: url('../../assets/img/platina1000+100.webp');
    background-position: center;
	background-size: cover;
}*/


.livebuy__item-time {
    top: -15px;
	font-size: 0.7rem;
	position: absolute;
}
.item_first { box-shadow: 0 0 15px #f0edf4; transition: .3s box-shadow; }
.item_second { box-shadow: 0 0 15px var(--third-color); transition: .3s box-shadow; }
.item_third { box-shadow: 0 0 15px var(--second-color); transition: .3s box-shadow; }
.item_first:hover { box-shadow: 0 0 25px #f14b7d;}
.item_second:hover { box-shadow: 0 0 25px var(--first-color);}
.item_third:hover { box-shadow: 0 0 25px var(--second-color); }

/* Раздел магазина */
.tovars {
    margin-top: 1rem;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1rem;
}
.tovar {
    padding: 1rem 1.25rem;
    text-align: center;
    row-gap: 1rem;
    white-space: wrap;
	background-image: linear-gradient(var(--dark-first-color), var(--first-color));
	border-radius: 1rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: calc(100% / 5 - 1rem);
	transition: filter .3s;
	position: relative;
}
.tovar__desc {
    color: var(--second-color);
}
.tovar:hover {
    filter: brightness(1.15);
}
.tovar__desc {
    background-color: rgba(0,0,0,0.1);
    padding: 0.5rem;
    font-size: 0.75rem;
}
.tovar__title {
    font-weight: 600;
}
.tovar__img {
    filter: drop-shadow(5px 5px 15px var(--third-color));
}
.ns {
    max-width: 120%;
}
.ns2 {
    max-width: 80%;
}
.tovar__discount {
    background-color: rgba(0,0,0,0.2);
    text-align: center;
    padding: 0.2rem 1rem;
    position: absolute;
    top: 4rem;
    right: 0;
}
.tovar__button-buy {
    margin-top: 1rem;
    font-size: 0.9rem;
    background-color: var(--third-color);
    padding: 0.2rem 1rem;
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
    transition: transform .3s;
    -webkit-user-select: none;
	user-select: none;
}
.tovar__button-buy:hover {
    transform: scale(1.05);
}
.tovar__button-buy::after {
    top: -0.7rem;
    position: absolute;
    content: '';
    background-color: rgba(255,255,255,0.2);
    height: 200%;
    padding: 0.2rem 1rem;
    transform: translateX(-150px) rotate(-25deg);
    animation: button 4s ease infinite forwards;
}

@keyframes button {
    from {
        transform: translateX(-200px) rotate(-25deg);
    }
    to {
        transform: translateX(150px) rotate(-25deg);
    }
}
/* Кнопка попапа */
.button__confirm {
    margin-top: 1rem;
    font-size: 0.9rem;
    background-color: var(--third-color);
    padding: 0.2rem 1rem;
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
    transition: transform .3s;
    -webkit-user-select: none;
	user-select: none;
}
.button__confirm:hover {
    transform: scale(1.05);
}
.button__confirm::after {
    top: -0.7rem;
    position: absolute;
    content: '';
    background-color: rgba(255,255,255,0.2);
    height: 200%;
    padding: 0.2rem 1rem;
    transform: translateX(-150px) rotate(-25deg);
    animation: button 4s ease infinite forwards;
}
/* Конец кнопки*/
/* Конец раздела магазина */
.footer {
    margin-top: 3rem;
    background-color: rgba(255,255,255,0.03);
}
.footer__container {
    padding: 2rem 0.9375rem;
    display: flex;
    justify-content: space-between;
    column-gap: 2rem;
}
.footer__container img{
    filter: drop-shadow(5px 5px 15px var(--third-color));
    border-radius: 1rem;
}
/* Попап */
@keyframes popup {
    from {
        transform: translate(-50%,-150%);
    }
    to {
        transform: translate(-50%,30%);
    }
}
@keyframes popupclose {
    from {
        transform: translate(1500%,0%);
    }
    to {
        transform: translate(0%,0%);
    }
}
.text {
    line-height: 1.4rem;
    color: rgba(255,255,255,0.8);
}
.text h1, .text h2, .text h3, .text h4, .text h5, .text h6 {
    color: var(--second-color);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.text ul {
    margin-top: 1rem;
    margin-bottom: 1rem;
    list-style-type: circle!important;
}
.text li::before {
    content: '▪ ';
    color: var(--second-color);
}
.text img {
    border-radius: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}
.news-menu {
    margin-top: 1rem;
    display: flex;
    column-gap: 1rem;
}
.news-menu li {
    background-color: rgba(255,255,255,0.05);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    color: var(--second-color);
}
.popup__background {
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    display: none;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
[class*=__popupbox] {
    z-index: 10000;
    top: 30%;
    left: 50%;
    transform: translate(-50%,30%);
    position: fixed;
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
    background-color: var(--first-color);
    box-shadow: 0 0 35px var(--third-color);
    padding: 2rem 3rem;
    border-radius: 1rem;
    display: none;
    -webkit-animation: popup 0.1s ease-in;
    animation: popup 0.1s ease-in;
}
[class*=__popupbox] button {
    margin-top: -0.5rem;
}
.popup__rules {
    font-size: 0.85rem;
    display: flex;
    column-gap: 1rem;
}
.popup__close {
    cursor: pointer;
    position: absolute;
    top: -1rem;
    right: -1rem;
    padding: 0.5rem 0.65rem;
    border-radius: 1rem;
    background-color: var(--third-color);
    -webkit-animation: popupclose 1s ease-in;
    animation: popupclose 0.1s ease-in;

}
.popup__input {
    padding: 0.5rem 1rem;
    font-size: inherit;
    border-radius: 1rem;
}
.popup__input::placeholder {
    font-size: inherit;
    color: rgba(0,0,0,0.3);
}
.popup__wait {
    display: flex;
    flex-direction: column;
    align-self: center;
    text-align: center;
    justify-content: center;
    row-gap: 1rem;
}
.popup__wait .fa-spinner {
    font-size: 3rem;
    animation: wait 2s linear infinite;
    color: rgba(255,255,255,0.4);
}

@keyframes wait {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
/* Конец Попапа */

/* Оптимизация под мобильные устройства */
@media (max-width: 935px) {
	.livebuy__items div:last-child {
		display: none;
	} 
	.tovars {
	    justify-content: flex-start;
	}
	.tovar {
	    width: calc(100% / 3 - 1rem);
	}
}
@media (max-width: 835px) {
	.livebuy__items div:nth-child(7) {
		display: none;
	}
}
@media (max-width: 735px) {
    .tovars {
	    justify-content: space-between;
	}
	.header__container {
		flex-direction: column;
		row-gap: 1rem;
	}
	.header__logo {
		flex-direction: column;
		row-gap: 1rem;
	}
	.livebuy__items div:nth-child(6) {
		display: none;
	}
	.tovar {
	    width: calc(100% / 2 - 1rem);
	}
	.footer__container {
	    flex-direction: column;
	    row-gap: 2rem;
	    text-align: center;
	}
}
@media (max-width: 635px) {
	.livebuy__items div:nth-child(5) {
		display: none;
	}
}
@media (max-width: 535px) {
	.livebuy__items div:nth-child(4) {
		display: none;
	}
	.htb__popup {
	max-width: 85%;
	}
}