* {
    padding: 0;
    margin: 0;
    --text-main: #fcfcfc;
    --text-regular: #FFAF61;
    --text-placeholder: #FFAF61;
    --danger: #9ecae4;
    --brand: linear-gradient(90deg, #FF8329 0%, #FF5050 65.1%);
    --success: #8bdbb4;
    --warning: #FFAF61;
    --bg-color: #fcfcfc;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*:focus {
    outline: none;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #2a2a2a;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text-main);
    font-size: 16px;
}

.main-block {
    margin-top: 85px;
    min-height: 725px;
}

.container {
    max-width: 1440px !important;
}

header {
    display: flex;
    align-items: center;
    margin-top: 25px;
}

.art img {
    margin-left: 5rem;
}

.logo img {
    margin-right: 25px;
    width: 65px;
}

.logo h2 {
    font-weight: 900;
    font-size: 24px;
    color: var(--text-regular);
}

.links {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    list-style-type: none;
    justify-content: center;
}

.link a {
    color: var(--text-regular);
    text-decoration: none;
    margin-right: 30px;
}

.link:hover a {
    color: var(--text-main);
}

.link.active a {
    color: var(--text-main);
    font-weight: 500;
}

a {
    text-decoration: none;
}

button {
    border: none;
}

.btn {
    border-radius: 10px;
    padding: 13px 26px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.btn span {
    font-size: 24px;
}

.btn-brand {
    color: var(--bg-color);
    background: var(--brand);
}

.main-block h1 {
    font-weight: 900;
    font-size: 48px;
    line-height: 65px;
    color: var(--text-main);
    max-width: 600px;
}

.main-block .row .col-lg-6:first-child {
    max-width: 588px;
}

.action span {
    font-size: 24px;
}

.action {
    display: flex;
    margin-right: 50px;
    font-weight: 600;
    font-size: 18px;
    align-items: center;
}

.action.text-danger span {
    filter: drop-shadow(0px 0px 20px rgb(246, 127, 139));
}

.action.text-success span {
    filter: drop-shadow(0px 0px 20px rgba(139, 219, 180, 0.5));
}

.action.text-warning span {
    filter: drop-shadow(0px 0px 20px rgba(255, 203, 153, 0.5));
}

.online {
    background: rgb(246 182 127/19%);
    border-radius: 50px;
    height: 17px;
    width: 100%;
}

.online-path {
    background: var(--brand);
    border-radius: 50px;
    height: 17px;
}

h3 {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-regular);
}

.info {
    font-size: 18px;
    line-height: 35px;
}

.join-btn {
    background: var(--warning);
    box-shadow: 0 0 20px rgba(255, 203, 153, .65);
    padding: 24px 40px;
    color: #fff;
    width: fit-content;
}

.scroll-icon {
    position: absolute;
    left: 47%;
    bottom: 60px;
    background: var(--brand);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text !important;
    background-clip: text;
    animation: float 3s ease-in-out infinite;
}

.stat-block {
    padding: 40px 0 85px;
    box-shadow: 0 20px 20px rgba(0, 0, 0, .02);
    position: relative;
}

.stat span {
    font-size: 126px;
    background: var(--brand);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text !important;
    background-clip: text;
    filter: drop-shadow(0px 0px 20px rgba(246, 127, 139, 0.25));
    margin-right: 50px;
}

.stat h2 {
    font-weight: 800;
    font-size: 30px;
    line-height: 67px;
    background: var(--brand);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text !important;
    background-clip: text;
    text-shadow: 0 0 20px rgba(246, 127, 139, .25);
}

.stat p {
    font-size: 25px;
    line-height: 25px;
    margin-top: 1px;
}

.htp-block {
    background: #1f1f1f;
    background-position: center;
    background-size: cover;
    padding: 85px 0;
}


.htp-block h1 {
    font-weight: 800;
    font-size: 36px;
    line-height: 44px;
    margin-bottom: 25px;
    color: var(--text-regular);
}

.htp-block p {
    font-size: 22px;
    line-height: 35px;
}

.btn-success {
    background: rgba(139, 219, 180, .2);
    color: var(--success);
    width: fit-content;
}

.img-1, .img-2, .img-3 {
    height: 400px;
    overflow: hidden; /* важно, чтобы обрезка работала */
}

.img-1 {
    border-radius: 10px 0 0 10px;
}

.img-2 {
    border-radius: 0 10px 10px 0;
}

.img-3 {
    border-radius: 10px 0 0 10px;
}

.img-1 img,
.img-2 img,
.img-3 img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}


.members-block {
    /*background: #fff;*/
    padding: 55px 0 70px;
}

h1 {
    font-weight: 800;
    font-size: 36px;
    line-height: 44px;
    color: var(--text-regular);
}

.member {
    width: 150px;
    margin-right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.member .img {
    width: 90px;
    height: 90px;
}

.member img:first-child {
    width: 90px;
    height: 90px;
    border-radius: 10px;
}

.member img:nth-child(2) {
    width: 65px;
    position: relative;
    top: -120px;
    left: 60px;
}

.member p {
    margin-top: 17px;
    text-align: center;
}

.members .member:first-child {
    margin-left: -15px;
}

.best-player-block {
    padding: 60px 0 55px;
    background: #1f1f1f;
    background-position: center;
    background-size: cover;
}

.white-placeholder {
    color: var(--text-placeholder);
    margin-right: 15px;
}

.sum {
    text-align: right;
}

.skin {
    margin-right: 70px;
    filter: drop-shadow(0px 0px 50px rgba(255, 255, 255, 0.3));
}

.skin-container span {
    font-size: 36px;
    filter: drop-shadow(0px 4px 20px #ffb66e);
    color: var(--warning);
    position: relative;
    left: -142px;
    top: -190px;
}

.card.card-transparent {
    background: rgba(255, 255, 255, .25);
    border-radius: 10px;
    padding: 30px 35px;
    color: var(--text-main);
}

.card.card-transparent h4 {
    font-size: 18px;
}

.tabs {
    display: flex;
    height: 38px;
    border-bottom: 2px solid #e3e3e3;
    width: fit-content;
}

.tab {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-placeholder);
    height: 38px;
    margin-right: 35px;
    cursor: pointer;
}

.tab:hover {
    color: var(--text-main);
}

.tab.active {
    color: var(--text-regular);
    border-bottom: 3px solid var(--danger);
}

.tab:nth-last-child(1) {
    margin-right: 0;
}

footer {
    background: #1f1f1f;
    background-position: center;
    background-size: cover;
    padding: 35px 0;
}

.scale {
    transition: .3s;
    cursor: pointer;
}

.scale:hover {
    transform: scale(1.05);
}

@keyframes float {
    0% {
        transform: translatey(0px);
    }

    50% {
        transform: translatey(-20px);
    }

    100% {
        transform: translatey(0px);
    }
}

.mobile-burger {
    background: #f4f4f4;
    height: 60px;
    width: 60px;
    border-radius: 10px;
    border: none;
    margin-right: 15px;
    cursor: pointer;
    display: none;
}

#mobile-menu {
    background: #2a2a2a;
    padding: 30px;
    position: absolute;
    z-index: 1000;
    margin-left: -25px;
    top: -300px;
    transition: ease-in .2s;
}

#mobile-menu.active {
    top: 0;
}

.mobile-links {
    list-style-type: none;
}

.mobile-links li {
    text-align: center;
}

.mobile-links li:not(:nth-last-child(1)) {
    margin-bottom: 30px;
}

.mobile-links li a {
    color: var(--text-regular);
    font-size: 18px;
    text-decoration: none;
}

.mobile-links li a:hover {
    color: var(--text-main);
}

.mobile-links a.active {
    color: var(--text-main);
}

#close-mobile {
    position: absolute;
    right: 7px;
    top: 20px;
}

.modal-backdrop {
    background: rgba(0, 0, 0, .1);
    backdrop-filter: blur(10px);
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-container {
    padding: 30px 25px;
}

.modal {
    width: 100%;
    z-index: 11000;
    max-width: 1000px;
    background: #2a2a2a;
    border-radius: 15px;
    padding: 50px 40px 70px;
}

.max-width-500 {
    max-width: 500px;
}

.modal .card-header {
    display: flex;
    align-items: center;
}

.modal .card-header img {
    width: 60px;
    margin-right: 20px;
}

.ban-icon {
    font-size: 3rem;
    color: #ff5050;
    margin-right: 20px;
}

#title {
    font-weight: 600;
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 8px;
}

#price {
    font-weight: 500;
    font-size: 16px;
    color: var(--danger);
}

.input-group label {
    font-size: 14px;
    color: var(--text-placeholder);
    margin-bottom: 5px;
    display: inline-block;
}

.input {
    background: #f9f9f9;
    border-radius: 7px;
    width: 100%;
    border: none;
    color: var(--text-main);
}

.input::placeholder {
    color: var(--text-placeholder);
}

.input {
    height: 50px;
    padding: 11px 10px;
    font-size: 16px;
}

.input-prepend {
    display: flex;
}

.input-prepend input {
    border-radius: 0 7px 7px 0;
}

.input-prepend span {
    background: #f9f9f9;
    height: 50px;
    width: 60px;
    font-size: 20px;
    border-radius: 7px 0 0 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-regular);
}

.border-right {
    border-right: 1px solid #e3e3e3;
}

.lgpr-20px {
    padding-right: 20px !important;
}

.lgpl-20px {
    padding-left: 20px !important;
}

.modal .subtitle {
    margin-top: 0;
    display: flex;
    align-items: center;
    color: var(--text-main);
}

.modal-scroll-mask {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, #ffffff 100%);
    width: 100%;
    height: 76px;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 10000;
}

.modal .card-title {
    display: flex;
    align-items: center;
    color: var(--text-main);
}

.modal .card-title span {
    font-size: 24px;
    color: var(--danger);
    margin-right: 15px;
}

::-webkit-scrollbar {
    display: none;
}

::-webkit-scrollbar-track {
    background: #272838;
}

::-webkit-scrollbar-thumb {
    background: #35374a;
    border-radius: 7px;
}

.icons {
    display: flex;
    margin: 20px 0;
}

.icons-i {
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
    color: #464646;
    font-size: 30px;
    transition: 0.4s;
}

.g-exp-statistics {
    width: 100%;
    margin-top: 40px;
}

.art img {
    margin-left: 5rem;

    max-width: 600px;
    max-height: 600px;

    width: 100%; /* чтобы не было меньше колонки на больших экранах */
    height: auto; /* сохраняем пропорции */

    object-fit: contain; /* вписываем целиком */
    display: block; /* убрать лишние "пробелы" от inline-img */
}

#top_player_ign,
#members .member-name {
    font-family: "Minecraft", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    letter-spacing: 0.3px;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: none; /* пиксельный стиль */
    -moz-osx-font-smoothing: grayscale;
}

/* 2) Топ-ник — крупнее */
#top_player_ign {
    font-size: 18px;
    line-height: 1.2;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.55),
    0 0 18px rgba(255, 175, 97, 0.25);
}

/* 3) Имена в карточках — компактно, с переносами */
#members .member-name {
    font-size: 16px;
    line-height: 1.15;

    /* чтобы длинные ники не ломали верстку */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* максимум 2 строки */
    overflow: hidden;

    word-break: break-word;
    hyphens: auto;

    /* чуть выделим */
    color: var(--text-main);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
}

/* 4) На очень маленьких экранах — чуть меньше */
@media (max-width: 420px) {
    #top_player_ign {
        font-size: 18px;
    }

    #members .member-name {
        font-size: 14px;
    }
}
