/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Muller:wght@900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica', sans-serif; /* Default font for body */
    font-weight: 400; /* Default weight */
}

/* Apply Muller with Weight 900 to Headings */
h1, h2, h3, nav a, .game {
    font-family: 'Muller', sans-serif;
    font-weight: 900;
}

/* BODY */
body {
    background: black;
    color: white;
    overflow-x: hidden;
}

/* HERO SECTION */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to top, #0B0505, #8B4949, #FF8484, #FF0404);
    overflow: hidden;
}

/* HEADER STYLES */
.header-container {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    padding: 21px 110px;
}

/* Ensures content stays centered */
.header-content {
    width: 85%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO SECTION */
.logo-container {
    width: 200px;
    display: flex;
    justify-content: flex-start;
}

.logo-img {
    height: 110px;
}

/* NAVIGATION */
.nav-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.nav-container a {
    font-size: 24px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
    font-weight: 400;
}

.nav-container a:hover {
    color: red;
}

/* AUTH SECTION */
.auth {
    width: 250px;
    display: flex;
    justify-content: flex-end;
}

.auth a, .auth span {
    font-size: 22px;
    color: white;
    font-weight: 400; /* Helvetica 400 */
}

.auth a:hover {
    color: red;
}

/* Auth Icons */
.auth-icon {
    width: 43px;
    height: 43px;
    margin-right: 8px;
}

/* Logout Button */
.auth .btn-lg {
    font-size: 18px;
    padding: 10px 20px;
}

/* ELLIPSES */
.ellipse {
    position: absolute;
    bottom: -51%;
    width: 89.5%;
    height: 210%;
    background: black;
    z-index: 1;
    clip-path: ellipse(95% 100% at 50% 50%);
    border-radius: 50%;
}

.left-ellipse {
    left: -52%;
}

.right-ellipse {
    right: -52%;
}

/* HERO CONTENT */
.content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 75%;
    z-index: 2;
    padding-top: 30px;
}

/* TEXT BLOCK */
.left {
    text-align: left;
    max-width: 55%;
}

.left h1 {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
    font-family: 'Muller', sans-serif;
}

.left .red {
    color: red;
    font-family: 'Muller', sans-serif;
    font-weight: 900 !important;
}

.left button {
    background: red;
    color: white;
    border: none;
    padding: 10px 20px 15px 20px;
    font-size: 24px;
    margin-top: 30px;
    cursor: pointer;
    border-radius: 50px;
    font-weight: 900;
}

/* NEWS SECTION */
.news {
    background: linear-gradient(203.89deg, rgba(255, 0, 0, 0.4) 0%, rgba(255, 255, 255, 0.4) 84.65%);
    padding: 25px;
    border-radius: 12px;
    width: 320px;
    text-align: left;
}

.news h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 30px;
    font-weight: 900;
    font-family: 'Muller', sans-serif;
}

.news h5 {
    font-size: 15px;
}

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

.user img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

.user span {
    font-size: 20px;
    font-weight: 400;
}

/* GAME TITLES */
.games {
    display: flex;
    justify-content: space-between;
    position: absolute;
    bottom: 5%;
    width: 100%;
    padding: 0 12%;
}

.game {
    font-size: 48px;
    font-weight: 900;
    z-index: 2;
}

.cs2 {
    transform: rotate(-20deg);
}

.dota2 {
    transform: rotate(20deg);
}

/* Best Players Section */
.best-players {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Background Image */
.best-players-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* Red SVG Overlay */
.best-players-overlay {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: auto;
    z-index: 1;
}

@font-face {
    font-family: 'Terminator Cyr';
    src: url('/static/fonts/TerminatorCyr.ttf') format('truetype'); /* Абсолютный путь */
    font-weight: normal;
    font-style: normal;
}

/* Убедись, что он применяется */
.best-players-title {
    font-family: 'Terminator Cyr', sans-serif !important;
    font-size: 42px;
    font-weight: normal;
    color: white;
    text-align: center;
    margin-bottom: 150px;
}

/* Players Grid */
.players-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    z-index: 2;
}

.player-card {
    position: relative;
    width: 377px;
    height: 153px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    background-size: auto 190px; /* Подогнать размер логотипа */
    background-position: right -20px center; /* Разместить логотип справа */
    background-repeat: no-repeat;
    background-blend-mode: soft-light;
    overflow: visible; /* Allows images to extend beyond card */
}


/* Player Image Container */
.player-img-container {
    position: absolute;
    bottom: -0.5px;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

/* Player Image */
.player-img-container img {
    width: auto;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    position: relative;
}

/* Player Name */
.player-name {
    font-family: 'Muller', sans-serif;
    font-weight: 900;
    font-size: 22px;
    color: white;
    text-transform: uppercase;
    position: absolute;
    top: 10px;
    left: 15px;
}

/* Next Slide Arrow */
.next-slide {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.next-slide img {
    width: 40px;
    height: 40px;
}

/* Глобальный турнир */
.global-tournament {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.tournament-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.tournament-content {
    color: white;
}

/* "Скоро состоится" */
.tournament-subtitle {
    font-family: 'Helvetica', sans-serif;
    font-size: 30px;
    font-weight: 400;
}

/* "ГЛОБАЛЬНЫЙ ТУРНИР THE INTERNATIONAL" */
.tournament-title {
    font-size: 64px;
    font-weight: 900;
}

/* "Место проведения: Китай, Пекин" */
.tournament-location {
    font-family: 'Helvetica', sans-serif;
    font-size: 30px;
    font-weight: 400;
}

/* "2025 SEP 03-09" */
.tournament-date {
    font-size: 64px;
    font-weight: 900;
    margin: 10px 0;
}

/* Кнопка */
.red-button {
    background: red;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 30px;
    font-weight: bold;
}

.news a,h3 {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease-in-out;
}

.news a:hover {
    color: red;
}
.news h3:hover {
    color: red;
}

.news-item {
    border-bottom: 1px solid red; /* Белая линия снизу */
}

.news-item:last-child {
    border-bottom: none; /* Убираем линию у последней новости */
}

/* Блок "Таблица матчей" */
.match-table {
    position: relative;
    width: 100%; /* Установленная ширина */
    height: 1210px; /* Установленная высота */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    margin: 0 auto; /* Центрирование секции */
}

/* Фон */
.match-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* Заголовок */
.match-title {
    font-family: 'Terminator Cyr', sans-serif;
    font-size: 42px;
    font-weight: normal;
    color: white;
    text-transform: uppercase;
    margin-bottom: 30px;
}

/* Таблица */
.table-container {
    width: 90%;
    max-width: 1200px;
    background: rgba(255, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* Фиксированная ширина столбцов */
}

/* Заголовок таблицы */
thead {
    background: #710000; /* Цвет заголовка */
    color: white;
}

thead th {
    padding: 15px;
    font-size: 18px;
    font-family: 'Muller', sans-serif;
    width: 20%; /* Каждому столбцу равная ширина */
}

/* Высота строки */
tbody tr {
    height: 145px; /* Высота строки */
    transition: background 0.3s ease;
}

/* Чередующиеся строки */
tbody tr:nth-child(odd) {
    background: rgba(255, 118, 118, 0.7); /* Первый вариант фона */
}

tbody tr:nth-child(even) {
    background: rgba(255, 157, 157, 0.7); /* Второй вариант фона */
}

tbody tr:hover {
    background: rgba(255, 255, 255, 0.2);
}

tbody td {
    padding: 15px;
    font-weight: 900; /* Жирность 900 */
    font-size: 20px; /* Размер шрифта 32px */
    color: white;
    font-family: 'Helvetica', sans-serif;
    text-align: center;
    vertical-align: middle;
    width: 20%; /* Одинаковая ширина для всех столбцов */
}

/* Логотипы команд */
.team-logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    vertical-align: middle;
}

/* Стили для счета */
.score-win, .score-lose {
    background: #1C0000; /* Задний фон счета */
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 900; /* Жирность 900 */
    font-size: 32px; /* Размер шрифта 32px */
    display: inline-block;
    min-width: 60px;
    text-align: center;
}

/* Цвет победившей команды */
.score-win {
    color: #8AFF80;
}

/* Цвет проигравшей команды */
.score-lose {
    color: #FF0000;
}

/* Навигация */
.match-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 315px; /* Расстояние между кнопками */
}

.nav-btn {
    background: none;
    border: none;
    cursor: pointer;
}

.nav-btn img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s;
}

.nav-btn:hover img {
    transform: scale(1.1);
}

/* Ячейка команды с фоновым логотипом */
.team-cell {
    position: relative;
    text-align: center;
    font-weight: 900;
    font-size: 22px;
    color: white;
    font-family: 'Helvetica', sans-serif;
    width: 20%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 110px 100px; /* Размер логотипа */
    opacity: 1; /* Прозрачность текста */
}

/* Фон логотипа команды */
.team-cell::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.2; /* Полупрозрачный логотип */
    transform: translate(-50%, -50%);
}

/* Вторая секция с турниром */
.tournament-section {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px;
    color: white;
}

.tournament-highlight {
    color: red;
    font-size: 32px; /* Размер текста */
    font-weight: 900; /* Жирность */
}

.tournament-divider {
    margin: 20px 0;
}

.tournament-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.tournament-description {
    font-size: 24px; /* Размер текста */
    font-weight: 400; /* Обычный вес */
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto 20px;
}

.tournament-btn {
    background: red;
    color: white;
    padding: 12px 20px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s;
}

.tournament-btn:hover {
    background: darkred;
}

.news-preview-duo {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch; /* чтобы дочерние блоки были одинаковой высоты */
}

.news-full {
    width: 50%;
    background: linear-gradient(116.46deg, #141414 57.5%, #930000 100%);
    display: flex;
    flex-direction: column;
}

.news-full-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* NEW: внутренний контейнер с флекс-растяжением */
.news-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px 76px;
}

.news-full-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.spacer {
    flex-grow: 1; /* растягивает середину */
}

.news-full-content h3 {
    font-size: 26px;
    margin-bottom: 10px;
}

.news-full-content h3 a {
    color: white;
    text-decoration: none;
    font-weight: 900;
}

.news-full-content h3 a:hover {
    text-decoration: underline;
}

.news-date {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #ccc;
    margin: 10px 0;
}

.news-date img {
    width: 20px;
    margin-right: 8px;
}

.news-text {
    font-size: 18px;
    color: #ddd;
    margin-bottom: 15px;
}

.news-comments-form-wrapper {
    width: 50%;
    margin-right: auto; /* чтобы прижать блок вправо */
    margin-bottom: 24px;
}

.news-comments p {
    font-size: 16px;
    color: #aaa;
    margin-bottom: 6px;
}

.news-form {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 10px;
}

.news-form input {
    width: 100%;
    border: none;
    background: none;
    border-bottom: 1px solid #666;
    padding: 10px 0;
    margin-bottom: 10px;
    color: white;
    font-size: 16px;
}

.news-form input::placeholder {
    color: #999;
}

.news-form button {
    background: red;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.news-form button:hover {
    background: darkred;
}

.news-full-content h3,
.news-text {
    text-align: center;
}


/* Адаптив: на телефонах — в столбик */
@media (max-width: 900px) {
    .news-preview-duo {
        flex-direction: column;
    }

    .news-full {
        width: 100%;
    }
}

.subscribe-section {
    background: #141414;
    padding: 80px 5%;
    color: white;
}

.subscribe-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.subscribe-left {
    flex: 1;
    min-width: 300px;
}

.subscribe-left h2 {
    font-family: 'Muller', sans-serif;
    font-weight: 900;
    font-size: 42px;
    margin-bottom: 20px;
}

.subscribe-left p {
    font-size: 18px;
    color: #ccc;
}

.subscribe-right {
    flex: 1;
    min-width: 300px;
}

.subscribe-right form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.styled-input {
    padding: 15px 20px;
    font-size: 18px;
    border-radius: 10px;
    border: 1px solid #666;
    outline: none;
    background: transparent;
    color: white;
}

.subscribe-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.subscribe-checkbox {
    display: flex;
    align-items: flex-start;
    max-width: 70%;
    position: relative;
    padding-left: 42px;
    font-size: 14px;
    color: #aaa;
    line-height: 1.4;
}

.subscribe-checkbox input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 2px;
    width: 32px;
    height: 32px;
    margin: 0;
    z-index: 2;
    cursor: pointer;
}

.subscribe-checkbox .checkmark {
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background-color: #FF0000;
    border: 2px solid #FFFFFF;
    border-radius: 5px;
    z-index: 1;
}

.subscribe-checkbox input:checked + .checkmark::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 5px;
    width: 7px;
    height: 14px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.subscribe-checkbox a {
    color: #FF4848;
    text-decoration: underline;
    word-break: break-word;
}

.styled-button {
    background: red;
    color: white;
    font-size: 16px;
    padding: 12px 30px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 900;
    white-space: nowrap;
}

@media (max-width: 768px) {
    /* Увеличиваем размер текста */
    h1, h2, h3, .tournament-title, .tournament-subtitle, .tournament-location, .tournament-date {
        font-size: 2.5em;
        text-align: center;
    }

    .left h1 {
        font-size: 3em;
        line-height: 1.2;
        text-align: center;
        white-space: normal;
    }

    .news h3 {
        font-size: 2em;
        text-align: center;
    }

    /* Скрываем новости на мобильной версии */
    .news {
        display: none !important;
    }

    /* games-svg-wrapper на всю ширину и чуть ниже */
    .games-svg-wrapper {
        width: 100% !important;
        height: 20vh !important;
        justify-content: center;
        align-items: center;
        transform: translateY(20px);
        z-index: 2;
    }

    #game-svg {
        width: 100%;
        height: auto;
    }

    /* Best Players секция */
    .best-players {
        margin-top: 0; /* убрали наложение */
        padding-top: 50px;
        padding-bottom: 50px;
        min-height: auto;
        height: auto;
        justify-content: flex-start;
    }

    /* Сужаем Red SVG Overlay */
    .best-players-overlay {
        width: auto;
        height: 100%;
        left: -55%;
    }

    .best-players-title {
        font-size: 2em;
        margin-bottom: 40px;
        margin-top: 0;
        z-index: 2;
    }

    .players-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .player-card {
        width: auto;
        min-width: 350px;
        height: auto;
        min-height: 220px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 1;
        transition: opacity 0.5s, transform 0.5s;
    }

    .player-img-container img {
        max-height: 220px;
    }

    .player-name {
        font-size: 1.5em;
        top: 10px;
        left: 15px;
    }

    /* Контент Hero секции */
    .content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
        width: 90%;
        padding-top: 0px;
    }

    .left, .right {
        max-width: 100%;
    }

    /* Скрыть лишние карточки игроков */
    .players-grid .player-card:nth-child(n+4) {
        display: none;
    }
}

/* Скрываем мобильную таблицу на десктопе */
.mobile-table {
    display: none;
}

/* Показываем только на мобилке */
@media (max-width: 768px) {
    .table-container, table {
        display: none !important; /* Скрыть обычную таблицу */
    }

    .mobile-table {
        display: flex;
        flex-direction: column;
        width: 90%;
        margin: 0 auto;
        padding: 20px 0;
    }

    /* Заголовки */
    .mobile-table-header {
        background: #710000;
        color: white;
        font-weight: 900;
        display: grid;
        grid-template-columns: 1fr 2fr 1fr 1fr;
        padding: 15px 0;
        text-align: center;
    }

    .mobile-table-header div {
        font-size: 16px;
    }

    /* Строки матчей */
    .mobile-table-row {
        padding: 20px;
        display: grid;
        grid-template-columns: 1fr 2fr 1fr 1fr;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .mobile-game img {
        width: 40px;
        height: 40px;
        object-fit: contain;
    }

    .mobile-teams {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 14px;
        color: white;
        gap: 5px;
    }

    .team {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .team img {
        width: 30px;
        height: 30px;
        object-fit: contain;
        margin-bottom: 5px;
    }

    .vs {
        font-size: 14px;
        color: white;
        margin: 2px 0;
    }

    .mobile-score {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-weight: 900;
        font-size: 18px;
        color: white;
        gap: 5px;
    }

    .mobile-date {
        font-size: 14px;
        color: white;
    }
}

@media (max-width: 1600px) {

    /* Заголовки в hero меньше */
    .left h1 {
        font-size: 54px;
    }

    /* Размер кнопок в hero */
    .left button {
        font-size: 20px;
        padding: 8px 18px 12px 18px;
    }

    /* Игровые названия ("CS2", "Dota2") чуть меньше */
    .game {
        font-size: 40px;
    }

    /* Сетка лучших игроков - немного меньше карточки */
    .player-card {
        width: 330px;
        height: 140px;
    }

    /* Названия игроков */
    .player-name {
        font-size: 20px;
    }

    /* Заголовки в блоке глобального турнира */
    .tournament-title {
        font-size: 54px;
    }
    .tournament-date {
        font-size: 54px;
    }

    /* Кнопки турниров */
    .red-button, .tournament-btn {
        font-size: 16px;
        padding: 12px 24px;
    }

    /* Новости — если будет отображение */
    .news {
        width: 300px;
        padding: 20px;
    }
    .news h3 {
        font-size: 26px;
    }
}

/* ---------- МОБИЛЬНЫЕ СТИЛИ: блоки с турнирами ---------- */
@media (max-width: 768px) {

    /* Общие настройки для всех турнирных секций */
    .global-tournament,
    .tournament-section {
        height: auto;            /* убираем 100vh, чтобы секции не растягивали экран */
        padding: 60px 5%;        /* чуть меньше отступы */
        justify-content: flex-start;
    }

    /* Контейнер с текстом */
    .global-tournament .tournament-content,
    .tournament-section   .tournament-content {
        max-width: 440px;        /* сужаем ширину, чтобы текст не «лип» к краям */
        margin: 0 auto;
    }

    /* Подзаголовки */
    .tournament-subtitle,
    .tournament-highlight,
    .tournament-location {
        font-size: 1.3em;        /* ~20‑22 px */
    }

    /* Главные заголовки */
    .tournament-title {
        font-size: 2.4em;        /* ~38‑40 px */
        line-height: 1.2;
    }

    /* Даты / 3‑строчные слоганы */
    .tournament-date {
        font-size: 2em;          /* ~32 px */
        line-height: 1.1;
        margin: 20px 0;
    }

    /* Кнопки */
    .red-button,
    .tournament-btn {
        font-size: 1em;          /* 16 px */
        padding: 12px 26px;
    }

    /* Аватар‑разделитель во второй секции */
    .tournament-divider {
        margin: 25px 0;
    }
    .tournament-avatar {
        width: 48px;
        height: 48px;
    }

    /* Длинное описание во второй секции — делаем читабельным */
    .tournament-description {
        font-size: 1.1em;        /* ~18 px */
        max-width: 100%;
        text-align: justify;
    }
}

/* Ещё чуть-чуть уменьшаем размеры на совсем маленьких экранах */
@media (max-width: 480px) {
    .tournament-title   { font-size: 1.8em; }   /* ~29‑30 px */
    .tournament-date    { font-size: 1.6em; }   /* ~26 px */
    .red-button,
    .tournament-btn     { padding: 10px 22px; }
}
