/* Estilos del menú principal */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

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

.nav-menu {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links > li {
    position: relative;
    margin: 0 15px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 10px 0;
    position: relative;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #3498db;
}

.nav-links a i {
    margin-left: 5px;
    font-size: 0.8em;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0, 0, 0, 0.9);
    min-width: 200px;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border-radius: 0 0 5px 5px;
    border-top: 2px solid #3498db;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    padding: 10px 20px;
    display: block;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #3498db;
}

.nav-social {
    display: flex;
    gap: 15px;
}

.nav-social a {
    color: white;
    font-size: 1.1rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-social a:hover {
    color: #3498db;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
}
/* Estilos generales */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-image: url('../img/pad.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #fff;
    min-height: 100vh;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 160px);
}

/* Estilos del slider */
.hero-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
    height: 70vh;
    max-height: 700px;
    margin-bottom: 40px;
}

.slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

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

.slide {
    min-width: 100%;
    position: relative;
}

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

.slide-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.slide-overlay {
    position: absolute;
    bottom: 20%;
    left: 10%;
    background: rgba(44, 62, 80, 0.9);
    color: white;
    padding: 2rem;
    max-width: 500px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.slide-overlay h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.slide-overlay p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.link-text {
    display: inline-block;
    margin-top: 15px;
    font-weight: bold;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    color: #3498db;
}

.slide-link:hover .slide-overlay {
    background: rgba(44, 62, 80, 0.95);
    transform: translateY(-5px);
}

.slide-link:hover .link-text {
    transform: translateX(5px);
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.slider-arrow {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background: white;
    transform: scale(1.2);
}

/* Estilos del header */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background-color: rgba(44, 62, 80, 0.8);
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.header h1 {
    color: #fff;
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.header p {
    color: #ecf0f1;
    font-size: 1.1em;
    margin-bottom: 0;
}

/* Estilos de las tarjetas de torneos */
.torneos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.torneo-card {
    position: relative;
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-decoration: none;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.3s ease;
    text-align: center;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.torneo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.15;
    z-index: -1;
    transition: all 0.3s ease;
}


/* Estilos de las tarjetas de torneos punto de oro */

.torneo-card:nth-child(1) {
    background: linear-gradient(
        135deg,
        rgba(52, 152, 219, 0.6),
        rgba(41, 128, 185, 0.6)
    );
}
.torneo-card:nth-child(1)::before {
    background-image: url('../img/punto.jpeg');
    background-size: 70%;
}


/* Estilos de las tarjetas de torneos de arenas */

.torneo-card:nth-child(2) {
    background: linear-gradient(
        135deg,
        rgba(155, 89, 182, 0.6),
        rgba(142, 68, 173, 0.6)
    );
}
.torneo-card:nth-child(2)::before {
    background-image: url('../img/arena.png');
    background-size: 80%;
}

/* Estilos de las tarjetas de torneos de segundo set */
.torneo-card:nth-child(3) {
    background: linear-gradient(
        135deg,
        rgba(39, 174, 96, 0.6),
        rgba(46, 204, 113, 0.6)
    );
}
.torneo-card:nth-child(3)::before {
    background-image: url('../img/2set.jpeg');
    background-size: 75%;
}


/* Estilos de las tarjetas de torneos de torneo vuela alto */
.torneo-card:nth-child(4) {
    background: linear-gradient(
        135deg,
        rgba(174, 172, 39, 0.6),
        rgba(209, 212, 10, 0.6)
    );
}
.torneo-card:nth-child(4)::before {
    background-image: url('../img/martin.jpg');
    background-size: 75%;
}




.torneo-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px 0 rgba(31, 38, 135, 0.5);
}

.torneo-card:hover::before {
    opacity: 0.25;
    transform: scale(1.05);
}

.torneo-card h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.7em;
    position: relative;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.torneo-card p {
    margin-bottom: 0;
    opacity: 0.9;
    font-size: 1.1em;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.torneo-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, 
              rgba(255,255,255,0.3) 0%, 
              rgba(255,255,255,0) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.torneo-card:hover::after {
    opacity: 1;
}

/* Estilos para publicidad */
.ad-space {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin: 40px 0;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.3);
}

.ad-container {
    max-width: 728px;
    margin: 0 auto;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

.ad-title {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ad-image {
    width: 100%;
    max-height: 90px;
    object-fit: contain;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.ad-image:hover {
    transform: scale(1.02);
}

/* Estilos para el footer */
.footer {
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8em;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-slider {
        height: 50vh;
    }
    
    .slide-overlay {
        padding: 1.5rem;
        bottom: 15%;
    }
    
    .slide-overlay h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 40vh;
        margin-bottom: 30px;
    }
    
    .header {
        padding: 20px;
    }
    
    .header h1 {
        font-size: 2em;
    }
    
    .torneos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .torneo-card {
        padding: 25px;
        min-height: 180px;
    }

    .torneo-card::before {
        background-size: 60%;
    }

    .slide-overlay {
        left: 5%;
        right: 5%;
        max-width: 90%;
        padding: 1rem;
    }
    
    .slide-overlay h2 {
        font-size: 1.5rem;
    }
    
    .slide-overlay p {
        font-size: 1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 35vh;
    }
    
    .slide-overlay {
        bottom: 10%;
    }
    
    .slider-controls {
        bottom: 15px;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
    }
    
    .torneo-card::before {
        background-size: 50%;
    }

    .ad-title {
        font-size: 0.8em;
    }

    .ad-image {
        max-height: 70px;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links {
        flex-direction: column;
    }
    
    .nav-links > li {
        margin: 10px 0;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: transparent;
        border: none;
        padding: 0 0 0 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown-menu.active {
        max-height: 500px;
    }
    
    .dropdown-menu a {
        padding: 8px 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-social {
        display: none;
    }
}

/* Ajustar el body para el menú fijo */
body {
    padding-top: 70px; /* Altura del menú */
    /* ... resto de tus estilos actuales ... */
}


/* Estilos para la sección de noticias */
.news-section {
  padding: 60px 0;
  background-color: rgba(44, 62, 80, 0.7);
  margin: 40px 0;
  position: relative;
}

.news-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: linear-gradient(90deg, #3498db, #2ecc71, #e74c3c, #f39c12);
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #fff;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #3498db;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.news-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.news-image {
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-content {
  padding: 20px;
}

.news-date {
  display: block;
  color: #3498db;
  font-size: 0.9rem;
  margin-bottom: 10px;
  font-weight: 500;
}

.news-content h3 {
  margin: 0 0 15px;
  color: #fff;
  font-size: 1.3rem;
}

.news-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  line-height: 1.5;
}

.news-link {
  color: #3498db;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.news-link i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.news-link:hover {
  color: #2ecc71;
}

.news-link:hover i {
  transform: translateX(5px);
}

.news-cta {
  text-align: center;
  margin-top: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, #3498db, #2c3e50);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
  background: linear-gradient(135deg, #2c3e50, #3498db);
}

/* Responsive para noticias */
@media (max-width: 768px) {
  .news-section {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  
  .news-grid {
    gap: 20px;
  }
  
  .news-image {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.5rem;
  }
  
  .news-content h3 {
    font-size: 1.1rem;
  }
}
/* Estilos para paginación */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0;
  gap: 10px;
}

.pagination-btn {
  padding: 8px 16px;
  background-color: rgba(52, 152, 219, 0.7);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.pagination-btn:hover:not(:disabled) {
  background-color: #3498db;
  transform: translateY(-2px);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-numbers {
  display: flex;
  gap: 5px;
}

.page-number {
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-number:hover, .page-number.active {
  background-color: #3498db;
}

/* Modal para noticia completa */
.news-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  overflow-y: auto;
  padding: 40px 20px;
}

.modal-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: #2c3e50;
  border-radius: 10px;
  overflow: hidden;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-header {
  padding: 20px;
  background-color: #3498db;
  color: white;
  position: relative;
}

.modal-title {
  margin: 0;
  font-size: 1.5rem;
}

.modal-date {
  display: block;
  margin-top: 5px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-body {
  padding: 20px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.modal-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
  }
  
  .modal-image {
    height: 200px;
  }
}


.news-loader {
    text-align: center;
    padding: 40px;
    color: #3498db;
    font-size: 1.2rem;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}
/* Ajustes para móviles */
@media (max-width: 768px) {
    .news-card {
        scroll-margin-top: 80px; /* Espacio para el menú fijo */
    }
    
    .news-section {
        padding: 30px 0;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .pagination-btn {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}

/* Mejoras para el modal de noticias */
.modal-image {
    width: 100%;
    max-height: 400px; /* Altura máxima en lugar de fija */
    object-fit: contain; /* Muestra la imagen completa sin recortar */
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
}

.modal-body {
    padding: 20px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-body p {
    margin-top: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Mejorar responsividad del modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px auto;
    }
    
    .modal-image {
        max-height: 300px;
    }
    
    .modal-body {
        max-height: 60vh;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .modal-image {
        max-height: 250px;
    }
    
    .modal-title {
        font-size: 1.3rem;
    }
    
    .modal-body p {
        font-size: 1rem;
    }
}

/* Estilos para asegurar que el modal se vea bien */
.news-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    overflow-y: auto;
    padding: 40px 20px;
}

.modal-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: #2c3e50;
    border-radius: 10px;
    overflow: hidden;
    animation: modalFadeIn 0.3s ease;
}

.modal-header {
    padding: 20px;
    background-color: #3498db;
    color: white;
    position: relative;
}

/* Estilos para el modal de publicidad */
.ad-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.ad-modal-content {
  position: relative;
  background-color: #2c3e50;
  margin: 5% auto;
  padding: 0;
  width: 90%;
  max-width: 600px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
  animation: slideIn 0.4s ease;
}

@keyframes slideIn {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.ad-header {
  background-color: #3498db;
  padding: 15px 20px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ad-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

.ad-close {
  color: white;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.ad-close:hover {
  color: #ecf0f1;
}

.ad-body {
  padding: 20px;
  text-align: center;
}

.ad-modal-image {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: 5px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.ad-modal-image:hover {
  transform: scale(1.02);
}

.ad-text h4 {
  color: #fff;
  margin: 15px 0 10px;
  font-size: 1.3rem;
}

.ad-text p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin-bottom: 0;
}

.ad-footer {
  padding: 15px 20px;
  text-align: right;
  background-color: rgba(0, 0, 0, 0.1);
}

.ad-close-btn {
  padding: 8px 20px;
  background-color: #e74c3c;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.ad-close-btn:hover {
  background-color: #c0392b;
}

/* Responsive para el modal de publicidad */
@media (max-width: 768px) {
  .ad-modal-content {
    margin: 10% auto;
    width: 95%;
  }
  
  .ad-modal-image {
    max-height: 250px;
  }
}

@media (max-width: 480px) {
  .ad-modal-content {
    margin: 15% auto;
  }
  
  .ad-modal-image {
    max-height: 200px;
  }
  
  .ad-text h4 {
    font-size: 1.1rem;
  }
}

/* Estilos para el botón de compartir de Facebook */
.facebook-share-button {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background-color: #3b5998;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
    margin: 10px 0;
}

.facebook-share-button:hover {
    background-color: #2d4373;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.facebook-share-button i {
    margin-right: 8px;
    font-size: 1.2em;
}
/* Estilos para el botón de WhatsApp */
.whatsapp-share-button {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
    margin: 10px 0;
}

.whatsapp-share-button:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.whatsapp-share-button i {
    margin-right: 8px;
    font-size: 1.2em;
}
/* Animaciones para notificaciones */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Botón de copiar */
.copy-share {
    background-color: #95a5a6;
    border: none;
    cursor: pointer;
}

.copy-share:hover {
    background-color: #7f8c8d;
}

/* Estilos para el modal de noticia completa (también agregar botones de compartir) */
.modal-share-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.modal-share-buttons .share-button {
    width: 32px;
    height: 32px;
    font-size: 14px;
}

.modal-body p {
    margin-bottom: 1rem;
    line-height: 1.6;
    text-align: justify;
}

.modal-body p:last-child {
    margin-bottom: 0;
}

/* Añade esto al final de tu archivo styles.css */

/* Estilos para la sección Acerca de */
.about-section {
  padding: 60px 0;
  background-color: rgba(44, 62, 80, 0.7);
  margin: 40px 0;
  position: relative;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: linear-gradient(90deg, #3498db, #2ecc71, #e74c3c, #f39c12);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* Mejoras de SEO y estructura */
.header h1 {
  color: #fff;
  font-size: 2.5em;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.header p {
  color: #ecf0f1;
  font-size: 1.1em;
  margin-bottom: 0;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Mejoras de accesibilidad */
.slide-overlay h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Mejoras para los títulos de las tarjetas de torneos */
.torneo-card h2 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.7em;
  position: relative;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Mejoras responsivas para la sección Acerca de */
@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .about-section {
    padding: 40px 0;
  }
  
  .header p {
    font-size: 1em;
    padding: 0 10px;
  }
}

.ads-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.ad-item {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  text-align: center;
}

.ad-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ==========================================
   ESTILOS PARA ENLACES EN NOTICIAS
   ========================================== */

/* Enlaces en el contenido de noticias */
.news-content a,
.modal-body a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(52, 152, 219, 0.3);
    padding-bottom: 2px;
}

.news-content a:hover,
.modal-body a:hover {
    color: #2ecc71;
    border-bottom-color: #2ecc71;
}

/* Estilos específicos para enlaces en el modal de noticias */
.modal-body a {
    word-break: break-all;
    display: inline-block;
    max-width: 100%;
}

/* Para enlaces largos (como URLs) en el modal */
.modal-body a[href*="http"] {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid rgba(52, 152, 219, 0.3);
    margin: 5px 0;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modal-body a[href*="http"]:hover {
    background-color: rgba(52, 152, 219, 0.2);
    border-color: #3498db;
}

/* Mejora para enlaces en tarjetas de noticias */
.news-card a {
    color: #3498db;
    transition: color 0.3s ease;
}

.news-card a:hover {
    color: #2ecc71;
}