/* ===================================
   VPEsports RU - Точная копия стилей
   =================================== */

/* === CSS Variables === */
:root {
    --bg-primary: #111113;
    --bg-secondary: #171719;
    --bg-tertiary: #1E1E20;
    --bg-card: #222224;
    --bg-dark: #0D0D0F;

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.5);

    --brand-red: #FF2C2C;
    --brand-red-hover: #E62626;
    --brand-red-glow: rgba(255, 44, 44, 0.4);
    --brand-red-bg: rgba(255, 44, 44, 0.2);

    --border-color: rgba(255, 255, 255, 0.1);
    --border-light: rgba(255, 255, 255, 0.05);

    --font-furore: 'Inter', sans-serif;
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;
}

/* === Reset === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { 
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    /* clip лучше hidden (не создаёт скроллбар даже при тенях/трансформациях) */
    overflow-x: clip;
    width: 100%;
    max-width: 100vw;
}

/* Fallback для браузеров без overflow-x: clip */
@supports not (overflow: clip) {
    body { overflow-x: hidden; }
}

/* Prevent horizontal scroll globally */
.container,
.main-content,
.page-layout,
.content-center,
.slider-container,
.main-slider,
.match-block,
.games-section,
.main-article {
    max-width: 100%;
    overflow-x: hidden;
}

a { 
    text-decoration: none; 
    color: inherit; 
    transition: all var(--transition-normal);
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { 
    font-family: inherit; 
    cursor: pointer; 
    border: none; 
    background: none;
    transition: all var(--transition-normal);
}

/* === Container === */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === Header === */
.site-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.logo:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.logo img {
    height: 28px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-family: var(--font-furore);
    transition: all var(--transition-normal);
    position: relative;
    border-radius: 8px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--brand-red);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-red);
    background: var(--brand-red-bg);
}

.nav-link .nav-icon {
    color: var(--brand-red);
    transition: transform var(--transition-normal);
}

.nav-link:hover .nav-icon {
    transform: scale(1.2) rotate(45deg);
}

.nav-link.has-dropdown svg {
    opacity: 0.5;
    transition: transform var(--transition-normal);
}

.nav-link.has-dropdown:hover svg {
    transform: rotate(180deg);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 140px;
    padding: 10px 36px 10px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 13px;
    transition: all var(--transition-normal);
}

.search-input::placeholder { color: var(--text-muted); }
.search-input:focus {
    outline: none;
    border-color: var(--brand-red);
    width: 180px;
    box-shadow: 0 0 20px var(--brand-red-glow);
}

.search-btn {
    position: absolute;
    right: 10px;
    color: var(--text-muted);
    padding: 4px;
    transition: all var(--transition-normal);
}

.search-btn:hover {
    color: var(--brand-red);
    transform: scale(1.1);
}

.theme-toggle {
    width: 40px;
    height: 40px;
    background: var(--brand-red);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all var(--transition-normal);
}

.theme-toggle:hover {
    background: var(--brand-red-hover);
    transform: rotate(180deg) scale(1.1);
    box-shadow: 0 0 20px var(--brand-red-glow);
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--brand-red);
    color: white;
}

.btn-primary:hover {
    background: var(--brand-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--brand-red-glow);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--brand-red);
    color: var(--brand-red);
    background: var(--brand-red-bg);
    transform: translateY(-2px);
}

.btn-outline-red {
    border: 1px solid var(--brand-red);
    color: var(--brand-red);
    background: transparent;
    padding: 8px 16px;
    font-size: 12px;
    border-radius: 6px;
}

.btn-outline-red:hover {
    background: var(--brand-red);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--brand-red-glow);
}

.btn-steam {
    color: var(--brand-red);
    border-color: transparent;
}

.btn-steam:hover {
    background: var(--brand-red-bg);
}

/* === Mobile Header === */
.mobile-header {
    display: none;
    background: var(--bg-secondary);
    padding: 16px 20px;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.mobile-header .logo img { height: 24px; }

.mobile-actions {
    display: flex;
    gap: 8px;
}

.mobile-action-btn {
    width: 40px;
    height: 40px;
    background: var(--brand-red-bg);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-red);
    transition: all var(--transition-normal);
}

.mobile-action-btn:hover {
    background: var(--brand-red);
    color: white;
    transform: scale(1.1);
}

/* === Mobile Menu === */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    background: var(--bg-secondary);
    margin: 16px;
    border-radius: 16px;
    padding: 20px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.mobile-menu.active .mobile-menu-content {
    transform: translateY(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.mobile-logo { height: 24px; }

.mobile-close-btn {
    width: 36px;
    height: 36px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all var(--transition-normal);
}

.mobile-close-btn:hover {
    background: var(--brand-red);
    transform: rotate(90deg);
}

.mobile-nav { display: flex; flex-direction: column; }

.mobile-nav-link {
    padding: 14px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

.mobile-nav-link:hover {
    color: var(--brand-red);
    padding-left: 10px;
}

.mobile-nav-link.active { color: var(--brand-red); }

.mobile-nav-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.mobile-btn {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.mobile-btn-outline {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.mobile-btn-outline:hover {
    border-color: var(--brand-red);
    color: var(--brand-red);
}

.mobile-btn-primary {
    background: var(--brand-red);
    color: white;
}

.mobile-btn-primary:hover {
    background: var(--brand-red-hover);
    transform: translateY(-2px);
}

/* === Main Content === */
.main-content {
    padding: 24px 0;
}

/* === Page Layout - 3 Columns === */
.page-layout {
    display: grid;
    grid-template-columns: 220px 1fr 280px;
    gap: 24px;
}

@media (max-width: 1200px) {
    .page-layout {
        grid-template-columns: 1fr 280px;
    }
    .sidebar-left { display: none; }
}

@media (max-width: 900px) {
    .page-layout {
        grid-template-columns: 1fr;
    }
    .sidebar-right { display: none; }
}

/* === Sidebar === */
.sidebar { display: flex; flex-direction: column; gap: 20px; }

.sidebar-block {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 20px;
    transition: all var(--transition-normal);
}

.sidebar-block:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.sidebar-title {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-family: var(--font-furore);
}

.sidebar-title-diamond {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-family: var(--font-furore);
}

.diamond {
    color: var(--brand-red);
    font-size: 10px;
    animation: pulse-diamond 2s ease-in-out infinite;
}

@keyframes pulse-diamond {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

/* === User Block === */
.user-block {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all var(--transition-normal);
}

.user-block:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    transition: all var(--transition-normal);
}

.user-block:hover .user-avatar {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.4);
}

.avatar-letter { color: white; }

.user-login-btn {
    width: 36px;
    height: 36px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all var(--transition-normal);
}

.user-login-btn:hover {
    background: var(--brand-red);
    color: white;
    transform: translateX(5px);
}

.user-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

/* === Category Nav === */
.category-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.category-link {
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-normal);
    position: relative;
}

.category-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 2px;
    background: var(--brand-red);
    transition: width var(--transition-normal);
    transform: translateY(-50%);
}

.category-link:hover {
    color: var(--brand-red);
    padding-left: 15px;
}

.category-link:hover::before {
    width: 8px;
}

.category-divider {
    padding: 12px 0 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* === Featured News === */
.featured-news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.featured-news-item {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    transition: all var(--transition-normal);
    border-radius: 8px;
}

.featured-news-item:hover {
    background: var(--bg-tertiary);
    padding: 8px;
    margin: 0 -8px;
}

.featured-news-item img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    transition: all var(--transition-normal);
}

.featured-news-item:hover img {
    transform: scale(1.05);
}

.featured-news-content {
    flex: 1;
    min-width: 0;
}

.featured-news-tag {
    font-size: 10px;
    font-weight: 600;
    color: var(--brand-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-news-title {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--transition-normal);
}

.featured-news-item:hover .featured-news-title {
    color: var(--text-primary);
}

/* === Section Headers === */
.section-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.section-title-diamond {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-primary);
    font-family: var(--font-furore);
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--text-muted);
    transition: all var(--transition-normal);
}

.view-all-link:hover {
    color: var(--brand-red);
}

.view-all-link:hover svg {
    transform: translateX(4px);
}

.view-all-link svg {
    transition: transform var(--transition-normal);
}

/* === Main Slider === */
.main-slider {
    margin-bottom: 24px;
}

.slider-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-slide {
    flex: 0 0 100%;
    position: relative;
}

.slide-link {
    display: block;
    position: relative;
}

.slider-slide img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.slider-slide:hover img {
    transform: scale(1.02);
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.slide-category {
    background: var(--brand-red);
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.slide-stats {
    display: flex;
    gap: 16px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: white;
}

.slider-dots {
    position: absolute;
    bottom: 80px;
    left: 20px;
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.slider-dot:hover {
    background: rgba(255,255,255,0.7);
    transform: scale(1.2);
}

.slider-dot.active {
    background: var(--brand-red);
    width: 24px;
    border-radius: 4px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: all var(--transition-normal);
}

.slider-container:hover .slider-nav {
    opacity: 1;
}

.slider-nav:hover {
    background: var(--brand-red);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev { left: 16px; }
.slider-next { right: 16px; }

/* Article Info */
.article-info {
    display: block;
    padding: 16px 0;
    transition: all var(--transition-normal);
}

.article-info:hover .article-title {
    color: var(--brand-red);
}

.article-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    transition: color var(--transition-normal);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.article-date {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* === Match Block === */
.match-block {
    display: block;
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    transition: all var(--transition-normal);
}

.match-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.match-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.match-game-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-red);
}

.match-tournament {
    font-size: 12px;
    color: var(--text-muted);
}

.match-league-logo {
    height: 30px;
    object-fit: contain;
}

.match-teams-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.match-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.match-team-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

.match-block:hover .match-team-logo {
    transform: scale(1.1);
}

.match-team-name {
    font-size: 14px;
    font-weight: 600;
}

.match-score-block {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-direction: column;
}

.match-score {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
}

.match-vs {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.match-status-badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.match-status-badge.live {
    background: var(--brand-red);
    color: white;
    animation: pulse-live 1.5s ease-in-out infinite;
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* === Games Grid === */
.games-section {
    margin-top: 24px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 12px;
}

.game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: 12px;
    transition: all var(--transition-normal);
}

.game-card:hover {
    background: var(--bg-tertiary);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.game-card img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

.game-card:hover img {
    transform: scale(1.15) rotate(5deg);
}

.game-card span {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    text-align: center;
    transition: color var(--transition-normal);
}

.game-card:hover span {
    color: var(--brand-red);
}

/* === Matches Widget === */
.matches-list {
    display: flex;
    flex-direction: column;
}

.match-item {
    display: block;
    padding: 12px 0;
    transition: all var(--transition-normal);
    border-radius: 8px;
}

.match-item:hover {
    background: var(--bg-tertiary);
    padding: 12px;
    margin: 0 -12px;
}

.match-team-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.match-mini-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

.match-item:hover .match-mini-logo {
    transform: scale(1.2);
}

.match-mini-name {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
}

.match-mini-scores {
    display: flex;
    gap: 4px;
}

.score-box {
    width: 24px;
    height: 24px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.match-vs-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 6px 0;
}

.vs-text {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

.status-live {
    background: var(--brand-red);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    animation: pulse-live 1.5s ease-in-out infinite;
}

.match-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

/* === Related News === */
.related-news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.related-news-item {
    display: flex;
    gap: 12px;
    transition: all var(--transition-normal);
    border-radius: 8px;
    padding: 8px;
    margin: -8px;
}

.related-news-item:hover {
    background: var(--bg-tertiary);
}

.related-news-item img {
    width: 80px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    transition: transform var(--transition-normal);
}

.related-news-item:hover img {
    transform: scale(1.05);
}

.related-news-content {
    flex: 1;
    min-width: 0;
}

.related-news-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.related-tag {
    font-size: 10px;
    font-weight: 600;
    color: var(--brand-red);
    text-transform: uppercase;
}

.related-date {
    font-size: 10px;
    color: var(--text-muted);
}

.related-news-title {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--transition-normal);
}

.related-news-item:hover .related-news-title {
    color: var(--text-primary);
}

/* === Footer === */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 48px 0 24px;
    margin-top: 48px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 28px;
    margin-bottom: 16px;
    transition: transform var(--transition-normal);
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--brand-red);
    color: white;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 10px 25px var(--brand-red-glow);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width: 600px) {
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    padding: 6px 0;
    transition: all var(--transition-normal);
    position: relative;
}

.footer-col a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 2px;
    background: var(--brand-red);
    transition: width var(--transition-normal);
    transform: translateY(-50%);
}

.footer-col a:hover {
    color: var(--brand-red);
    padding-left: 15px;
}

.footer-col a:hover::before {
    width: 8px;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===================================
   ПОЛНАЯ МОБИЛЬНАЯ АДАПТАЦИЯ
   =================================== */

/* === Tablet (до 1200px) === */
@media (max-width: 1200px) {
    .container {
        padding: 0 16px;
    }
    
    .header-left {
        gap: 24px;
    }
    
    .nav-link {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .search-input {
        width: 120px;
    }
    
    .search-input:focus {
        width: 150px;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}

/* === Mobile (до 900px) === */
@media (max-width: 900px) {
    /* Убираем горизонтальный скролл полностью */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    .site-header { 
        display: none; 
    }
    
    .mobile-header { 
        display: flex;
        position: sticky;
        top: 0;
        z-index: 100;
        width: 100%;
    }
    
    .mobile-menu { 
        display: block; 
    }
    
    .container {
        padding: 0 12px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .main-content {
        padding: 16px 0;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* === Page Layout Mobile === */
    .page-layout {
        grid-template-columns: 1fr;
        gap: 16px;
        width: 100%;
        max-width: 100%;
    }
    
    .content-center {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    
    .sidebar-left,
    .sidebar-right {
        display: none;
    }
    
    /* === Slider Mobile === */
    .main-slider {
        margin-bottom: 16px;
        width: 100%;
        max-width: 100%;
    }
    
    .slider-container {
        border-radius: 12px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .slider-track {
        width: 100%;
    }
    
    .slider-slide {
        width: 100%;
        min-width: 0;
        flex: 0 0 100%;
    }
    
    .slider-slide img {
        width: 100%;
        max-width: 100%;
        object-fit: cover;
    }
    
    .slide-overlay {
        padding: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .slide-category {
        padding: 4px 10px;
        font-size: 10px;
    }
    
    .slide-stats {
        gap: 10px;
    }
    
    .stat {
        font-size: 11px;
        gap: 4px;
    }
    
    .stat svg {
        width: 12px;
        height: 12px;
    }
    
    .slider-dots {
        bottom: 60px;
        left: 12px;
        gap: 6px;
    }
    
    .slider-dot {
        width: 6px;
        height: 6px;
    }
    
    .slider-dot.active {
        width: 18px;
    }
    
    .slider-nav {
        width: 32px;
        height: 32px;
        opacity: 1;
    }
    
    .slider-prev { left: 8px; }
    .slider-next { right: 8px; }
    
    /* === Section Headers Mobile === */
    .section-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .section-title-diamond {
        font-size: 13px;
    }
    
    .btn-outline-red {
        width: 100%;
        justify-content: center;
    }
    
    /* === Article Info Mobile === */
    .article-info {
        padding: 12px 0;
    }
    
    .article-title {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .article-meta {
        flex-wrap: wrap;
        gap: 10px;
        font-size: 12px;
    }
    
    /* === Match Block Mobile === */
    .match-block {
        padding: 16px;
        margin-bottom: 16px;
        border-radius: 12px;
    }
    
    .match-block-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }
    
    .match-league-logo {
        height: 24px;
    }
    
    .match-teams-row {
        gap: 8px;
    }
    
    .match-team-logo {
        width: 40px;
        height: 40px;
    }
    
    .match-team-name {
        font-size: 12px;
    }
    
    .match-score {
        font-size: 22px;
    }
    
    /* === Games Grid Mobile === */
    .games-section {
        margin-top: 16px;
    }
    
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    .game-card {
        padding: 10px;
        border-radius: 10px;
    }
    
    .game-card img {
        width: 36px;
        height: 36px;
    }
    
    .game-card span {
        font-size: 9px;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    /* === Footer Mobile === */
    .site-footer {
        padding: 32px 0 20px;
        margin-top: 32px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-brand {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-desc {
        font-size: 13px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .footer-col a::before {
        display: none;
    }
    
    .footer-col a:hover {
        padding-left: 0;
    }
}

/* === Small Mobile (до 480px) === */
@media (max-width: 480px) {
    .mobile-header {
        padding: 12px 16px;
    }
    
    .mobile-header .logo img {
        height: 20px;
    }
    
    .mobile-action-btn {
        width: 36px;
        height: 36px;
    }
    
    .mobile-action-btn svg {
        width: 18px;
        height: 18px;
    }
    
    /* === Mobile Menu Small === */
    .mobile-menu-content {
        margin: 12px;
        padding: 16px;
        border-radius: 12px;
    }
    
    .mobile-nav-link {
        padding: 12px 0;
        font-size: 15px;
    }
    
    .mobile-nav-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .mobile-btn {
        padding: 14px;
    }
    
    /* === Slider Small Mobile === */
    .slider-slide img {
        aspect-ratio: 4/3;
    }
    
    .slide-overlay {
        padding: 10px;
        background: linear-gradient(transparent 0%, rgba(0,0,0,0.9) 100%);
    }
    
    .slide-category {
        padding: 3px 8px;
        font-size: 9px;
    }
    
    .slide-stats {
        gap: 8px;
    }
    
    .stat {
        font-size: 10px;
    }
    
    .slider-dots {
        bottom: 50px;
        left: 10px;
    }
    
    .slider-nav {
        width: 28px;
        height: 28px;
    }
    
    .slider-nav svg {
        width: 14px;
        height: 14px;
    }
    
    /* === Section Headers Small === */
    .section-title-diamond {
        font-size: 12px;
        letter-spacing: 0.5px;
    }
    
    .diamond {
        font-size: 8px;
    }
    
    /* === Article Info Small === */
    .article-title {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .article-meta {
        font-size: 11px;
        gap: 8px;
    }
    
    /* === Match Block Small === */
    .match-block {
        padding: 12px;
    }
    
    .match-game-name {
        font-size: 12px;
    }
    
    .match-tournament {
        font-size: 10px;
    }
    
    .match-team-logo {
        width: 32px;
        height: 32px;
    }
    
    .match-team-name {
        font-size: 11px;
    }
    
    .match-score {
        font-size: 18px;
    }
    
    .match-status-badge {
        padding: 3px 8px;
        font-size: 9px;
    }
    
    /* === Games Grid Small === */
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    
    .game-card {
        padding: 8px;
        gap: 6px;
    }
    
    .game-card img {
        width: 28px;
        height: 28px;
    }
    
    .game-card span {
        font-size: 8px;
    }
    
    /* === Footer Small === */
    .site-footer {
        padding: 24px 0 16px;
    }
    
    .footer-logo {
        height: 24px;
    }
    
    .footer-desc {
        font-size: 12px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-link svg {
        width: 16px;
        height: 16px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .footer-col h4 {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .footer-col a {
        font-size: 13px;
        padding: 5px 0;
    }
    
    .footer-bottom p {
        font-size: 11px;
    }
}

/* === Extra Small Mobile (до 360px) === */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .mobile-header {
        padding: 10px 12px;
    }
    
    .mobile-actions {
        gap: 6px;
    }
    
    .mobile-action-btn {
        width: 32px;
        height: 32px;
    }
    
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }
    
    .game-card {
        padding: 6px;
        gap: 4px;
    }
    
    .game-card img {
        width: 24px;
        height: 24px;
    }
    
    .game-card span {
        font-size: 7px;
    }
    
    .section-title-diamond {
        font-size: 11px;
    }
    
    .article-title {
        font-size: 13px;
    }
    
    .match-team-logo {
        width: 28px;
        height: 28px;
    }
    
    .match-score {
        font-size: 16px;
    }
}

/* === Улучшения Touch === */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .game-card,
    .nav-link,
    .social-link,
    .mobile-action-btn,
    .slider-nav {
        -webkit-tap-highlight-color: transparent;
    }
    
    .btn:active,
    .game-card:active {
        transform: scale(0.97);
    }
    
    .slider-nav {
        opacity: 1;
    }
    
    /* Увеличиваем области касания */
    .mobile-nav-link {
        padding: 16px 0;
    }
    
    .category-link {
        padding: 14px 0;
    }
    
    .footer-col a {
        padding: 10px 0;
    }
}

/* === Landscape Mobile === */
@media (max-width: 900px) and (orientation: landscape) {
    .slider-slide img {
        aspect-ratio: 21/9;
    }
    
    .slide-overlay {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .games-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .mobile-menu-content {
        max-height: calc(100vh - 20px);
    }
}

/* === Safe Area для iPhone X+ === */
@supports (padding: max(0px)) {
    .mobile-header {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }
    
    .site-footer {
        padding-bottom: max(24px, env(safe-area-inset-bottom));
    }
    
    .mobile-menu-content {
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
}

/* === Scroll Optimizations === */
@media (max-width: 900px) {
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        overflow-x: hidden !important;
    }
    
    body {
        overflow-x: hidden !important;
    }
    
    /* Фикс для всех элементов статьи на мобильных */
    .main-article {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .article-header-block,
    .article-content,
    .article-footer {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .article-intro,
    .article-section {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .code-block {
        width: 100%;
        max-width: 100%;
    }
    
    .code-block pre {
        overflow-x: auto;
        max-width: 100%;
    }
    
    .code-block code {
        word-break: break-all;
        white-space: pre-wrap;
    }
    
    .crosshair-code {
        word-break: break-all;
        font-size: 8px;
    }
    
    .player-cards-grid,
    .crosshair-cards,
    .features-grid,
    .nickname-tags,
    .team-badges,
    .cta-buttons,
    .article-tags {
        width: 100%;
        max-width: 100%;
    }
    
    .slider-track {
        scroll-snap-type: x mandatory;
    }
    
    .slider-slide {
        scroll-snap-align: start;
    }
}

/* === Reduce Motion === */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* === Light Theme === */
[data-theme="light"] {
    --bg-primary: #f5f5f5;
    --bg-secondary: #ffffff;
    --bg-tertiary: #e8e8e8;
    --bg-card: #ffffff;
    --bg-dark: #d0d0d0;

    --text-primary: #1a1a1a;
    --text-secondary: rgba(0, 0, 0, 0.8);
    --text-muted: rgba(0, 0, 0, 0.5);

    --border-color: rgba(0, 0, 0, 0.1);
    --border-light: rgba(0, 0, 0, 0.05);
}

/* === Page Load Animation === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-content {
    animation: fadeInUp 0.5s ease-out;
}

.sidebar-block,
.match-block,
.main-slider,
.games-section {
    animation: fadeInUp 0.5s ease-out;
    animation-fill-mode: both;
}

.sidebar-block:nth-child(1) { animation-delay: 0.1s; }
.sidebar-block:nth-child(2) { animation-delay: 0.2s; }
.sidebar-block:nth-child(3) { animation-delay: 0.3s; }

/* ===================================
   Main Article Styles
   =================================== */

.main-article {
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 24px;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.article-header-block {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-card) 100%);
    padding: 32px;
    border-bottom: 1px solid var(--border-color);
}

.article-meta-top {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.article-category-badge {
    background: var(--brand-red);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-category-badge.secondary {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.article-publish-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 13px;
    margin-left: auto;
}

.article-main-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--brand-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-author-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--brand-red);
}

.author-avatar img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.author-role {
    font-size: 12px;
    color: var(--text-muted);
}

/* Article Content */
.article-content {
    padding: 32px;
}

.article-intro {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.article-intro p {
    margin-bottom: 16px;
}

.article-intro p:last-child {
    margin-bottom: 0;
}

.article-intro a {
    color: var(--brand-red);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: all var(--transition-normal);
}

.article-intro a:hover {
    text-decoration-color: transparent;
}

.article-intro mark {
    background: var(--brand-red-bg);
    color: var(--brand-red);
    padding: 2px 8px;
    border-radius: 4px;
}

.article-intro strong {
    color: var(--text-primary);
}

/* Article Sections */
.article-section {
    margin-bottom: 40px;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--brand-red);
}

.heading-icon {
    font-size: 1.5rem;
}

.article-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.article-section a {
    color: var(--brand-red);
    font-weight: 500;
}

.article-section a:hover {
    text-decoration: underline;
}

.article-section strong {
    color: var(--text-primary);
}

/* Player Cards */
.player-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.player-card {
    background: var(--bg-tertiary);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.player-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--brand-red);
}

.player-card-header {
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.player-card-header.donk {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

.player-card-header.monesy {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.player-card-header.simple {
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
    color: #1a1a1a;
}

.player-rank {
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
}

.player-team {
    opacity: 0.9;
}

.player-card-body {
    padding: 16px;
}

.player-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.player-real-name {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.player-stats {
    display: flex;
    gap: 12px;
    font-size: 12px;
}

.stat-item {
    background: var(--bg-card);
    padding: 6px 10px;
    border-radius: 6px;
    color: var(--text-secondary);
}

.stat-item strong {
    color: var(--brand-red);
}

/* Code Blocks */
.code-block {
    background: var(--bg-dark);
    border-radius: 12px;
    overflow: hidden;
    margin: 20px 0;
    border: 1px solid var(--border-color);
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.code-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.copy-btn {
    background: var(--brand-red-bg);
    color: var(--brand-red);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.copy-btn:hover {
    background: var(--brand-red);
    color: white;
}

.code-block pre {
    padding: 16px;
    overflow-x: auto;
}

.code-block code {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 13px;
    line-height: 1.6;
    color: #7dd3fc;
}

/* Tip Box */
.tip-box {
    display: flex;
    gap: 12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 16px;
    border-radius: 12px;
    margin: 20px 0;
}

.tip-icon {
    font-size: 24px;
}

.tip-box p {
    margin: 0;
    color: var(--text-secondary);
}

.tip-box code {
    background: var(--bg-dark);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #7dd3fc;
}

/* Crosshair Cards */
.crosshair-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.crosshair-card {
    display: flex;
    gap: 16px;
    background: var(--bg-tertiary);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.crosshair-card:hover {
    border-color: var(--brand-red);
    transform: translateX(4px);
}

.crosshair-preview {
    width: 60px;
    height: 60px;
    background: var(--bg-dark);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    flex-shrink: 0;
}

.crosshair-preview.donk-crosshair {
    color: #4ade80;
}

.crosshair-preview.monesy-crosshair {
    color: #60a5fa;
}

.crosshair-preview.simple-crosshair {
    color: #22d3d3;
}

.crosshair-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.crosshair-info p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.crosshair-code {
    display: inline-block;
    background: var(--bg-dark);
    padding: 6px 10px;
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #fbbf24;
    word-break: break-all;
}

/* Nicknames Showcase */
.nicknames-showcase {
    background: var(--bg-tertiary);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
}

.nicknames-showcase h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.nickname-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nickname-tag {
    background: linear-gradient(135deg, var(--brand-red) 0%, #ff6b6b 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.nickname-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px var(--brand-red-glow);
}

/* Promo Box */
.promo-box {
    display: flex;
    gap: 20px;
    background: linear-gradient(135deg, rgba(255, 44, 44, 0.1) 0%, rgba(255, 107, 107, 0.05) 100%);
    border: 1px solid var(--brand-red);
    padding: 24px;
    border-radius: 16px;
    margin: 24px 0;
}

.promo-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.promo-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.promo-content p {
    margin-bottom: 16px;
}

.promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--brand-red);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    transition: all var(--transition-normal);
}

.promo-btn:hover {
    background: var(--brand-red-hover);
    transform: translateX(4px);
    box-shadow: 0 6px 20px var(--brand-red-glow);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.feature-card {
    background: var(--bg-tertiary);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    border-color: var(--brand-red);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
}

.feature-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

/* Teams Showcase */
.teams-showcase {
    background: var(--bg-tertiary);
    padding: 20px;
    border-radius: 12px;
    margin-top: 24px;
}

.teams-showcase h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.team-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.team-badge {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: white;
    transition: all var(--transition-normal);
}

.team-badge:hover {
    transform: scale(1.05);
}

.team-badge.spirit {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

.team-badge.g2 {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    border: 1px solid #555;
}

.team-badge.faze {
    background: linear-gradient(135deg, #e91e63 0%, #9c27b0 100%);
}

.team-badge.navi {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #1a1a1a;
}

/* Article Conclusion */
.article-conclusion {
    margin-top: 40px;
}

.conclusion-box {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-card) 100%);
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid var(--brand-red);
    margin: 20px 0;
}

.conclusion-box p {
    margin-bottom: 12px;
}

.conclusion-box p:last-child {
    margin-bottom: 0;
}

.conclusion-box mark {
    background: var(--brand-red-bg);
    color: var(--brand-red);
    padding: 2px 8px;
    border-radius: 4px;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    transition: all var(--transition-normal);
}

.cta-btn.primary {
    background: linear-gradient(135deg, var(--brand-red) 0%, #ff6b6b 100%);
    color: white;
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--brand-red-glow);
}

.cta-btn.secondary {
    background: var(--bg-tertiary);
    border: 2px solid var(--brand-red);
    color: var(--brand-red);
}

.cta-btn.secondary:hover {
    background: var(--brand-red-bg);
    transform: translateY(-3px);
}

/* Article Footer */
.article-footer {
    padding: 24px 32px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    background: var(--bg-tertiary);
}

.article-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tag-label,
.share-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.article-tag {
    background: var(--bg-card);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.article-tag:hover {
    background: var(--brand-red-bg);
    color: var(--brand-red);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.share-btn.telegram {
    background: #0088cc;
    color: white;
}

.share-btn.vk {
    background: #4a76a8;
    color: white;
}

.share-btn.twitter {
    background: #1a1a1a;
    color: white;
    border: 1px solid #333;
}

.share-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsive for Article */
@media (max-width: 768px) {
    .article-header-block {
        padding: 16px;
    }

    .article-content {
        padding: 16px;
    }

    .article-main-title {
        font-size: 1.2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        -webkit-text-fill-color: initial;
        background: none;
        color: var(--text-primary);
    }

    .article-intro {
        font-size: 14px;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .section-heading {
        font-size: 1.1rem;
        flex-wrap: wrap;
    }

    .heading-icon {
        font-size: 1.2rem;
    }

    .player-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .player-card-body {
        padding: 12px;
    }

    .player-name {
        font-size: 1.1rem;
    }

    .player-stats {
        flex-wrap: wrap;
        gap: 8px;
    }

    .crosshair-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .crosshair-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px;
    }

    .crosshair-preview {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .crosshair-code {
        font-size: 8px;
        word-break: break-all;
        max-width: 100%;
    }

    .code-block {
        margin: 16px 0;
    }

    .code-header {
        padding: 10px 12px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .code-label {
        font-size: 11px;
    }

    .copy-btn {
        padding: 4px 10px;
        font-size: 10px;
    }

    .code-block pre {
        padding: 12px;
    }

    .code-block code {
        font-size: 11px;
        white-space: pre-wrap;
        word-break: break-all;
    }

    .tip-box {
        flex-direction: column;
        padding: 14px;
        gap: 10px;
    }

    .tip-icon {
        font-size: 20px;
    }

    .nicknames-showcase {
        padding: 16px;
    }

    .nickname-tags {
        gap: 8px;
    }

    .nickname-tag {
        padding: 6px 12px;
        font-size: 12px;
    }

    .promo-box {
        flex-direction: column;
        text-align: center;
        padding: 16px;
        gap: 14px;
    }

    .promo-icon {
        font-size: 32px;
    }

    .promo-content h4 {
        font-size: 16px;
    }

    .promo-btn {
        padding: 10px 16px;
        font-size: 12px;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .feature-card {
        padding: 14px;
    }

    .feature-icon {
        font-size: 24px;
    }

    .feature-card h4 {
        font-size: 12px;
    }

    .feature-card p {
        font-size: 10px;
    }

    .teams-showcase {
        padding: 16px;
    }

    .team-badges {
        gap: 8px;
    }

    .team-badge {
        padding: 8px 14px;
        font-size: 11px;
    }

    .conclusion-box {
        padding: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .cta-btn {
        justify-content: center;
        padding: 12px 20px;
        font-size: 13px;
    }

    .article-footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        gap: 14px;
    }

    .article-tags {
        gap: 6px;
    }

    .article-tag {
        padding: 4px 8px;
        font-size: 10px;
    }

    .article-share {
        gap: 8px;
    }

    .share-btn {
        width: 32px;
        height: 32px;
    }
}

/* Extra small mobile for article */
@media (max-width: 400px) {
    .article-header-block,
    .article-content {
        padding: 12px;
    }

    .article-main-title {
        font-size: 1rem;
    }

    .article-intro {
        font-size: 13px;
    }

    .section-heading {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .player-card-header {
        padding: 10px 12px;
        font-size: 10px;
    }

    .player-name {
        font-size: 1rem;
    }

    .stat-item {
        padding: 4px 8px;
        font-size: 10px;
    }
}

/* ===================================
   Anti horizontal-scroll (mobile)
   Причина: отрицательные margin на hover/карточках
   =================================== */
@media (max-width: 900px) {
    /* Принудительно убираем любое расширение контента в стороны */
    .featured-news-item:hover {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .match-item:hover {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .related-news-item {
        margin: 0 !important;
        max-width: 100%;
    }
}

/* На устройствах без hover отключаем “распирающие” hover-эффекты совсем */
@media (hover: none) and (pointer: coarse) {
    .featured-news-item:hover,
    .match-item:hover {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}
