/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
  font-family: 'RobotoCondensed';
  src: url('../fonts/RobotoCondensed.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.logo-container {
    display: flex;
    align-items: center;
    margin-left: 10%; /* ⬅️ Mueve el logo a la derecha */
}

.main-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 34px;
    position: relative;
    min-height: 60px;
}

.nav-left,
.nav-right {
    display: flex;
    gap: 20px;
    align-items: center;
    flex: 1;
}

.nav-logo {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    z-index: 2;
}

.nav-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: contents;
}

.nav-left {
    grid-column: 1;
    grid-row: 1;
    justify-content: flex-end;
}

.nav-right {
    grid-column: 3;
    grid-row: 1;
    justify-content: flex-start;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    padding: 0;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    display: block;
    background: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 200px;
    height: auto;
    margin-right: 10px;
}

.brand {
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 70px;
}



.main-nav ul li a {
    font-family: 'RobotoCondensed', sans-serif;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 14px;
    padding-bottom: 4px;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.main-nav ul li {
    position: relative;
}

.main-nav ul li a {
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    transition: color 0.3s ease;
}

.main-nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
    width: 100%;
}

@media (min-width: 901px) and (max-width: 1200px) {
    .main-nav {
        gap: 24px;
    }

    .main-nav ul {
        gap: 36px;
    }

    .main-nav ul li a {
        font-size: 13px;
    }
}


.main-hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Fondo negro semitransparente */
    z-index: 1;
}


.logo-central {
    width: 300px;
    max-width: 90vw;
    height: auto;
}

.logo-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2; /* Por encima del overlay oscuro */
    text-align: center;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

#loader.hidden {
    opacity: 0;
    pointer-events: none;
}

#loader img {
    width: 100px; /* Ajusta este tamaño según necesites */
    height: auto;
}


/* Sección deportes */
.sports-section {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.sports-slider-container {
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: relative;
}

.sports-slider {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.slide {
    flex: 0 0 33.3333%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    filter: grayscale(100%);
    transition: filter 0.4s ease;
}

.slide:hover {
    filter: grayscale(0%);
}


/* Capa oscura inicial */
.slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    transition: background 0.3s ease;
    z-index: 1;
}

.slide:hover::before {
    background: rgba(0, 0, 0, 0.2);
}



.slide-overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    justify-content: center;
    align-items: center;
    perspective: 800px;
}

.plus-icon {
    top: 47%;
    left: 50%;
    font-size: 50px;
    color: white;
    animation: rotatePlus 7s linear infinite;
    opacity: 1;
    z-index: 2;
}

.slide-btn {
    font-family: 'RobotoCondensed', sans-serif;
    top: 50%;
    left: 50%;
    padding: 10px 20px;
    color: white;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid white;
    overflow: hidden;
    transition: color 0.4s ease;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
}

.plus-icon,
.slide-btn {
    position: absolute;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s ease;
}


.slide-overlay h2 {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    padding: 15px 30px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    text-transform: uppercase;
    text-align: center;
}

/* Flechas */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 36px;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 2;
    transition: background 0.3s ease;
}

.arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}


@keyframes scrollSlider {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}


.slide:hover .plus-icon {
    opacity: 0;
}


/* Pseudo-elemento para efecto deslizante */
.slide-btn::before {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    height: 2px;
    width: 0%;
    background: white;
    transition: width 0.3s ease;
    z-index: -1;
}

.slide:hover .slide-btn {
    opacity: 1;
    pointer-events: auto;
}



/* Hover del botón */
.slide-btn:hover {
    color: white;
}

/* Activar animación de fondo */
.slide-btn:hover::before {
    top: 0;
}


@keyframes rotatePlus {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.news-title {
    font-family: 'RobotoCondensed', sans-serif;
    font-size: 32px;
    font-weight: 500;
    text-transform: uppercase;
    color: white;
    text-align: center;
    margin-bottom: 30px;
    margin-top: 40px;
}

/* sección noticias */
.news‑section {
    font-family: 'RobotoCondensed', sans-serif;
    flex-direction: column;
  width: 100vw;
    height: 100vh;
  background: #111; /* tono oscuro */
  display: flex;
  align-items: center;
 justify-content: flex-start;
  position: relative;
  overflow: hidden;
  padding: 0 40px;
  box-sizing: border-box;
}

.news-container {
    position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.news‑slider‑wrapper {
  flex: 1;
  overflow: hidden;
  padding: 0 20px;
  box-sizing: border-box;
}

.news‑slider {
  display: flex;
  transition: transform 0.5s ease;
}

.news‑card {
  flex: 0 0 25%; /* 4 visibles */
  padding: 20px;
  box-sizing: border-box;
  color: white;
}

.news‑card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.news‑card h3 {
  margin: 15px 0 10px;
  font-size: 20px;
}

.news‑card p {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 15px;
}

.btn‑readmore {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  color: white;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid white;
  transition: all 0.3s ease;
}

.btn‑readmore:hover {
  background: white;
  color: black;
}

/* flechas */
.news-arrow {
     background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  font-size: 28px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 5;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}


.news-arrow:hover {
  background: rgba(0,0,0,0.8);
}

.left-arrow {
  left: 10px;
}

.right-arrow {
  right: 10px;
}

/* Responsive: si en pantallas pequeñas mostramos menos cards */
@media (max-width: 1000px) {
  .news‑card {
    flex: 0 0 50%;
  }
}

@media (max-width: 600px) {
  .news‑card {
    flex: 0 0 100%;
  }
}

.scroll-down-indicator {
   position: absolute;
    bottom: 20px;
    left: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    font-size: 32px;
    color: white;
    animation: bounce 2s infinite;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.scroll-down-indicator img {
   width: 24px;
    height: auto;
    display: block;
}


@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}


.scroll-down-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

.news-img {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-section {
    font-family: 'RobotoCondensed', sans-serif;
    width: 100%;
    min-height: 100vh;
    padding: 92px 40px 76px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 22px),
        radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.13), transparent 28%),
        linear-gradient(180deg, #050505 0%, #101010 52%, #050505 100%);
    color: #fff;
}

.news-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 22%, transparent 78%, rgba(255, 255, 255, 0.06));
    pointer-events: none;
}

.news-heading {
    width: min(1200px, 100%);
    margin: 0 auto 42px;
    position: relative;
    z-index: 1;
}

.news-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.news-kicker::before {
    content: "";
    width: 28px;
    height: 1px;
    background: rgba(255, 255, 255, 0.55);
}

.news-title {
    margin: 0;
    text-align: center;
    font-size: 44px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0;
}

.news-container {
    max-width: 1200px;
    gap: 18px;
    position: relative;
    z-index: 1;
}

.news-slider-wrapper {
    flex: 1;
    overflow: hidden;
    padding: 2px;
}

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

.news-card {
    flex: 0 0 25%;
    min-width: 0;
    padding: 0 14px;
    color: #fff;
}

.news-card {
    display: flex;
    flex-direction: column;
    min-height: 430px;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-6px);
}

.news-img {
    height: 250px;
    border-radius: 2px;
    margin-bottom: 22px;
    background: #181818;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.42);
}

.news-img img {
    filter: grayscale(100%) contrast(1.08);
    transition: filter 0.35s ease, transform 0.35s ease;
}

.news-card:hover .news-img img {
    filter: grayscale(20%) contrast(1.05);
    transform: scale(1.04);
}

.news-tag {
    width: fit-content;
    margin: 0 0 14px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.news-card h3 {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.05;
    font-weight: 700;
}

.news-card p {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 14px;
    line-height: 1.45;
}

.btn-readmore {
    margin: auto 0 0;
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 9px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.btn-readmore::after {
    content: "";
    width: 22px;
    height: 1px;
    background: currentColor;
    transition: width 0.25s ease;
}

.btn-readmore:hover::after {
    width: 34px;
}

.news-arrow {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    align-self: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 20px;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.news-arrow:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.36);
    transform: scale(1.04);
}

@media (max-width: 1000px) {
    .news-card {
        flex: 0 0 50%;
    }
}

@media (max-width: 900px) {
    .site-header {
        padding: 12px 18px;
    }

    .main-nav {
        display: flex;
        justify-content: flex-end;
        min-height: 54px;
    }

    .nav-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }

    .nav-logo img {
        height: 48px;
    }

    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 12;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 12px);
        left: -18px;
        right: -18px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px 18px 18px;
        background: rgba(0, 0, 0, 0.95);
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        pointer-events: none;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    }

    .nav-menu.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-left,
    .nav-right,
    .main-nav ul {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .main-nav ul li a {
        width: 100%;
        padding: 14px 4px;
        font-size: 15px;
        letter-spacing: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .main-hero {
        height: 100svh;
    }

    #bg-video {
        width: 100%;
        height: 100%;
        min-width: 0;
        min-height: 0;
    }

    .scroll-down-indicator {
        bottom: 16px;
        width: 34px;
        height: 34px;
    }

    .sports-section {
        height: 100svh;
        padding-top: 78px;
    }

    .slide {
        flex-basis: 100%;
        filter: grayscale(0%);
    }

    .slide::before {
        background: rgba(0, 0, 0, 0.35);
    }

    .plus-icon {
        display: none;
    }

    .slide-btn {
        opacity: 1;
        pointer-events: auto;
        font-size: 15px;
        max-width: calc(100% - 56px);
        line-height: 1.25;
    }

    .arrow {
        font-size: 28px;
        padding: 8px 14px;
    }

    section[class*="news"] {
        min-height: 100svh;
        height: auto;
        padding: 78px 12px 32px;
        overflow: hidden;
    }

    .news-title {
        margin-top: 12px;
        margin-bottom: 18px;
        font-size: 28px;
    }

    .news-container {
        align-items: stretch;
        max-width: 100%;
    }

    section[class*="news"] [class*="wrapper"] {
        padding: 0;
    }

    section[class*="news"] [class*="card"] {
        flex: 0 0 100%;
        padding: 0 44px;
    }

    .news-section .news-card {
        min-height: 460px;
        padding: 0;
    }

    .news-heading {
        margin-bottom: 22px;
    }

    .news-img {
        height: 260px;
    }

    section[class*="news"] [class*="card"] h3 {
        font-size: 20px;
        line-height: 1.2;
    }

    .news-arrow {
        position: absolute;
        top: 130px;
        width: 36px;
        height: 48px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 10px 14px;
    }

    .nav-menu {
        left: -14px;
        right: -14px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .nav-logo img {
        height: 42px;
    }

    .main-nav ul li a {
        font-size: 14px;
        padding: 13px 2px;
    }

    .sports-section {
        padding-top: 66px;
    }

    .slide-btn {
        font-size: 14px;
        padding: 10px 14px;
    }

    section[class*="news"] {
        padding-top: 68px;
    }

    section[class*="news"] [class*="card"] {
        padding-left: 34px;
        padding-right: 34px;
    }

    .news-section .news-card {
        padding-left: 18px;
        padding-right: 18px;
    }

    .news-img {
        height: 220px;
    }
}



