.tournament-new-page {
    width: 100%;
    color: #f8f9fd;
}

.tournament-new-container {
    width: 100%;
}

.tournament-new-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    min-height: 52px;
    margin: 24px 0 28px;
}

.tournament-new-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tournament-new-heading__icon,
.tournament-new-back {
    display: flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(83, 89, 110, 0.38);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(44, 47, 60, 0.92), rgba(24, 26, 36, 0.96));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.04), 0 8px 24px rgba(0, 0, 0, 0.22);
}

.tournament-new-heading__icon img {
    width: 27px;
    height: 27px;
}

.tournament-new-heading h1 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.25;
}

.tournament-new-back {
    color: #3d414e;
    border-color: transparent;
    background: #171924;
    box-shadow: none;
}

.tournament-new-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.32fr) minmax(310px, 1fr);
    gap: 25px;
    align-items: start;
}

.tournament-new-main,
.tournament-new-sidebar {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 25px;
}

.tournament-new-hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 2.51 / 1;
    container-type: inline-size;
    border-radius: 24px;
    background: #0b3a82 url('/assets/images/tournament-new/hero-desktop.png') center / cover no-repeat;
}

.tournament-new-hero__content {
    position: absolute;
    inset: 0 22% 0 43%;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.tournament-new-type {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 39px;
    padding: 4px 12px 4px 7px;
    border: 1px solid rgba(107, 152, 255, 0.26);
    border-radius: 999px;
    background: rgba(12, 37, 84, 0.72);
    color: #6c9eff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 4px 14px rgba(1, 16, 47, 0.18);
}

.tournament-new-type span {
    display: flex;
    width: 17px;
    height: 17px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #6495ff;
    color: #eaf2ff;
}

.tournament-new-hero h2 {
    margin-top: 22px;
    color: #fff;
    font-size: 33px;
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.02em;
}

.tournament-new-countdown {
    margin-top: 28px;
}

.tournament-new-countdown > p {
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    font-weight: 500;
}

.tournament-new-countdown__items {
    display: flex;
    gap: 8px;
}

.tournament-new-countdown__item {
    display: flex;
    width: 64px;
    align-items: center;
    flex-direction: column;
    gap: 8px;
}

.tournament-new-countdown__item strong {
    display: flex;
    width: 64px;
    height: 49px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(17, 45, 89, 0.82);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.tournament-new-countdown__item span {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.tournament-new-stats {
    display: grid;
    gap: 15px;
}

.tournament-new-stat {
    position: relative;
    display: flex;
    min-height: 101px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid #1f2330;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(22, 26, 38, 0.98), rgba(14, 16, 24, 0.98));
}

.tournament-new-stat strong {
    position: relative;
    z-index: 1;
    font-size: 33px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.02em;
}

.tournament-new-stat span {
    position: relative;
    z-index: 1;
    margin-top: 7px;
    color: #747884;
    font-size: 13px;
    font-weight: 500;
}

.tournament-new-stat--prize {
    background:
        radial-gradient(circle at 42% 30%, rgba(57, 87, 145, 0.45), transparent 65%),
        linear-gradient(115deg, #151c2b, #10131b);
}

.tournament-new-stat--prize::before,
.tournament-new-stat--prize::after {
    position: absolute;
    width: 80px;
    height: 83px;
    background: url('/assets/images/tournament-new/snowflake.png') center / contain no-repeat;
    content: '';
}

.tournament-new-stat--prize::before {
    left: 0;
    bottom: 0;
}

.tournament-new-stat--prize::after {
    top: 0;
    right: 0;
    transform: rotate(180deg);
}

.tournament-new-faq,
.tournament-new-leaderboard {
    border: 1px solid #1f2330;
    border-radius: 24px;
    background: rgba(13, 15, 23, 0.84);
}

.tournament-new-faq {
    overflow: hidden;
}

.tournament-new-faq__item + .tournament-new-faq__item {
    border-top: 1px solid #1b1e29;
}

.tournament-new-faq__question {
    display: grid;
    min-height: 59px;
    align-items: center;
    grid-template-columns: 25px minmax(0, 1fr) 16px;
    gap: 12px;
    padding: 0 19px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.tournament-new-faq__question::-webkit-details-marker {
    display: none;
}

.tournament-new-faq__question strong {
    font-size: 14px;
    font-weight: 500;
}

.tournament-new-faq__question svg {
    color: #656b7b;
    transition: transform 180ms ease;
}

.tournament-new-faq__item[open] .tournament-new-faq__question svg {
    transform: rotate(180deg);
}

.tournament-new-faq__mark {
    display: flex;
    width: 25px;
    height: 25px;
    align-items: center;
    justify-content: center;
    border: 1px solid #2d4779;
    border-radius: 9px;
    background: #142139;
    color: #61a0ff;
    font-size: 13px;
    font-weight: 700;
}

.tournament-new-faq__item[open] p {
    margin: 4px 28px 13px 56px;
    color: #b6bac5;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.42;
}

.tournament-new-leaderboard {
    min-height: 417px;
    padding: 16px 17px 10px;
}

.tournament-new-leaderboard > h2 {
    margin: 0 8px 15px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
}

.tournament-new-table {
    display: flex;
    flex-direction: column;
}

.tournament-new-table__head,
.tournament-new-table__row {
    display: grid;
    align-items: center;
    grid-template-columns: 80px minmax(0, 1fr) 180px 150px;
}

.tournament-new-table__head {
    min-height: 27px;
    padding: 0 8px;
    color: #4d4f54;
    font-size: 15px;
    font-weight: 600;
}

.tournament-new-table__head span:nth-child(3),
.tournament-new-table__head span:nth-child(4) {
    text-align: center;
}

.tournament-new-table__row {
    min-height: 54px;
    padding: 0 8px;
    color: #8d93a6;
    font-size: 15px;
    font-weight: 500;
}

.tournament-new-table__row--current {
    min-height: 48px;
    margin: 4px 0 2px;
    border: 1px solid #242a3b;
    border-radius: 10px;
    background: radial-gradient(ellipse 70% 160% at 50% -12%, #283047 0%, #21283c 24%, #1b2030 58%, #161824 100%);
}

.tournament-new-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #53555d;
}

.tournament-new-rank img {
    display: block;
    width: 39px;
    height: 31px;
    object-fit: contain;
}

.tournament-new-rank--plain {
    justify-content: flex-start;
    color: #53555d;
}

.tournament-new-player,
.tournament-new-score,
.tournament-new-reward {
    display: flex;
    min-width: 0;
    align-items: center;
}

.tournament-new-player {
    gap: 9px;
}

.tournament-new-player > img {
    width: 39px;
    height: 39px;
    flex: 0 0 auto;
    border-radius: 9px;
    object-fit: cover;
}

.tournament-new-player strong {
    overflow: hidden;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tournament-new-score,
.tournament-new-reward {
    justify-content: center;
    gap: 5px;
    color: #5f8eff;
}

.tournament-new-score img {
    width: 25px;
    height: 25px;
}

.tournament-new-reward {
    color: #ffd20a;
    font-weight: 700;
}

.tournament-new-reward img {
    width: 20px;
    height: 20px;
}

@media (min-width: 901px) {
    .tournament-new-rank {
        width: 48px;
        justify-content: center;
    }

    .tournament-new-type {
        gap: 0.61cqw;
        margin-top: 4.73cqw;
        padding: 0.49cqw 1.46cqw 0.49cqw 0.85cqw;
        font-size: 1.58cqw;
    }

    .tournament-new-type span {
        width: 2.06cqw;
        height: 2.06cqw;
    }

    .tournament-new-hero h2 {
        margin-top: 2.67cqw;
        font-size: 4cqw;
    }

    .tournament-new-countdown {
        margin-top: 3.4cqw;
    }

    .tournament-new-countdown > p {
        margin-bottom: 1.7cqw;
        font-size: 2.06cqw;
    }

    .tournament-new-countdown__items {
        gap: 0.97cqw;
    }

    .tournament-new-countdown__item {
        width: 7.77cqw;
        gap: 0.97cqw;
    }

    .tournament-new-countdown__item strong {
        width: 7.77cqw;
        height: 5.95cqw;
        border-radius: 1.09cqw;
        font-size: 1.82cqw;
    }

    .tournament-new-countdown__item span {
        font-size: 1.7cqw;
    }
}

@media (max-width: 900px) {
    .tournament-new-container {
        width: 100%;
        margin-top: 0;
        border-top: 0;
    }

    .tournament-new-header {
        align-items: center;
        min-height: 81px;
        margin: 0;
        padding: 0;
    }

    .tournament-new-heading {
        gap: 9px;
    }

    .tournament-new-heading__icon,
    .tournament-new-back {
        width: 39px;
        height: 39px;
        border-radius: 11px;
    }

    .tournament-new-heading__icon img {
        width: 23px;
        height: 23px;
    }

    .tournament-new-heading h1 {
        font-size: 16px;
    }

    .tournament-new-layout {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .tournament-new-main,
    .tournament-new-sidebar {
        display: contents;
    }

    .tournament-new-hero {
        order: 1;
        width: 100%;
        margin: 0;
        aspect-ratio: 740 / 680;
        border-radius: 13px;
        background-image: url('/assets/images/tournament-new/hero-mobile.png');
    }

    .tournament-new-stats {
        order: 2;
        width: 100%;
        margin: 0;
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .tournament-new-stat {
        min-height: 62px;
        border-radius: 12px;
    }

    .tournament-new-stat--prize {
        min-height: 73px;
        grid-column: 1 / -1;
    }

    .tournament-new-stat strong {
        font-size: 22px;
    }

    .tournament-new-stat span {
        margin-top: 5px;
        font-size: 12px;
    }

    .tournament-new-stat--prize::before,
    .tournament-new-stat--prize::after {
        width: 64px;
        height: 66px;
    }

    .tournament-new-stat--prize::before {
        left: 0;
        bottom: 0;
    }

    .tournament-new-stat--prize::after {
        top: 0;
        right: 0;
    }

    .tournament-new-faq {
        order: 4;
        width: 100%;
        margin: 0;
        border-radius: 13px;
    }

    .tournament-new-leaderboard {
        order: 3;
        width: 100%;
        min-height: 0;
        margin: 0;
        padding: 15px 8px 10px;
        border-radius: 13px;
    }

    .tournament-new-hero__content {
        inset: 0;
        padding: 0 20px;
    }

    .tournament-new-type {
        margin-top: 41px;
        font-size: 13px;
    }

    .tournament-new-hero h2 {
        margin-top: 10px;
        font-size: 28px;
        line-height: 1.18;
    }

    .tournament-new-countdown {
        width: 100%;
        margin-top: 32px;
    }

    .tournament-new-countdown > p {
        margin-bottom: 14px;
        font-size: 17px;
    }

    .tournament-new-countdown__items {
        justify-content: center;
        gap: 7px;
    }

    .tournament-new-countdown__item {
        width: 67px;
        gap: 9px;
    }

    .tournament-new-countdown__item strong {
        width: 67px;
        height: 49px;
        border-radius: 9px;
        background: rgba(22, 39, 66, 0.8);
    }

    .tournament-new-countdown__item span {
        font-size: 14px;
    }

    .tournament-new-faq__question {
        min-height: 60px;
        grid-template-columns: 25px minmax(0, 1fr) 16px;
        padding: 0 19px;
    }

    .tournament-new-faq__item[open] p {
        margin: 4px 18px 13px 56px;
        font-size: 13px;
        line-height: 1.38;
    }

    .tournament-new-leaderboard > h2 {
        margin: 0 8px 15px;
        font-size: 18px;
    }

    .tournament-new-table__head,
    .tournament-new-table__row {
        grid-template-columns: 62px minmax(0, 1fr) 109px 79px;
    }

    .tournament-new-table__head {
        padding: 0;
        font-size: 12px;
    }

    .tournament-new-table__head span:first-child {
        padding-left: 9px;
    }

    .tournament-new-table__row {
        min-height: 53px;
        padding: 0;
        font-size: 12px;
    }

    .tournament-new-table__row--current {
        min-height: 47px;
        padding: 0;
        grid-template-columns: 62px minmax(0, 1fr) 109px 79px;
    }

    .tournament-new-player > img {
        display: none;
    }

    .tournament-new-player {
        padding-right: 5px;
    }

    .tournament-new-player strong {
        max-width: 55px;
    }

    .tournament-new-rank img {
        width: 32px;
        height: auto;
    }

    .tournament-new-rank {
        width: 56px;
        justify-content: center;
    }

    .tournament-new-score,
    .tournament-new-reward {
        justify-content: flex-start;
        gap: 4px;
        white-space: nowrap;
    }

    .tournament-new-score {
        justify-content: center;
    }

    .tournament-new-score img {
        width: 22px;
        height: 22px;
    }

    .tournament-new-reward img {
        width: 17px;
        height: 17px;
    }
}

