/* ============================================
   EL-TOLUCA.COM.MX - DESIGN SYSTEM
   Цветовая схема: Красный (#E30613) + Белый
   ============================================ */

:root {
    /* Фирменные цвета Толуки */
    --toluca-red: #E30613;
    --toluca-red-dark: #B30510;
    --toluca-red-light: #FF1F2F;
    --toluca-white: #FFFFFF;
    --toluca-gold: #FFD700;

    /* Фоновые цвета */
    --bg-dark: #0A0E27;
    --bg-darker: #050711;
    --bg-card: rgba(255, 255, 255, 0.05);

    /* Текст */
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.6);

    /* Градиенты */
    --gradient-red: linear-gradient(135deg, var(--toluca-red) 0%, var(--toluca-red-dark) 100%);
    --gradient-gold: linear-gradient(135deg, var(--toluca-gold) 0%, #FFA500 100%);
    --gradient-hero: linear-gradient(135deg, var(--toluca-red) 0%, #8B0000 100%);

    /* Тени */
    --shadow-sm: 0 2px 8px rgba(227, 6, 19, 0.1);
    --shadow-md: 0 4px 16px rgba(227, 6, 19, 0.2);
    --shadow-lg: 0 8px 32px rgba(227, 6, 19, 0.3);
    --shadow-glow: 0 0 20px rgba(227, 6, 19, 0.5);

    /* Переходы */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Размеры */
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --container-width: 1400px;
}

/* ============================================
   RESET & BASE
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--toluca-white);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--toluca-white);
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-red);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: rgba(10, 14, 39, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--toluca-red);
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--toluca-white);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(227, 6, 19, 0.5));
    transition: var(--transition-normal);
}

.logo:hover .logo-image {
    filter: drop-shadow(0 0 15px rgba(227, 6, 19, 0.8));
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--toluca-white);
    background: rgba(227, 6, 19, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--toluca-red);
    transition: transform var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1050;
    position: relative;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--toluca-white);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.85) 0%, rgba(5, 7, 17, 0.9) 100%),
        url('../images/toluca-es-bicampeon-de-la-liga-mx-el-nuevo-grande-1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(227, 6, 19, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(227, 6, 19, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition-normal);
    text-align: center;
}

.btn-primary {
    background: var(--gradient-red);
    color: var(--toluca-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--toluca-white);
    border: 2px solid var(--toluca-red);
}

.btn-secondary:hover {
    background: var(--toluca-red);
    color: var(--toluca-white);
    transform: translateY(-2px);
}

/* ── Кнопка ставки — огонь Diablos Rojos ──────────────────── */
.btn-bet {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 35%, #E30613 100%);
    color: #1a0002;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    box-shadow:
        0 0 20px rgba(227, 6, 19, 0.5),
        0 4px 16px rgba(255, 165, 0, 0.4);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: diablosGlow 2.2s ease-in-out infinite;
}

.btn-bet::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 55%);
    pointer-events: none;
}

.btn-bet:hover {
    background: linear-gradient(135deg, #FFEC6E 0%, #FFB700 35%, #FF1F2F 100%);
    color: #0d0001;
    transform: translateY(-3px) scale(1.04);
    box-shadow:
        0 0 32px rgba(255, 165, 0, 0.7),
        0 0 60px rgba(227, 6, 19, 0.4),
        0 8px 24px rgba(227, 6, 19, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-bet-icon {
    display: inline-block;
    animation: fireFlicker 1.2s ease-in-out infinite alternate;
    margin-right: 2px;
}

@keyframes diablosGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(227, 6, 19, 0.5), 0 4px 16px rgba(255, 165, 0, 0.4);
    }

    50% {
        box-shadow: 0 0 32px rgba(227, 6, 19, 0.75), 0 6px 24px rgba(255, 165, 0, 0.6);
    }
}

@keyframes fireFlicker {
    0% {
        transform: translateY(0) rotate(-5deg);
    }

    100% {
        transform: translateY(-4px) rotate(5deg);
    }
}

/* ============================================
   CARDS
   ============================================ */

.card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid rgba(227, 6, 19, 0.2);
    transition: all var(--transition-normal);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--toluca-red);
    box-shadow: var(--shadow-lg);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--toluca-white);
}

.card-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   GRID LAYOUTS
   ============================================ */

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ============================================
   WIDGETS
   ============================================ */

.widget {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    border: 1px solid rgba(227, 6, 19, 0.2);
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--toluca-red);
}

.widget-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--toluca-white);
}

.widget-link {
    color: var(--toluca-red);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.widget-link:hover {
    color: var(--toluca-red-light);
}

/* ============================================
   NEWS CARDS
   ============================================ */

.news-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(227, 6, 19, 0.2);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--toluca-red);
    box-shadow: var(--shadow-lg);
}

.news-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--toluca-red);
    color: var(--toluca-white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-content {
    padding: 1.5rem;
}

.news-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--toluca-white);
    font-weight: 600;
}

.news-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.news-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   TABLE STYLES
   ============================================ */

.table-container {
    overflow-x: auto;
    border-radius: var(--border-radius);
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
}

.table thead {
    background: var(--toluca-red);
}

.table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--toluca-white);
}

.table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.table tr:hover {
    background: rgba(227, 6, 19, 0.1);
}

.table tr.highlight {
    background: rgba(227, 6, 19, 0.2);
    font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--bg-darker);
    padding: 3rem 0 1rem;
    border-top: 2px solid var(--toluca-red);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--toluca-red);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--toluca-red);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(227, 6, 19, 0.1);
    border: 1px solid rgba(227, 6, 19, 0.3);
    border-radius: 50%;
    color: var(--toluca-white);
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--toluca-red);
    border-color: var(--toluca-red);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(227, 6, 19, 0.4);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {

    /* Бургер-меню — показываем на мобильном */
    .menu-toggle {
        display: flex !important;
        min-height: 44px;
        min-width: 44px;
        justify-content: center;
        align-items: center;
        pointer-events: auto !important;
        margin-left: auto;
    }

    /* Nav-menu убираем из flex-потока, показываем только при .active */
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        flex-direction: column;
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        padding: 2rem;
        gap: 1rem;
        transition: none;
        border-top: 2px solid var(--toluca-red);
        z-index: 999;
        pointer-events: none;
    }

    .nav-menu.active {
        display: flex;
        pointer-events: auto;
    }

    .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);
    }

    .nav {
        padding: 0.75rem 1rem;
        width: 100%;
    }

    .hero {
        padding: 6rem 1rem;
        min-height: 60vh;
        background-attachment: scroll;
        width: 100%;
    }

    .section {
        padding: 3rem 0;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .nav-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 0.75rem 0;
    }

    .social-link {
        min-height: 44px;
        min-width: 44px;
    }

    /* Hero CTA — кнопки в столбик на маленьких экранах */
    .hero-cta {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 1rem;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 320px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
    text-align: center;
}

.text-red {
    color: var(--toluca-red);
}

.bg-red {
    background: var(--toluca-red);
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.hidden {
    display: none;
}

   / *   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =           A C C E S S I B I L I T Y   I M P R O V E M E N T S           = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   * /         / *   � � � � � ��  ! � �� � � � � � � 9 � �   f o c u s   i n d i c a t o r s   * /     * : f o c u s    {
                 o u t l i n e :    2 p x   s o l i d   v a r ( - - t o l u c a - g o l d ) ;
                 o u t l i n e - o f f s e t :    2 p x ;
         
}

         * : f o c u s : n o t ( : f o c u s - v i s i b l e )    {
                 o u t l i n e :    n o n e ;
         
}

         * : f o c u s - v i s i b l e    {
                 o u t l i n e :    2 p x   s o l i d   v a r ( - - t o l u c a - g o l d ) ;
                 o u t l i n e - o f f s e t :    2 p x ;
                 b o x - s h a d o w :    0   0   0   4 p x   r g b a ( 2 5 5 ,    2 1 5 ,    0 ,    0 . 2 ) ;
         
}

         / *   S k i p   t o   m a i n   c o n t e n t   l i n k   * /     . s k i p - l i n k    {
                 p o s i t i o n :    a b s o l u t e ;
                 t o p :    - 4 0 p x ;
                 l e f t :    0 ;
                 b a c k g r o u n d :    v a r ( - - t o l u c a - r e d ) ;
                 c o l o r :    w h i t e ;
                 p a d d i n g :    8 p x   1 6 p x ;
                 z - i n d e x :    1 0 0 0 0 ;
                 t e x t - d e c o r a t i o n :    n o n e ;
                 f o n t - w e i g h t :    6 0 0 ;
                 b o r d e r - r a d i u s :    0   0   4 p x   0 ;
                 t r a n s i t i o n :    t o p   v a r ( - - t r a n s i t i o n - f a s t ) ;
         
}

         . s k i p - l i n k : f o c u s    {
                 t o p :    0 ;
         
}

         / *   T o u c h   o p t i m i z a t i o n   f o r   m o b i l e   * /     b u t t o n ,
     a    {
                 t o u c h - a c t i o n :    m a n i p u l a t i o n ;
                 - w e b k i t - t a p - h i g h l i g h t - c o l o r :    t r a n s p a r e n t ;
         
}

     

/* === Accessibility: skip link === */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--toluca-red, #C91B1B);
    color: #fff;
    padding: .5rem 1rem;
    border-radius: 0 0 6px 6px;
    font-weight: 700;
    font-size: .9rem;
    z-index: 9999;
    transition: top .2s;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

/* === Accessibility: focus-visible === */
:focus-visible {
    outline: 3px solid #FFD700;
    outline-offset: 3px;
    border-radius: 3px;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid #FFD700;
    outline-offset: 3px;
}


/* === Mobile: responsive table scroll === */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
}

@media (max-width: 480px) {
    table {
        min-width: 560px;
    }

    .news-grid,
    .players-grid,
    .matches-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .section-title {
        font-size: clamp(1.4rem, 4vw, 2rem);
    }
}

/* === Accessibility: high contrast mode === */
@media (prefers-contrast: high) {
    :root {
        --toluca-red: #ff0000;
        --toluca-gold: #ffff00;
        --text-primary: #ffffff;
        --bg-primary: #000000;
    }

    a {
        text-decoration: underline;
    }
}

/* === Accessibility: reduced motion === */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* === SEO Content Section (Z-pattern) === */
.seo-content {
    background: var(--bg-secondary, #1a1a2e);
    padding: 4rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.seo-article {
    max-width: 860px;
    margin: 0 auto;
    line-height: 1.85;
}

.seo-article h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    color: var(--toluca-gold, #FFD700);
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.seo-article h3 {
    font-size: 1.05rem;
    color: var(--toluca-white, #fff);
    margin: 2rem 0 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.seo-article p {
    color: var(--text-secondary, rgba(255, 255, 255, .7));
    margin-bottom: 1.2rem;
    font-size: .97rem;
}

.text-link {
    color: var(--toluca-gold, #FFD700);
    text-decoration: underline;
    text-decoration-style: dashed;
    text-underline-offset: 3px;
    font-weight: 500;
    transition: color .2s;
}

.text-link:hover {
    color: var(--toluca-red, #C91B1B);
}

.seo-news-links {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin-bottom: 1.8rem;
    padding-left: .5rem;
}

.seo-news-links a {
    color: var(--text-secondary, rgba(255, 255, 255, .75));
    font-size: .93rem;
    transition: color .2s, padding-left .2s;
    display: block;
}

.seo-news-links a:hover {
    color: var(--toluca-gold, #FFD700);
    padding-left: .4rem;
}

.related-sports {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: .8rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.sport-link {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .75rem 1rem;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    color: var(--text-secondary, rgba(255, 255, 255, .7));
    font-size: .88rem;
    transition: background .2s, border-color .2s, color .2s;
}

.sport-link:hover {
    background: rgba(201, 27, 27, .15);
    border-color: var(--toluca-red, #C91B1B);
    color: var(--toluca-white, #fff);
}

.sport-link span {
    font-weight: 600;
    color: var(--toluca-white, #fff);
}

@media (max-width: 640px) {
    .related-sports {
        grid-template-columns: 1fr 1fr;
    }

    .seo-content {
        padding: 2.5rem 0;
    }
}

/* === Auto-refresh UI elements === */
#last-updated {
    font-size: .78rem;
    color: rgba(255, 255, 255, .45);
    margin-left: .8rem;
    vertical-align: middle;
}

#live-dot {
    display: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    margin-left: .5rem;
    vertical-align: middle;
    animation: pulse-dot 1.2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .6);
}

@keyframes pulse-dot {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, .6);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.match-live {
    border-color: #22c55e !important;
    box-shadow: 0 0 0 1px rgba(34, 197, 94, .3), 0 4px 24px rgba(34, 197, 94, .12) !important;
}

.score-live {
    color: #22c55e !important;
    font-weight: 800;
    animation: blink-score 2s ease-in-out infinite;
}

@keyframes blink-score {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .6;
    }
}

.badge {
    display: inline-block;
    padding: .2rem .55rem;
    border-radius: 20px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.badge-live {
    background: rgba(34, 197, 94, .15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, .4);
}

.badge-done {
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .4);
    border: 1px solid rgba(255, 255, 255, .1);
}

.badge-upcoming {
    background: rgba(201, 27, 27, .15);
    color: var(--toluca-red, #C91B1B);
    border: 1px solid rgba(201, 27, 27, .3);
}

.highlight-toluca td {
    background: rgba(201, 27, 27, .08);
    font-weight: 600;
}

/* === Refresh meta (timestamp + live dot alignment) === */
.refresh-meta {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-top: .4rem;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .nav {
        padding: .8rem 1rem;
    }
}