 *{
        margin:0;
        padding:0;
        box-sizing:border-box;
    }


p {        font-family: "Inter";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;

            margin-bottom: 1em;
            margin-top: 0;
        }

/* Подключение шрифта из той же папки */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,100..900&display=swap');

@font-face {font-family: 'logo_top'; src: url("ttf/nbr/mmt.ttf") format("opentype"); }

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  src: url('montserrat.woff2') format('woff2');
  font-display: swap;
}

@font-face {
	font-family: 'link';

		url('link.woff2') format('woff2');
}


@font-face {
    font-family: 'ptnew';
    src: local('ptnew'),
        url('ptnew.woff2') format('woff2'),
        url('ptnew.woff') format('woff');
    font-weight: 400;
    font-style: normal;
  }


@font-face {
    font-family: 'ai_01';
    font-style: normal;
    font-weight: normal;
    src: local('ai01'), url('ttf/ai_01.woff2') format('woff2');
}

@font-face {
  font-family: "ai02";
  src: url("ttf/ai_02.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
    font-family: 'ai03';
    font-style: normal;
    font-weight: normal;
    src: local('ai03'), url('ttf/ai_03.woff') format('woff');
}



@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;700&family=Ultra&display=swap');
@font-face {font-family: 'ur'; src: url("ttf/ur.ttf") format("opentype");}

 @font-face {
    font-family: 'ubr';
    font-style: normal;
    font-weight: normal;
    src: local('ubr'), url('ttf/ubr.woff') format('woff');
    }





@font-face {font-family: 'ub'; src: url("ttf/ub.ttf") format("opentype");}

@font-face {font-family: 'ibm'; src: url("ttf/ibm.ttf") format("opentype");}


@font-face {
    font-family: 'ct';
    src: url('ttf/ct.eot');
    src: local('ct'), local('ct'),
        url('ttf/ct.eot?#iefix') format('embedded-opentype'),
        url('ttf/ct.woff2') format('woff2'),
        url('ttf/ct.woff') format('woff'),
        url('ttf/ct.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'st';
    src: url('ttf/st.eot');
    src: local('st'), local('st'),
        url('ttf/st.eot?#iefix') format('embedded-opentype'),
        url('ttf/st.woff2') format('woff2'),
        url('ttf/st.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}






    body{

        background:#f3f4f6 ;
        color:#1f242e;

    }


    body::-webkit-scrollbar{
    display: none; /* Chrome, Edge, Safari */
}


    /* Верхний партнерский блок */
    #list_top{
        background:#fff ;
         height: 80px;
       // border-bottom:2px solid #444;
    }



   /* Внутренняя обёртка для трёх дивов — flex-контейнер */
      .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 70px;
    padding: 0.75rem 0;
}

.header-left {
    display: flex;           /* < ДОБАВИТЬ! */
    align-items: center;    /* < ДОБАВИТЬ! */
    gap: 12px;              /* < ДОБАВИТЬ! */
    margin-left: max(2%, 20px);
    width: auto;
    flex-shrink: 0;
}

/* КРАСНЫЙ КВАДРАТ С БЕЛЫМ МЯЧОМ */
.logo-icon {
    width: 42px;
    height: 42px;
    background:#E31E24;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: skewX(-5deg);
    font-size: 24px;
    overflow: hidden;        /* чтобы мяч не вылезал за границы */
}

.logo-icon span {
    transform: skewX(5deg);
    display: block;
    color: white;
    animation: rotateBall 3s linear infinite;  /* ВРАЩЕНИЕ */
}

/* АНИМАЦИЯ ВРАЩЕНИЯ МЯЧА */
@keyframes rotateBall {
    0% {
        transform: skewX(5deg) rotate(0deg);
    }
    100% {
        transform: skewX(5deg) rotate(360deg);
    }
}

.logo-text {
    font-family: 'logo_top', system-ui, sans-serif;
    color: #1f242e;
    font-size: 36px;        /* было 42px — слишком много */
    font-weight: 800;
    letter-spacing: -0.1px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    /* УБРАТЬ padding, если был */
}

     /* === ЦЕНТРАЛЬНЫЙ ДИВ (адаптивные ссылки в стиле gosuslugi.uz) === */
/* === ИСПРАВЛЕННЫЙ КОД (БЕЗ СМЕЩЕНИЙ) === */
.header-center {
    //background-color: yellow;
    width: auto;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;      /* < добавить вертикальное центрирование */
    margin: 0 1rem;
}

.nav-links {
    display: flex;
    gap: clamp(16px, 2.5vw - 5px, 40px);                /* < вместо margin-right */
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links a {
    /* top: 10px;  < УДАЛЕНО */
    color: #1f2937;
    position: relative;
    padding: 5px 0;           /* < лучше padding: 5px 0 (только вертикальный) */
    /* margin-right: 20px;  < УДАЛЕНО */
    font-family: 'ptnew', sans-serif;
    font-weight: 600;
    font-size: clamp(16px, 1.42vw, 25px);
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s linear;
    line-height: 1.4;         /* < добавить для вертикали */
}

.nav-links a:hover {
    color: #1f2937;
}

.nav-links a:before,
.nav-links a:after {
    content: '';
    background: #1f2937;
    position: absolute;
    width: 0;
    height: 2px;
    transition: all 0.3s linear;
}

.nav-links a:before {
    top: 0;
    left: 0;
}

.nav-links a:after {
    top: 100%;
    right: 0;
}

.nav-links a:hover:before,
.nav-links a:hover:after {
    width: 100%;
}

        /* === ПРАВЫЙ ДИВ — ВАШ КОД, НО С SVG === */
        .header-right { display:none;
            margin-right: max(2%, 20px);
            width: auto;
            flex-shrink: 0;
            display: flex;   display:none;
            align-items: center;
            justify-content: flex-end;
        }

        /* Иконка меню — без выделения, без ховера */
        .menu-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            background: none;
            border: none;
            padding: 8px;
            width: 48px;
            height: 48px;
        }

        /* Убираем все эффекты при наведении */
        .menu-icon:hover {
            background: none;
            transform: none;
        }

        /* SVG иконка — чёрная, без изменений */
        .menu-svg {
            width: 32px;
            height: 32px;
            display: block;
        }

        /* Все path внутри SVG — чёрные */
        .menu-svg path {
            fill: #000000;
        }



 .list_anons {
    width: 100%;
    margin-top: 25px;
    background: transparent;
    padding-left: max(2%, 20px);    /* < перенесли сюда */
    padding-right: max(2%, 20px);   /* < перенесли сюда */
}

.anons_container {  background: green;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;           /* для позиционирования текста */
    display: block;
}

/* Нижний слой: рисунок */
.anons_img {
    width: 100%;
    height: auto;                 /* высота автоматически подстраивается */
    display: block;
    border-radius: 24px;
}

/* Верхний слой: текст слева */
.anons_text_left {
    position: absolute;
    top: 50%;                    /* вертикальное центрирование */
    left: max(5%, 30px);         /* отступ слева 5% или 30px */
    transform: translateY(-50%); /* точное вертикальное центрирование */
    color: white;
    max-width: 40%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    padding: 24px 32px;
    border-radius: 20px;
    text-align: left;
}

.anons_text_left h2 {
    font-size: 32px;
    margin-bottom: 12px;
    font-weight: 700;
}

.anons_text_left p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.anons_btn {
    background: white;
    color: #1f2937;
    border: none;
    padding: 10px 28px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.anons_btn:hover {
    background: #2563eb;
    color: white;
    transform: scale(1.02);
}




/* Блок стадионов — отступы здесь */
#list_stadium {
    width: 100%;
    //background: green;
    margin-top: 50px;
    padding-left: max(2%, 20px);
    padding-right: max(2%, 20px);
}

/* Контейнер — только центрирование */
.stadium_container {
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Сетка — адаптивная без медиа-запросов */
.stadium_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* Карточка стадиона */
.stadium_card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
   // transition: background 0.3s ease;
    display: flex;
    flex-direction: column;
}

.stadium_card:hover {
    background: #c2c2c6;
}

.stadium_card:hover .stadium_name_en,
.stadium_card:hover .stadium_details,
.stadium_card:hover .stadium_link {
    color: inherit;
}

.stadium_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    gap: 10px;
}

.stadium_name_en {font-family: 'ur';
    font-size: clamp(14px, 4vw, 18px);
    font-weight: 700;
    color: #1f2937;
    margin: 0;
   // letter-spacing: -0.1px;
    flex: 1;
}

.stadium_country_icon {
    flex-shrink: 0;
    width: auto;
    max-width: 32px;
    min-width: 28px;
}

.country_svg {
    width: 100%;
    max-width: 32px;
    min-width: 28px;
    height: auto;
    border-radius: 3px;
    object-fit: cover;
    display: block;
}

.stadium_bottom {
    margin-bottom: 12px;
}

.stadium_details { font-family: "ub";
    font-size: clamp(11px, 3vw, 16px);
    color:#1f242e;
    margin: 0;
    line-height: 1.4;
}

.stadium_img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    margin-bottom: 12px;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.stadium_card:hover .stadium_img {
    filter: brightness(0.95);
}

.stadium_footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.stadium_arrow {
    flex-shrink: 0;
    width: auto;
    max-width: 32px;
    min-width: 28px;
}

.arrow_svg {
    width: 100%;
    max-width: 32px;
    min-width: 28px;
    height: auto;
    display: block;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.arrow_svg:hover {
    transform: scale(1.1);
}

.stadium_link {
    flex: 1;
    color: #2563eb;
    text-decoration: none;
    font-size: clamp(11px, 3vw, 13px);
    font-weight: 500;
}

.stadium_link:hover {
    text-decoration: underline;
}







/* ===== ФУТЕР ДЛЯ #list_footer ===== */
            /* ===== ФУТЕР ДЛЯ #list_footer ===== */
        #list_footer {
            background: #0a0f0f;
            border-top: 1px solid rgba(255,255,255,0.1);
            padding: 40px 0 30px;
            margin-top: auto;
        }

        /* КОНТЕЙНЕР С ОТСТУПАМИ 2% (НО НЕ МЕНЕЕ 20px) */
        .footer-container {

            margin: 0 auto;
            padding-left: max(2%, 20px);
            padding-right: max(2%, 20px);

            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 20px;
        }

        /* ===== ЛЕВАЯ ЯЧЕЙКА — ЛОГОТИП ===== */
        .footer-cell-left {
            flex: 0 0 auto;     /* ширина по содержимому */
    min-width: 0;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        /* Красный квадрат с вращающимся мячом */
        .footer-logo-icon {
            width: 48px;
            height: 48px;
            background: #DC143C;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            transform: skewX(-5deg);
            font-size: 28px;
            overflow: hidden;
        }

        .footer-logo-icon span {  color: white;
            transform: skewX(5deg);
            display: block;
            animation: rotateBall 3s linear infinite;
        }

        @keyframes rotateBall {
            0% { transform: skewX(5deg) rotate(0deg); }
            100% { transform: skewX(5deg) rotate(360deg); }
        }

        .footer-logo-text {
            font-family: 'logo_top', system-ui, sans-serif;
    color: #fff;
    font-size: 36px;        /* было 42px — слишком много */
    font-weight: 800;
    letter-spacing: -0.1px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    line-height: 1;
        }

        /* ===== ЦЕНТРАЛЬНАЯ ЯЧЕЙКА — ССЫЛКИ ===== */
        .footer-cell-center {//background: green;
             flex: 1;            /* занимает всё свободное место */
    min-width: 0;       /* разрешаем сжатие */
    display: flex;
    justify-content: center;   padding: 0 20px;
        }

        .footer-nav {
            display: flex;
    column-gap: clamp(15px, 2vw, 30px);  /* расстояние между элементами в одной строке */
    row-gap: 10px;                         /* расстояние между строками при переносе */
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
        }

        .footer-nav a {
    font-family: 'ptnew', sans-serif;  /* < КАК В ТОПЕ */
    color: #ccc;
    text-decoration: none;
    font-size: clamp(14px, 1.2vw, 20px);  /* < адаптивный размер */
    font-weight: 600;  /* < как в топе */
    transition: all 0.3s linear;  /* < как в топе */
    white-space: nowrap;

}

.footer-nav a:hover {
    color: #DC143C;
}

        /* ===== ПРАВАЯ ЯЧЕЙКА — СОЦСЕТИ ===== */
        .footer-cell-right {
            flex: 0 0 auto;
    min-width: 0;
    display: flex;
    justify-content: flex-end;  /* на большом экране — справа */
        }

        .footer-social {
            display: flex;
            gap: 15px;
        }

        .social-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            transition: all 0.3s ease;
            text-decoration: none;

            /* Убираем выделение при клике */
            outline: none;
            -webkit-tap-highlight-color: transparent;
        }

        .social-icon:focus,
        .social-icon:focus-visible,
        .social-icon:active {
            outline: none;
        }

        .social-icon:hover {
            background: #DC143C;
            transform: translateY(-3px);
        }

        .social-icon svg {
            width: 20px;
            height: 20px;
            fill: white;
        }

        /* ===== НИЖНЯЯ СТРОКА ===== */
        .footer-bottom {
           // max-width: 1400px;
            margin: 35px auto 0;
            padding: 25px max(2%, 20px) 0;
            border-top: 1px solid rgba(255,255,255,0.1);
            text-align: center;
            font-size: 12px;
            color: #666;
        }

     @media (max-width: 1000px) {
    #list_footer {
        padding: 20px 0 10px;  /* было 20px 0 25px — уменьшил нижний отступ */
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;             /* уменьшил gap между ячейками */
        padding-top: 0;
        padding-bottom: 0;
    }

    .footer-cell-left,
    .footer-cell-center,
    .footer-cell-right {
        width: 100%;
        justify-content: center;
    }

    .footer-cell-right {
        justify-content: center;
        margin-bottom: 0;       /* убираем лишний отступ снизу */
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-logo-icon {
        width: 42px;
        height: 42px;
        font-size: 24px;
    }

    .footer-logo-text {
        font-size: 24px;
    }

    .footer-nav a {
        white-space: normal;
    }

    /* Убираем лишний отступ перед копирайтом */
    .footer-bottom {
        margin-top: 15px;       /* было 35px, стало 15px */
        padding-top: 15px;      /* было 25px, стало 15px */
    }
}


 /* АДАПТИВНЫЙ МЯЧ - МАЛЕНЬКИЙ */
        .football-wrapper {
            position: fixed;
            bottom: clamp(15px, 5vw, 15px);
            right: clamp(15px, 5vw, 15px);
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transform: scale(0.8);
            transition: all 0.3s ease;
            cursor: pointer;

            /* Убираем выделение при клике */
            outline: none;
            -webkit-tap-highlight-color: transparent;

        }

        .football-wrapper.show {
            opacity: 1;
            visibility: visible;
            transform: scale(1);
        }

        /* МЯЧ 25-50px (было 35-80) */
        .football {
            width: clamp(30px, 8vw, 50px);
            height: clamp(30px, 8vw, 50px);
            display: block;
            transform: rotate(75deg);
            animation: rotateBall 3s linear infinite;
            pointer-events: auto;

             /* Убираем выделение */
            outline: none;
            user-select: none;
            -webkit-user-select: none;

        }

        @keyframes rotateBall {
            0% {
                transform: rotate(75deg);
            }
            100% {
                transform: rotate(435deg);
            }
        }

        .football-wrapper:active {
            transform: scale(0.95);
        }

         /* Дополнительная защита: убираем outline при фокусе */
        .football-wrapper:focus,
        .football:focus,
        .football-wrapper:focus-visible,
        .football:focus-visible {
            outline: none;
        }