/* Héctor Herrera Fan Site - Houston Dynamo Theme */
/* Color palette: Dynamo Orange, Black */

:root {
    --primary-color: #FF6B00;
    --primary-dark: #CC5500;
    --primary-light: #FF8C33;
    --secondary-color: #1A1A1A;
    --accent-color: #FFFFFF;
    --accent-light: #F5F5F5;

    --bg-color: #0A0A0F;
    --bg-card: rgba(255, 107, 0, 0.08);
    --bg-gradient: linear-gradient(135deg, #0A0A0F 0%, #1A0F0A 50%, #1A1A2E 100%);

    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.85);
    --text-muted: rgba(255, 255, 255, 0.6);

    --border-color: rgba(255, 107, 0, 0.3);
    --shadow-color: rgba(255, 107, 0, 0.3);
    --glow-color: rgba(255, 140, 51, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-gradient);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.98) 0%, rgba(10, 10, 15, 0.9) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(10, 10, 15, 0.98);
    box-shadow: 0 4px 30px var(--shadow-color);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 2.2rem;
    filter: drop-shadow(0 0 10px var(--primary-color));
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 107, 0, 0.2);
}

.nav-link.active {
    color: var(--primary-color);
    background: rgba(255, 107, 0, 0.3);
}


/* Mobile Menu Toggle — скрыт на десктопе */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    z-index: 1010;
    position: relative;
    flex-shrink: 0;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.6) 0%, rgba(10, 10, 15, 0.4) 30%, rgba(10, 10, 15, 0.7) 70%, rgba(10, 10, 15, 1) 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(255, 107, 0, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(255, 140, 51, 0.2) 0%, transparent 50%),
        linear-gradient(180deg, rgba(10, 10, 15, 0.4) 0%, rgba(10, 10, 15, 0.8) 50%, var(--bg-color) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 60px 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px var(--shadow-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.hero-title {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #fff 0%, var(--primary-color) 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 3s infinite;
}

@keyframes shine {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    min-width: 140px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px var(--shadow-color);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--shadow-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--bg-color);
}

.hero-page {
    min-height: 50vh;
    padding-top: 80px;
    background: radial-gradient(ellipse at center, rgba(255, 107, 0, 0.2) 0%, transparent 70%), var(--bg-gradient);
}

.hero-page .hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    margin: 20px auto 0;
    border-radius: 4px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.info-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px var(--shadow-color);
}

.info-card:hover::before {
    transform: scaleX(1);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.info-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.stat-big-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.bio-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 32px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.bio-card h2 {
    font-size: 1.6rem;
    margin-bottom: 24px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.bio-card p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.bio-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
}

.bio-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.sidebar-card h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.quick-facts {
    list-style: none;
}

.quick-facts li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.quick-facts li:last-child {
    border-bottom: none;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.data-item {
    background: rgba(255, 107, 0, 0.15);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.data-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.data-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-light));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    background: rgba(255, 107, 0, 0.15);
    border-color: var(--primary-color);
}

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 28px;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid var(--bg-color);
}

.timeline-item.featured .timeline-marker {
    box-shadow: 0 0 20px var(--glow-color);
}

.timeline-content h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.career-timeline {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.career-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 24px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.career-item:hover {
    background: rgba(255, 107, 0, 0.1);
    border-color: var(--primary-color);
}

.career-item.featured {
    border-color: var(--primary-color);
    background: rgba(255, 107, 0, 0.05);
}

.career-year {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    padding: 10px;
    background: rgba(255, 107, 0, 0.2);
    border-radius: 8px;
    height: fit-content;
}

.career-club h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.career-club p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.stats-table th,
.stats-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.stats-table th {
    background: rgba(255, 107, 0, 0.2);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--primary-color);
}

.stats-table tr:hover {
    background: rgba(255, 107, 0, 0.1);
}

.stats-table .stats-highlight {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.stats-table .stats-total {
    background: rgba(255, 107, 0, 0.15);
    font-weight: 700;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    background: rgba(255, 107, 0, 0.15);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--text-primary);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-color: var(--primary-color);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px var(--shadow-color);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.highlight-card {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}

.highlight-card:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 50px rgba(255, 107, 0, 0.4);
}

.highlight-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.highlight-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.highlight-card .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 107, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.highlight-card:hover .play-btn {
    background: var(--primary-light);
    transform: translate(-50%, -50%) scale(1.1);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.matches-widget {
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.95) 0%, rgba(26, 15, 10, 0.95) 100%);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.matches-widget-columns {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: start;
    overflow: hidden;
}

.matches-widget-divider {
    width: 2px;
    height: 100%;
    min-height: 280px;
    background: linear-gradient(180deg, transparent, var(--primary-color), var(--primary-light), var(--primary-color), transparent);
    border-radius: 2px;
}

.matches-widget-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.matches-widget-icon {
    font-size: 1.5rem;
}

.matches-widget-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.matches-widget-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.widget-match-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.widget-match-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
    background: rgba(255, 107, 0, 0.1);
}

.widget-match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    gap: 4px;
    flex-wrap: wrap;
    min-width: 0;
}

.widget-match-teams span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    max-width: 45%;
}

.widget-match-teams .widget-match-vs {
    max-width: none;
    white-space: nowrap;
}

.widget-match-vs {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0 8px;
}

.widget-match-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.widget-match-date {
    color: var(--text-muted);
}

.widget-match-competition {
    color: var(--primary-light);
    font-weight: 500;
}

.widget-match-result {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 8px;
}

.widget-match-result.win {
    background: linear-gradient(135deg, #00c853, #00a844);
}

.widget-match-result.draw {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: #1a1a1a;
}

.widget-match-result.loss {
    background: linear-gradient(135deg, #f44336, #c62828);
}

.widget-match-goal {
    color: var(--primary-color);
    margin-left: 6px;
}

.widget-match-skeleton {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.03) 100%);
    background-size: 200% 100%;
    animation: skeleton-pulse 1.5s ease infinite;
    border-radius: 12px;
    height: 85px;
}

@keyframes skeleton-pulse {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.matches-widget-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 16px;
}

.matches-widget-update {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.news-item {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px var(--shadow-color);
}

.news-item .news-content {
    padding: 24px;
}

.news-date {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.news-item h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.news-loading {
    text-align: center;
    padding: 40px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

.section-cta-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--bg-color);
    transform: translateY(-3px);
}

.social-links-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-links-vertical a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.social-links-vertical a:hover {
    color: var(--primary-color);
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    padding-left: 30px;
    position: relative;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: '⚽';
    position: absolute;
    left: 0;
    top: 12px;
}

.feature-list li:last-child {
    border-bottom: none;
}

.footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    text-align: center;
}

.footer-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--primary-color);
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.match-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.match-card:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.match-card.win {
    border-left: 4px solid #00c853;
}

.match-card.loss {
    border-left: 4px solid #f44336;
}

.match-card.draw {
    border-left: 4px solid #ffc107;
}

.match-card.upcoming {
    border-left: 4px solid var(--primary-color);
}

.match-date {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.match-score,
.match-time {
    color: var(--primary-color);
    font-size: 1.4rem;
    padding: 0 16px;
}

.match-competition {
    font-size: 0.85rem;
    color: var(--primary-light);
}

.santi-goal {
    display: inline-block;
    background: var(--primary-color);
    color: var(--bg-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 10px;
}

.matches-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

@media (max-width: 1024px) {
    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .bio-grid {
        grid-template-columns: 1fr;
    }

    .bio-sidebar {
        position: static;
    }

    .career-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ==================== SEO CONTENT SECTION ==================== */
.seo-content {
    padding: 64px 0 48px;
    background: rgba(0, 0, 0, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.seo-article h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.seo-article h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 28px 0 10px;
}

.seo-article p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.85;
    margin-bottom: 18px;
    font-size: 0.975rem;
}

/* Inline text links */
.text-link,
.seo-article a {
    color: var(--accent-color) !important;
    text-decoration: underline;
    text-decoration-style: dashed;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    font-weight: 600;
    transition: color 0.2s ease, text-decoration-style 0.2s;
}

.text-link:hover,
.seo-article a:hover {
    color: #ffffff !important;
    text-decoration-style: solid;
}

/* SEO news links block */
.seo-news-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 20px 0;
}

.seo-news-links a {
    color: rgba(255, 255, 255, 0.75) !important;
    text-decoration: none !important;
    padding: 10px 14px;
    border-left: 3px solid var(--accent-color);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 0 8px 8px 0;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: block;
}

.seo-news-links a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-color) !important;
    padding-left: 20px;
}

/* Related pages block */
.related-pages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.sport-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.75) !important;
    text-decoration: none !important;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.sport-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color) !important;
    transform: translateY(-2px);
}

.sport-link span {
    color: var(--accent-color);
    font-weight: 700;
}

/* Footer links fix */
.footer-nav a {
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: var(--accent-color) !important;
}

/* Mobile */


/* ============================================================
   BURGER MENU — Mobile
   Trigger: .menu-toggle / .nav-menu.active
   ============================================================ */

/* Hamburger → X animation */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {

    /* Show toggle button */
    .menu-toggle {
        display: flex;
    }

    /* Mobile nav — hidden by default, slides in from left */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        z-index: 1005;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px 0;
        list-style: none;
        margin: 0;
        transition: left 0.35s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Open state */
    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu .nav-link {
        display: block;
        padding: 16px 28px;
        font-size: 1.1rem;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    /* Адаптация прочих элементов на мобиле */
    .bio-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .career-item {
        grid-template-columns: 1fr;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .matches-widget-columns {
        flex-direction: column;
    }

    .matches-widget-divider {
        width: 100%;
        height: 2px;
        min-height: unset;
    }
}

/* Desktop: always show nav-menu as flex row */
@media (min-width: 769px) {
    .nav-menu {
        display: flex !important;
        position: static;
        left: auto;
        width: auto;
        height: auto;
        overflow: visible;
        background: transparent;
        flex-direction: row;
        padding: 0;
        box-shadow: none;
    }

    .menu-toggle {
        display: none !important;
    }
}