@font-face {
    font-family: 'Rajdhani-SemiBold';
    src: url("../fonts/Rajdhani-SemiBold.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Rajdhani-Regular';
    src: url("../fonts/Rajdhani-Regular.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}


/* ===== 🎨 Глобальные переменные ===== */
:root {
    --color-primary: #ffa726;
    --color-secondary: #e1ce87;
    --color-background: #f5f7fa;
    --color-dark: #1e1e1e;
    --color-light: #ffffff;
    --color-accent: #ff6b6b;
    --accent-bg-color: rgb(149 111 0 / 90%);
    --color-gray: gray;
    --bgc-color: rgba(0, 0, 0, 0.5);
    --bg-form-head: rgb(209 163 0 / 40%);
    --bg-form-table: rgb(48 46 37 / 90%);
    --bg-dark: rgb(0 0 0 / 80%);

    --font-accent-regular: Rajdhani-SemiBold;
    --font-accent-bold: Rajdhani-SemiBold;
    --font-regular: Rajdhani-Regular;
    --font-bold: Rajdhani-SemiBold;


    /* размеры */
    --sidebar-width: 250px;
    --container-padding: 30px;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
}
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
}
#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
h1,h2,h3,h4,h5,h6,p {
    font-weight: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
* {
    outline: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    height: 100%;
}
body {
    font-family: var(--font-regular), sans-serif;
}

ul, li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
p {
    margin: 0;
    color: #bebebe;
}
h3 {
    color: #fff;
}
a {
    color: #fff;
    text-decoration: none;
}
small {
    color: #bebebe;
}

/*FORM START*/
select.form-control {
    /* Убираем нативный appearance */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    /* Фон, граница и скругления */
    background: #110f0b;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 12px;

    /* Внутренние отступы (правый — для стрелки) */
    padding: 10px 36px 10px 12px;

    /* Шрифт и цвет */
    font-size: 14px;
    line-height: 1.4;
    color: #fff;

    /* Курсор */
    cursor: pointer;

    /* Переходы для фокуса */
    transition: border-color 0.2s, box-shadow 0.2s;

    /* Кастомная стрелка через встроенное SVG */
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}
/* Стиль при фокусе */
select.form-control:focus {
    outline: none;
    border-color: #6ca0f6;
    box-shadow: 0 0 0 3px rgba(108, 160, 246, 0.3);
}
/* (Опционально) чуть более читаемые опции */
select.form-control option {
    padding: 8px;
    background-color: #110f0b;
    color: #fff;
}
:focus-visible {
    outline: -webkit-focus-ring-color auto 0;
}
.form-control {
    font-family: var(--font-regular), sans-serif;
    box-sizing: border-box;
    background: #110f0b;
    border: 1px solid rgb(255 255 255 / 10%);
    padding: 14px 20px;
    border-radius: 12px;
    width: 100%;
    color: #fff;
}
.form-control::placeholder {
    font-family: var(--font-regular), sans-serif;
    font-size: 14px;
}
.form-group {
    margin-bottom: 30px;
}
.form-group:last-child {
    margin-bottom: 0;
}
.form-group label {
    color: #bebebe;
    font-size: 14px;
    display: flex;
    margin-bottom: 5px;
}
::-webkit-input-placeholder {
    -webkit-transition: opacity .2s ease-in-out, -webkit-transform .2s ease-in-out;
    -o-transition: opacity .2s ease-in-out, transform .2s ease-in-out;
    transition: opacity .2s ease-in-out, transform .2s ease-in-out, -webkit-transform .2s ease-in-out;
}
::-moz-placeholder {
    -webkit-transition: opacity .2s ease-in-out, -webkit-transform .2s ease-in-out;
    -o-transition: opacity .2s ease-in-out, transform .2s ease-in-out;
    transition: opacity .2s ease-in-out, transform .2s ease-in-out, -webkit-transform .2s ease-in-out;
}
:-moz-placeholder {
    -webkit-transition: opacity .2s ease-in-out, -webkit-transform .2s ease-in-out;
    -o-transition: opacity .2s ease-in-out, transform .2s ease-in-out;
    transition: opacity .2s ease-in-out, transform .2s ease-in-out, -webkit-transform .2s ease-in-out;
}
:-ms-input-placeholder {
    color: #7b7873;
    -webkit-transition: opacity .2s ease-in-out, -webkit-transform .2s ease-in-out;
    -o-transition: opacity .2s ease-in-out, transform .2s ease-in-out;
    transition: opacity .2s ease-in-out, transform .2s ease-in-out, -webkit-transform .2s ease-in-out;
}
:focus::-webkit-input-placeholder {
    opacity: 0;
    transform: translateX(20px);
}
:focus::-moz-placeholder {
    opacity: 0;
    transform: translateX(20px);
}
:focus:-moz-placeholder {
    opacity: 0;
    transform: translateX(20px);
}
:focus:-ms-input-placeholder {
    opacity: 0;
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/*FORM END*/

h1 {
    color: #bebebe;
}
#auth-form {
    background-color: var(--bg-form-table);
    padding: 20px;
    border-radius: 12px;
}

.main-bg {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: -10;
    background-image: url("../img/lin2web/bg.jpg");
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
}
.main-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(30 23 13 / 77%);
}
aside.sidebar {
    position: fixed;
    z-index: 20;
    width: 270px;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.6);
    border-right: .25rem solid rgb(197, 197, 197);
}
.main-content {
    margin-left: auto;
    width: calc(100% - 255px);
    padding: 40px;
    height: 100%;
    min-height: 100vh;
    display: block;
    overflow: auto;
}
.main-wrap {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    height: 100%;
    background-size: cover;
    background-position: center;
}
.auth_logo img {
    width: 100%;
}
.auth_block_top {
    padding-left: 30px;
    padding-right: 20px;
    padding-top: 30px;
}
.auth_header_top {
    margin-top: 30px;
    margin-bottom: 30px;
}
.auth_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

form.logout button {
    font-family: var(--font-bold), sans-serif;
    width: 100%;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    box-sizing: border-box;
    color: #ff8282;
    font-size: 14px;
    text-transform: uppercase;
    line-height: 1;
    z-index: 0;
    flex-grow: 1;
    max-height: 10rem;
    cursor: pointer;
    padding: 20px 0;
    padding-left: 30px;
    font-stretch: normal;
}
form.logout button:before {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    background-color: rgb(255 54 54 / 10%);
    background-size: 100% 100%;
    background-position: 50%;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scaleY(.6);
    transform-origin: right center;
    pointer-events: none;
}
form.logout button:hover:before {
    opacity: 1;
    transform: scaleY(1);
}

.sidebar-left {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.sidebar-menu {
    display: flex;
    flex-direction: column;
}
.sidebar-menu.bottom {
    padding-bottom: 30px;
}
.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    box-sizing: border-box;
    color: #e2dccd;
    font-family: var(--font-bold), sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1;
    z-index: 0;
    flex-grow: 1;
    max-height: 10rem;
    cursor: pointer;
    padding: 20px 0;
    padding-left: 30px;
}
.sidebar-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
/*.sidebar-menu a.active:before {*/
/*    opacity: 1;*/
/*    transform: scaleY(1);*/
/*}*/
/*.sidebar-menu a:before {*/
/*    display: block;*/
/*    content: "";*/
/*    position: absolute;*/
/*    top: 0;*/
/*    right: 0;*/
/*    bottom: 0;*/
/*    left: 0;*/
/*    z-index: -1;*/
/*    background-color: transparent;*/
/*    background-image: url("../img/bgdecor.png");*/
/*    background-size: 100% 100%;*/
/*    background-position: 50%;*/
/*    background-repeat: no-repeat;*/
/*    opacity: 0;*/
/*    transform: scaleY(.6);*/
/*    transform-origin: right center;*/
/*    pointer-events: none;*/
/*}*/
.sidebar-menu a.active {
    background-color: rgba(255, 255, 255, 0.1);
}
.sidebar-menu a.active:after {
    opacity: 1;
    transform: scaleX(1);
}
.sidebar-menu a:after {
    display: block;
    content: "";
    background-color: transparent;
    background-image: url("../img/arrow_1.png");
    background-size: 2.25rem auto;
    background-position: 50%;
    background-repeat: no-repeat;
    width: 2.25rem;
    height: auto;
    position: absolute;
    right: -.8125rem;
    top: 0;
    bottom: 0;
    transition: all .2s;
    opacity: 0;
    transform: scaleX(0);
    filter: grayscale(0) drop-shadow(0 .25rem .75rem rgba(0, 0, 0, .46)) drop-shadow(0 0 .625rem rgba(255, 213, 44, .7));
    pointer-events: none;
}


tr, th, td {
    font-family: var(--font-accent-regular), sans-serif;
    font-weight: normal;
}

.auth_header_title {
    display: flex;
    align-items: center;
    gap: 5px;
}
.auth_header_title svg {
    width: 28px;
    color: #fff;
}
.auth_header_title p {
    font-family: var(--font-accent-regular), sans-serif;
    font-size: 18px;
    color: var(--color-primary);
}
.auth_nav_top {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 12px;
}
.auth_nav_top ul {
    display: flex;
    gap: 40px;
}
.auth_top_r {
    display: flex;
    align-items: center;
    gap: 30px;
}
.auth_nav_top a {
    font-family: var(--font-regular), sans-serif;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 16px;
}
.auth_nav_top a:hover {
    color: var(--color-primary);
}
.auth_nav_top a i {
    font-size: 12px;
}
.auth_nav_top svg {
    width: 28px;
}


.btn-accent {
    height: 42px;
    min-width: 180px;
    width: 100%;
    justify-content: center;
    cursor: pointer;
    color: #ffffff !important;
    background: rgb(179, 126, 11);
    border: 1px solid rgb(255, 187, 0);
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}
.btn-accent:hover {
    box-shadow: 0 0 8px #ffd100;
}
.btn-accent svg {
    width: 24px;
}
.btn-green {
    border: 0;
    cursor: pointer;
    background-color: #00d084;
    height: 42px;
    min-width: 180px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    gap: 8px;
    color: #fff;
    font-size: 16px;
}
.btn-green:hover {
    box-shadow: 0 0 8px #00d084;
}
.btn-green svg {
    width: 24px;
}
.btn-primary {
    font-family: var(--font-bold), sans-serif;
    height: 42px;
    min-width: 180px;
    justify-content: center;
    cursor: pointer;
    color: #ffffff !important;
    background: rgb(179, 126, 11);
    border: 1px solid rgb(255, 187, 0);
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}
.btn-primary:hover {
    box-shadow: 0 0 8px #ffd100;
}
.btn-primary svg {
    width: 24px;
}

.master-account-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/*LANGUAGE*/
.nav__langs {
    position: relative;
    z-index: 1;
}
.nav__langs-item {
    cursor: pointer;
    height: 42px;
    background-color: var(--bgc-color);
    padding: 0 5px;
    display: flex;
    align-items: center;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1em;
    color: #fff;
    text-transform: uppercase;
    transition: color 0.3s ease-in-out;
    gap: 10px;
}

.nav__langs-item:hover, .nav__langs-item.active {
    color: #fff;
}
.nav__langs-item img {
    width: 22px;
    aspect-ratio: 34/24;
    border-radius: 2px;
}
.nav__langs-item--current:after {
    content: "";
    width: 12px;
    aspect-ratio: 12 / 6;
    background: url("../img/lin2web/arrow.png");
    background-size: 100% 100%;
    transition: transform 0.3s ease-in-out;
}

.nav__langs-item.active:after {
    transform: scale(1, -1);
}
.nav__langs-stroke {
    list-style-type: none;
    position: absolute;
    z-index: 1;
    top: calc(100% + 3px);
    right: 0;
    display: none;
}
.nav__langs-stroke li:not(:first-child) {
    margin-top: 10px;
}
.nav__links {
    list-style-type: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
    column-gap: 30px;
    margin-left: auto;
    position: relative;
    z-index: 2;
}
.nav__links-item {
    font-family: var(--font-accent-regular), sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1em;
    color: #fff;
    text-transform: uppercase;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    column-gap: 6px;
    transition: color 0.3s ease-in-out;
}
.nav__links-item:hover {
    color: var(--color-primary);
}
.nav__links-item img {
    height: 16px;
}
.nav__switch {
    width: 34px;
    height: 34px;
    position: relative;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15);
    display: none;
    transition: background-color 0.3s ease-in-out, border 0.3s ease-in-out;
    z-index: 3;
    border-radius: 50%;
    margin-left: auto;
}
.nav__switch:hover {
    background-color: var(--color-primary);
}
.nav__switch:hover:after, .nav__switch:hover:before, .nav__switch:hover .nav__switch-item {
    background: #1c2227;
}
.nav__switch:hover .nav__switch-item {
    transform: scale(0.7, 1);
}
.nav__switch.active:after {
    transform: rotate(-135deg) scale(0.7, 1);
    top: calc((100% - 2px) / 2);
}
.nav__switch.active:before {
    transform: rotate(135deg) scale(0.7, 1);
    top: calc((100% - 2px) / 2);
}
.nav__switch.active .nav__switch-item {
    transform: scale(0, 1);
}
.nav__switch:after {
    content: "";
    width: calc(100% - 12px);
    height: 2px;
    background: #cdcfd1;
    position: absolute;
    transition: all 0.3s ease-in-out;
    top: 11px;
    left: 6px;
    transform: scale(0.7, 1);
}
.nav__switch:before {
    content: "";
    width: calc(100% - 12px);
    height: 2px;
    background: #cdcfd1;
    position: absolute;
    transition: all 0.3s ease-in-out;
    top: calc(100% - 13px);
    left: 6px;
    transform: scale(0.7, 1);
}
.nav__switch-item {
    width: calc(100% - 12px);
    height: 2px;
    background: #cdcfd1;
    position: absolute;
    top: calc((100% - 2px) / 2);
    left: 6px;
    transition: all 0.3s ease-in-out;
    transform: scale(0.7, 1);
}
/*LANG END*/

.auth-main-link {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    background-color: var(--accent-bg-color);
    border-radius: 12px;
    padding: 30px 0;
    margin-bottom: 30px;
}

.auth-main-top-item {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}
.auth-main-top-item.left {

}
.auth-main-top-item.left::before {
    content: "";
    position: absolute;
    right: -1%;
    height: 100%;
    width: 1px;
    background: rgb(255 255 255 / 20%);
}
.auth_donate_coins {
    display: flex;
    align-items: center;
    gap: 15px;
}
.auth_donate_links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.alert-success {
    position: relative;
    display: flex;
    align-items: center;
    margin: 32px 0;
    border-radius: 16px;
    width: 100%;
    padding: 16px;
    box-sizing: border-box;
    justify-content: space-between;
    background: #2A7B9B;
    background: linear-gradient(90deg, rgb(10 97 0) 15%, rgb(21 56 0) 100%);
}
.alert-success p {
    position: relative;
    padding-left: 60px;
    font-size: 18px;
    color: #dbff6a;
}
.alert-success p::before {
    content: "";
    position: absolute;
    left: 0;
    background-image: url("../img/lin2web/icon-success.svg");
    width: 40px;
    height: 40px;
    background-position: center center;
    background-size: cover;
    top: -40%;
    bottom: -50%;
}
.alert-danger {
    position: relative;
    display: flex;
    align-items: center;
    margin: 32px 0;
    border-radius: 16px;
    width: 100%;
    padding: 16px;
    box-sizing: border-box;
    justify-content: space-between;
    background: gray;
    background: linear-gradient(90deg, rgb(255 87 87) 15%, rgb(255 32 32) 100%);
}
.alert-danger p {
    position: relative;
    padding-left: 60px;
    font-size: 18px;
    color: #ffb8b8;
}
.alert-danger p::before {
    content: "";
    position: absolute;
    left: 0;
    background-image: url("../img/lin2web/icon-danger.svg");
    width: 40px;
    height: 40px;
    background-position: center center;
    background-size: cover;
    top: -40%;
    bottom: -50%;
}





.auth-content {
    margin-top: 40px;
}
.refresh_link {
    width: 64px;
    height: 64px;
    border: 1px solid #bfbfbf;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.refresh_link:hover {
    border: 1px solid #fff;
}
.auth_donation_coins {
    color: #fff;
    font-size: 16px;
}
.auth_donate_title {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 32px;
    color: #fff;
}
.auth_donate_title img {
    height: 22px;
}

.btn-gray-no-border {
    font-family: var(--font-regular), sans-serif;
    cursor: pointer;
    background: transparent;
    border: 1px solid #fff;
    padding: 6px 15px;
    border-radius: 8px;
    font-size: 14px;
    color: #fff;
}
.btn-gray-no-border:hover {
    border: 1px solid #bebebe;
    padding: 6px 15px;
    border-radius: 8px;
    font-size: 14px;
}

.omg-table {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-form-table);
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    box-shadow: 0 0 12px rgba(0,0,0,0.5);
}

.omg-table th, .omg-table td {
    font-family: var(--font-regular), sans-serif;
    font-size: 14px;
    padding: 8px 10px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.omg-table thead {
    background: var(--bg-form-head);
}

.omg-table tbody tr:hover {
    background-color: rgb(127 110 35 / 90%);
    transition: 0.3s ease;
}

.pk-count {
    color: #ff4d4d;
    font-weight: bold;
}


/* Затемнённый фон */
.popup-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(2px);
    justify-content: center;
    align-items: center;
}

/* Контейнер попапа */
.popup-content {
    background: #1f1f2e;
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 620px;
    box-shadow: 0 0 25px rgba(0,0,0,0.7);
    position: relative;
    animation: fadeInUp 0.4s ease;
}
.popup-content .text-success {
    text-align: center;
    font-size: 18px;
}
.popup-title {
    font-size: 22px;
}

.popup-title-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-content form {
    margin-top: 30px;
}

/* Закрыть */
.popup-close {
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s ease;
    background-color: rgb(255 255 255 / 10%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
}
.popup-close:hover {
    color: #fff;
}
.popup-close svg {
    width: 18px;
}

/* Группы полей */


/* Ошибки */
.text-danger {
    color: #ff4d4d;
    font-size: 13px;
    margin-top: 5px;
}

/* Успешно */
.text-success {
    color: #00cc66;
    font-size: 14px;
    margin-top: 10px;
}

/* Показать/Скрыть пароль */
.password-group {
    display: flex;
    align-items: center;
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 10px;
    cursor: pointer;
    font-size: 16px;
    user-select: none;
    color: #aaa;
}

.password-toggle:hover {
    color: #fff;
}

.login_button button {
    width: 100%;
    max-width: 100%;
    box-shadow: 0 4px 70px rgb(255 200 96 / 50%);
    height: 50px;
    font-size: 18px;
    position: relative;
}
.login_button svg {
    position: absolute;
    left: 18px;
    width: 30px;
}

/* Анимация */
@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0px);
        opacity: 1;
    }
}

.change-game-password-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(22, 15, 2, .5);
    padding: 20px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}


.create_game_account {
    background-color: var(--bgc-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}
.create_game_account p {
    font-family: var(--font-accent-regular), sans-serif;
    font-size: 20px;
    color: #fff;
}


.master-name-plus {
    display: flex;
    color: #fff;
    font-size: 20px;
}
.master-name-plus p {
    color: #fff;
}

/* плюсик*/
.plus-toggle {
    width: 15px;
    height: 15px;
    cursor: pointer;
}
.plus-toggle::before {
    content: '+';
    transition: transform 0.3s ease;
}

.plus-toggle.active::before {
    content: '-';
    transform: rotate(180deg);
}

.master-acc-item .lin2Table {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.lin2Table.active {
    max-height: 1000px;
}
/* плюсик*/

.tooltip_title {
    display: flex;
    align-items: center;
    gap: 2px;
}
.tooltip_title svg {
    width: 16px;
}
.tooltip_img {
    width: 16px;
    height: 16px;
}
.info-tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
    margin-left: 5px;
}
.info-tooltip .tooltip-text {
    visibility: hidden;
    opacity: 0;
    width: max-content;
    background-color: var(--bgc-color);
    color: #fff;
    text-align: left;
    border-radius: 4px;
    padding: 6px 10px;
    position: absolute;
    z-index: 10;
    top: 125%; /* немного ниже */
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    transition: opacity 0.3s ease;
    font-size: 12px;
}
.info-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}



.close {
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s ease;
    background-color: rgb(255 255 255 / 10%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
}
.close::before {
    content: "";
    position: absolute;
    background-image: url("../img/lin2web/close.svg");
    width: 18px;
    height: 18px;
}
.close:hover {
    background-color: rgb(255 255 255 / 20%);
}

.card {
    background-color: var(--bg-dark);
    padding: 30px;
    border-radius: 12px;
}
.send-to-game {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}
.send-to-game .form-group {
    margin-bottom: 0;
    width: 100%;
}
.send-to-game .form-control {
    height: 50px;
}
#send-to-game .alert {
    margin-bottom: 0;
}
.title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #bebebe;
}
.title span {
    color: #ebca69;
}
.title h1 {
    font-family: var(--font-accent-regular), sans-serif;
}
#warehouse {
    margin-top: 20px;
}
#sendItemsForm {
    color: #bebebe;
}
.warehouse-items-all {
    margin-top: 30px;
}
.warehouse-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
}



.ticket-section {
    border-radius: 12px;
    background-color: var(--bgc-color);
    padding: 20px;
}
.ticket-block {
    min-height: 720px;
    max-height: 720px;
    display: flex;
    justify-content: space-between;
}
.ticket-sidebar {
    width: 20%;
}
.ticket-messages {
    padding: 0 30px;
    position: relative;
    width: 80%;
    display: flex;
    flex-direction: column;
    overflow: auto;
}
.ticket-item.active {
    background-color: rgb(98 0 248 / 30%);
}

.ticket_title_status {
    display: flex;
    justify-content: space-between;
}
.tickets-nav {
    margin-top: 20px;
    background-color: rgb(255 255 255 / 10%);
}
.ticket-no-active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #bebebe;
    font-size: 18px;
}
.ticket-sidebar .btn-primary {
    max-width: 100%;
    min-width: 100%;
}
.ticket-link {
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-bottom: 1px solid gray;
}
.ticket-top-block h2 {
    color: #fff;
}
.ticket-top-block p {
    color: #bebebe;
}
.message-container {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 15px;
}
.message-container.right {
    justify-content: flex-end;
}
.message p {
    color: #e8e8e8;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    font-size: 14px;
    line-height: 1.6;
}
.ticket_admin_status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 550px;
    color: #fff;
    gap: 10px;
    margin: 20px 0;
}
.status_text {
    font-size: 12px;
}
.status_text.status-closed {
    color: #ff6060;
}
.status_text.status-in-progress {
    color: #17ff00;
}
.ticket_date_username {
    font-size: 12px;
}
.ticket-title {
    font-size: 14px;
}
.ticket-filter {
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
}
.ticket-filter a {
    border: 1px solid palegoldenrod;
    font-size: 14px;
    padding: 3px 8px;
    border-radius: 6px;
}
.ticket_msg_date {
    color: #bebebe;
    font-size: 12px;
}
#fileToUpload {
    display: none;
}
.file_upload svg {
    cursor: pointer;
}
.file_upload {
    display: flex;
    align-items: center;
    justify-content: center;
}
.area-for-response-text {
    min-height: 20px;
    vertical-align: middle;
    word-wrap: break-word;
    font-size: 16px;
    line-height: 20px;
    color: #060614f5;
    width: 100%;
    border: none;
    resize: none;
    overflow: hidden;
    height: inherit;
    max-height: none;
}

.status-new {
    background-color: green;
    font-size: 12px;
    display: flex;
    height: 100%;
    padding: 2px;
    border-radius: 2px;
}

.ticket-reply {
    width: 100%;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    padding: 20px;
}
.ticket-reply .form_group {
    position: relative;
    width: 100%;
    max-height: 120px;
    box-sizing: initial;
    padding: 0 24px 4px 16px;
    margin-top: 6px;
    margin-right: 16px;
}
.ticket-reply .btn-green {
    max-width: max-content;
    min-width: max-content;
    padding: 0 30px;
    color: #fff;
}

#preview-container {
    display: flex;
    align-items: center;
    margin-top: 10px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    position: relative;
}
#preview-container p {
    color: gray;
}
.preview-wrapper {
    position: relative;
    display: inline-block;
}

#preview-image {
    max-width: 80px;
    max-height: 80px;
    border-radius: 5px;
}

.remove-file {
    position: absolute;
    top: -8px;
    right: -8px;
    background: red;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    border: none;
}
.ticket_is_admin {
    color: #ff8e8e;
}
.omg-table.error tr {
    background-color: rgb(127 110 35 / 90%);
}
.s-pack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    flex-wrap: wrap;
    gap: 20px;
}
.s-pack-item {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    padding: 15px;
    background-color: var(--bg-dark);
}
.s-pack-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}
.s-pack-title img {
    height: 54px;
}
.s-pack-title span {
    color: #fff;
    font-size: 15px;
    margin-top: 10px;
}
.s-item-i {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #bebebe;
}
.s-item-count {
    font-size: 12px;
    color: #ffacac;
}
.s-pack-prices {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin-top: 30px;
    margin-top: auto;
}
.s-pack-prices button {
    min-width: 100%;
    margin-top: 15px;
}
.s-pack-price {
    font-size: 20px;
    color: var(--color-primary);
    text-decoration: line-through;
}
.s-pack-discount {
    color: #bebebe;
}
.s-item-title {
    font-size: 14px;
}

/*PAYMENT START*/
#payment-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}
.payment__range.noUi-horizontal .noUi-handle {
    width: 26px;
    height: 26px;
    border-radius: 26px;
    background: var(--color-primary);
    border: none;
    box-shadow: none;
    top: -9px;
    right: -13px;
}
.payment__range.noUi-target {
    background: #1c1718;
    border-radius: 5px;
    border: 1px solid #505050;
    box-shadow: none;
}
.payment__range {
    margin-top: 20px;
}
.payment__range .noUi-value {
    font-size: 10px;
    line-height: 18px;
    font-weight: 400;
    color: #afafaf;
}
.payment__range .noUi-marker-horizontal.noUi-marker-large {
    height: 10px;
}
.payment__range .noUi-marker-horizontal.noUi-marker {
    width: 1px;
}
.payment__range .noUi-marker-large {
    background: #686363;
}
.payment__range .noUi-marker {
    background: #483f41;
}
.payment__range .noUi-pips-horizontal {
    height: 42px;
}
.payment__range.noUi-horizontal .noUi-connect {
    background: #ffbd01;
}
.payment__range .noUi-tooltip {
    border: 1px solid #505050;
    border-radius: 5px;
    background: #1c1718;
    color: #fff;
    font-size: 14px;
    line-height: 1em;
    font-weight: 400;
    padding: 6px 5px 5px;
}
.payment__range.noUi-horizontal {
    height: 10px;
    margin-bottom: 60px;
}
.noUi-handle-lower::before, .noUi-handle-lower::after {
    display: none;
}
.pay_method img {
    display: flex;
    height: 40px;
}
.payment_select {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.pay_method {
    border: 2px solid transparent;
    cursor: pointer;
}
.pay_method:hover {
    opacity: 0.7;
    transition: 0.3s;
}
.pay_method.active {
    border: 2px solid var(--color-primary);
    border-radius: 6px;
}
.pay-currency {
    display: flex;
    color: #bebebe;
    gap: 30px;
}
.payment__input {
    display: flex;
    align-items: center;
}
.payment_bonus_price {
    background-color: var(--color-primary);
    height: 45px;
    min-width: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.payment-pay input {
    border-radius: 0;
}
.bonus-item {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    border-bottom: 1px solid gray;
    padding-bottom: 15px;
    margin-bottom: 15px;
}
.bonus-item p {
    font-family: var(--font-accent-regular), sans-serif;
    color: #fff;
}
.bonus-item span {
    color: var(--color-primary);
}
.donate-title {
    font-family: var(--font-accent-regular), sans-serif;
    font-size: 22px;
    color: #fff;
}
.donate-title-block p {
    color: #bebebe;
}
.donate-title-block {
    margin-bottom: 15px;
}
.curr-item .curr_symbol {
    color: var(--color-primary);
}
.payment-pay .form-group {
    margin-bottom: 15px;
}
.payment-pay .form-group:last-child {
    margin-bottom: 0;
}
.payment-pay .login_button {
    margin-top: 30px;
    text-align: center;
}
.total_text {
    font-family: var(--font-accent-regular), sans-serif;
    text-align: center;
    margin-top: 15px;
    color: #bebebe;
}
/*PAYMENT END*/


.referral_block {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
.referral_block .btn-green {
    width: max-content;
    height: 45px;
}
.referral_copy_link {
    position: relative;
}
.referral_copy_link button {
    height: 45px;
}
.copy-message {
    position: absolute;
    opacity: 0;
    font-size: 12px;
    color: #bebebe;
}
.referral_form {
    max-width: 470px;
    display: flex;
    align-items: center;
    width: 100%;
    gap: 20px;
}
.referral_form input {
    border-radius: 8px;
    width: 70%;
}
.referrals_text {
    line-height: 1.6;
}
table.rating.index td:first-child {
    text-align: left;
}
table.rating.index td:last-child {
    text-align: right;
}

table.rating {
    width: 100%;
    border-collapse: collapse;
    background-color: rgba(0, 0, 0, 0.6);
    color: #949494;
    box-shadow: 0 0 10px #000;
}

table.rating thead th {
    background-color: #2c2c2c;
    font-size: 16px;
    text-align: center;
    padding: 10px;
    border-bottom: 2px solid #d9c97f;
    font-family: var(--font-accent-regular), sans-serif;
}

table.rating th {
    background-color: #2c2c2c;
    font-size: 16px;
    padding: 10px;
    border-bottom: 2px solid #d9c97f;
    text-align: center;
}

table.rating td {
    padding: 10px;
    border-bottom: 1px solid #444;
    text-align: center;
    font-size: 13px;
}

table.rating tr:hover {
    background-color: #2a2a2a;
}

table.rating tr:hover {
    background-color: #2f2f2f;
}

table.rating td:last-child {
    font-family: var(--font-bold), sans-serif;
    color: #ffd700;
}
.bar-container {
    height: 18px;
    background-color: #333;
    border: 1px solid #555;
    width: 100%;
    border-radius: 3px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(to right, #ffc107, #ff9800);
    transition: width 0.4s ease;
}

.bar-fill.female {
    background: linear-gradient(to right, #d48fff, #a24cff);
}

.stats-menu {
    display: flex;
    justify-content: space-between;
}
.stats-menu a {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border: 1px solid transparent;
}
.stats-menu .active a {
    background: rgb(179, 126, 11);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.char-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.clan-crests img {
    display: inline-block;
    vertical-align: middle;
}



.server-switcher {
    position: relative;
    display: inline-block;
    z-index: 10;
    margin: 20px 0;
}

.server-switcher__current {
    background: linear-gradient(to right, #2c2c2c, #1a1a1a);
    color: #d9c97f;
    padding: 10px 15px;
    border: 1px solid #444;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
}

.server-switcher__current:hover {
    background: #3a3a3a;
}

.server-switcher__current .arrow-down {
    border: solid #d9c97f;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 5px;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.server-switcher__list {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    background: #1e1e1e;
    border: 1px solid #444;
    border-radius: 5px;
    padding: 5px 0;
    list-style: none;
    min-width: 180px;
    box-shadow: 0 0 10px #000;
}

.server-switcher__list li {
    text-align: left;
}

.server-switcher__item {
    display: block;
    padding: 10px 15px;
    color: #d9c97f;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.server-switcher__item:hover {
    background: #2a2a2a;
    color: #ffd700;
}

.gw-burger {
    display: none;
}

#services {
    margin-top: 20px;
}
.services-all {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
    box-sizing: content-box;
}
.service-item {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    background-color: var(--bg-dark);
    padding: 20px;
    border-radius: 12px;
}
.service-item .alert {
    margin: auto;
    text-align: center;
}
.service-item .lineage-link {
    margin: auto;
}
.service-top-block h2 {
    font-family: var(--font-accent-regular), sans-serif;
    font-size: 14px;
    text-transform: capitalize;
    color: #bebebe;
}
.service-top-block p {
    color: #bebebe;
    font-size: 14px;
}
.service-top-block small {
    font-size: 12px;
}
.service-top-block img {
    width: 128px;
}
.service-top-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
}
.service-top-block span {
    color: var(--color-primary);
}

@media only screen and (max-width: 960px) {
    aside.sidebar.top_menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        height: 100%;
        background-color: #221e1d;
        box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 9999;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
    }

    aside.sidebar.top_menu.active {
        transform: translateX(0);
    }

    .navigation__burger {
        display: block;
    }

    .gw-burger {
        background-color: var(--bg-form-table);
        position: relative;
        z-index: 999999;
        width: 40px;
        height: 40px;
        cursor: pointer;
        box-sizing: border-box;
    }

    .gw-burger__line {
        width: 20px;
        height: 2px;
        margin: auto;
        position: absolute;
        left: 5px;
        right: 5px;
        background-color: #909090;
        border-radius: 2px;
        -webkit-transition: all .3s;
        transition: all .3s;
    }

    .gw-burger__line_pos_top {
        pointer-events: none;
        top: 32%;
    }

    .gw-burger__line_pos_middle {
        pointer-events: none;
        top: 50%;
        transform: translateY(-50%);
    }

    .gw-burger__line_pos_bottom {
        pointer-events: none;
        bottom: 32%;
    }

    .gw-burger_active .gw-burger__line_pos_top {
        transform: rotate(45deg) translateY(-50%);
        -webkit-transform-origin: center top;
        transform-origin: center top;
        top: 50%;
    }

    .gw-burger_active .gw-burger__line_pos_middle {
        transform: rotate(180deg);
        opacity: 0;
    }

    .gw-burger_active .gw-burger__line_pos_bottom {
        transform: rotate(-45deg) translateY(50%);
        -webkit-transform-origin: center bottom;
        transform-origin: center bottom;
        bottom: 50%;
    }

    .main-content {
        width: 100%;
        padding-top: 0;
    }
    .auth_top {
        justify-content: center;
        gap: 15px;
    }
    .auth-main-link {
        padding: 15px 0;
    }
    .auth-main-top-item {
        flex-wrap: wrap;
        gap: 15px;
    }
    .stats-menu a {
        padding: 10px 15px;
        gap: 5px;
    }
}

/* L2Shilen dashboard final pass */
.dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: center;
    gap: 24px;
    margin-bottom: 18px;
    padding: 22px 26px;
    border: 1px solid rgba(229, 184, 95, .2);
    border-radius: 8px;
    background:
        radial-gradient(circle at 82% 0%, rgba(229, 184, 95, .16), transparent 36%),
        linear-gradient(180deg, rgba(14, 9, 6, .84), rgba(7, 5, 3, .72));
    box-shadow: 0 22px 62px rgba(0, 0, 0, .28);
}

.dashboard-hero span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--l2-gold-2);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.dashboard-hero span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffbf41;
    box-shadow: 0 0 14px rgba(255, 191, 65, .7);
}

.dashboard-hero h1 {
    margin: 8px 0 8px;
    color: #fff1d2;
    font-family: 'TrajanL2', serif;
    font-size: 34px;
    line-height: 1.05;
}

.dashboard-hero p {
    max-width: 680px;
    color: rgba(255, 244, 220, .68);
    font-size: 15px;
    line-height: 1.7;
}

.dashboard-hero__brand {
    display: flex;
    justify-content: flex-end;
}

.dashboard-hero__brand img {
    width: 168px;
    max-height: 82px;
    object-fit: contain;
    opacity: .82;
    filter: drop-shadow(0 0 14px rgba(229, 184, 95, .14));
}

.auth-main-link {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-main-top-item {
    background:
        radial-gradient(circle at 88% 20%, rgba(229, 184, 95, .13), transparent 32%),
        linear-gradient(180deg, rgba(16, 11, 7, .88), rgba(8, 6, 4, .82));
}

.auth-main-top-item .auth_donate_coins,
.auth-main-top-item .auth_donate_links {
    position: relative;
    z-index: 1;
}

.auth-main-top-item .auth_donate_coins {
    align-self: center;
}

.auth-main-top-item .auth_donate_links {
    align-self: center;
}

.auth-main-top-item .auth_donation_coins {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-main-top-item .auth_donate_title {
    align-items: center;
}

.auth-main-top-item .auth_donate_links a,
.auth-main-top-item .btn-gray-no-border {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0 16px;
}

.auth-main-top-item .auth_donate_links {
    display: flex;
    align-items: center;
}

.auth-content-main {
    padding: 22px;
}

.alert-danger {
    min-height: 52px;
    margin-bottom: 18px;
    padding-top: 12px;
    padding-bottom: 12px;
    border-color: rgba(208, 95, 66, .3);
    background:
        linear-gradient(90deg, rgba(69, 23, 16, .7), rgba(18, 11, 7, .66));
}

.alert-danger p {
    color: #f5c3b5;
}

.create_game_account {
    margin-bottom: 0;
    border-color: rgba(229, 184, 95, .2);
    background:
        linear-gradient(90deg, rgba(6, 4, 3, .7), rgba(16, 11, 7, .72));
}

.master-account-table {
    margin-top: 16px;
}

.streamer-balance .auth_donate_title small {
    color: var(--l2-gold-2);
    font-family: 'MontserratL2', sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.streamer-referral-box,
.streamer-referral-hero,
.streamer-referral-card {
    border: 1px solid rgba(229, 184, 95, .2);
    border-radius: 8px;
    background:
        radial-gradient(circle at 92% 0%, rgba(229, 184, 95, .12), transparent 38%),
        linear-gradient(180deg, rgba(14, 9, 6, .84), rgba(7, 5, 3, .72));
}

.streamer-referral-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    position: relative;
    overflow: hidden;
}

.streamer-referral-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(229, 184, 95, .1), transparent 35%),
        radial-gradient(circle at 8% 10%, rgba(255, 190, 58, .14), transparent 28%);
    pointer-events: none;
}

.streamer-referral-copy,
.streamer-referral-action {
    position: relative;
    z-index: 1;
}

.streamer-referral-copy {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.streamer-referral-icon {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(229, 184, 95, .34);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--l2-gold-2);
    background: rgba(5, 4, 3, .72);
    box-shadow: inset 0 0 18px rgba(229, 184, 95, .08);
}

.streamer-referral-box span,
.streamer-referral-hero span,
.streamer-referral-card span {
    color: var(--l2-gold-2);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.streamer-referral-box h3 {
    margin: 5px 0 6px;
    color: #fff1d2;
    font-family: 'TrajanL2', serif;
    font-size: 21px;
}

.streamer-referral-box p,
.streamer-referral-hero p,
.streamer-referral-card p {
    margin: 0;
    color: rgba(255, 244, 220, .65);
    line-height: 1.6;
}

.streamer-referral-action {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.streamer-referral-commission {
    min-height: 46px;
    border: 1px solid rgba(229, 184, 95, .25);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffe2a0;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    gap: 4px;
    padding: 8px 6px;
    font-family: 'TrajanL2', serif;
    background: rgba(255, 185, 54, .08);
}

.streamer-referral-commission strong {
    font-size: 22px;
}

.streamer-referral-commission small {
    color: rgba(255, 244, 220, .7);
    font-family: 'MontserratL2', sans-serif;
    font-size: 9px;
    font-weight: 800;
}

.streamer-referral-select {
    position: relative;
}

.streamer-referral-select::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--l2-gold-2);
    pointer-events: none;
    font-size: 12px;
}

.streamer-referral-box select.form-control {
    width: 100%;
    height: 46px;
    appearance: none;
    border-radius: 8px;
    border: 1px solid rgba(229, 184, 95, .3);
    background: rgba(4, 3, 2, .82);
    color: #fff1d2;
    padding: 0 42px 0 14px;
    font-weight: 700;
}

.streamer-referral-box select.form-control:focus {
    border-color: rgba(255, 190, 58, .72);
    box-shadow: 0 0 0 3px rgba(229, 184, 95, .12);
}

.streamer-referral-box select.form-control.has-streamer {
    border-color: rgba(255, 190, 58, .82);
    background:
        linear-gradient(90deg, rgba(255, 185, 54, .09), rgba(4, 3, 2, .82));
    box-shadow: 0 0 18px rgba(229, 184, 95, .12);
}

.streamer-referral-selected {
    display: none;
    margin: 8px 0 0;
    color: rgba(255, 224, 154, .8);
    font-size: 12px;
    line-height: 1.4;
}

.streamer-referral-selected.is-visible {
    display: block;
}

.bonus-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--l2-gold-2);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.shilen-account-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shilen-account-balance,
.shilen-account-user {
    min-height: 42px;
    border: 1px solid rgba(229, 184, 95, .24);
    border-radius: 7px;
    background:
        radial-gradient(circle at 100% 0%, rgba(229, 184, 95, .16), transparent 38%),
        rgba(7, 5, 3, .72);
    display: inline-flex;
    align-items: center;
    color: #fff0cf;
    text-decoration: none;
    transition: .2s ease;
}

.shilen-account-balance {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-width: 116px;
    padding: 6px 14px;
    line-height: 1.05;
}

.shilen-account-balance span {
    color: rgba(255, 244, 220, .62);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.shilen-account-balance strong {
    margin-top: 3px;
    color: #ffe1a0;
    font-family: 'TrajanL2', serif;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}

.shilen-account-user {
    gap: 9px;
    padding: 0 12px;
    background:
        linear-gradient(135deg, rgba(229, 184, 95, .22), rgba(167, 85, 42, .3)),
        rgba(12, 8, 5, .88);
    box-shadow: inset 0 0 18px rgba(229, 184, 95, .06);
}

.shilen-account-user i:first-child {
    color: var(--l2-gold-2);
}

.shilen-account-user span {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff5da;
    font-weight: 800;
    white-space: nowrap;
}

.shilen-account-balance:hover,
.shilen-account-user:hover {
    border-color: rgba(255, 190, 58, .5);
    transform: translateY(-1px);
}

.shilen-account-menu {
    min-width: 190px;
    padding: 8px;
    border: 1px solid rgba(229, 184, 95, .22);
    border-radius: 8px;
    background: rgba(7, 5, 3, .96);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
}

.shilen-account-menu a {
    min-height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    color: rgba(255, 244, 220, .78);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.shilen-account-menu a:hover {
    background: rgba(229, 184, 95, .12);
    color: #fff3d6;
}

.streamer-referral-page {
    display: grid;
    gap: 18px;
}

.streamer-referral-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 20px;
    align-items: center;
    padding: 24px;
}

.streamer-referral-hero h2 {
    margin: 8px 0;
    color: #fff1d2;
    font-family: 'TrajanL2', serif;
    font-size: 32px;
}

.streamer-referral-balance {
    padding: 18px;
    border: 1px solid rgba(229, 184, 95, .2);
    border-radius: 8px;
    background: rgba(6, 4, 3, .42);
}

.streamer-referral-balance small {
    display: block;
    color: var(--l2-muted);
    font-weight: 700;
    text-transform: uppercase;
}

.streamer-referral-balance strong {
    display: block;
    margin-top: 8px;
    color: #fff1d2;
    font-family: 'TrajanL2', serif;
    font-size: 30px;
}

.streamer-referral-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.streamer-referral-card {
    padding: 20px;
}

.streamer-nick {
    margin: 10px 0;
    color: #fff1d2;
    font-family: 'TrajanL2', serif;
    font-size: 28px;
}

.streamer-referral-history {
    margin: 0;
}

.dashboard-empty-state {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 22px;
    border: 1px dashed rgba(229, 184, 95, .24);
    border-radius: 8px;
    background:
        radial-gradient(circle at 96% 50%, rgba(229, 184, 95, .1), transparent 36%),
        rgba(6, 4, 3, .42);
}

.dashboard-empty-state__icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(229, 184, 95, .28);
    border-radius: 8px;
    background: rgba(229, 184, 95, .08);
    color: var(--l2-gold);
}

.dashboard-empty-state__icon svg {
    width: 24px;
    height: 24px;
}

.dashboard-empty-state h3 {
    margin: 0 0 6px;
    color: #fff1d2;
    font-family: 'TrajanL2', serif;
    font-size: 20px;
}

.dashboard-empty-state p {
    margin: 0;
    color: rgba(255, 244, 220, .65);
    font-size: 14px;
    line-height: 1.6;
}

@media only screen and (max-width: 900px) {
    .dashboard-hero {
        grid-template-columns: 1fr;
    }

    .dashboard-hero__brand {
        display: none;
    }

    .auth-main-link {
        grid-template-columns: 1fr;
    }

    .streamer-referral-box,
    .streamer-referral-hero,
    .streamer-referral-grid {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 675px) {
    .dashboard-hero {
        padding: 18px;
    }

    .dashboard-hero h1 {
        font-size: 27px;
    }

    .dashboard-empty-state {
        grid-template-columns: 1fr;
    }

    .streamer-referral-copy,
    .streamer-referral-action {
        grid-template-columns: 1fr;
    }

    .streamer-referral-icon {
        display: none;
    }

    .streamer-referral-commission {
        min-height: 38px;
        justify-content: flex-start;
        padding: 0 14px;
    }
}

@media only screen and (max-width : 675px) {
    .services-all {
        grid-template-columns: repeat(1, 1fr);
    }
    .service-item {
        padding: 15px;
        grid-template-columns: repeat(1, 1fr);
    }
    .form-group {
        margin-bottom: 15px;
    }
    .main-wrap {
        overflow-x: hidden;
    }
    .service-item .btn-primary {
        max-width: 100%;
    }
    .auth_nav_top {
        display: none;
    }
    .auth-main-link {
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
    }
    .auth-main-top-item.right {
        display: none;
    }
    .s-pack {
        grid-template-columns: repeat(1, 1fr);
    }
    #payment-form {
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
    }
    .auth-content {
        padding-bottom: 40px;
    }
    .card {
        padding: 15px;
    }
    .bonus-item {
        font-size: 16px;
    }
    .referral_form {
        max-width: 100%;
        flex-wrap: wrap;
        gap: 15px;
    }
    .referral_form input {
        width: 100%;
    }
    .referral_block {
        flex-wrap: wrap;
        gap: 15px;
    }
    .referral_copy_link {
        width: 100%;
    }
    .referral_copy_link button {
        width: 100%;
        max-width: 100%;
    }
    .referral_block button {
        min-width: 100%;
    }
    .stats-menu {
        flex-wrap: wrap;
    }
    .ticket-sidebar {
        width: 100%;
    }
    .ticket-block {
        max-width: 100%;
        min-width: 100%;
        flex-wrap: wrap;
    }
    .ticket-messages {
        width: 100%;
        padding: 0 15px;
    }
    .ticket-section {
        padding: 15px;
    }
    .title h1 {
        font-size: 22px;
    }
    .send-to-game {
        flex-wrap: wrap;
    }
    .create_game_account p {
        display: none;
    }
    .create_game_account button {
        min-width: 100%;
    }
    .popup-content {
        margin-left: 15px;
        margin-right: 15px;
    }
    .lin2Table {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch; /* плавный скролл на iOS */
    }
    .omg-table {
        width: max-content;
    }
    table.rating thead th, table.rating td {
        font-size: 12px;
    }
    aside.sidebar.top_menu {
        width: 80%;
    }
    .sidebar-left {
        overflow-x: hidden;
        overflow-y: auto;
    }
    .auth_header_top {
        margin-top: 15px;
        margin-bottom: 15px;
    }
}

/* L2Shilen dashboard */
@font-face {
    font-family: 'TrajanL2';
    src: url("../fonts/TrajanSansPro-Bold.otf") format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'MontserratL2';
    src: url("../fonts/Montserrat-Regular.ttf") format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'MontserratL2';
    src: url("../fonts/Montserrat-SemiBold.ttf") format('truetype');
    font-weight: 700;
    font-style: normal;
}

:root {
    --l2-bg: #080604;
    --l2-panel: rgba(12, 8, 5, .9);
    --l2-panel-2: rgba(24, 17, 11, .82);
    --l2-border: rgba(229, 184, 95, .25);
    --l2-gold: #e5b85f;
    --l2-gold-2: #f5d58b;
    --l2-bronze: #a96b2f;
    --l2-text: #fff3d6;
    --l2-muted: #c8b996;
}

body {
    background:
        radial-gradient(circle at 82% 10%, rgba(213, 152, 67, .18), transparent 30%),
        linear-gradient(180deg, rgba(10, 7, 4, .9), #080604 70%);
    color: var(--l2-text);
    font-family: 'MontserratL2', 'IBM Plex Sans', sans-serif;
}

.video-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 3, 2, .86), rgba(8, 6, 4, .66), rgba(4, 3, 2, .84)),
        linear-gradient(180deg, rgba(0, 0, 0, .28), rgba(8, 6, 4, .9));
}

.video-overlay {
    background: rgba(6, 4, 2, .34);
}

#bg-video {
    filter: saturate(.82) contrast(1.08) brightness(.68);
}

.main-wrapper {
    min-height: 100vh;
}

aside.sidebar {
    width: 286px;
    border-right: 1px solid var(--l2-border);
    background:
        radial-gradient(circle at 50% 0%, rgba(229, 184, 95, .12), transparent 34%),
        linear-gradient(180deg, rgba(11, 8, 5, .96), rgba(7, 5, 3, .96));
    box-shadow: 18px 0 70px rgba(0, 0, 0, .35);
}

.sidebar-left {
    min-height: 100vh;
    padding: 24px 18px;
}

.auth_block_top {
    padding: 0 0 24px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(229, 184, 95, .16);
}

.auth_logo {
    margin-bottom: 18px;
}

.auth_logo a {
    display: flex;
    justify-content: center;
}

.auth_logo img {
    width: 186px;
    max-height: 82px;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(232, 178, 79, .22));
}

.auth_header_top {
    margin: 0;
    padding: 15px;
    border: 1px solid rgba(229, 184, 95, .18);
    border-radius: 8px;
    background: rgba(8, 6, 4, .62);
}

.auth_header_title {
    align-items: center;
    gap: 10px;
}

.auth_header_title svg,
.sidebar-menu svg,
.sidebar-menu img,
.auth_nav_top i,
.auth_top_r svg {
    color: var(--l2-gold);
    filter: none;
}

.auth_header_title p {
    color: #fff0cf;
    font-family: 'TrajanL2', serif;
    font-size: 18px;
    line-height: 1.1;
}

.auth_bottom_text small {
    display: block;
    margin-top: 8px;
    color: rgba(255, 244, 220, .62);
    font-size: 12px;
}

.sidebar-menu {
    gap: 8px;
}

.sidebar-menu a,
.logout button {
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: rgba(255, 244, 220, .78);
    font-family: 'MontserratL2', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    transition: .2s ease;
}

.sidebar-menu a:hover,
.logout button:hover,
.sidebar-menu a.active {
    border-color: rgba(229, 184, 95, .22);
    background: rgba(229, 184, 95, .11);
    color: #fff4d9;
}

.sidebar-menu a.active:after,
.sidebar-menu a:after {
    display: none;
}

.main-content {
    width: calc(100% - 286px);
    margin-left: 286px;
    padding: 20px 24px 56px;
}

.main-wrap {
    width: min(1260px, 100%);
    margin: 0 auto;
}

.auth_top {
    position: sticky;
    top: 16px;
    z-index: 20;
    min-height: 72px;
    margin-bottom: 24px;
    padding: 10px 14px;
    border: 1px solid rgba(229, 184, 95, .22);
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(9, 6, 4, .94), rgba(20, 13, 8, .96));
    box-shadow: 0 18px 60px rgba(0, 0, 0, .36);
    backdrop-filter: blur(8px);
}

.auth_nav_top ul {
    gap: 10px;
}

.auth_nav_top a,
.auth_top_r .btn-accent,
.nav__langs-selected {
    min-height: 44px;
    border-radius: 7px;
    border: 1px solid transparent;
    padding: 0 15px;
    color: #f7ecd4;
    font-family: 'MontserratL2', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.auth_nav_top a:hover,
.auth_nav_top li:first-child a {
    border-color: rgba(229, 184, 95, .2);
    background: rgba(229, 184, 95, .13);
}

.auth_top_r {
    gap: 12px;
}

.auth_top_r .btn-accent {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-color: rgba(229, 184, 95, .22);
    background: rgba(12, 8, 5, .72);
}

.auth_top_r .btn-accent:hover,
.btn-primary:hover,
.btn-green:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.nav__langs {
    position: relative;
}

.nav__langs-selected {
    background: linear-gradient(135deg, #e1b764, #b47635);
    color: #fff;
}

.nav__langs-item {
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    min-width: 94px;
    padding: 8px;
    border: 1px solid var(--l2-border);
    border-radius: 7px;
    background: rgba(12, 8, 5, .96);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .42);
}

.auth-content {
    padding: 0;
}

.auth-main-link {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
    padding: 0;
}

.auth-main-top-item,
.auth-content-main,
.master-acc-item,
.popup-content,
.card,
.service-item,
.ticket-sidebar,
.ticket-section {
    border: 1px solid var(--l2-border);
    border-radius: 8px;
    background:
        radial-gradient(circle at 90% 0%, rgba(219, 161, 75, .12), transparent 38%),
        linear-gradient(180deg, rgba(18, 12, 8, .92), rgba(8, 6, 4, .9));
    box-shadow: 0 24px 70px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 230, 170, .05);
}

.auth-main-top-item {
    min-height: 150px;
    padding: 22px;
}

.auth_donate_coins {
    gap: 16px;
}

.refresh_link {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(229, 184, 95, .24);
    border-radius: 8px;
    background: rgba(8, 6, 4, .72);
    color: var(--l2-gold);
}

.auth_donation_coins p,
.tooltip_title {
    color: var(--l2-muted);
    font-family: 'MontserratL2', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.auth_donate_title span {
    color: #fff1d2;
    font-family: 'TrajanL2', serif;
    font-size: 34px;
    line-height: 1;
}

.auth_donate_title img {
    width: 30px;
    height: 30px;
}

.auth_donate_links {
    gap: 10px;
}

.auth-content-main {
    padding: 24px;
}

.create_game_account {
    margin-bottom: 22px;
}

.create_game_account p,
.title h1,
.popup-title {
    color: #fff1d2;
    font-family: 'TrajanL2', serif;
    text-shadow: 0 2px 0 rgba(0, 0, 0, .8);
}

.create_game_account p {
    font-size: 26px;
}

.btn-primary,
.btn-green,
.btn-accent {
    border: 0;
    border-radius: 7px;
    background: linear-gradient(135deg, #e2b762, #b87534);
    color: #fff;
    font-family: 'MontserratL2', sans-serif;
    font-weight: 700;
    box-shadow: 0 18px 42px rgba(205, 142, 54, .22);
}

.btn-gray-no-border {
    border: 1px solid rgba(229, 184, 95, .25);
    border-radius: 7px;
    background: rgba(8, 6, 4, .5);
    color: #f7e4b8;
    font-family: 'MontserratL2', sans-serif;
    font-weight: 700;
}

.btn-gray-no-border:hover {
    border-color: rgba(229, 184, 95, .5);
    background: rgba(229, 184, 95, .1);
}

.master-account-table {
    gap: 16px;
}

.master-acc-item {
    overflow: hidden;
    padding: 0;
}

.change-game-password-block {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(229, 184, 95, .16);
    background: rgba(8, 6, 4, .36);
}

.master-name-plus {
    gap: 12px;
}

.master-name-plus #game_login,
.master-name-plus p:last-child {
    color: #fff1d2;
    font-family: 'TrajanL2', serif;
    font-size: 21px;
}

.plus-toggle {
    border-color: rgba(229, 184, 95, .34);
    background: rgba(229, 184, 95, .12);
}

.lin2Table {
    overflow-x: auto;
}

.omg-table {
    border-collapse: separate;
    border-spacing: 0;
    background: transparent;
}

.omg-table th,
.omg-table td {
    border-color: rgba(229, 184, 95, .13);
    color: rgba(255, 244, 220, .78);
    font-family: 'MontserratL2', sans-serif;
}

.omg-table thead {
    background: rgba(229, 184, 95, .08);
}

.omg-table th {
    color: var(--l2-gold-2);
    font-size: 12px;
    text-transform: uppercase;
}

.omg-table tbody tr:hover {
    background: rgba(229, 184, 95, .07);
}

.form-control,
select.form-control {
    border: 1px solid rgba(229, 184, 95, .18);
    border-radius: 7px;
    background: rgba(8, 6, 4, .86);
    color: #fff5dc;
    font-family: 'MontserratL2', sans-serif;
}

.form-control:focus,
select.form-control:focus {
    border-color: rgba(235, 186, 92, .68);
    box-shadow: 0 0 0 3px rgba(229, 184, 95, .1);
}

.form-control::placeholder {
    color: rgba(235, 219, 188, .55);
}

.popup-overlay {
    background: rgba(3, 2, 1, .72);
    backdrop-filter: blur(4px);
}

.popup-content {
    width: min(500px, calc(100% - 32px));
    padding: 28px;
}

.popup-title {
    font-size: 25px;
}

.popup-close {
    border: 1px solid rgba(229, 184, 95, .25);
    border-radius: 7px;
    background: rgba(8, 6, 4, .62);
    color: var(--l2-gold);
}

.alert-success,
.alert-danger {
    border-radius: 8px;
    border: 1px solid rgba(229, 184, 95, .22);
    background: linear-gradient(90deg, rgba(21, 63, 24, .88), rgba(11, 8, 5, .88));
}

.alert-danger {
    background: linear-gradient(90deg, rgba(92, 28, 19, .88), rgba(11, 8, 5, .88));
}

.gw-burger {
    border: 1px solid rgba(229, 184, 95, .26);
    border-radius: 7px;
    background: rgba(12, 8, 5, .92);
}

.gw-burger__line {
    background-color: var(--l2-gold);
}

@media only screen and (max-width: 1180px) {
    aside.sidebar {
        width: 260px;
    }

    .main-content {
        width: calc(100% - 260px);
        margin-left: 260px;
    }

    .auth-main-link {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 960px) {
    .main-content {
        width: 100%;
        margin-left: 0;
        padding: 16px;
    }

    aside.sidebar.top_menu {
        width: 300px;
    }

    .navigation__burger {
        position: fixed;
        top: 14px;
        left: 14px;
        z-index: 100000;
    }

    .auth_top {
        padding-left: 56px;
        position: relative;
        top: auto;
    }
}

@media only screen and (max-width: 675px) {
    .main-content {
        padding: 12px;
    }

    .auth_top {
        padding: 12px 12px 12px 56px;
    }

    .auth-content-main,
    .auth-main-top-item {
        padding: 18px;
    }

    .create_game_account p {
        display: block;
        font-size: 22px;
        margin-bottom: 12px;
    }

    .create_game_account {
        align-items: stretch;
        flex-direction: column;
    }

    .change-game-password-block {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .change-game-password-block .btn-gray-no-border {
        width: 100%;
    }
}

/* L2Shilen dashboard polish */
.main-content {
    padding: 26px 32px 60px;
}

.main-wrap {
    width: min(1180px, 100%);
}

.auth_top {
    min-height: 66px;
    margin-bottom: 22px;
    padding: 10px 12px;
}

.auth_nav_top {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.auth_nav_top ul {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.auth_nav_top a,
.auth_top_r .btn-accent,
.nav__langs-selected {
    min-height: 42px;
}

.auth-main-link {
    gap: 16px;
    margin-bottom: 18px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.auth-main-top-item {
    min-height: 118px;
    padding: 20px 22px;
    justify-content: space-between;
}

.auth-main-top-item.left::before {
    display: none;
}

.auth-main-top-item::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(115deg, rgba(255, 231, 170, .07), transparent 36%);
}

.refresh_link {
    width: 46px;
    height: 46px;
    border-radius: 7px;
}

.auth_donate_title span {
    font-size: 30px;
}

.auth_donate_links .btn-gray-no-border {
    min-height: 34px;
    padding: 0 14px;
}

.auth-content-main {
    padding: 26px;
    background:
        radial-gradient(circle at 76% -12%, rgba(229, 184, 95, .1), transparent 34%),
        linear-gradient(180deg, rgba(12, 8, 5, .82), rgba(7, 5, 3, .76));
}

.alert-success,
.alert-danger {
    min-height: 58px;
    margin: 0 0 22px;
    padding: 14px 16px 14px 18px;
    border-radius: 7px;
}

.alert-danger {
    border-color: rgba(208, 95, 66, .4);
    background:
        linear-gradient(90deg, rgba(73, 22, 15, .86), rgba(25, 13, 8, .82));
}

.alert-success {
    border-color: rgba(112, 172, 87, .38);
    background:
        linear-gradient(90deg, rgba(27, 72, 32, .82), rgba(18, 13, 8, .82));
}

.alert-success p,
.alert-danger p {
    padding-left: 44px;
    color: #ffd7c8;
    font-family: 'MontserratL2', sans-serif;
    font-size: 15px;
}

.alert-success p {
    color: #d9f3be;
}

.alert-success p::before,
.alert-danger p::before {
    top: 50%;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: rgba(255, 255, 255, .1);
    color: currentColor;
    font-family: 'MontserratL2', sans-serif;
    font-size: 18px;
    font-weight: 700;
    transform: translateY(-50%);
}

.alert-success p::before {
    content: "✓";
}

.alert-danger p::before {
    content: "!";
}

.close {
    width: 40px;
    height: 40px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .08);
}

.create_game_account {
    min-height: 72px;
    margin: 0 0 20px;
    padding: 14px 18px 14px 20px;
    border: 1px solid rgba(229, 184, 95, .14);
    border-radius: 8px;
    background: rgba(5, 4, 3, .54);
}

.create_game_account p {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
}

.create_game_account p::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ffbf41;
    box-shadow: 0 0 16px rgba(255, 191, 65, .72);
}

.create_game_account .btn-primary {
    min-height: 44px;
    padding: 0 18px;
    box-shadow: 0 14px 32px rgba(205, 142, 54, .2);
}

.master-account-table:empty::before {
    content: "No hay cuentas de juego creadas todavía.";
    display: block;
    padding: 24px;
    border: 1px dashed rgba(229, 184, 95, .24);
    border-radius: 8px;
    color: rgba(255, 244, 220, .62);
    text-align: center;
}

.sidebar-left {
    padding: 20px 18px;
}

.auth_logo img {
    width: 174px;
}

.auth_header_top {
    padding: 14px;
    background:
        radial-gradient(circle at 100% 0%, rgba(229, 184, 95, .12), transparent 40%),
        rgba(8, 6, 4, .62);
}

.sidebar-menu {
    margin-top: 10px;
}

.sidebar-menu.bottom {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(229, 184, 95, .14);
}

.sidebar-menu a,
.logout button {
    padding: 0 14px;
    color: rgba(255, 244, 220, .72);
}

.sidebar-menu a.active {
    background:
        linear-gradient(90deg, rgba(229, 184, 95, .16), rgba(229, 184, 95, .06));
}

.logout button {
    color: #ffb39d;
}

@media only screen and (max-width: 960px) {
    .main-content {
        padding: 16px;
    }

    .main-wrap {
        width: 100%;
    }
}

/* L2Shilen dashboard global responsive pass */
@media only screen and (max-width: 1180px) {
    .main-content {
        padding: 18px 18px 48px;
    }

    .main-wrap {
        width: 100%;
    }

    .auth_top {
        gap: 12px;
    }

    .auth_nav_top ul {
        gap: 6px;
    }

    .auth_nav_top a,
    .auth_top_r .btn-accent,
    .nav__langs-selected {
        padding: 0 11px;
        font-size: 12px;
    }

    .auth-main-top-item {
        padding: 18px;
    }
}

@media only screen and (max-width: 960px) {
    body {
        overflow-x: hidden;
    }

    aside.sidebar {
        width: min(82vw, 286px);
        transform: translateX(-100%);
        transition: transform .25s ease;
        z-index: 50;
    }

    aside.sidebar.top_menu.active,
    aside.sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        width: 100%;
        margin-left: 0;
        padding: 14px;
    }

    .auth_top {
        position: sticky;
        top: 10px;
        min-height: 58px;
        padding: 8px;
        gap: 8px;
    }

    .auth_nav_top {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .auth_nav_top::-webkit-scrollbar {
        display: none;
    }

    .auth_nav_top ul {
        flex-wrap: nowrap;
        min-width: max-content;
    }

    .auth_top_r {
        gap: 8px;
        flex-shrink: 0;
    }

    .auth_top_r .btn-accent span {
        display: none;
    }

    .dashboard-hero {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .dashboard-hero__brand {
        display: none;
    }

    .auth-main-link {
        grid-template-columns: 1fr;
    }

    .auth-main-top-item {
        min-height: auto;
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
    }

    .auth_donate_coins,
    .auth_donate_links {
        width: 100%;
    }

    .auth_donate_links {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .auth-content-main {
        padding: 18px;
    }

    #payment-form {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .pay-currency {
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .payment_select {
        gap: 10px;
    }

    .pay_method img {
        height: 34px;
    }

    .payment__range.noUi-horizontal {
        margin-bottom: 70px;
    }

    .bonus-item {
        gap: 14px;
    }

    .master-account-table {
        overflow-x: auto;
    }
}

@media only screen and (max-width: 675px) {
    .main-content {
        padding: 10px;
    }

    .auth_top {
        border-radius: 7px;
    }

    .auth_nav_top a,
    .auth_top_r .btn-accent,
    .nav__langs-selected {
        min-height: 38px;
        padding: 0 10px;
    }

    .nav__langs-selected span,
    .nav__langs-item span {
        display: none;
    }

    .nav__langs-selected,
    .nav__langs-item {
        min-width: 42px;
        justify-content: center;
    }

    .dashboard-hero {
        padding: 18px;
    }

    .dashboard-hero h1 {
        font-size: 30px;
    }

    .auth-content-main {
        padding: 14px;
    }

    .auth-main-top-item {
        padding: 16px;
    }

    .auth_donate_title span {
        font-size: 28px;
    }

    .auth_donate_links .btn-gray-no-border,
    .auth_donate_links .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .create_game_account {
        align-items: stretch;
        flex-direction: column;
    }

    .create_game_account p {
        font-size: 22px;
    }

    .create_game_account .btn-primary,
    .login_button .btn-primary {
        width: 100%;
    }

    .payment__input {
        align-items: stretch;
    }

    .payment-pay input {
        min-width: 0;
    }

    .payment_bonus_price {
        height: auto;
    }

    .streamer-referral-box,
    .streamer-referral-hero,
    .streamer-referral-card {
        padding: 16px;
    }

    .streamer-referral-copy,
    .streamer-referral-action {
        grid-template-columns: 1fr;
    }

    .streamer-referral-icon {
        display: none;
    }

    .streamer-referral-commission {
        min-height: 40px;
        align-items: flex-start;
        padding-left: 14px;
    }

    .bonus-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .alert-success p,
    .alert-danger p {
        padding-left: 0;
        padding-top: 38px;
    }

    .alert-success p::before,
    .alert-danger p::before {
        top: 14px;
        transform: none;
    }
}

@media only screen and (max-width: 420px) {
    .auth_nav_top a span {
        display: none;
    }

    .auth_nav_top a {
        width: 40px;
        padding: 0;
        justify-content: center;
    }

    .dashboard-hero h1,
    .create_game_account p,
    .donate-title {
        font-size: 24px;
    }

    .payment_select {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        display: grid;
    }

    .pay_method img {
        max-width: 100%;
        height: auto;
        min-height: 32px;
        object-fit: contain;
    }
}
