/* STYLES 0.1
Developer: t.me/moretheme
Developer site: https://lapse.site/
Screen resolution: 460, 860, 1440, 1920 */
.root {
    --bg: #fff;
    --bg2: #f2f2f2;
    --bg3: #424252;
    --bg4: #292929;
    --text: #000;
    --text1: #fff;
    --text2: #939393;
    --color1: #7770fe;
    --color2: #238cff;
    --color3: #7ab912;
    --light: rgb(255 255 255 / 10%);
    --light2: rgb(255 255 255 / 20%);
    --dark: rgb(0 0 0 / 15%);
    --radius: 12px;
}

:root {
    --bg: #1c1c24;
    --bg2: #262631;
    --bg3: #424252;
    --bg4: #131319;
    --text: #fff;
    --text1: #000;
    --text2: #acacac;
    --color1: #7770fe;
    --color2: #908bf5;
    --color3: #fe8170;
    --light: rgb(255 255 255 / 10%);
    --light2: rgb(255 255 255 / 20%);
    --dark: rgb(0 0 0 / 15%);
    --radius: 12px;
}

body {
    background: var(--bg);
    color: var(--text);
    line-height: normal;
    font-family: "Geologica", sans-serif;
    font-size: 14px;
    font-weight: 400;
}

/* HEADER */
header {
    position: relative;
    background: var(--bg);
    border-bottom: 1px solid var(--light);
    color: var(--text2);
    width: 100%;
    top: 0;
    padding: 10px 0;
    transition: 0.3s;
    z-index: 7;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-gap: 20px;
}

.header-logo, .header-logo img {
    position: relative;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
}

@media (max-width: 400px) {
    .header-logo {
        font-size: 23px;
    }
}

/* HEADER FAST */
.header-fast {
    display: flex;
    align-items: center;
    grid-gap: 40px;
    margin-right: 20px;
}

header + .header-fast {
    display: none;
}

@media (max-width: 860px) {
    header .header-fast {
        display: none;
    }

    header + .header-fast {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--bg2);
        color: var(--text2);
        padding: 10px 20px;
        border-top: 1px solid var(--light);
        margin-right: 0;
        z-index: 8;
    }
}

.header-fast > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-gap: 5px;
    font-size: 13px;
    font-weight: 200;
}

.header-fast > a:hover i {
    color: #fff;
    font-weight: bold;
}

.header-fast > a i {
    font-size: 20px;
}

/* CATALOG */
.catalog-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-gap: 10px;
    background: var(--bg2);
    width: 155px;
    line-height: 40px;
    height: 40px;
    border-radius: var(--radius);
    font-weight: bold;
    text-align: center;
    cursor: pointer;
}

@media (min-width: 912px) and (max-height: 1368px) {
    .catalog-btn i {
        display: none;
    }
}
@media (max-width: 912px) {
    .catalog-btn {
       padding: 10px;
    }
}

@media (min-width: 1024px) and (max-height: 600px) {
    .catalog-btn i {
        display: block;
    }
}

@media (min-width: 1024px) {
    .catalog-btn i {
        display: block;
    }
}

.catalog-btn:hover {
    background: var(--color1);
    color: #fff;
}

.catalog-btn.active i:before {
    content: "\f00d";
}

.catalog {
    position: absolute;
    background: var(--bg2);
    color: var(--text);
    padding: 20px;
    box-shadow: 0 6px 25px -1px rgb(0 0 0 / 30%);
    border-radius: var(--radius);
    max-width: 360px;
    top: 100%;
    left: 0;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
    z-index: 0;
}

.catalog:before {
    content: "";
    position: absolute;
    top: -5px;
    left: 53%;
    width: 10px;
    height: 10px;
    background: var(--bg2);
    transform: rotate(45deg);
}

@media (min-width: 860px) {
    .catalog {
    	max-width: 560px;
    }
    .catalog a {
    	width: 160px;
    }
    .catalog:before {
    	left: 33%;
    }
}

@media (max-width: 860px) {
    .catalog:before {
        left: 50%;
    }
}

.catalog.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(10px);
}

.catalog > a {
    display: inline-block;
    min-width: 165px;
    padding: 10px;
    margin-left: 3px;
    margin-bottom: 3px;
}

.catalog > a:hover {
    color: var(--color1);
    transform: scale(1.05);
    border-radius: var(--radius);
    background: #e6e6e60a;
}

.catalog > a > i {
	margin-right: 5px;
}

@media (max-width: 860px) {
    .catalog > a  {
       min-width: 125px;
    }
}

/* HEADER SEARCH */
.header-search {
    margin-right: auto;
}

@media (max-width: 1024px) {
    .header-search, .header-search_top {
        max-width: 320px;
    }
}
@media (max-width: 912px) {
    .header-search, .header-search_top {
        max-width: 260px;
    }
}

.header-search form {
    display: flex;
    align-items: center;
    background: var(--bg2);
    border-radius: var(--radius);
}

@media (max-width: 860px) {
    .header-search form {
        visibility: hidden;
        opacity: 0;
        position: fixed;
        width: 100%;
        top: -40px;
        left: 0;
        background: var(--bg2);
        border-radius: 0;
        padding: 10px;
        transition: 0.3s;
        z-index: 5;
    }
}

.header-search.active form {
    visibility: visible;
    opacity: 1;
    top: 0;
}

.header-search .fa-magnifying-glass, .header-search .fa-xmark {
    background: var(--light);
    border-radius: var(--radius);
    min-width: 40px;
    height: 40px;
    line-height: 40px;
    color: #adb7be;
    font-size: 14px;
    text-align: center;
}

.header-search form .fa-magnifying-glass {
    margin: 5px;
    min-width: 30px;
    height: 30px;
    line-height: 30px;
}

.header-search form input {
    background: none;
    padding: 0;
    box-shadow: none;
    border: none;
    width: 350px;
    height: inherit;
    border-radius: 0;
    margin-left: 15px;
}

.header-search form input::placeholder {
    color: #8b9297;
}

.header-search form .fa-microphone {
    display: inline-block;
    background: transparent;
    min-width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 18px;
    text-align: center;
}

.header-search .fa-xmark:not(.header-search.active .fa-xmark) {
    display: none;
}

.header-search_top {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    width: 445px;
    top: 110%;
    left: auto;
    background: var(--bg2);
    box-shadow: 0 10px 20px -2px rgb(0 0 0 / 40%);
    padding: 30px;
    border-radius: var(--radius);
    transition: 0.3s;
}

@media (max-width: 860px) {
    .header-search_top {
        width: 100%;
        left: 0;
    }
}

.header-search_top.active {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 860px) {
    .header-search_top.active {
        top: 55px;
        max-width: 700px;
    }
}

/* HEADER USER 2.0 */
.header-user > img {
    display: inline-block;
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
}

.header-user > a .fa-user {
    display: inline-block;
    background: var(--color1);
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: var(--radius);
    cursor: pointer;
}

.header-user > div {
    position: absolute;
    width: 220px;
    top: 100%;
    right: 0;
    background: var(--bg2);
    color: #fff;;
    padding: 15px;
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 10%);
    border-radius: var(--radius);
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
    z-index: 5;
}

.header-user > div:before {
    content: "";
    position: absolute;
    top: -5px;
    right: 15px;
    width: 10px;
    height: 10px;
    background: var(--bg2);
    transform: rotate(45deg);
}

.header-user.active > div {
    visibility: visible;
    opacity: 1;
    transform: translateY(10px);
}

.header-user_top {
    display: flex;
    align-items: center;
    grid-gap: 15px;
    padding: 10px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.header-user_top > img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.header-user_top > div span {
    display: block;
    color: #a5a5a5;
    font-size: 10px;
    margin-top: 2px;
}

.header-user_balance {
    font-size: 18px;
    font-weight: bold;
    border-top: 1px dotted var(--dark);
    border-bottom: 1px dotted var(--dark);
    padding: 10px;
    margin-bottom: 10px;
}

.header-user_balance > span:last-child {
    display: block;
    color: #454252;
    font-weight: 300;
    font-size: 10px;
    margin-top: 3px;
}

.header-user > div a:not(.header-user_top) {
    display: block;
    border-radius: var(--radius);
    padding: 10px;
    font-size: 14px;
}

.header-user > div a:hover {
    background: #e6e6e60a;
}

.header-user > div a i {
    margin-right: 8px;
}

.header-user > div a:last-child {
    color: #F44336;
    font-weight: 500;
}

/* MODAL LOGIN 0.2 */
a[href="#modal-login"] {
    display: inline-block;
    background: var(--color1);
    color: var(--text);
    padding: 12px 14px;
    height: 40px;
    border-radius: var(--radius);
    cursor: pointer;
}

a[href="#modal-login"]:hover {
    opacity: 0.8;
}

.modal {
    position: fixed;
}

.modal-login > a i {
    margin-right: 10px;
    margin-top: 1px;
    float: left;
}

.modal-login form {
    position: fixed;
    /*min-width: 600px;*/
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    display: grid;
    grid-auto-rows: max-content;
    /*grid-template-columns: 300px 450px;*/
    background: var(--bg);
    color: var(--text);
    border-radius: var(--radius);
    text-align: center;
    z-index: 9;
}

@media (max-width: 860px) {
    .modal-login form {
        grid-template-columns: 1fr;
        min-width: 99%;
        border-radius: var(--radius);
    }
}

.modal-login form > i {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg2);
    border-radius: var(--radius);
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    cursor: pointer;
}

.modal-login form > i:hover {
    background: var(--color1);
}

.modal-login_bg {
    background: linear-gradient(225deg, #e14c03, #190900);
    border-radius: var(--radius) 0 0 var(--radius);
    overflow: hidden;
}

.modal-login_content {
    padding: 35px 60px;
}

@media (max-width: 860px) {
    .modal-login_content {
        padding: 40px;
    }
}

.modal-login .e-float > a {
    position: absolute;
    top: 20px;
    right: 15px;
    /* border-bottom: 1px dotted #20a8d8; */
}

.modal-login_lost {
    display: flex;
    align-items: center;
    justify-content: right;
    font-size: 14px;
    margin-top: -10px;
    margin-bottom: 20px;
    text-align: right;
    text-decoration: underline dotted #20a8d8;
}

.modal-login_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-gap: 10px;
}

.modal-login_btn > a {
    background: var(--bg4);
}

.modal-login_btn > a:hover {
    opacity: 0.8;
}

.modal-login_soc span {
    display: block;
    color: #767389;
    margin: 20px 0;
}

.modal-login_soc > div {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-login_soc > div a {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 45px;
    overflow: hidden;
}

.modal-login_soc > div a iframe {
    position: absolute;
    top: 12px;
    left: 0;
    opacity: 0;
}

.modal-login_soc > div a + a {
    margin-left: 15px;
}

.modal-login_soc > div a img {
    border: 2px solid var(--bg2);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    line-height: 45px;
    padding: 8px;
}

/* TOOLTIP */
[data-tooltip] {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -220%;
    right: 0;
    opacity: 0;
    visibility: hidden;
    width: max-content;
    background: black;
    padding: 8px;
    border-radius: 4px;
    color: #fff;
    font-size: 10px;
    text-align: center;
    line-height: normal;
    transition: all 0.3s;
    z-index: 1;
}

[data-tooltip]:hover::before {
    content: " ";
    position: absolute;
    right: 6px;
    bottom: -6px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent black transparent;
}

[data-tooltip]:hover::after {
    visibility: visible;
    opacity: 1;
}

 /* xirecx FAST */
 .xirecx-items {
    background: #222229b8;
    padding: 30px 0;
}

.xirecx-items_slider {
    position: relative;
    overflow: hidden;
}

@media (max-width: 860px) {
    .xirecx-items_slider {
        overflow: visible;
    }
}

.xirecx-items_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.xirecx-items_head h2 {
    margin-bottom: 0;
}

.xirecx-items_nav > i {
    display: inline-block;
    background: #cccccc17;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

.xirecx-item {
    position: relative;
    width: 100%;
    padding-top: 15px;
    overflow: hidden;
}

.xirecx-item > img {
    position: absolute;
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 13;
    inset: 0px 0;
    z-index: -1;
    filter: blur(20px);
    opacity: 0.5;
    transform: scale(0.8);
    transform-origin: 50% 100%;
}

.xirecx-item_bg {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 9/13;
    border-radius: var(--radius);
    transition: 0.3s;
    margin-bottom: 15px;
    overflow: hidden;
}

.xirecx-item_bg:hover {
    transform: translateY(-10px);
}

.xirecx-item_title {
    display: block;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.xirecx-item_meta {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    background: rgb(0 0 0 / 50%);
    backdrop-filter: blur(50px);
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 5px 20px;
    color: #a4a4a4;
    font-size: 12px;
}

.xirecx-item_meta span + span {
    margin-left: 5px;
}

.xirecx-item_meta > span.rating-color {
    display: inline-block;
    background: var(--light);
    backdrop-filter: blur(10px);
    border: 1px solid var(--light);
    border-radius: 5px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: bold;
}

/* Цвет выделения */
::-moz-selection {
  background-color: #3399ff;
  color: #ffffff;
}

::selection {
  background-color: #333333b8;
  color: #ffffff;
}


/* xirecx BEST */
.xirecx-best {
    display: grid;
    grid-gap: 40px;
    grid-auto-rows: max-content;
    grid-template-columns: 1fr 350px;
}

@media (max-width: 860px) {
    .xirecx-best {
        grid-template-columns: 1fr;
    }
}

.xirecx-best_item {
    display: grid;
    grid-gap: 0;
    grid-auto-rows: max-content;
    grid-template-columns: 180px 1fr;
}

@media (max-width: 860px) {
    .xirecx-best_item {
        grid-template-columns: 140px 1fr;
    }
}

.xirecx-best_poster {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 13;
    border-radius: var(--radius);
    box-shadow: 4px -4px 20px 0 rgb(0 0 0 / 20%);
    transition: 0.3s;
    z-index: 2;
    overflow: hidden;
}

.xirecx-best_content {
    position: relative;
    color: #fff;
    border-radius: var(--radius);
    padding: 15px 15px 15px 40px;
    margin-top: 20px;
    margin-left: -10px;
    overflow: hidden;
    bottom: 10px;
    box-sizing: border-box;
    box-shadow: inset 0 9999px rgb(15 15 16 / 80%);
}

@media (max-width: 860px) {
    .xirecx-best_content {
        width: 100%;
        box-sizing: border-box;
        padding: 15px 15px 15px 30px;
    }
}

.xirecx-best_content .posterbg {
    position: absolute;
    filter: blur(50px);
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.xirecx-best_title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

@media (max-width: 860px) {
    .xirecx-best_title {
        font-size: 16px;
    }
}

.xirecx-best_meta {
    color: #a4a4a4;
    font-size: 11px;
    margin-bottom: 15px;
}

.xirecx-best_meta span + span {
    margin-left: 5px;
}

.xirecx-best_text, .xirecx-best_text * {
    color: #e4e4e4;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 300;
}

@media (max-width: 860px) {
    .xirecx-best_text, .xirecx-best_text * {
        font-size: 10px;
        -webkit-line-clamp: 4;
    }
}

.xirecx-best_content > a {
    display: inline-block;
    background: linear-gradient(135deg, #a9a5f6 30%, #00f3ff);
    padding: 8px 20px;
    border-radius: var(--radius);
    margin-top: 15px;
    font-size: 12px;
}

/* xirecx UPD */
.xirecx-upd_items {
    display: inline-block;
    height: max-content;
    background: var(--bg2);
    padding: 0 30px;
    border-radius: var(--radius);
    overflow: hidden;
}

.xirecx-upd_date {
    display: block;
    background: var(--bg4);
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    margin: 0 -2vw 20px;
    padding: 8px 30px;
}

@media (max-width: 860px) {
    .xirecx-upd_date {
        margin: 0 -8vw 20px;
    }
}

.xirecx-upd_item {
    position: relative;
    display: grid;
    grid-gap: 15px;
    grid-auto-rows: max-content;
    grid-template-columns: 40px 1fr 100px;
    align-items: center;
    margin-bottom: 10px;
}

.xirecx-upd_item > img {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 13;
    border-radius: 5px;
}

.xirecx-upd_item > div a {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.xirecx-upd_meta {
    color: var(--text2);
    font-size: 12px;
}

.xirecx-upd_meta span + span {
    margin-left: 5px;
}

.xirecx-upd_item > span {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 3px 10px;
    font-size: 12px;
    text-align: center;
}

/* Category Description */
.category-description {
	padding: 20px;
    margin-bottom: 15px;
    border-radius: 15px;
    background: #262631;
}









/* xirecx CAT */
.xirecx-cat_item {
    display: inline-block;
    color: #fff;
    border-radius: var(--radius);
    width: 100%;
    height: 180px;
    line-height: 180px;
    font-size: 20px;
    text-align: center;
    overflow: hidden;
    transition: 0.3s;
    cursor: pointer;
}

@media (max-width: 860px) {
    .xirecx-cat_item {
        height: 140px;
        line-height: 140px;
    }
}

.xirecx-cat_item:hover {
    transform: translateY(-10px);
}

.xirecx-cat_item:hover.xirecx-cat_item:before {
    width: 70%;
    height: 70%;
}

.xirecx-cat_item:before {
    content: "";
    position: absolute;
    background: var(--light);
    border-radius: 30px 0 0 30px;
    right: 0;
    bottom: 0;
    width: 60%;
    height: 60%;
    transition: 0.3s;
}

.xirecx-cat_item:nth-child(1n) {
    background: #7770fe;
}

.xirecx-cat_item:nth-child(2n) {
    background: #234eff;
}

.xirecx-cat_item:nth-child(3n) {
    background: #fe9c03;
}

.xirecx-cat_item:nth-child(4n) {
    background: #fe6835;
}




/* xirecx UPD */
.xirecx-upd_items {
    display: inline-block;
    height: max-content;
    background: var(--bg2);
    padding: 0 30px;
    border-radius: var(--radius);
    overflow: hidden;
}

.xirecx-upd_dates {
    display: block;
    background: var(--bg4);
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    margin: 0 -2vw 20px;
    padding: 8px 30px;
}

.xirecx-upd_item {
    position: relative;
    display: grid;
    grid-gap: 15px;
    grid-auto-rows: max-content;
    grid-template-columns: 40px 1fr 100px;
    align-items: center;
    margin-bottom: 10px;
}

.xirecx-upd_item > img {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 13;
    border-radius: 5px;
}

.xirecx-upd_item > div a {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.xirecx-upd_meta {
    color: var(--text2);
    font-size: 12px;
}

.xirecx-upd_meta span + span {
    margin-left: 5px;
}

.xirecx-upd_item > span {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 3px 10px;
    font-size: 12px;
    text-align: center;
}



/* RATING COLOR */
.rating-color {
    color: #3bb33b;
}

.rating-color.low {
    color: #e13535;
}

.rating-color.middle {
    color: #ff6702;
}


/* FOOTER */
footer {
    color: #fff;
    background: var(--bg);
    border-top: 1px solid var(--light);
}

footer .container {
    position: relative;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10px;
}

@media (max-width: 860px) {
    footer .container {
        margin-bottom: 50px;
    }
}

.footer_logo {
    margin-right: 40px;
}

.footer_logo span {
    color: var(--text2);
    font-size: 12px;
}

.footer_logo img {
    display: block;
    width: 100px;
    height: 100%;
    margin-bottom: 10px;
}

@media (max-width: 860px) {
    .footer_logo img {
        display: none;
    }
}

.footer_menu {
    align-items: center;
    color: #a39eb7;
}

@media (max-width: 860px) {
    .footer_menu {
        margin: 15px 0;
    }
}

.footer_menu a + a {
    margin-left: 20px;
}

.footer_soc {
    display: flex;
    align-items: center;
}

.footer_soc a {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    background: var(--light);
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
}

.footer_soc a:nth-child(1):hover {
    background: #23aaea;
}

.footer_soc a:nth-child(2):hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.footer_soc a:nth-child(3):hover {
    background: #F44336;
}
