/* ============================================================
   БАЗОВЫЕ СТИЛИ
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    color: #1e293b;
    line-height: 1.5;
    min-height: 100vh;
    padding: 20px 0;
}

.wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}

/* ============================================================
   ОБЁРТКА СТРАНИЦЫ (светлая)
   ============================================================ */
.page-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 25px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.25);
}

/* ============================================================
   НАВИГАЦИЯ
   ============================================================ */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1e293b;
    border-radius: 80px;
    padding: 8px 20px;
    margin-bottom: 40px;
    border: 1px solid #0f172a;
    gap: 16px;
    flex-wrap: wrap;
}

.nav a {
    text-decoration: none;
}

.nav-left {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.button,
.button1 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    padding: 8px 20px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    cursor: pointer;
    color: #f1f5f9;
    backdrop-filter: blur(4px);
    text-decoration: none;
}

.button:hover,
.button1:hover {
    background: #2c3e50;
    border-color: #4b6e8a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    color: #f1f5f9;
}

/* Иконки внутри кнопок навигации */
.button .btn-icon,
.button1 .btn-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.button:hover .btn-icon,
.button1:hover .btn-icon {
    transform: scale(1.1);
}

/* Кнопка "Войти на форум" */
.button-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #CC0000;
    color: #fff;
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.button-login::before {
    content: "🔑";
    font-size: 0.9rem;
}

.button-login:hover {
    background: #990000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(204, 0, 0, 0.35);
    color: #fff;
}

/* Приветствие + выход */
.user-greeting {
    color: #cbd5e1;
    font-size: 0.85rem;
    white-space: nowrap;
}

.user-greeting a {
    text-decoration: none;
}

.user-greeting a:hover {
    text-decoration: underline;
}

.button-logout {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f1f5f9;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.button-logout:hover {
    background: #2c3e50;
    border-color: #4b6e8a;
}

.button-logout .btn-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.button-logout:hover .btn-icon {
    transform: translateX(3px);
}

/* ============================================================
   ЗАГОЛОВОК
   ============================================================ */
.main-title {
    text-align: center;
    margin-bottom: 48px;
}

.main-title h1 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(120deg, #0f172a, #334155);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.main-title p {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================================
   СЕТКА КАРТОЧЕК ЛИГ
   ============================================================ */
.leagues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.league-card {
    background: #1e293b;
    border-radius: 32px;
    border: 1px solid #0f172a;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.3s ease, background 0.25s ease;
    text-align: center;
    padding: 28px 24px 36px;
    cursor: pointer;
}

.league-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 35px -12px rgba(15, 23, 42, 0.5);
    border-color: #CC0000;
    background: #0f172a;
}

.league-card img {
    width: 220px;
    height: auto;
    transition: transform 0.3s ease;
    margin-bottom: 24px;
    pointer-events: none;
}

.league-card:hover img {
    transform: scale(1.02);
}

.league-card h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fff, #a5f3fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.league-card p {
    color: #cbd5e1;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.league-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2c3e50;
    color: white;
    padding: 10px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid #3b5a78;
}

.league-link:hover {
    background: #1e2a3a;
    color: #fff;
    box-shadow: 0 8px 20px -8px rgba(59, 90, 120, 0.6);
}

.league-link .link-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
    stroke: currentColor;
}

.league-link:hover .link-icon {
    transform: translateX(4px);
}

/* ============================================================
   ДЭШБОРД (сетки для панелей)
   ============================================================ */
.dashboard {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.dashboard-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

/* Основная сетка: Новости + Сайдбар */
.main-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
    align-items: start;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* ============================================================
   ПАНЕЛИ (светлые, с тенью)
   ============================================================ */
.panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    color: #1e293b;
    box-shadow: 0 4px 12px -4px rgba(15, 23, 42, 0.08);
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
}

.panel-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-header h3 .icon-svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #CC0000;
    transition: color 0.2s;
}

.panel-header a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
}

.panel-header a:hover {
    color: #CC0000;
}

/* ============================================================
   СПИСОК ПОСЛЕДНИХ ТЕМ
   ============================================================ */
.topic-list {
    list-style: none;
}

.topic-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.2s;
}

.topic-item:last-child {
    border-bottom: none;
}

.topic-item:hover {
    background: #eef2f7;
    margin: 0 -12px;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 8px;
}

.topic-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(204, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #CC0000;
    font-size: 0.8rem;
    font-weight: 700;
}

.topic-content {
    flex: 1;
    min-width: 0;
}

.topic-title {
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s;
}

.topic-title:hover {
    color: #CC0000;
}

.topic-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.78rem;
    color: #64748b;
}

.topic-meta a {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
}

.topic-meta a:hover {
    color: #CC0000;
}

/* ============================================================
   СТАТИСТИКА
   ============================================================ */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.stat-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    transition: all 0.2s;
}

.stat-item:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    border-color: #cbd5e1;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.newest-user {
    grid-column: 1 / -1;
    background: rgba(204, 0, 0, 0.06);
    border-color: rgba(204, 0, 0, 0.25);
}

.newest-user .stat-value {
    font-size: 1rem;
    color: #0f172a;
}

.newest-user .stat-label {
    color: #CC0000;
}

/* ============================================================
   ПОСЛЕДНИЕ СООБЩЕНИЯ
   ============================================================ */
.post-list {
    list-style: none;
}

.post-item {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.2s;
}

.post-item:last-child {
    border-bottom: none;
}

.post-item:hover {
    background: #eef2f7;
    margin: 0 -12px;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 8px;
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 0.78rem;
    color: #64748b;
}

.post-author {
    text-decoration: none;
    font-weight: 600;
    background: #0f172a;
    color: #fff !important;
    padding: 1px 6px;
    border-radius: 4px;
}

.post-author:hover {
    text-decoration: underline;
}

.post-topic {
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-topic:hover {
    color: #CC0000;
}

.post-preview {
    color: #475569;
    font-size: 0.82rem;
    line-height: 1.5;
    display: block;
}

/* ============================================================
   КТО ОНЛАЙН
   ============================================================ */
.online-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.online-user {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 0.82rem;
    text-decoration: none;
    transition: all 0.2s;
}

.online-user:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.online-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px #22c55e;
    flex-shrink: 0;
}

.online-footer {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.82rem;
    color: #64748b;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.online-footer strong {
    color: #0f172a;
}

.online-empty {
    color: #64748b;
    font-size: 0.85rem;
    font-style: italic;
    padding: 8px 0;
}

/* ============================================================
   НОВОСТИ
   ============================================================ */
.news-panel {
    margin-bottom: 0;
}

.news-item {
    padding: 24px 0;
    border-bottom: 1px solid #e2e8f0;
}

.news-item:first-child {
    padding-top: 0;
}

.news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 8px 12px;
    background: #f1f5f9;
    border-radius: 8px;
    border-left: 3px solid #CC0000;
}

.news-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.news-author-name {
    background: #0f172a;
    color: #fff !important;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    text-decoration: none;
}

.news-author-name:hover {
    text-decoration: underline;
}

.news-date {
    font-size: 0.78rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-date::before {
    content: "🕐";
    font-size: 0.75rem;
    opacity: 0.6;
}

/* Контент новости */
.news-content {
    color: #1e293b;
    font-size: 0.9rem;
    line-height: 1.65;
    overflow-wrap: break-word;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 8px;
}

.news-content::-webkit-scrollbar {
    width: 6px;
}

.news-content::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 3px;
}

.news-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.news-content::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.news-content p {
    margin-bottom: 10px;
}

.news-content p:last-child {
    margin-bottom: 0;
}

.news-content a {
    color: #0369a1;
    text-decoration: none;
    font-weight: 500;
}

.news-content a:hover {
    color: #CC0000;
    text-decoration: underline;
}

.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 8px 0;
}

/* Цитаты */
.news-content blockquote {
    background: #eef2f7;
    border-left: 4px solid #94a3b8;
    padding: 12px 16px;
    margin: 12px 0;
    border-radius: 0 8px 8px 0;
    color: #475569;
    font-style: italic;
}

.news-content blockquote blockquote {
    background: #e2e8f0;
    border-left-color: #64748b;
}

.news-content blockquote cite {
    display: block;
    margin-bottom: 6px;
    color: #0369a1;
    font-weight: 600;
    font-style: normal;
    font-size: 0.85rem;
}

/* Код */
.news-content .codebox {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 14px;
    margin: 12px 0;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #a5f3fc;
    overflow-x: auto;
}

.news-content .codebox p {
    margin: 0;
}

/* Спойлер */
.news-content .spoiler {
    background: #eef2f7;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 12px 0;
}

.news-content .spoiler-title {
    cursor: pointer;
    color: #0369a1;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
    list-style: none;
}

.news-content .spoiler-title::-webkit-details-marker {
    display: none;
}

.news-content .spoiler-title::before {
    content: "▶";
    transition: transform 0.2s;
    display: inline-block;
    font-size: 0.7rem;
}

.news-content .spoiler[open] .spoiler-title::before {
    transform: rotate(90deg);
}

.news-content .spoiler-content {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #cbd5e1;
    color: #1e293b;
}

.news-content .smilies {
    vertical-align: middle;
    max-width: 20px;
}

.news-content ul,
.news-content ol {
    margin: 10px 0;
    padding-left: 24px;
}

.news-content li {
    margin-bottom: 4px;
}

.news-content h1,
.news-content h2,
.news-content h3 {
    color: #0f172a;
    margin: 16px 0 8px;
    font-weight: 700;
}

.news-content h2 {
    font-size: 1.2rem;
}

.news-content h3 {
    font-size: 1rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 4px;
}

.news-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    font-size: 0.85rem;
}

.news-content table th,
.news-content table td {
    border: 1px solid #cbd5e1;
    padding: 8px 10px;
    text-align: left;
}

.news-content table th {
    background: #e2e8f0;
    color: #0f172a;
    font-weight: 600;
}

.news-content span[style*="color: white"],
.news-content span[style*="color: #fff"],
.news-content span[style*="color: #ffffff"],
.news-content font[color="white"],
.news-content font[color="#fff"],
.news-content font[color="#ffffff"] {
    color: #1e293b !important;
}

.news-footer {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.news-footer a {
    color: #0369a1;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.2s;
}

.news-footer a:hover {
    color: #CC0000;
}

.news-empty {
    color: #64748b;
    font-size: 0.9rem;
    font-style: italic;
    padding: 16px 0;
    text-align: center;
}

/* ============================================================
   БЛОК ЧЕМПИОНОВ
   ============================================================ */
.champions-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.champion-card {
    background: linear-gradient(135deg, #fff8e7 0%, #fef3c7 100%);
    border: 1px solid #fcd34d;
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.champion-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b 0%, #CC0000 100%);
}

.champion-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -8px rgba(245, 158, 11, 0.4);
}

.champion-league {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #92400e;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.champion-logo {
    margin-bottom: 10px;
}

.champion-logo img {
    max-width: 80px;
    max-height: 80px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.champion-team {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
    line-height: 1.3;
}

.champion-season {
    font-size: 0.8rem;
    color: #92400e;
    font-weight: 600;
    margin-bottom: 10px;
    padding: 3px 10px;
    background: rgba(245, 158, 11, 0.15);
    border-radius: 20px;
    display: inline-block;
}

.champion-user {
    font-size: 0.85rem;
    color: #475569;
    padding-top: 10px;
    border-top: 1px dashed #fcd34d;
}

.champion-user a {
    text-decoration: none;
}

.champion-user a:hover {
    text-decoration: underline;
}

/* ============================================================
   КНОПКА РЕДАКТИРОВАНИЯ
   ============================================================ */
.edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: #CC0000;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 20px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.edit-btn:hover {
    background: #990000;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(204, 0, 0, 0.35);
    color: #ffffff;
}

/* ============================================================
   TELEGRAM-КАНАЛ
   ============================================================ */
.tg-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    border: 1px solid #93c5fd;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.tg-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0088cc 0%, #229ED9 100%);
}

.tg-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -10px rgba(0, 136, 204, 0.5);
    border-color: #60a5fa;
}

.tg-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0088cc 0%, #229ED9 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 136, 204, 0.35);
}

.tg-icon svg {
    width: 24px;
    height: 24px;
}

.tg-info {
    flex: 1;
    min-width: 0;
}

.tg-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0c4a6e;
    margin-bottom: 2px;
}

.tg-desc {
    font-size: 0.78rem;
    color: #0369a1;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tg-arrow {
    flex-shrink: 0;
    font-size: 1.1rem;
    color: #0088cc;
    font-weight: 700;
    transition: transform 0.2s;
}

.tg-card:hover .tg-arrow {
    transform: translateX(4px);
}

.tg-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tg-card-chat {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #86efac;
}

.tg-card-chat::before {
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
}

.tg-card-chat .tg-icon {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 4px 10px rgba(34, 197, 94, 0.35);
}

.tg-card-chat .tg-title {
    color: #14532d;
}

.tg-card-chat .tg-desc {
    color: #166534;
}

.tg-card-chat .tg-arrow {
    color: #22c55e;
}

/* ============================================================
   БЛОК МЕЖДУНАРОДНЫХ ТУРНИРОВ
   ============================================================ */
.international {
    margin-top: 40px;
}

.international h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 32px;
    color: #0f172a;
    letter-spacing: -0.3px;
}

.international-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.international-card {
    background: #1e293b;
    border-radius: 28px;
    width: 320px;
    padding: 24px 20px;
    text-align: center;
    transition: 0.2s;
    border: 1px solid #0f172a;
    cursor: pointer;
}

.international-card:hover {
    background: #0f172a;
    transform: translateY(-5px);
    border-color: #CC0000;
}

.international-card img {
    width: 180px;
    margin-bottom: 20px;
    pointer-events: none;
}

.international-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #e2e8f0;
}

.international-card p {
    color: #cbd5e1;
}

.international-card a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #94a3b8;
    font-weight: 500;
    margin-top: 12px;
    border-bottom: 1px dashed #4b6e8a;
    transition: all 0.2s;
}

.international-card a:hover {
    color: #fff;
    border-bottom-color: #fff;
}

.international-card a .link-icon {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
}

.international-card a:hover .link-icon {
    transform: translateX(3px);
}

/* ============================================================
   ФУТЕР
   ============================================================ */
.footer {
    margin-top: 70px;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.8rem;
}

.footer a {
    color: #0369a1;
    text-decoration: none;
}

.footer a:hover {
    color: #CC0000;
}

/* ============================================================
   АДАПТИВНОСТЬ
   ============================================================ */
@media (max-width: 1000px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .dashboard,
    .dashboard-2 {
        grid-template-columns: 1fr;
    }

    .nav {
        border-radius: 20px;
        padding: 12px;
    }

    .nav-auth {
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }
}

@media (max-width: 720px) {
    body {
        padding: 10px 0;
    }

    .page-wrap {
        padding: 15px;
        border-radius: 12px;
        margin: 0 10px;
    }

    .wrapper {
        padding: 0;
    }

    .main-title h1 {
        font-size: 2.2rem;
    }

    .league-card img {
        width: 160px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .panel {
        padding: 20px 16px;
        border-radius: 20px;
    }

    .dashboard,
    .dashboard-2 {
        gap: 20px;
        margin-bottom: 40px;
    }

    .main-layout {
        gap: 20px;
        margin-bottom: 40px;
    }
}