@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');


* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Orbitron', monospace; 
    background: url('img/phon\ 2.jpg') center/cover fixed no-repeat,
                linear-gradient(135deg, #000 0%, #0a0f1f 30%, #1a1f3a 70%, #0a1428 100%);
    background-blend-mode: overlay;
    color: #e0e7ff; 
    overflow-x: hidden;
    line-height: 1.6;
}

header { 
    background: rgba(10, 15, 31, 0.95);
    backdrop-filter: blur(20px);
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 1000; 
    padding: 1rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}



.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-container:hover { transform: scale(1.05); }

.header-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(30, 64, 175, 0.5));
    border: 2px solid rgba(59, 130, 246, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
    overflow: hidden;
}

.header-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.logo { 
    font-size: 1.8rem; 
    font-weight: 900; 
    background: linear-gradient(90deg, #3b82f6 0%, #1e40af 50%, #1e3a8a 100%);
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav { 
    display: flex; 
    justify-content: space-between;  /* Логотип слева, меню справа */
    align-items: center; 
    padding: 0 3rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.nav-links { 
    display: flex; 
    list-style: none; 
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;  /* Меню справа */
    align-items: center;
}


.nav-links a { 
    color: #93c5fd; 
    text-decoration: none; 
    font-size: 0.95rem; 
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    background: rgba(59, 130, 246, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.nav-links a:hover { 
    color: #fff;
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.nav-links a.active { 
    color: #fff;
    background: rgba(59, 130, 246, 0.25);
    border-color: #1e40af;
}

.register-btn {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    border: none !important;
}

.register-btn:hover {
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4) !important;
}

.hero { 
    height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    margin-top: 70px;
    position: relative;
    z-index: 1;
}

.hero-title { 
    font-size: clamp(2rem, 8vw, 5rem); 
    font-weight: 900; 
    background: linear-gradient(45deg, #3b82f6 0%, #1e40af 50%, #1e3a8a 100%); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #cbd5e1;
    font-weight: 300;
}

section { 
    padding: 5rem 0;
    max-width: 1400px;
    margin: 0 auto;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    justify-content: flex-start;
    text-align: left;
    flex-wrap: wrap;
}


.section-header i {
    color: #fbbf24;
    font-size: 2.5rem;
}

.section-header h2 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    color: #f1f5f9;
    margin: 0;
    background: linear-gradient(45deg, #3b82f6, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.matches-section { padding: 5rem 0; }

.matches-table {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.8));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 15px;
    overflow: hidden;
    margin-top: 2rem;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
}

.table-header {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr 1.5fr 1fr;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.6);
    border-bottom: 2px solid rgba(59, 130, 246, 0.4);
    color: #3b82f6;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    text-align: center;
}

.table-row {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr 1.5fr 1fr;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    align-items: center;
    transition: all 0.3s ease;
}

.table-row:hover { background: rgba(59, 130, 246, 0.05); }

.col {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.col-team {
    justify-content: flex-start;
    text-align: left;
    color: #e2e8f0;
}

.team-name { font-weight: 500; }
.col-score { color: #3b82f6; font-weight: 700; font-size: 1.1rem; }
.col-date { color: #cbd5e1; font-size: 0.95rem; }

.stage-badge {
    background: rgba(139, 92, 246, 0.3);
    color: #a78bfa;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    border: 1px solid rgba(139, 92, 246, 0.5);
    display: inline-block;
}

.top-teams-section { padding: 5rem 0; }

.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.team-card {
    perspective: 1000px;
    cursor: pointer;
}

.team-card-inner {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.85));
    border: 2px solid rgba(59, 130, 246, 0.25);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.team-card:hover .team-card-inner {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(59, 130, 246, 0.6);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
    box-shadow: 0 25px 60px rgba(59, 130, 246, 0.35);
}

.team-avatar-circle { margin-bottom: 1.5rem; }

.team-avatar-border {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3px solid rgba(59, 130, 246, 0.5);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: rgba(59, 130, 246, 0.08);
}

.team-avatar {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(30, 64, 175, 0.35));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.8rem;
    color: #3b82f6;
    border: 2px solid rgba(59, 130, 246, 0.4);
    box-shadow: inset 0 0 20px rgba(59, 130, 246, 0.2);
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-rank-badge {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0.5rem 0 1rem;
    line-height: 1;
}

.team-name-large {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 1.5rem;
    letter-spacing: 0.5px;
}

.team-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    width: 100%;
    margin-bottom: 1.5rem;
}

.stat {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    padding: 0.8rem 0.5rem;
    transition: all 0.3s ease;
}

.stat:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

.stat-label {
    display: block;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.stat-value {
    display: block;
    color: #3b82f6;
    font-weight: 800;
    font-size: 1.3rem;
}

.team-divider {
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
    margin: 1.5rem 0;
}

.team-roster-hltv {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}
/* СТРАНИЦА КОМАНД */
.teams-section { 
    padding: 2rem 0 5rem 0;  /* Меньше отступ сверху */
}


.section-header-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    color: #f1f5f9;
    margin: 0 0 3rem 0;
    padding-left: 1rem;
    border-left: 4px solid #3b82f6;
}

.teams-grid-hltv {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;  /* Уменьшен отступ сверху */
}


.team-card-hltv {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.9));
    border: 2px solid rgba(59, 130, 246, 0.25);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.team-card-hltv:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.6);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.98));
    box-shadow: 0 25px 60px rgba(59, 130, 246, 0.35);
}

.team-header-hltv {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(59, 130, 246, 0.08));
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
}

.team-logo-hltv {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid rgba(59, 130, 246, 0.6);
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.team-card-hltv:hover .team-logo-hltv {
    border-color: rgba(59, 130, 246, 0.8);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.35);
    transform: scale(1.05);
}

.team-title-hltv h3 {
    font-size: 1.4rem;
    color: #f1f5f9;
    margin: 0;
    text-align: center;
    font-weight: 700;
}

.team-body-hltv {
    padding: 2rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.team-stats-hltv {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    padding: 1rem;
    color: #3b82f6;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
    line-height: 1.6;
}

.team-roster-hltv {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}
/* ==========================================
   НОВОСТИ
   ========================================== */

.news-section {
  padding: 5rem 0;
  margin-bottom: 3rem;  /* ДОБАВИТЬ - расстояние перед футером */
}

/* ... остальное ... */

/* ==========================================
   FOOTER
   ========================================== */

footer {
  background: rgba(10, 15, 31, 0.95);
  backdrop-filter: blur(20px);
  padding: 4rem 0 3rem;  /* УВЕЛИЧИТЬ padding */
  text-align: center;
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  margin-top: 5rem;  /* ДОБАВИТЬ - большой отступ сверху */
}

.footer {
  padding: 40px 20px;
  text-align: center;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  margin-top: 60px;
}

.footer-content {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-link:hover {
  border-color: rgba(100, 200, 255, 0.5);
  transform: scale(1.1);
}

.footer-copyright {
  color: #d9d4c0;
  font-size: 13px;
  margin: 0;
}


.snow-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    background-image: 
        radial-gradient(5px 5px at 25% 20%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0)),
        radial-gradient(5px 5px at 75% 60%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0)),
        radial-gradient(5px 5px at 50% 80%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
    background-repeat: repeat;
    background-size: 600px 600px;
    background-position: 0 0;
    animation: snowFall 30s linear infinite;
}

@keyframes snowFall {
    0% { 
        background-position: 0 0;
        opacity: 1;
    }
    100% { 
        background-position: 100px 100vh;
        opacity: 1;
    }
}


@media (max-width: 768px) {
    nav { padding: 0 1.5rem; flex-direction: column; gap: 1rem; }
    .nav-links { flex-direction: column; gap: 0.5rem; width: 100%; }
    .teams-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
    .table-header, .table-row { grid-template-columns: 1fr; text-align: center; }
    .col-team { justify-content: center; }
    .social-links { gap: 2rem; }
    .social-links a { width: 60px; height: 60px; font-size: 1.5rem; }
}

/* Картинка */
.news-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: rgba(59, 130, 246, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

/* Сетка карточек */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.news-card {
    perspective: 1000px;
    cursor: pointer;
    height: 100%;
}

/* Адаптив */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* Вся рамка */
.news-card-inner {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7), rgba(30, 41, 59, 0.7));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    font-family: 'Orbitron', sans-serif;
}

/* Область текста внутри карточки */
.news-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;              /* тянем блок до низа */
}

/* Основной текст сверху */
.news-text {
    margin-bottom: auto;  /* всё лишнее пространство остаётся над датой */
}

/* Дата в самом низу */
.news-date {
    margin-top: 1rem;
    padding-bottom: 0.3rem;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fbbf24;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
}

.teams-grid-hltv {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Скрываем 10-ю карточку */
.team-card-hltv:nth-child(n+10) {
    display: none;
}

.team-details-section {
    padding: 8rem 0 5rem;
    margin-top: 70px;
}

.team-details-header {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.8));
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.team-details-logo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid rgba(59, 130, 246, 0.6);
}

.team-details-info h1 {
    font-size: 3rem;
    color: #f1f5f9;
    margin: 0;
}

.team-details-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-label {
    color: #94a3b8;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.stat-value {
    color: #3b82f6;
    font-size: 1.5rem;
    font-weight: 700;
}

.team-details-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
}

.team-roster, .team-matches, .team-stats-detailed {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.8));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 15px;
    padding: 2rem;
}

.team-roster h2, .team-matches h2, .team-stats-detailed h2 {
    color: #f1f5f9;
    margin: 0 0 1.5rem;
    font-size: 1.5rem;
}

.roster-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.player {
    padding: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-left: 3px solid #3b82f6;
    color: #cbd5e1;
    border-radius: 5px;
}

.matches-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.match-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
}

.match-opponent {
    color: #cbd5e1;
    font-weight: 500;
}

.match-score {
    color: #3b82f6;
    font-weight: 700;
    font-size: 1.1rem;
}

.match-date {
    color: #94a3b8;
    font-size: 0.85rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.stat-card {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
}

.stat-name {
    color: #94a3b8;
}

.stat-val {
    color: #3b82f6;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .team-details-content {
        grid-template-columns: 1fr;
    }
}

.team-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    height: 100%;
}

.team-link:hover .team-card-hltv {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 25px 60px rgba(59, 130, 246, 0.35);
}
.match-card {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    align-items: center;
}

.match-team {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.match-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.4);
    object-fit: cover;
}

.match-opponent {
    color: #cbd5e1;
    font-weight: 500;
}

.match-score {
    color: #3b82f6;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
}

.match-date {
    color: #94a3b8;
    font-size: 0.9rem;
    text-align: center;
}

.match-stage {
    color: #fbbf24;
    font-weight: 600;
    text-align: right;
}

.match-card {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 1rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    align-items: center;
}

.match-team {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.match-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.4);
    object-fit: cover;
}

.match-logo-right {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.4);
    object-fit: cover;
    margin-right: 0.5rem;
}

.match-opponent {
    color: #cbd5e1;
    font-weight: 500;
}

.match-score {
    color: #3b82f6;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
}

.match-date {
    color: #94a3b8;
    font-size: 0.9rem;
    text-align: center;
}

.match-stage {
    color: #fbbf24;
    font-weight: 600;
    text-align: right;
    min-width: 80px;
}
.match-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    align-items: center;
}

.match-team-left, .match-team-right {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.match-team-right {
    flex-direction: row-reverse;
}

.match-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.4);
    object-fit: cover;
}

.match-team-name {
    color: #cbd5e1;
    font-weight: 500;
    font-size: 0.95rem;
}

.match-score-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.match-score-left, .match-score-right {
    color: #3b82f6;
    font-weight: 700;
    font-size: 1.2rem;
    min-width: 25px;
    text-align: center;
}

.match-separator {
    color: #3b82f6;
    font-weight: 700;
}

.match-date {
    color: #94a3b8;
    font-size: 0.9rem;
    text-align: center;
}

.match-stage {
    color: #fbbf24;
    font-weight: 600;
    text-align: right;
}

.tournament-section {
  margin: 40px 0;
  padding: 20px;
  border: 2px solid #0099ff;
  border-radius: 8px;
  background-color: rgba(0, 153, 255, 0.05);
}

.tournament-section h2 {
  color: #0099ff;
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 24px;
}

.tournament-info {
  background-color: rgba(0, 153, 255, 0.1);
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.tournament-info p {
  margin: 8px 0;
  color: #fff;
}

.bracket-round {
  margin: 20px 0;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
}

.bracket-round h4 {
  color: #0099ff;
  margin-top: 0;
  margin-bottom: 15px;
}

.match {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  margin: 8px 0;
  background-color: rgba(0, 153, 255, 0.15);
  border-radius: 4px;
  border-left: 3px solid #0099ff;
}

.match.final {
  border-left: 5px solid #ffcc00;
  background-color: rgba(255, 204, 0, 0.1);
}

.team {
  flex: 1;
  color: #fff;
  padding: 5px 10px;
}

.score {
  color: #0099ff;
  font-weight: bold;
  padding: 0 15px;
  text-align: center;
  min-width: 50px;
}
/* ГАЛЕРЕЯ ФОТОГРАФИЙ ТУРНИРОВ */
.tournaments-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
  padding: 20px;
}

.tournament-image-frame {
  position: relative;
  border: 2px solid #00aaff;
  border-radius: 12px;
  padding: 8px;
  background: linear-gradient(135deg, rgba(0, 170, 255, 0.1) 0%, rgba(0, 100, 150, 0.05) 100%);
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 170, 255, 0.3), inset 0 0 20px rgba(0, 170, 255, 0.1);
}

.tournament-image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.tournament-image-frame:hover img {
  transform: scale(1.02);
}

/* КАРТОЧКИ ТУРНИРОВ */
.tournament-card {
  border: 2px solid #00aaff;
  border-radius: 12px;
  margin-bottom: 25px;
  background: linear-gradient(135deg, rgba(0, 50, 100, 0.3) 0%, rgba(0, 20, 50, 0.5) 100%);
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0, 170, 255, 0.2), inset 0 0 15px rgba(0, 170, 255, 0.05);
  transition: all 0.3s ease;
}

.tournament-card:hover {
  border-color: #00ddff;
  box-shadow: 0 0 35px rgba(0, 221, 255, 0.3), inset 0 0 20px rgba(0, 170, 255, 0.1);
  transform: translateY(-2px);
}

.tournament-header {
  background: linear-gradient(90deg, rgba(0, 170, 255, 0.2) 0%, rgba(0, 100, 150, 0.1) 100%);
  padding: 20px;
  border-bottom: 2px solid rgba(0, 170, 255, 0.5);
}

.tournament-header h2 {
  margin: 0;
  color: #00ddff;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 1px;
}

.tournament-info-box {
  padding: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-around;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 250px;
}

.info-label {
  color: #00aaff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

.info-value {
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  padding: 10px 15px;
  background: rgba(0, 170, 255, 0.1);
  border-left: 3px solid #00aaff;
  border-radius: 4px;
}

.tournament-winner {
  color: #ffdd00 !important;
  border-left-color: #ffdd00 !important;
  background: rgba(255, 221, 0, 0.1) !important;
}

.prize-pool {
  color: #00ff88 !important;
  border-left-color: #00ff88 !important;
  background: rgba(0, 255, 136, 0.1) !important;
}

/* МОБИЛЬНЫЙ АДАПТИВ */
@media (max-width: 768px) {
  .tournaments-gallery {
    grid-template-columns: 1fr;
  }

  .tournament-info-box {
    flex-direction: column;
    gap: 15px;
  }

  .tournament-header h2 {
    font-size: 22px;
  }
}
.tournament-bracket-section {
  padding: 20px;
  border-top: 2px solid rgba(0, 170, 255, 0.3);
}

.tournament-bracket-section h3 {
  color: #00aaff;
  font-size: 16px;
  text-transform: uppercase;
  margin: 20px 0 15px 0;
  letter-spacing: 1px;
}

.bracket-matches {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.match-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background: rgba(0, 170, 255, 0.1);
  border: 1px solid rgba(0, 170, 255, 0.3);
  border-radius: 6px;
  border-left: 4px solid #00aaff;
}

.match-item.final-match {
  background: rgba(255, 221, 0, 0.15);
  border-color: rgba(255, 221, 0, 0.5);
  border-left-color: #ffdd00;
}

.team-name {
  color: #ffffff;
  font-weight: 500;
  flex: 1;
  text-align: left;
}

.vs {
  color: #00aaff;
  padding: 0 15px;
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
}
/* ОБЕРТКА ТУРНИРА С ФОТКОЙ И ИНФОРМАЦИЕЙ */
.tournament-wrapper {
  margin-bottom: 40px;
}

/* ФОТКА ТУРНИРА ПРЯМО НАД КАРТОЧКОЙ */
.tournament-image-frame {
  border: 2px solid #00aaff;
  border-radius: 12px;
  padding: 8px;
  background: linear-gradient(135deg, rgba(0, 170, 255, 0.1) 0%, rgba(0, 100, 150, 0.05) 100%);
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 170, 255, 0.3), inset 0 0 20px rgba(0, 170, 255, 0.1);
  margin-bottom: 20px;
}

.tournament-image-frame img {
  width: 50%;
  height: auto;
  display: block;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.tournament-image-frame:hover img {
  transform: scale(1.02);
}

/* КАРТОЧКИ ТУРНИРОВ */
.tournament-card {
  border: 2px solid #00aaff;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 50, 100, 0.3) 0%, rgba(0, 20, 50, 0.5) 100%);
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0, 170, 255, 0.2), inset 0 0 15px rgba(0, 170, 255, 0.05);
  transition: all 0.3s ease;
}

.tournament-card:hover {
  border-color: #00ddff;
  box-shadow: 0 0 35px rgba(0, 221, 255, 0.3), inset 0 0 20px rgba(0, 170, 255, 0.1);
  transform: translateY(-2px);
}

.tournament-header {
  background: linear-gradient(90deg, rgba(0, 170, 255, 0.2) 0%, rgba(0, 100, 150, 0.1) 100%);
  padding: 20px;
  border-bottom: 2px solid rgba(0, 170, 255, 0.5);
}

.tournament-header h2 {
  margin: 0;
  color: #00ddff;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 1px;
}

.tournament-info-box {
  padding: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-around;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 250px;
}

.info-label {
  color: #00aaff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

.info-value {
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  padding: 10px 15px;
  background: rgba(0, 170, 255, 0.1);
  border-left: 3px solid #00aaff;
  border-radius: 4px;
}

.tournament-winner {
  color: #ffdd00 !important;
  border-left-color: #ffdd00 !important;
  background: rgba(255, 221, 0, 0.1) !important;
}

.prize-pool {
  color: #00ff88 !important;
  border-left-color: #00ff88 !important;
  background: rgba(0, 255, 136, 0.1) !important;
}

/* СЕТКА ТУРНИРА */
.tournament-bracket-section {
  padding: 20px;
  border-top: 2px solid rgba(0, 170, 255, 0.3);
}

.tournament-bracket-section h3 {
  color: #00aaff;
  font-size: 16px;
  text-transform: uppercase;
  margin: 20px 0 15px 0;
  letter-spacing: 1px;
}

.bracket-matches {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.match-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background: rgba(0, 170, 255, 0.1);
  border: 1px solid rgba(0, 170, 255, 0.3);
  border-radius: 6px;
  border-left: 4px solid #00aaff;
}

.match-item.final-match {
  background: rgba(255, 221, 0, 0.15);
  border-color: rgba(255, 221, 0, 0.5);
  border-left-color: #ffdd00;
}

.team-name {
  color: #ffffff;
  font-weight: 500;
  flex: 1;
  text-align: left;
}

.score {
  color: #00aaff;
  padding: 0 15px;
  font-weight: bold;
  font-size: 14px;
  min-width: 50px;
  text-align: center;
}

.final-match .score {
  color: #ffdd00;
}

/* МОБИЛЬНЫЙ АДАПТИВ */
@media (max-width: 768px) {
  .tournament-header h2 {
    font-size: 22px;
  }
  
  .tournament-info-box {
    flex-direction: column;
    gap: 15px;
  }
}
.matches-table tbody tr.round-1 {
  border-left: 4px solid #0099ff;
}

.matches-table tbody tr.round-2 {
  border-left: 4px solid #0088dd;
}

.matches-table tbody tr.lower-bracket {
  border-left: 4px solid #0077bb;
}

.matches-table tbody tr.semi-final {
  border-left: 4px solid #00ccff;
}

.matches-table tbody tr.final {
  background: rgba(255, 221, 0, 0.15);
  border-left: 4px solid #ffdd00;
}

.matches-table tbody tr.final td {
  color: #ffdd00;
  font-weight: 600;
}
/* ФОТКА ТУРНИРА - КОМПАКТНЫЙ РАЗМЕР */
.tournament-image-frame {
  max-width: 600px;
  margin: 0 auto 25px auto;
  border: 2px solid #00aaff;
  border-radius: 12px;
  padding: 8px;
  background: linear-gradient(135deg, rgba(0, 50, 100, 0.3) 0%, rgba(0, 20, 50, 0.5) 100%);
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 170, 255, 0.3), inset 0 0 15px rgba(0, 170, 255, 0.1);
  transition: all 0.3s ease;
}

.tournament-image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.tournament-image-frame:hover {
  border-color: #00ddff;
  box-shadow: 0 0 30px rgba(0, 221, 255, 0.4), inset 0 0 20px rgba(0, 170, 255, 0.15);
}

.tournament-image-frame:hover img {
  transform: scale(1.02);
}


/* СТИЛЬНЫЙ ЗАГОЛОВОК ТУРНИРЫ - БЕЗ СВЕЧЕНИЯ */
.tournaments-page-header {
  text-align: center;
  padding: 60px 20px 40px 20px;
  position: relative;
}

.tournaments-page-header h1 {
  font-size: 72px;
  font-weight: 900;
  color: #2422c2;
  text-transform: uppercase;
  margin: 0 0 20px 0;
  letter-spacing: 3px;
  position: relative;
  z-index: 1;
}

.tournaments-page-header p {
  font-size: 18px;
  color: #1422e0;
  margin: 0;
  letter-spacing: 0.5px;
  font-weight: 400;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

/* МОБИЛЬНЫЙ АДАПТИВ */
@media (max-width: 768px) {
  .tournaments-page-header {
    padding: 40px 20px 30px 20px;
  }

  .tournaments-page-header h1 {
    font-size: 48px;
    letter-spacing: 2px;
  }

  .tournaments-page-header p {
    font-size: 14px;
  }
}


/* ТАБЛИЦА РЕЙТИНГА */
.rating-table-container {
  margin: 40px auto;
  max-width: 900px;
}

.rating-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(0, 50, 100, 0.2);
  border: 2px solid #00aaff;
  border-radius: 12px;
  overflow: hidden;
}

.rating-table thead {
  background: linear-gradient(90deg, rgba(0, 170, 255, 0.3) 0%, rgba(0, 100, 150, 0.2) 100%);
  border-bottom: 2px solid #00aaff;
}

.rating-table th {
  color: #00aaff;
  padding: 15px;
  text-align: left;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
}

.rating-row {
  border-bottom: 1px solid rgba(0, 170, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.rating-row:hover {
  background: rgba(0, 170, 255, 0.15);
  border-left: 4px solid #00aaff;
  padding-left: 10px;
}

.rating-row td {
  color: #ffffff;
  padding: 15px;
  font-size: 16px;
}

.rank {
  font-weight: 700;
  color: #00aaff;
  font-size: 18px;
  min-width: 50px;
}

.team-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  flex: 1;
}

.team-icon {
  font-size: 24px;
}

.points {
  font-weight: 700;
  color: #ffdd00;
  font-size: 18px;
}

.change {
  min-width: 80px;
  text-align: right;
}

.change.positive {
  color: #00ff88;
}

.change.negative {
  color: #ff6666;
}

/* МОДАЛЬНОЕ ОКНО С РОСТЕРОМ */
.roster-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  animation: fadeIn 0.3s ease;
}

.roster-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.roster-modal-content {
  background: linear-gradient(135deg, rgba(0, 50, 100, 0.4) 0%, rgba(0, 20, 50, 0.6) 100%);
  border: 2px solid #00aaff;
  border-radius: 16px;
  padding: 30px;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 0 50px rgba(0, 170, 255, 0.3);
  position: relative;
}

.roster-close {
  position: absolute;
  right: 20px;
  top: 20px;
  background: none;
  border: none;
  color: #00aaff;
  font-size: 32px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.roster-close:hover {
  color: #00ddff;
}

.roster-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(0, 170, 255, 0.3);
}

.roster-header h2 {
  font-size: 36px;
  color: #00aaff;
  margin: 0 0 10px 0;
  text-transform: uppercase;
}

.roster-header p {
  color: #ffffff;
  margin: 0;
  font-size: 16px;
}

.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.player-card {
  background: rgba(0, 100, 150, 0.3);
  border: 2px solid #00aaff;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.player-card:hover {
  background: rgba(0, 170, 255, 0.2);
  border-color: #00ddff;
  transform: translateY(-5px);
}

.player-avatar {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  margin: 0 auto 10px;
  background: rgba(0, 170, 255, 0.1);
  border: 2px solid #00aaff;
  overflow: hidden;
}

.player-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-name {
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  margin: 10px 0 5px 0;
}

.player-role {
  color: #00aaff;
  font-size: 12px;
  text-transform: uppercase;
}

/* АНИМАЦИЯ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* МОБИЛЬНЫЙ АДАПТИВ */
@media (max-width: 768px) {
  .rating-table th,
  .rating-table td {
    padding: 10px;
    font-size: 14px;
  }
  
  .players-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
  }
}
/* ЗАГОЛОВОК СТРАНИЦЫ */
.rating-page-header {
  text-align: center;
  padding: 60px 20px 40px 20px;
}

.rating-page-header h1 {
  font-size: 72px;
  font-weight: 900;
  color: #0099ff;
  text-transform: uppercase;
  margin: 0 0 20px 0;
  letter-spacing: 3px;
}

.rating-page-header p {
  font-size: 18px;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.5px;
  font-weight: 400;
}

/* ============================================
   ТАБЛИЦА РЕЙТИНГА - ОПУЩЕНА ВНИЗ
   ============================================ */

.rating-table-container {
  margin: 80px auto 20px auto;  /* Опущено вниз с положительным margin */
  max-width: 1100px;
  padding: 0 20px;
}

.table-header {
  text-align: center;
  color: #ffffff;
  font-size: 16px;
  padding: 15px 0;
  margin-bottom: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.rating-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(0, 50, 100, 0.2);
  border: 3px solid #00aaff;
  border-radius: 12px;
  overflow: hidden;
}

.rating-table thead {
  background: linear-gradient(90deg, rgba(0, 170, 255, 0.3) 0%, rgba(0, 100, 150, 0.2) 100%);
  border-bottom: 3px solid #00aaff;
}

.rating-table th {
  color: #00aaff;
  padding: 14px 12px;
  text-align: left;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
}

.rating-row {
  border-bottom: 2px solid rgba(0, 170, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.rating-row:hover {
  background: rgba(0, 170, 255, 0.15);
  border-left: 5px solid #00aaff;
}

.rating-row td {
  color: #ffffff;
  padding: 14px 12px;
  font-size: 16px;
}

.rank {
  font-weight: 700;
  color: #00aaff;
  font-size: 18px;
  min-width: 50px;
}

.team-name {
  font-weight: 600;
  flex: 1;
  min-width: 180px;
  font-size: 17px;
}

.matches {
  color: #00aaff;
  text-align: center;
  min-width: 80px;
  font-size: 16px;
}

.points {
  font-weight: 700;
  color: #ffdd00;
  font-size: 18px;
  text-align: center;
  min-width: 80px;
}

.rating {
  color: #00ff88;
  text-align: center;
  min-width: 100px;
  font-size: 16px;
}
/* ============================================
   ЛОГО КОМАНДЫ В ТАБЛИЦЕ - БОЛЬШИЙ РАЗМЕР
   ============================================ */

.team-name {
    font-weight: 600;
    flex: 1;
    min-width: 200px;
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.team-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;  /* Увеличено с 40px */
    height: 56px; /* Увеличено с 40px */
    background: rgba(0, 170, 255, 0.1);
    border: 2px solid #00aaff;
    border-radius: 8px;
    flex-shrink: 0;
    overflow: hidden;
}

.team-logo {
    width: 52px;  /* Увеличено с 36px */
    height: 52px; /* Увеличено с 36px */
    object-fit: contain;
    display: block;
}

/* Hover эффект для логотипа */
.rating-row:hover .team-logo-box {
    background: rgba(0, 170, 255, 0.2);
    border-color: #00ddff;
    box-shadow: 0 0 15px rgba(0, 170, 255, 0.4);
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .team-logo-box {
        width: 45px;
        height: 45px;
    }
    
    .team-logo {
        width: 41px;
        height: 41px;
    }
}
footer {
    background: rgba(10, 15, 31, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem 0 2rem;
    text-align: center;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    margin-top: 3rem;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.social-links a {
    width: 70px;
    height: 70px;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #93c5fd;
    font-size: 2rem;
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
}

.social-links a i {
    color: #93c5fd;
    font-size: 2rem;
    z-index: 10;
}

.social-links a:hover {
    background: rgba(59, 130, 246, 0.3);
    color: #fff;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.social-links a:hover i {
    color: #fff;
}

footer p {
    color: #cbd5e1;
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

footer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

@media (max-width: 768px) {
    .social-links {
        gap: 2rem;
    }

    .social-links a {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .social-links a i {
        font-size: 1.5rem;
    }
}
/* ============================================
   ТАБЛИЦА РЕЙТИНГА - БОЛЬШЕ РАЗМЕР
   ============================================ */

.rating-table-container {
    margin: 40px auto 20px auto;
    max-width: 1300px;  /* Увеличено с 1100px */
    padding: 0 20px;
}

.rating-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 50, 100, 0.2);
    border: 3px solid #00aaff;
    border-radius: 12px;
    overflow: hidden;
}

.rating-table thead {
    background: linear-gradient(90deg, rgba(0, 170, 255, 0.3) 0%, rgba(0, 100, 150, 0.2) 100%);
    border-bottom: 3px solid #00aaff;
}

.rating-table th {
    color: #00aaff;
    padding: 18px 15px;  /* Увеличено с 16px 12px */
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;  /* Увеличено с 13px */
    letter-spacing: 1px;
}

.rating-row {
    border-bottom: 2px solid rgba(0, 170, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.rating-row:first-child td {
    padding-top: 20px;  /* Увеличено с 18px */
}

.rating-row:hover {
    background: rgba(0, 170, 255, 0.15);
    border-left: 5px solid #00aaff;
}

.rating-row td {
    color: #ffffff;
    padding: 18px 15px;  /* Увеличено с 16px 12px */
    font-size: 17px;  /* Увеличено с 16px */
}

.rank {
    font-weight: 700;
    color: #00aaff;
    font-size: 20px;  /* Увеличено с 18px */
    min-width: 60px;  /* Увеличено с 50px */
}

.team-name {
    font-weight: 600;
    flex: 1;
    min-width: 250px;  /* Увеличено с 200px */
    font-size: 19px;  /* Увеличено с 17px */
    display: flex;
    align-items: center;
    gap: 15px;  /* Увеличено с 12px */
}

/* ============================================
   ЛОГОТИПЫ КОМАНД - БОЛЬШЕ РАЗМЕР
   ============================================ */

.team-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;  /* Увеличено с 56px */
    height: 80px;  /* Увеличено с 56px */
    background: rgba(0, 170, 255, 0.1);
    border: 3px solid #00aaff;  /* Толще с 2px */
    border-radius: 10px;  /* Увеличено с 8px */
    flex-shrink: 0;
    overflow: hidden;
}

.team-logo {
    width: 74px;  /* Увеличено с 52px */
    height: 74px;  /* Увеличено с 52px */
    object-fit: contain;
    display: block;
}

.rating-row:hover .team-logo-box {
    background: rgba(0, 170, 255, 0.2);
    border-color: #00ddff;
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.5);  /* Больше свечение */
    transform: scale(1.08);
    transition: all 0.3s ease;
}

.matches {
    color: #00aaff;
    text-align: center;
    min-width: 90px;  /* Увеличено с 80px */
    font-size: 17px;  /* Увеличено с 16px */
}

.points {
    font-weight: 700;
    color: #ffdd00;
    font-size: 20px;  /* Увеличено с 18px */
    text-align: center;
    min-width: 90px;  /* Увеличено с 80px */
}

.rating {
    color: #00ff88;
    text-align: center;
    min-width: 110px;  /* Увеличено с 100px */
    font-size: 18px;  /* Увеличено с 16px */
}

/* ============================================
   МОБИЛЬНЫЙ АДАПТИВ
   ============================================ */

@media (max-width: 768px) {
    .rating-table-container {
        max-width: 100%;
    }

    .rating-table th,
    .rating-table td {
        padding: 14px 10px;
    }

    .team-logo-box {
        width: 60px;
        height: 60px;
    }
    
    .team-logo {
        width: 56px;
        height: 56px;
    }
}

        .rules-article {
            background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.8));
            border-left: 4px solid #3b82f6;
            border-radius: 12px;
            padding: 2rem;
            margin-bottom: 2rem;
            backdrop-filter: blur(20px);
        }

        .rules-article h2 {
            color: #f1f1f9;
            font-size: 1.5rem;
            margin: 0 0 1.5rem 0;
            border-bottom: 2px solid rgba(59, 130, 246, 0.3);
            padding-bottom: 1rem;
        }

        .rules-article ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .rules-article li {
            color: #cbd5e1;
            margin-bottom: 0.8rem;
            padding-left: 1.5rem;
            position: relative;
        }

        .rules-article li:before {
            content: "→";
            position: absolute;
            left: 0;
            color: #3b82f6;
            font-weight: bold;
        }

        .map-badge {
            display: inline-block;
            background: rgba(59, 130, 246, 0.2);
            color: #3b82f6;
            padding: 0.4rem 0.8rem;
            border-radius: 6px;
            font-size: 0.9rem;
            margin-right: 0.5rem;
            margin-top: 0.5rem;
            border: 1px solid rgba(59, 130, 246, 0.4);
        }

        .warning-box {
            background: rgba(220, 38, 38, 0.1);
            border-left: 5px solid #dc2626;
            border-radius: 8px;
            padding: 1.5rem;
            margin-top: 2rem;
            color: #fca5a5;
        }

        .warning-box strong {
            color: #fca5a5;
            display: block;
            margin-bottom: 0.5rem;
        }

        .warning-box p {
            margin: 0;
            color: #cbd5e1;
        }

        .rules-section {
            padding: 5rem 0;
            min-height: 100vh;
        }

        @media (max-width: 768px) {
            .rules-article {
                padding: 1.5rem;
            }

            .rules-article h2 {
                font-size: 1.2rem;
            }

            .map-badge {
                display: inline-block;
                margin-bottom: 0.5rem;
            }
        }

        /* ==================== MATCHES HISTORY SECTION ==================== */

.matches-history-section {
    padding: 5rem 0;
    min-height: 100vh;
}

.matches-subtitle {
    text-align: center;
    color: #dddef5;
    font-size: 1rem;
    margin-top: -1.5rem;
    margin-bottom: 3rem;
    font-weight: 400;
}

.matches-history-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.match-history-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.9));
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.match-history-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.2);
    transform: translateY(-5px);
}

.match-status-badge {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.3);
    text-transform: capitalize;
}

.match-info-header {
    margin-bottom: 1.5rem;
    padding-top: 0.5rem;
}

.match-date {
    color: #cbd5e1;
    font-size: 0.95rem;
    font-weight: 500;
}

.match-teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.team-block {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.team-left {
    justify-content: flex-start;
}

.team-right {
    justify-content: flex-end;
    flex-direction: row-reverse;
}

.team-logo-container {
    flex-shrink: 0;
}

.team-logo {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    border: 2px solid rgba(59, 130, 246, 0.4);
    object-fit: cover;
    transition: all 0.3s ease;
}

.match-history-card:hover .team-logo {
    border-color: rgba(59, 130, 246, 0.7);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.team-info {
    flex: 1;
}

.team-name {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #f1f5f9;
    letter-spacing: 0.3px;
}

.score-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1rem;
}

.score {
    font-size: 2rem;
    font-weight: 700;
    color: #cbd5e1;
    letter-spacing: 0.2em;
    font-family: 'Orbitron', monospace;
}

.score-winner {
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.match-footer {
    padding-top: 1rem;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    display: flex;
    justify-content: flex-start;
}

.map-info {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 1024px) {
    .matches-history-list {
        max-width: 900px;
    }

    .match-history-card {
        padding: 1.5rem;
    }

    .team-logo {
        width: 65px;
        height: 65px;
    }

    .score {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .matches-history-section {
        padding: 3rem 0;
    }

    .matches-history-list {
        max-width: 100%;
        gap: 1.5rem;
    }

    .match-history-card {
        padding: 1.5rem 1rem;
    }

    .match-status-badge {
        top: 1rem;
        right: 1rem;
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .match-info-header {
        margin-bottom: 1rem;
    }

    .match-date {
        font-size: 0.85rem;
    }

    .match-teams {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-block {
        justify-content: space-between;
        gap: 1rem;
        width: 100%;
    }

    .team-left,
    .team-right {
        flex-direction: row;
        justify-content: space-between;
    }

    .team-right {
        flex-direction: row-reverse;
    }

    .team-logo {
        width: 50px;
        height: 50px;
    }

    .team-name {
        font-size: 0.95rem;
    }

    .score {
        font-size: 1.5rem;
    }

    .score-block {
        margin: 1rem 0;
        order: 3;
        width: 100%;
    }

    .match-footer {
        margin-top: 0.5rem;
    }

    .map-info {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .matches-history-section {
        padding: 2rem 0;
    }

    .match-history-card {
        padding: 1rem;
        border-radius: 10px;
    }

    .match-status-badge {
        top: 0.8rem;
        right: 0.8rem;
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    .match-teams {
        gap: 1rem;
    }

    .team-logo {
        width: 45px;
        height: 45px;
    }

    .team-name {
        font-size: 0.85rem;
    }

    .score {
        font-size: 1.2rem;
    }

    .matches-subtitle {
        font-size: 0.9rem;
    }
}

/* ==================== ANIMATIONS ==================== */

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.match-history-card {
    animation: slideInUp 0.5s ease forwards;
}

.match-history-card:nth-child(1) {
    animation-delay: 0.1s;
}

.match-history-card:nth-child(2) {
    animation-delay: 0.2s;
}

.match-history-card:nth-child(3) {
    animation-delay: 0.3s;
}

.match-history-card:nth-child(4) {
    animation-delay: 0.4s;
}

.matches {
  margin-top: 40px;
}

.matches-header-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.matches-title {
  font-size: 28px;
  font-weight: 700;
  color: #2a47c7;
}

.matches-icon {
  margin-right: 10px;
}

.matches-all-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #f2b424;
  color: #f2b424;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.matches-all-btn:hover {
  background: #f2b424;
  color: #111111;
}

/* блок-заглушка */
.matches-empty {
  border-radius: 16px;
  border: 1px dashed #3c3c3c;
  background: rgba(0, 0, 0, 0.4);
  padding: 60px 20px;
  text-align: center;
}

.matches-empty-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.matches-empty-title {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 6px;
}

.matches-empty-subtitle {
  color: #9b9b9b;
  font-size: 14px;
}
.match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between; /* центрируем лево‑право */
}

/* общий блок команды */
.team-block {
  display: flex;
  align-items: center;
}

/* правая команда: название слева, лого справа */
.team-right {
  flex-direction: row;      /* слева текст, справа логотип */
  margin-left: auto;        /* блок прижат к правому краю карточки */
  justify-content: flex-end;
}

/* делаем почти ноль расстояние между названием и логотипом */
.team-right .team-info {
  margin-right: 2px;        /* можно 0–4px, подбери по вкусу */
}

.team-right .team-logo-container {
  margin-left: 0;           /* никаких дополнительных отступов */
}

/* Карточка матча */
.match-history-card {
  display: flex;
  flex-direction: column;
  padding: 24px 32px;
  border-radius: 20px;
  background: rgba(7, 20, 60, 0.9);
  border: 1px solid rgba(64, 115, 255, 0.3);
  margin-bottom: 24px;
}

/* Шапка с датой */
.match-info-header {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.match-date {
  font-size: 14px;
  color: #a7b8ff;
}

.match-teams {
  display: flex;
  align-items: center;
  /* вместо space-between делаем обычный поток */
  justify-content: center;
}

/* левая команда */
.team-left {
  flex-direction: row;
  margin-right: 32px;          /* расстояние от левой команды до счёта */
}

.team-left .team-logo-container {
  margin-right: 8px;
}

/* правая команда: ближе к центру */
.team-right {
  flex-direction: row;
  margin-left: 32px;           /* расстояние от счёта до названия правой */
  justify-content: flex-end;
}

/* отступ между названием и лого минимальный */
.team-right .team-logo-container {
  margin-left: 4px;
  margin-right: 0;
}

/* блок со счётом фиксированный по центру */
.score-block {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;             /* можно уменьшить, чтобы всё ближе сойтись */
}

.score {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
}

/* Бейдж статуса */
.match-status-badge {
  align-self: flex-end;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(64, 115, 255, 0.2);
  color: #c8d4ff;
  font-size: 12px;
  margin-bottom: 8px;
}

/* Подвал (если будешь использовать) */
.match-footer {
  margin-top: 12px;
  font-size: 13px;
  color: #7f8dff;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px; /* размер логотипа */
}




/* левая и правая колонки без скролла */
.team-roster,
.team-stats-detailed {
  overflow: hidden;
}

/* колонка матчей */
.team-matches {
  display: flex;
  flex-direction: column;
  min-height: 0; /* важно для корректного flex‑скролла */
}

/* отдельный скролл только у списка матчей */
.matches-list {
  margin-top: 16px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 8px;    /* чтобы скролл не резал контент */
}

/* ==========================================
   НОВОСТИ - УЛУЧШЕННАЯ ВЕРСИЯ
   ========================================== */

/* ==========================================
   НОВОСТИ - УЛУЧШЕННАЯ ВЕРСИЯ
   ========================================== */

/* ==========================================
   НОВОСТИ
   ========================================== */

.news-section {
  padding: 6rem 2rem;
  margin-bottom: 4rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.news-card {
  perspective: 1200px;
  cursor: pointer;
  height: 100%;
  animation: slideInUp 0.6s ease forwards;
}

.news-card:nth-child(1) { animation-delay: 0.1s; }
.news-card:nth-child(2) { animation-delay: 0.2s; }
.news-card:nth-child(3) { animation-delay: 0.3s; }

.news-card-inner {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.95));
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.news-card:hover .news-card-inner {
  transform: translateY(-15px) scale(1.01);
  border-color: rgba(59, 130, 246, 0.6);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 1));
  box-shadow: 0 30px 60px rgba(59, 130, 246, 0.3);
}


.news-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: rgba(59, 130, 246, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0;
  padding: 0;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.08);
}


.news-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-badge {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(30, 64, 175, 0.95));
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid rgba(59, 130, 246, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
  width: fit-content;
}

.news-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 1rem 0;
  line-height: 1.4;
  letter-spacing: 0.3px;
}

.news-text {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.news-date {
  font-size: 0.9rem;
  color: #fbbf24;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  padding-top: 1rem;
}

/* АНИМАЦИЯ */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .news-section {
    padding: 4rem 1.5rem;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .news-image {
    height: 220px;
  }

  .news-content {
    padding: 1.5rem;
  }

  .news-title {
    font-size: 1.15rem;
  }
}

/* ТРОФЕИ */
.trophies-container {
  display: inline-flex;
  gap: 0.8rem;
  margin-left: 1.5rem;
  vertical-align: middle;
}

.trophy-item {
  position: relative;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(245, 158, 11, 0.4));
  border: 2px solid rgba(251, 191, 36, 0.6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(251, 191, 36, 0.3);
}

.trophy-item i {
  color: #fbbf24;
  font-size: 1.5rem;
}

.trophy-item:hover {
  transform: translateY(-5px) scale(1.1);
  border-color: #fbbf24;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.5), rgba(245, 158, 11, 0.6));
  box-shadow: 0 15px 35px rgba(251, 191, 36, 0.5);
}

.trophy-item:hover i {
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.8));
}

.trophy-item::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  background: rgba(15, 23, 42, 0.95);
  color: #fbbf24;
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  font-size: 0.85rem;
  white-space: nowrap;
  border: 1px solid rgba(251, 191, 36, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 100;
}

.trophy-item:hover::after {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  top: -60px;
}


/* ТРОФЕИ С ИЗОБРАЖЕНИЕМ И ТУЛТИПОМ */
.trophies-container {
  display: inline-flex;
  gap: 0.8rem;
  margin-left: 1.5rem;
  vertical-align: middle;
}

.trophy-item {
  position: relative;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.3));
  border: 2px solid rgba(251, 191, 36, 0.6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(251, 191, 36, 0.3);
  padding: 6px;
  overflow: visible;
}

.trophy-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.trophy-item:hover {
  transform: translateY(-5px) scale(1.1);
  border-color: #fbbf24;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.4), rgba(245, 158, 11, 0.5));
  box-shadow: 0 15px 35px rgba(251, 191, 36, 0.5);
}

.trophy-item:hover img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.8));
}

/* ТУЛТИП (ПОДСКАЗКА) */
.trophy-item::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: rgba(15, 23, 42, 0.98);
  color: #fbbf24;
  padding: 0.8rem 1.3rem;
  border-radius: 10px;
  font-size: 0.85rem;
  white-space: nowrap;
  border: 2px solid rgba(251, 191, 36, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 1000;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.trophy-item:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(-15px);
}

/* СТРЕЛКА ТУЛТИПА */
.trophy-item::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid rgba(251, 191, 36, 0.6);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 999;
  margin-bottom: 2px;
}

.trophy-item:hover::after {
  opacity: 1;
  margin-bottom: 5px;
}

@media (max-width: 768px) {
  .trophy-item {
    width: 45px;
    height: 45px;
  }
}
/* ТРОФЕИ - ПОЛНОЕ ПОКРЫТИЕ */
/* ТРОФЕИ */
.trophies-container {
  display: inline-flex;
  gap: 1rem;
  margin-left: 1.5rem;
  vertical-align: middle;
}

.trophy-item {
  position: relative;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.3));
  border: 3px solid rgba(251, 191, 36, 0.8);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.5);
  padding: 4px;
  overflow: hidden;
}

.trophy-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.trophy-item:hover {
  transform: translateY(-10px) scale(1.15);
  border-color: #fbbf24;
  box-shadow: 0 20px 50px rgba(251, 191, 36, 0.8);
}

.trophy-item:hover img {
  filter: brightness(1.2);
}


@media (max-width: 768px) {
  .trophy-item {
    width: 65px;
    height: 65px;
  }
}


/* ============================================
МОБИЛЬНЫЙ АДАПТИВ - ИСПРАВЛЕННЫЙ ВАРИАНТ
============================================ */

/* Гамбургер кнопка - ВСЕГДА видна на мобилке */
.menu-toggle {
    display: none !important;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    background: none;
    border: none;
    z-index: 1001;
    padding: 0.5rem;
    color: #3b82f6;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #3b82f6;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* На мобильных (до 768px) */
@media (max-width: 768px) {
    /* Показываем гамбургер ВСЕГДА */
    .menu-toggle {
        display: flex !important;
    }

    /* Переделываем nav */
    nav {
        display: flex;
        flex-direction: row;
        padding: 0 1rem;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    /* Логотип занимает место */
    .logo-container {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex: 1;
    }

    /* DROPDOWN МЕНЮ В ПРАВОМ УГЛУ */
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        right: 1rem;
        left: auto;
        width: auto;
        min-width: 200px;
        max-width: 280px;
        background: rgba(10, 15, 31, 0.98);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        border: 1px solid rgba(59, 130, 246, 0.4);
        border-radius: 12px;
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        animation: slideDownRight 0.3s ease forwards;
    }

    @keyframes slideDownRight {
        from {
            opacity: 0;
            transform: translateY(-10px) translateX(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0) translateX(0);
        }
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
        border-radius: 8px;
        background: rgba(59, 130, 246, 0.1);
        border: 1px solid rgba(59, 130, 246, 0.3);
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    .nav-links a:hover {
        background: rgba(59, 130, 246, 0.2);
        border-color: #3b82f6;
        transform: translateX(5px);
    }

    /* ТАБЛИЦА РЕЙТИНГА НА МОБИЛКЕ - ВИДНА ПОЛНОСТЬЮ */
    .rating-table-container {
        margin: 40px auto 20px auto;
        max-width: 100%;
        padding: 0 10px;
        overflow-x: auto;
    }

    .rating-table {
        width: 100%;
        min-width: 600px;
        border-collapse: collapse;
        background: rgba(0, 50, 100, 0.2);
        border: 3px solid #00aaff;
        border-radius: 12px;
        overflow: hidden;
    }

    .rating-table thead {
        background: linear-gradient(90deg, rgba(0, 170, 255, 0.3) 0%, rgba(0, 100, 150, 0.2) 100%);
        border-bottom: 3px solid #00aaff;
    }

    .rating-table th {
        color: #00aaff;
        padding: 14px 10px;
        text-align: left;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 12px;
        letter-spacing: 1px;
        white-space: nowrap;
    }

    .rating-row {
        border-bottom: 2px solid rgba(0, 170, 255, 0.2);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .rating-row:hover {
        background: rgba(0, 170, 255, 0.15);
    }

    .rating-row td {
        color: #ffffff;
        padding: 14px 10px;
        font-size: 15px;
        white-space: nowrap;
    }

    .team-logo-box {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }

    .team-logo {
        width: 56px;
        height: 56px;
    }

    .team-name {
        min-width: 180px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    /* Остальные элементы на мобилке */
    .hero {
        margin-top: 100px;
        padding: 3rem 1.5rem;
    }

    section {
        padding: 3rem 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .teams-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .teams-grid-hltv {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .menu-toggle {
        display: flex !important;
    }

    .menu-toggle span {
        width: 22px;
    }

    nav {
        padding: 0 0.5rem;
    }

    .nav-links {
        top: 60px;
        right: 0.5rem;
        min-width: 170px;
    }

    .rating-table {
        min-width: 500px;
    }

    .rating-table th,
    .rating-table td {
        padding: 10px 8px;
        font-size: 13px;
    }

    section {
        padding: 2rem 0.5rem;
    }
}

/* ============================================
ЛОГОТИПЫ КОМАНД - УВЕЛИЧЕНЫ НА 30%
============================================ */

@media (min-width: 769px) {
    .match-logo {
        width: 104px !important;  /* было 80px, теперь +30% */
        height: 104px !important;
        flex-shrink: 0 !important;
        border-radius: 12px !important;
        border: 2px solid rgba(59, 130, 246, 0.4) !important;
        object-fit: cover !important;
    }
}

@media (max-width: 768px) {
    .match-logo {
        width: 65px !important;  /* было 50px, теперь +30% */
        height: 65px !important;
        flex-shrink: 0 !important;
        border-radius: 8px !important;
        border: 2px solid rgba(59, 130, 246, 0.4) !important;
        object-fit: cover !important;
    }
}

@media (max-width: 480px) {
    .match-logo {
        width: 58px !important;  /* было 45px, теперь +30% */
        height: 58px !important;
    }
}
/* ============================================
НАЗВАНИЕ КОМАНДЫ ВНУТРИ ЛОГОТИПА
============================================ */

@media (min-width: 769px) {
    .match-team-left,
    .match-team-right {
        display: flex !important;
        align-items: center !important;
        gap: 0 !important;
        position: relative !important;
    }

    .match-team-left {
        justify-content: flex-end !important;
    }

    .match-team-right {
        justify-content: flex-start !important;
    }

    /* Логотип как контейнер */
    .match-logo {
        width: 130px !important;
        height: 130px !important;
        border-radius: 15px !important;
        border: 3px solid rgba(59, 130, 246, 0.5) !important;
        object-fit: cover !important;
        flex-shrink: 0 !important;
        position: relative !important;
    }

    /* Название ВНУТРИ логотипа */
    .match-team-name {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(0, 0, 0, 0.85) !important;
        color: #f1f5f9 !important;
        font-size: 0.9rem !important;
        font-weight: 700 !important;
        padding: 0.5rem 0.3rem !important;
        text-align: center !important;
        border-bottom-left-radius: 12px !important;
        border-bottom-right-radius: 12px !important;
        z-index: 10 !important;
    }

    /* Левая команда */
    .match-team-left {
        position: relative !important;
    }

    .match-team-left .match-logo {
        order: 1 !important;
    }

    .match-team-left .match-team-name {
        order: 2 !important;
    }

    /* Правая команда */
    .match-team-right {
        position: relative !important;
    }

    .match-team-right .match-logo {
        order: 1 !important;
    }

    .match-team-right .match-team-name {
        order: 2 !important;
    }
}

@media (max-width: 768px) {
    .match-team-left,
    .match-team-right {
        position: relative !important;
        gap: 0 !important;
    }

    .match-logo {
        width: 90px !important;
        height: 90px !important;
        border-radius: 12px !important;
    }

    .match-team-name {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(0, 0, 0, 0.9) !important;
        color: #f1f5f9 !important;
        font-size: 0.7rem !important;
        font-weight: 600 !important;
        padding: 0.3rem 0.2rem !important;
        text-align: center !important;
        border-bottom-left-radius: 10px !important;
        border-bottom-right-radius: 10px !important;
    }
}
/* ============================================
ТЕКСТ ПОД ЛОГОТИПОМ (СНАРУЖИ)
============================================ */

@media (min-width: 769px) {
    .match-team-left,
    .match-team-right {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }

    .match-logo {
        width: 130px !important;
        height: 130px !important;
        border-radius: 15px !important;
        border: 3px solid rgba(59, 130, 246, 0.5) !important;
        object-fit: cover !important;
        flex-shrink: 0 !important;
    }

    /* Название ПОД логотипом */
    .match-team-name {
        font-size: 0.95rem !important;
        font-weight: 600 !important;
        color: #f1f5f9 !important;
        text-align: center !important;
        padding: 0 0.5rem !important;
    }
}

@media (max-width: 768px) {
    .match-team-left,
    .match-team-right {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.3rem !important;
    }

    .match-logo {
        width: 90px !important;
        height: 90px !important;
        border-radius: 12px !important;
        border: 2px solid rgba(59, 130, 246, 0.5) !important;
    }

    .match-team-name {
        font-size: 0.75rem !important;
        font-weight: 600 !important;
        color: #f1f5f9 !important;
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .match-logo {
        width: 75px !important;
        height: 75px !important;
    }

    .match-team-name {
        font-size: 0.7rem !important;
    }
}
/* ============================================
ТЕКСТ СНАРУЖИ ПОД РАМКОЙ ЛОГОТИПА
============================================ */

@media (min-width: 769px) {
    .match-team-left,
    .match-team-right {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.8rem !important;  /* отступ между логотипом и текстом */
    }

    .match-logo {
        width: 150px !important;
        height: 150px !important;
        border-radius: 18px !important;
        border: 3px solid rgba(59, 130, 246, 0.5) !important;
        object-fit: cover !important;
        flex-shrink: 0 !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4) !important;
    }

    /* Текст СНАРУЖИ - обычный элемент, не absolute */
    .match-team-name {
        font-size: 1rem !important;
        font-weight: 600 !important;
        color: #f1f5f9 !important;
        text-align: center !important;
        padding: 0 !important;
        margin: 0 !important;
        background: none !important;
        position: static !important;  /* убираем absolute */
        max-width: 150px !important;
    }
}

@media (max-width: 768px) {
    .match-team-left,
    .match-team-right {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }

    .match-logo {
        width: 100px !important;
        height: 100px !important;
        border-radius: 14px !important;
        border: 2px solid rgba(59, 130, 246, 0.5) !important;
    }

    .match-team-name {
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        color: #f1f5f9 !important;
        text-align: center !important;
        padding: 0 !important;
        margin: 0 !important;
        background: none !important;
        position: static !important;
        max-width: 100px !important;
    }
}

@media (max-width: 480px) {
    .match-logo {
        width: 85px !important;
        height: 85px !important;
    }

    .match-team-name {
        font-size: 0.75rem !important;
    }
}

/* ============================================
ТЕКСТЫ НА СТРАНИЦЕ МАТЧЕЙ - БОЛЬШЕ РАЗМЕР
============================================ */

@media (min-width: 769px) {
    /* Заголовок страницы */
    .section-header h1 {
        font-size: 3rem !important;
    }

    /* Подзаголовки (Результаты MLT Major) */
    .matches-subtitle {
        font-size: 1.3rem !important;
        font-weight: 500 !important;
    }

    /* Дата матча */
    .match-date {
        font-size: 1.1rem !important;
        font-weight: 500 !important;
    }

    /* Названия команд */
    .match-team-name {
        font-size: 1.2rem !important;
        font-weight: 700 !important;
    }

    /* Счёт */
    .match-score-left,
    .match-score-right {
        font-size: 3.2rem !important;
        font-weight: 700 !important;
    }

    .match-separator {
        font-size: 2.6rem !important;
    }

    /* Бейдж статуса */
    .match-status-badge {
        font-size: 1rem !important;
        padding: 0.5rem 1rem !important;
    }
}

@media (max-width: 768px) {
    /* Заголовок на мобилке */
    .section-header h1 {
        font-size: 2rem !important;
    }

    .matches-subtitle {
        font-size: 1.1rem !important;
    }

    .match-date {
        font-size: 0.95rem !important;
    }

    .match-team-name {
        font-size: 0.95rem !important;
        font-weight: 700 !important;
    }

    .match-score-left,
    .match-score-right {
        font-size: 2rem !important;
    }

    .match-separator {
        font-size: 1.6rem !important;
    }

    .match-status-badge {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 480px) {
    .section-header h1 {
        font-size: 1.6rem !important;
    }

    .match-team-name {
        font-size: 0.85rem !important;
    }

    .match-score-left,
    .match-score-right {
        font-size: 1.6rem !important;
    }
}
/* ============================================
ФИНАЛЬНАЯ МОБИЛЬНАЯ ВЕРСИЯ - КАК НА ПК
============================================ */

@media (max-width: 768px) {
    /* Карточка матча */
    .match-history-card {
        padding: 1.2rem !important;
    }

    /* Контейнер команд и счёта */
    .match-teams {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr !important;
        gap: 1rem !important;
        align-items: start !important;
        justify-items: center !important;
        margin-bottom: 0 !important;
    }

    /* ЛЕВАЯ КОМАНДА */
    .match-team-left {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.6rem !important;
        grid-column: 1 !important;
    }

    .match-team-left .match-logo {
        width: 100px !important;
        height: 100px !important;
        order: 1 !important;
    }

    .match-team-left .match-team-name {
        order: 2 !important;
    }

    /* ПРАВАЯ КОМАНДА */
    .match-team-right {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.6rem !important;
        grid-column: 3 !important;
    }

    .match-team-right .match-logo {
        width: 100px !important;
        height: 100px !important;
        order: 1 !important;
    }

    .match-team-right .match-team-name {
        order: 2 !important;
    }

    /* Логотип */
    .match-logo {
        border-radius: 14px !important;
        border: 2px solid rgba(59, 130, 246, 0.5) !important;
        object-fit: cover !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    }

    /* Название команды */
    .match-team-name {
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        color: #f1f5f9 !important;
        text-align: center !important;
        padding: 0 !important;
        margin: 0 !important;
        background: none !important;
        position: static !important;
        max-width: 100px !important;
        line-height: 1.2 !important;
    }

    /* СЧЁТ В ЦЕНТРЕ */
    .match-score-box {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.6rem !important;
        grid-column: 2 !important;
        margin-top: 30px !important;
    }

    .match-score-left,
    .match-score-right {
        font-size: 2.2rem !important;
        font-weight: 700 !important;
        color: #3b82f6 !important;
    }

    .match-separator {
        font-size: 1.8rem !important;
        color: #3b82f6 !important;
    }
}

@media (max-width: 480px) {
    .match-teams {
        gap: 0.8rem !important;
    }

    .match-logo {
        width: 85px !important;
        height: 85px !important;
    }

    .match-team-name {
        font-size: 0.85rem !important;
        max-width: 85px !important;
    }

    .match-score-left,
    .match-score-right {
        font-size: 1.8rem !important;
    }

    .match-separator {
        font-size: 1.4rem !important;
    }

    .match-score-box {
        margin-top: 25px !important;
    }
}

/* Увеличение размера текста для страницы правил */
.rules-section {
    font-size: 1.1rem; /* Увеличен базовый размер текста */
}

.rules-section h1 {
    font-size: 2.5rem;
}

.rules-section h2 {
    font-size: 1.8rem;
}

.rules-article ul li {
    font-size: 1.15rem;
    line-height: 1.8;
}

.warning-box {
    font-size: 1.1rem;
}

/* Стили для гамбургер-меню - должны быть более заметными */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: #00d9ff;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        right: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(10, 25, 47, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    /* Увеличение текста для мобильной версии */
    .rules-section {
        font-size: 1.15rem;
    }
    
    .rules-section h1 {
        font-size: 2rem;
    }
    
    .rules-section h2 {
        font-size: 1.6rem;
    }
    
    .rules-article ul li {
        font-size: 1.15rem;
    }
}
@media (max-width: 768px) {
  .match-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
  }

  .match-team-left,
  .match-team-right {
    flex-direction: column;
    align-items: center;
  }

  .match-score-box {
    margin: 0.3rem 0;
  }

  .match-date,
  .match-stage {
    font-size: 0.85rem;
  }
}

/* КАРТОЧКИ МАТЧЕЙ НА СТРАНИЦЕ КОМАНДЫ */
.team-matches-list {
  max-height: 500px;          /* высота блока с матчами */
  overflow-y: auto;           /* вертикальный скролл, если матчей много */
  padding-right: 8px;         /* небольшой отступ под скролл */
}

.match-card {
  padding: 1.2rem 1.5rem;     /* меньше отступы внутри */
  margin: 0.6rem 0;           /* меньше расстояние между матчами */
  border-radius: 16px;        /* как на скрине, но можно чуть меньше */
}

.match-logo {
  width: 80px;
  height: 80px;
}

.match-score-left,
.match-score-right {
  font-size: 2rem;
}

.match-date,
.match-stage {
  font-size: 0.9rem;
}

.team-matches-section {
  max-width: 900px;      /* ширина зоны матчей */
  margin: 0 auto;        /* центр по экрану */
}

.team-matches-list {
  border-left: 1px solid rgba(148, 163, 184, 0.3);
  border-right: 1px solid rgba(148, 163, 184, 0.3);
}
/* Сетка трёх блоков под ПК */
.team-details-content {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr 1.1fr;
    gap: 2rem;
}

/* Область матчей с границами и скроллом */
.team-matches-wrapper {
    max-height: 520px; /* высота области матчей */
    overflow-y: auto;  /* скролл, если игр много */
    border-left: 1px solid rgba(148, 163, 184, 0.35);
    border-right: 1px solid rgba(148, 163, 184, 0.35);
    padding: 0.6rem 0;
}

/* Чуть компактнее сами карточки */
.matches-list .match-card {
    padding: 1rem 1.4rem;
    margin: 0.5rem 0;
}

/* Адаптив под телефон */
@media (max-width: 768px) {
    .team-details-content {
        grid-template-columns: 1fr;
    }

    .team-matches-wrapper {
        max-height: 420px;
    }
}

/* ЛОГОТИПЫ В КАРТОЧКАХ МАТЧЕЙ */
.match-logo {
    width: 70px;           /* уменьшаем с 80–100px */
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
}

/* Ещё компактнее вся карточка */
.match-card {
    padding: 1rem 1.2rem;
    gap: 0.8rem;
}

/* На телефоне ещё меньше */
@media (max-width: 768px) {
    .match-logo {
        width: 60px;
        height: 60px;
    }
}


/* === СТРАНИЦА ИГРОКОВ === */
.players-page {
    padding: 2rem 0;
    min-height: 100vh;
}

.players-filters {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.filter-select {
    padding: 0.7rem 1.2rem;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(59, 130, 246, 0.5);
    border-radius: 12px;
    color: #e2e8f0;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-select:hover {
    border-color: #3b82f6;
    background: rgba(30, 41, 59, 0.9);
}

/* Таблица игроков */
.players-table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
}

.players-table {
    width: 100%;
    border-collapse: collapse;
}

.players-table thead {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(37, 99, 235, 0.3));
    border-bottom: 2px solid rgba(59, 130, 246, 0.6);
}

.players-table th {
    padding: 1.2rem 1rem;
    text-align: left;
    font-family: 'Orbitron', sans-serif;
    color: #60a5fa;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.player-row {
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.player-row:hover {
    background: rgba(59, 130, 246, 0.15);
    transform: translateX(4px);
}

.players-table td {
    padding: 1rem;
    color: #e2e8f0;
    font-size: 0.95rem;
}

/* Ячейки */
.rank-cell {
    font-weight: bold;
    color: #94a3b8;
    width: 60px;
    text-align: center;
}

.player-cell {
    min-width: 200px;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.player-team-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
}

.player-name {
    font-weight: 600;
    color: #e2e8f0;
}

.team-cell {
    color: #94a3b8;
}

.matches-cell {
    text-align: center;
    color: #cbd5e1;
}

.kd-diff-cell {
    text-align: center;
    font-weight: 600;
}

.kd-diff-cell.positive {
    color: #66ff66;
}

.kd-diff-cell.negative {
    color: #ff6666;
}

.kd-cell {
    text-align: center;
    font-weight: 600;
}

.rating-cell {
    text-align: center;
    font-weight: bold;
    font-size: 1.05rem;
}

/* Адаптив */
@media (max-width: 768px) {
    .players-filters {
        flex-direction: column;
    }
    
    .players-table th,
    .players-table td {
        padding: 0.7rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .player-team-icon {
        width: 24px;
        height: 24px;
    }
}


 /* === СТРАНИЦА ПРОФИЛЯ ИГРОКА === */
.player-profile-page {
    padding: 2rem 0;
    min-height: 100vh;
}

.player-profile-card {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 3rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.6));
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Левая часть */
.player-profile-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.player-photo-container {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.player-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-basic-info {
    text-align: center;
    width: 100%;
}

.player-nickname {
    font-size: 2.5rem;
    font-family: 'Orbitron', sans-serif;
    color: #60a5fa;
    margin-bottom: 0.5rem;
}

.player-real-name {
    color: #94a3b8;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.player-team-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(30, 41, 59, 0.6);
    padding: 1rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
}

.profile-team-logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
}

.player-team-badge span {
    font-size: 1.2rem;
    color: #e2e8f0;
    font-weight: 600;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.5);
    border-radius: 12px;
    color: #60a5fa;
    text-decoration: none;
    transition: all 0.3s;
}

.back-button:hover {
    background: rgba(59, 130, 246, 0.3);
    transform: translateX(-5px);
}

/* Правая часть - статистика */
.player-profile-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Rating круг */
.rating-main-circle {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.rating-circle-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
}

.rating-circle-svg {
    transform: rotate(-90deg);
}

.rating-circle-bg {
    fill: none;
    stroke: rgba(148, 163, 184, 0.2);
    stroke-width: 12;
}

.rating-circle-progress {
    fill: none;
    stroke: #66ff66;
    stroke-width: 12;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.5s ease, stroke 0.5s ease;
}

.rating-circle-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.rating-quality {
    display: block;
    font-size: 0.9rem;
    color: #66ff66;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.rating-value-big {
    display: block;
    font-size: 3rem;
    font-family: 'Orbitron', sans-serif;
    color: #e2e8f0;
    font-weight: bold;
}

.rating-label {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 0.3rem;
}

/* T/CT рейтинги */
.rating-secondary {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
}

.rating-side {
    text-align: center;
}

.rating-side-value {
    display: block;
    font-size: 2rem;
    font-family: 'Orbitron', sans-serif;
    color: #f59e0b;
    font-weight: bold;
}

.rating-side-value.ct {
    color: #3b82f6;
}

.rating-side-label {
    display: block;
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 0.3rem;
}

/* Сетка статистики */
.stats-grid-profile {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-item-profile {
    background: rgba(30, 41, 59, 0.4);
    padding: 1.2rem;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.stat-value-profile {
    display: block;
    font-size: 1.8rem;
    font-family: 'Orbitron', sans-serif;
    color: #e2e8f0;
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.stat-label-profile {
    display: block;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 0.8rem;
}

.stat-bar {
    width: 100%;
    height: 6px;
    background: rgba(148, 163, 184, 0.2);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.stat-bar-fill {
    height: 100%;
    background: #94a3b8;
    transition: width 0.5s ease;
}

.stat-bar-fill.good {
    background: #66ff66;
}

.stat-bar-fill.okay {
    background: #f59e0b;
}

.stat-bar-fill.bad {
    background: #ff6666;
}

.stat-quality {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 600;
}

.stat-quality.good {
    color: #66ff66;
}

.stat-quality.okay {
    color: #f59e0b;
}

/* Дополнительная статистика */
.player-additional-stats {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.6));
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.player-additional-stats h3 {
    color: #60a5fa;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1.5rem;
}

.additional-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.additional-stat-card {
    background: rgba(30, 41, 59, 0.4);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.additional-stat-label {
    display: block;
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 0.8rem;
}

.additional-stat-value {
    display: block;
    font-size: 2rem;
    font-family: 'Orbitron', sans-serif;
    color: #60a5fa;
    font-weight: bold;
}

/* Адаптив */
@media (max-width: 1024px) {
    .player-profile-card {
        grid-template-columns: 1fr;
    }
    
    .stats-grid-profile {
        grid-template-columns: 1fr;
    }
    
    .additional-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .player-nickname {
        font-size: 2rem;
    }
    
    .additional-stats-grid {
        grid-template-columns: 1
}
}

/* style.css — блок для профиля игрока */

.player-page-section {
  padding: 40px 0;
}

.player-profile {
  display: flex;
  gap: 24px;
  background: linear-gradient(90deg, #0a1825, #101826);
  border-radius: 16px;
  padding: 24px;
  color: #fff;
}

.player-left {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.player-nick {
  font-size: 32px;
  margin: 0 0 8px;
}

.player-name {
  opacity: 0.8;
  margin: 0 0 16px;
}

.player-profile-btn {
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  background: #2f6ee5;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.player-right {
  flex: 1;
}

.player-rating-row {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.main-rating {
  text-align: center;
}

.main-label {
  font-size: 12px;
  opacity: 0.8;
}

.main-value {
  font-size: 40px;
  font-weight: 800;
}

.player-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat-item {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  padding: 10px 14px;
}

.stat-label {
  font-size: 12px;
  opacity: 0.7;
}

.stat-value {
  display: block;
  margin-top: 4px;
  font-size: 20px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .player-profile {
    flex-direction: column;
  }

  .player-left {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .player-right {
    width: 100%;
  }

  .player-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* ========== REGISTRATION PAGE ========== */

/* ========== REGISTRATION PAGE ========== */

.registration-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 140px);
  padding: 40px 0;
}

.registration-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.section-header {
  margin-bottom: 24px;
}

.registration-note {
  color: #cbd5e1;
  font-size: 15px;
  margin-bottom: 24px;
  max-width: 640px;
  line-height: 1.6;
}

.registration-form {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(71, 85, 105, 0.3);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  width: 100%;
  align-items: center;
}

.registration-submit {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.registration-submit:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.registration-small {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .registration-section {
    min-height: calc(100vh - 120px);
    padding: 30px 0;
  }

  .registration-form {
    padding: 24px 20px;
  }

  .registration-submit {
    padding: 10px 20px;
    font-size: 14px;
  }
}


/* ========== PARTNERS SECTION ========== */

.partners-section {
  padding: 60px 0;
  background: rgba(15, 23, 42, 0.5);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.partner-card {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(71, 85, 105, 0.4);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  min-height: 80px;
  max-height: 100px;
}

.partner-card img {
  max-width: 100%;
  max-height: 50px;
  object-fit: contain;
  filter: grayscale(0.3);
  transition: all 0.3s ease;
}

.partner-card:hover {
  border-color: #3b82f6;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.25);
}

.partner-card:hover img {
  filter: grayscale(0);
}

@media (max-width: 768px) {
  .partners-section {
    padding: 40px 0;
  }

  .partners-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .partner-card {
    min-height: 70px;
    max-height: 90px;
  }

  .partner-card img {
    max-height: 45px;
  }
}

/* ========== PARTNERS SECTION ========== */

.partners-section {
  padding: 60px 0;
  background: rgba(15, 23, 42, 0.5);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.partner-card {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(71, 85, 105, 0.3);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  min-height: 120px;
}

.partner-card img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(0.3);
  transition: all 0.3s ease;
}

.partner-card:hover {
  border-color: #3b82f6;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
}

.partner-card:hover img {
  filter: grayscale(0);
}

@media (max-width: 768px) {
  .partners-section {
    padding: 40px 0;
  }

  .partners-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .partner-card {
    min-height: 100px;
  }
}

