/* Контейнер облаков */
.clouds {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Каждое облако */
.clouds > .cloud {
    display: block;
    position: absolute;
    background-image: url("../img/cloud.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.4;
    animation-name: cloud-move;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

/* Разные облака с разными стартовыми позициями, размерами и скоростью */
.clouds > .cloud:nth-child(1) {
    top: 30px;
    left: -400px;
    width: 392px;
    height: 254px;
    animation-duration: 100s;
}

.clouds > .cloud:nth-child(2) {
    top: 120px;
    left: -500px;
    width: 261px;
    height: 169px;
    animation-duration: 120s;
    opacity: 0.5;
}

.clouds > .cloud:nth-child(3) {
    top: 200px;
    left: -350px;
    width: 301px;
    height: 195px;
    animation-duration: 140s;
    opacity: 0.6;
}

.clouds > .cloud:nth-child(4) {
    top: 280px;
    left: -450px;
    width: 350px;
    height: 220px;
    animation-duration: 110s;
    opacity: 0.45;
}

.clouds > .cloud:nth-child(5) {
    top: 360px;
    left: -300px;
    width: 280px;
    height: 180px;
    animation-duration: 130s;
    opacity: 0.5;
}

.clouds > .cloud:nth-child(6) {
    top: 420px;
    left: -500px;
    width: 330px;
    height: 210px;
    animation-duration: 125s;
    opacity: 0.4;
}

.clouds > .cloud:nth-child(7) {
    top: 500px;
    left: -350px;
    width: 290px;
    height: 190px;
    animation-duration: 115s;
    opacity: 0.55;
}

/* Анимация облаков слева направо с лёгким колышущимся движением */
@keyframes cloud-move {
    0% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(25vw) translateY(-5px);
    }
    50% {
        transform: translateX(50vw) translateY(3px);
    }
    75% {
        transform: translateX(75vw) translateY(-2px);
    }
    100% {
        transform: translateX(100vw) translateY(0);
    }
}

.slide {
    display: grid;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    padding: 20px 0;
}

.slide > .slide-up-target,
.slide > .slide-down-target,
.slide > .slide-top-target {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    line-height: 40px;
    height: 40px;
    text-align: center;
    display: block;
    color: #424242;
    font-size: 24px;
}

.slide > .slide-up-target > .fa,
.slide > .slide-down-target > .fa,
.slide > .slide-top-target > .fa {
    position: relative;
    animation: slide-arrow 0.5s infinite alternate;
}

@keyframes slide-arrow {
    from {
        top: 0;
    }
    to {
        top: 12px;
    }
}

.slide:not(.bg-white) {
    color: #fff;
    padding-bottom: 40px;
    background: rgb(72, 209, 204);
    background: linear-gradient(135deg, #48d1cc 0%, #3cb371 100%);
}

.slide .slide-name {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    color: rgb(72, 209, 204);
    padding-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.slide:not(.bg-white) .slide-name {
    color: #fff;
    padding-bottom: 40px;
}

/* Контейнер для двух колонок */
.cover-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Левая колонка (существующий контент) */
.cover-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Правая колонка (топ богачей) */
.cover-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide#cover {
    text-align: center;
    background-image: url("../img/clouds.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
    background: linear-gradient(135deg, #48d1cc 0%, #3cb371 100%), url("../img/clouds.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
}

.slide#cover .sitename {
    font-size: 7rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.slide#cover .sitedesc {
    font-size: 1.21rem;
    padding: 20px 0;
    color: rgba(255,255,255,0.9);
}

.slide#cover .online {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 660px;
    margin: auto;
    padding-top: 20px;
}

.slide#cover .online > div {
    border-radius: 6px;
    background-color: rgba(16, 13, 13, 0.34);
    backdrop-filter: blur(10px);
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.slide#cover .online .value {
    font-weight: bold;
    font-size: 40px;
    padding-bottom: 8px;
    color: #fff;
}

.slide#cover .online .type {
    text-transform: uppercase;
    font-size: 12px;
    color: rgba(255,255,255,0.8);
}

.slide#cover .ips {
    width: 100%;
    max-width: 660px;
    margin: auto;
    position: relative;
    height: 76px;
}

.slide#cover .ips > .ips-wrapper {
    max-height: 76px;
    overflow: hidden;
    border-radius: 6px;
    background-color: rgba(16, 13, 13, 0.34);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.slide#cover .ips > .ips-wrapper > .server-id {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: calc(100% - 276px) 200px 36px;
    align-items: center;
    padding: 0 20px 20px 20px;
}

.slide#cover .ips > .ips-wrapper > .server-id:first-child {
    grid-template-columns: calc(100% - 220px) 200px;
    padding: 20px;
}

.slide#cover .ips > .ips-wrapper > .server-id > .ip {
    font-size: 20px;
    line-height: 36px;
    color: #fff;
}

.slide#cover .ips > .ips-wrapper > .server-id .btn {
    display: block;
    width: 100%;
    margin: 0;
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}

.slide#cover .ips > .ips-wrapper > .server-id .btn:hover {
    background: rgba(255,255,255,0.3);
}

.slide#cover .ips > .ips-open {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 36px;
    margin: 0;
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}

.slide#cover .ips.active > .ips-wrapper {
    max-height: 204px;
    overflow: auto;
    background-color: rgba(255,255,255,0.25);
}

/* Стили для главной страницы */
#main {
    background: linear-gradient(135deg, #48d1cc 0%, #3cb371 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 80px;
    align-items: start;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.main-left {
    padding-right: 0;
}

.main-header {
    text-align: center;
    margin-bottom: 40px;
}

.main-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.main-subtitle {
    font-size: 1.5rem;
    margin-bottom: 25px;
    opacity: 0.9;
    font-weight: 500;
}

.main-description {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0.9;
    text-align: center;
}

/* Центрируем кнопки */
.main-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    justify-content: center; /* Добавляем центровку */
}

/* Стили для кнопок */
.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    justify-content: center; /* Центрируем содержимое */
}

.btn-primary {
    background: rgba(255,255,255,0.2);
    border: 2px solid white;
    color: white;
}

.btn-primary:hover {
    background: white;
    color: #48d1cc;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center; /* Центрируем содержимое */
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* Адаптивность для кнопок */
@media (max-width: 768px) {
    .main-actions {
        flex-direction: column;
        align-items: center; /* Центрируем на мобильных */
    }

    .btn-large, .btn-secondary {
        width: 100%;
        max-width: 300px; /* Ограничиваем ширину на мобильных */
    }
}

/* Стили для топа - симметричное расположение */
.main-right {
    position: sticky;
    top: 100px;
    margin-right: 0;
}

.top-rich {
    background: rgba(16, 13, 13, 0.34);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out;
    width: 100%;
}

.top-rich-header {
    text-align: center;
    margin-bottom: 20px;
}

.top-rich-header h3 {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.top-rich-header .subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Список богатых игроков */
.rich-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rich-player {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    animation: slideInRight 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

.rich-player::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.rich-player:hover::before {
    left: 100%;
}

.rich-player:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.player-rank {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #48d1cc, #3cb371);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 14px;
    margin-right: 12px;
    flex-shrink: 0;
}

/* Специальные стили для первых трех мест */
.rich-player:nth-child(1) .player-rank {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.rich-player:nth-child(2) .player-rank {
    background: linear-gradient(135deg, #C0C0C0, #A0A0A0);
    box-shadow: 0 0 10px rgba(192, 192, 192, 0.5);
}

.rich-player:nth-child(3) .player-rank {
    background: linear-gradient(135deg, #CD7F32, #A56934);
    box-shadow: 0 0 10px rgba(205, 127, 50, 0.5);
}

.player-avatar {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.player-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-info {
    flex-grow: 1;
}

.player-name {
    font-weight: bold;
    color: #fff;
    font-size: 16px;
    margin-bottom: 4px;
}

.player-value {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Задержки для анимации каждого игрока */
.rich-player:nth-child(1) { animation-delay: 0.1s; }
.rich-player:nth-child(2) { animation-delay: 0.2s; }
.rich-player:nth-child(3) { animation-delay: 0.3s; }
.rich-player:nth-child(4) { animation-delay: 0.4s; }
.rich-player:nth-child(5) { animation-delay: 0.5s; }

/* Навигация топа */
.top-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.top-navigation h3 {
    margin: 0;
    flex-grow: 1;
    text-align: center;
    transition: all 0.3s ease;
}

.nav-arrow {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.nav-arrow:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-arrow:disabled:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: none;
}

.top-content {
    transition: all 0.3s ease;
}

/* Стили для блока "Наш сервер" - ультра минималистичный */
.server-info-main {
    background: rgba(16, 13, 13, 0.2);
    backdrop-filter: blur(6px);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 25px auto;
    width: 100%;
    max-width: 450px;
}

.server-info-main h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: white;
    font-weight: 500;
    text-align: center;
}

.server-details-main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    align-items: center;
    text-align: center;
}

.server-detail-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label-main {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.detail-value-main {
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
}

.detail-value-main.online {
    color: #90EE90;
}

.server-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 auto;
}

.server-connect-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.connect-title {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-play-main {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
    text-decoration: none;
    font-weight: 500;
    width: 100%;
}

.btn-play-main:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Адаптивность */
@media (max-width: 768px) {
    .server-info-main {
        max-width: 350px;
        padding: 15px;
    }

    .server-details-main {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .server-detail-main {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        padding: 5px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .server-detail-main:last-child {
        border-bottom: none;
    }
}

/* Стили для магазина */
.slide#donate .donate-form {
    width: 480px;
    margin: auto;
}

.slide#donate .form-group-vk {
    display: none;
}

.slide#donate .buyform #buy {
    line-height: normal;
    height: auto;
    padding: 10px 8px;
    background: rgba(255,255,255,0.2);
    color: rgb(72, 209, 204);
    border: 1px solid rgba(255,255,255,0.3);
}

.slide#donate .buyform #buy:hover {
    background: rgba(255,255,255,0.3);
}

/* Стили для последних покупок */
.slide#last .donate-list {
    padding-top: 20px;
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(4, 1fr);
    align-items: start;
    width: 660px;
    margin: auto;
}

.slide#last .donate-list > .donate-id {
    text-align: center;
}

.slide#last .donate-list > .donate-id > .avatar {
    width: 64px;
    height: 64px;
    margin: auto;
    border-radius: 50%;
    box-shadow: rgba(0,0,0,0.12) 0 1px 6px, rgba(0,0,0,0.12) 0 1px 4px;
    background-color: rgba(255,255,255,0.9);
}

.slide#last .donate-list > .donate-id > .username {
    padding-top: 12px;
    color: #fff;
    font-weight: bold;
}

.slide#last .donate-list > .donate-id > .group {
    padding-top: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.8);
}

/* Модальные окна */
.modal[data-id="ip"] > .wrapper {
    max-width: 600px;
}

#accept-block {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: auto auto;
    align-items: center;
    padding-bottom: 20px;
}

#accept-block > .block-right {
    text-align: right;
    font-size: 0;
}

#accept-block img {
    max-width: 100%;
    display: inline-block;
    vertical-align: middle;
}

#accept-block #megafon {
    max-height: 32px;
    max-width: 30%;
}

#accept-block #paym {
    max-width: 70%;
}

#accept-block .input-block {
    padding-bottom: 0;
}

#accept-block .input-block > label {
    line-height: 20px;
}

/* Стили для модального окна оплаты */
.new-payment-window {
    max-width: 950px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(0,0,0,0.2);
}

.new-payment-body {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

.payment-left {
    flex: 1;
    border-right: 2px solid #f0f0f0;
    padding-right: 10px;
}

.payment-right {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.payment-methods {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f9f9f9;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.payment-option .name {
    font-weight: bold;
    font-size: 17px;
    color: #3b3b3b;
}

.payment-option .desc {
    display: block;
    font-size: 13px;
    color: #7a7a7a;
}

.payment-option:hover {
    background: #f0f0f0;
}

.payment-option.active {
    background: #e9f9f8;
    border-color: #48d1cc;
}

.payment-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 0 10px rgba(72, 209, 204, 0.2);
}

.payment-info h3 {
    color: #48d1cc;
    font-size: 20px;
    margin-bottom: 10px;
    text-align: center;
}

.payment-info .info-row {
    margin-bottom: 8px;
    font-size: 15px;
    color: #333;
}

.payment-details {
    background: #f0f9f9;
    border: 1px solid #d6f3f3;
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    min-height: 80px;
    color: #555;
    text-align: center;
}

.buy-btn {
    background: #48d1cc;
    color: #fff;
    border: none;
    padding: 14px 50px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 25px auto 0 auto;
    transition: all 0.3s;
}

.buy-btn:hover {
    background: #3cb371;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(60,179,113,0.4);
}

/* Состояние "нет игроков" */
.no-players {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.7);
}

.no-players-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.no-players-text {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.no-players-subtext {
    font-size: 14px;
    opacity: 0.8;
}

/* Утилитарные классы */
.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

.w-100 {
    width: 100% !important;
}

.text-upper {
    text-transform: uppercase !important;
}

.text-white-h-i:hover {
    color: #fff !important;
}

.btn-transparent {
    background: transparent !important;
    border: 1px solid #ccc !important;
}

.scroll-styled {
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.3) transparent;
}

.scroll-styled::-webkit-scrollbar {
    width: 6px;
}

.scroll-styled::-webkit-scrollbar-track {
    background: transparent;
}

.scroll-styled::-webkit-scrollbar-thumb {
    background-color: rgba(255,255,255,0.3);
    border-radius: 3px;
}

.text-red-600 {
    color: #dc2626 !important;
}

.text-primary {
    color: #48d1cc !important;
}

.bg-primary {
    background-color: #48d1cc !important;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .main-content {
        grid-template-columns: 1fr 350px;
        gap: 60px;
    }
}

@media (max-width: 992px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .main-left {
        padding-right: 0;
    }

    .main-right {
        position: static;
        max-width: 500px;
        margin: 0 auto;
    }

    .top-rich {
        padding: 20px;
    }

    .rich-player {
        padding: 10px 12px;
    }

    .player-avatar {
        width: 40px;
        height: 40px;
    }

    .player-name {
        font-size: 15px;
    }

    .player-value {
        font-size: 13px;
    }

    .server-info-main {
        margin-top: 40px;
    }

    .server-details-main {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .server-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }

    .main-subtitle {
        font-size: 1.2rem;
    }

    .main-description {
        font-size: 1rem;
    }

    .main-actions {
        flex-direction: column;
    }

    .btn-large, .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .server-info-main {
        padding: 25px;
    }

    .server-details-main {
        grid-template-columns: 1fr;
    }

    .server-detail-main {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .detail-label-main {
        min-width: auto;
    }

    .new-payment-body {
        flex-direction: column;
        padding: 15px;
        max-height: 80vh;
    }

    .payment-left {
        border-right: none;
        border-bottom: 2px solid #f0f0f0;
        padding-bottom: 10px;
    }

    .buy-btn {
        width: 100%;
        margin-top: 20px;
    }

    .slide#last .donate-list {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }

    .slide#last .donate-list {
        grid-template-columns: 1fr;
    }

    .rich-player {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .player-rank {
        margin-right: 0;
    }

    .player-avatar {
        margin-right: 0;
    }

    .server-info-main {
        padding: 20px;
    }

    .btn-play-main {
        width: 100%;
        min-width: auto;
    }
}