/* ============================================================================
   ESTILOS PARA PÁGINAS DE AVENTURAS - ZAPPING TREASURES
   ============================================================================ */

/* ============================================================================
   HEADER Y BANNER
   ============================================================================ */
.header-banner {
    width: 100%;
    margin-bottom: 30px;
}

.header-banner a {
    display: block;
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ============================================================================
   DESCRIPCIÓN PRINCIPAL
   ============================================================================ */
.descripcion-principal {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px 20px;
}

.descripcion-principal h1 {
    color: #1e3a8a;
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 800;
}

.intro-text {
    font-size: 18px;
    line-height: 1.8;
    color: #4b5563;
    max-width: 800px;
    margin: 0 auto 15px;
}

/* ============================================================================
   GRID DE AVENTURAS (PÁGINA PRINCIPAL)
   ============================================================================ */
.aventuras-grid {
    margin-top: 40px;
}

.aventuras-titulo {
    text-align: center;
    color: #1e3a8a;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
}

.aventura-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.aventura-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.aventura-portada {
    width: 100%;
    overflow: hidden;
}

.aventura-portada img {
    width: 100%;
    height: auto;
    display: block;
}

.aventura-info {
    padding: 30px;
}

.aventura-info h3 {
    color: #1e3a8a;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.aventura-info p {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* ============================================================================
   BOTONES
   ============================================================================ */
.btn-aventura {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
    border: none;
    cursor: pointer;
}

.btn-aventura:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    background: #6b7280;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.2s, background 0.2s;
}

.btn-secondary:hover {
    background: #4b5563;
    transform: translateY(-2px);
}

/* ============================================================================
   PÁGINA DE DETALLE DE AVENTURA
   ============================================================================ */
.aventura-detalle-portada {
    width: 100%;
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.aventura-detalle-portada img {
    width: 100%;
    height: auto;
    display: block;
}

.aventura-detalle {
    max-width: 900px;
    margin: 0 auto;
}

.aventura-detalle h1 {
    color: #1e3a8a;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
}

.aventura-detalle h2 {
    color: #1e40af;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
    margin-top: 35px;
}

.aventura-descripcion,
.aventura-caracteristicas,
.aventura-instrucciones,
.aventura-requisitos,
.aventura-highlights {
    background: #f9fafb;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 4px solid #f59e0b;
}

/* Sección importante destacada */
.aventura-importante {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 3px solid #f59e0b;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
    text-align: center;
}

.aventura-importante h2 {
    color: #92400e;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
}

.texto-destacado {
    font-size: 19px;
    font-weight: 700;
    color: #78350f;
    line-height: 1.8;
    margin: 0;
}

.aventura-descripcion p,
.aventura-highlights p {
    font-size: 16px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 15px;
}

.aventura-descripcion p:last-child,
.aventura-highlights p:last-child {
    margin-bottom: 0;
}

.caracteristicas-list,
.requisitos-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.caracteristicas-list li,
.requisitos-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 16px;
    color: #374151;
    line-height: 1.6;
}

.caracteristicas-list li:last-child,
.requisitos-list li:last-child {
    border-bottom: none;
}

.instrucciones-list {
    padding-left: 20px;
    margin: 0;
}

.instrucciones-list li {
    padding: 10px 0;
    font-size: 16px;
    color: #374151;
    line-height: 1.7;
}

.instrucciones-list li::marker {
    color: #f59e0b;
    font-weight: 700;
}

/* ============================================================================
   ACCIONES DE AVENTURA
   ============================================================================ */
.aventura-acciones {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.footer {
    text-align: center;
    margin-top: 60px;
    padding: 30px 20px;
    border-top: 2px solid #e5e7eb;
    color: #6b7280;
}

.footer p {
    margin: 5px 0;
    font-size: 14px;
}

.footer-note {
    font-size: 12px;
    color: #9ca3af;
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */
@media (max-width: 768px) {
    .descripcion-principal h1 {
        font-size: 32px;
    }

    .intro-text {
        font-size: 16px;
    }

    .aventuras-titulo {
        font-size: 28px;
    }

    .aventura-info h3 {
        font-size: 24px;
    }

    .aventura-detalle h1 {
        font-size: 32px;
    }

    .aventura-detalle h2 {
        font-size: 22px;
    }

    .aventura-importante {
        padding: 25px 20px;
    }

    .aventura-importante h2 {
        font-size: 24px;
    }

    .texto-destacado {
        font-size: 17px;
    }

    .aventura-acciones {
        flex-direction: column;
        gap: 15px;
    }

    .btn-aventura,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .descripcion-principal {
        padding: 20px 10px;
    }

    .aventura-info {
        padding: 20px;
    }

    .aventura-descripcion,
    .aventura-caracteristicas,
    .aventura-instrucciones,
    .aventura-requisitos,
    .aventura-highlights {
        padding: 20px;
    }

    .aventura-importante {
        padding: 20px 15px;
    }

    .aventura-importante h2 {
        font-size: 22px;
    }

    .texto-destacado {
        font-size: 16px;
    }
}

/* ============================================================================
   NUEVOS ESTILOS PARA PÁGINA PRINCIPAL
   ============================================================================ */

/* Secciones de instrucciones y requisitos en la página principal */
.como-participar,
.requisitos {
    background: #f9fafb;
    padding: 25px 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 4px solid #f59e0b;
}

.como-participar h2,
.requisitos h2 {
    color: #1e40af;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Miniaturas de aventuras lado a lado */
.aventuras-section {
    margin-top: 40px;
}

.aventuras-miniaturas {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.aventura-miniatura {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    padding-bottom: 20px;
}

.aventura-miniatura:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.aventura-miniatura img {
    width: 100%;
    height: auto;
    display: block;
}

.aventura-miniatura h3 {
    color: #1e3a8a;
    font-size: 22px;
    font-weight: 700;
    margin: 20px 15px 10px;
}

.aventura-miniatura p {
    color: #6b7280;
    font-size: 14px;
    margin: 0 15px 20px;
}

/* Responsive para miniaturas */
@media (max-width: 768px) {
    .aventuras-miniaturas {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ============================================================================
   VERSIONES PEQUEÑAS DE BANNER Y PORTADA PARA PÁGINAS DE DETALLE
   ============================================================================ */

.header-banner-small {
    margin-bottom: 20px;
}

.header-banner-small .banner-img {
    max-height: 120px;
    object-fit: cover;
    object-position: center;
}

.aventura-detalle-portada-small {
    margin-bottom: 25px;
}

.aventura-detalle-portada-small img {
    max-height: 300px;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .header-banner-small .banner-img {
        max-height: 80px;
    }

    .aventura-detalle-portada-small img {
        max-height: 200px;
    }
}

/* ============================================================================
   REGLAS DE CONCURSO
   ============================================================================ */
.reglas-concurso {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 4px solid #3b82f6;
}

.reglas-concurso h2 {
    color: #1e40af;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

.reglas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.regla-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.regla-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.regla-icono {
    display: block;
    font-size: 36px;
    margin-bottom: 10px;
}

.regla-titulo {
    display: block;
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.regla-valor {
    display: block;
    font-size: 18px;
    color: #1f2937;
    font-weight: 700;
}

.reglas-explicacion {
    background: white;
    padding: 20px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
    margin: 0;
    border-left: 3px solid #3b82f6;
}

/* Responsive para reglas */
@media (max-width: 768px) {
    .reglas-concurso {
        padding: 25px 20px;
    }

    .reglas-concurso h2 {
        font-size: 24px;
    }

    .reglas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .regla-card {
        padding: 15px;
    }

    .regla-icono {
        font-size: 28px;
    }

    .regla-titulo {
        font-size: 11px;
    }

    .regla-valor {
        font-size: 16px;
    }

    .reglas-explicacion {
        font-size: 14px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .reglas-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .regla-card {
        padding: 12px;
    }
}

/* ============================================================================
   LISTA DE TESOROS
   ============================================================================ */
.tesoros-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.tesoros-list li {
    margin-bottom: 15px;
}

.tesoros-list li:last-child {
    margin-bottom: 0;
}

.tesoros-list a {
    display: block;
    padding: 16px 20px;
    background: white;
    color: #1e40af;
    text-decoration: none;
    border-radius: 10px;
    border-left: 4px solid #f59e0b;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.tesoros-list a:hover {
    background: linear-gradient(135deg, #fff9e6 0%, #fef6e0 100%);
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
    border-left-width: 6px;
}

.tesoros-list a:active {
    transform: translateX(4px);
}

/* Responsive para lista de tesoros */
@media (max-width: 768px) {
    .tesoros-list a {
        padding: 14px 16px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .tesoros-list a {
        padding: 12px 14px;
        font-size: 14px;
    }

    .tesoros-list a:hover {
        transform: translateX(4px);
    }
}
