@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --color-principal: #6758ff;
    --fondo-pagina: #f1f1f1;
    --color-blanco: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--fondo-pagina);
    color: #333;
}

.cabecera-principal {
    background: rgb(3, 21, 156);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.fila-logo-principal {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    position: relative;
}

.zona-logo {
    text-align: center;
}

.texto-logo-grande {
    font-family: 'Georgia', cursive;
    font-style: italic;
    font-size: 30px;
    color: white;
    letter-spacing: 1px;
    line-height: 1.2;
    margin: 0;
    font-weight: normal;
}

.home-h1 {
    font-size: 30px;
    text-align: center;
}

.info-card li {
    margin-left: 30px;
}

.info-card p {
    text-align: left;
}

.zona-logo .etiqueta-sitio {
    display: inline-block;
    background: white;
    color: var(--color-principal);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 2px 7px;
    border-radius: 4px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.zona-logo .texto-guardar-marcador {
    font-size: 12px;
    opacity: 0.85;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.boton-menu-hamburguesa {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}

.boton-menu-hamburguesa span {
    display: block;
    width: 26px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: 0.3s;
}

.barra-compartir {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 20px 12px;
    flex-wrap: wrap;
}

.barra-compartir .texto-compartir {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
}

.barra-compartir a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    color: white;
    font-size: 15px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.barra-compartir a:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.barra-compartir a.btn-facebook {
    background: #1877f2;
}

.barra-compartir a.btn-twitter {
    background: #1da1f2;
}

.barra-compartir a.btn-email {
    background: #888;
}

.barra-compartir a.btn-whatsapp {
    background: #25d366;
}

.barra-compartir a.btn-telegram {
    background: #229ed9;
}

.franja-desplazante {
    overflow: hidden;
    background: rgba(0, 0, 0, 0.18);
    padding: 7px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.pista-desplazante {
    display: flex;
    white-space: nowrap;
    animation: moverTicker 32s linear infinite;
    gap: 60px;
}

.pista-desplazante span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: color 0.2s;
}

.pista-desplazante span:hover {
    color: #fff;
    text-decoration: underline dotted;
}

@keyframes moverTicker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.fondo-menu-lateral {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 2000;
}

.fondo-menu-lateral.visible {
    display: block;
}

.panel-menu-lateral {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 300px;
    height: 100%;
    background: var(--color-principal);
    z-index: 2001;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 0 0 30px;
}

.panel-menu-lateral.abierto {
    right: 0;
}

.encabezado-panel-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.encabezado-panel-menu .logo-panel-menu {
    font-family: 'Georgia', cursive;
    font-style: italic;
    font-size: 22px;
    color: white;
}

.boton-cerrar-panel {
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 2px 6px;
}

.etiqueta-logo-panel {
    background: white;
    color: var(--color-principal);
    font-size: 8px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 3px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2px;
    display: inline-block;
}

.lista-enlaces-menu {
    padding: 16px 16px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lista-enlaces-menu a {
    background: rgba(255, 255, 255, 0.15);
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 8px;
    transition: background 0.2s;
    white-space: nowrap;
}

.lista-enlaces-menu a:hover {
    background: rgba(255, 255, 255, 0.3);
}

.contenedor-entrada-sticky {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--fondo-pagina);
    padding: 12px 10px 8px;
}

.envoltorio-campo-texto {
    max-width: 970px;
    margin: 0 auto;
    position: relative;
}

#campoPrincipalTexto {
    width: 100%;
    padding: 15px 45px 15px 15px;
    font-size: 18px;
    border: 2px solid var(--color-principal);
    border-radius: 10px;
    outline: none;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background: white;
    resize: none;
    min-height: 60px;
}

.boton-limpiar-texto {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: #054ba6;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    color: #ffffff;
    font-size: 18px;
    transition: all 0.2s;
}

.boton-limpiar-texto:hover {
    background: #000000;
    color: #fff;
}

.contenedor-general {
    max-width: 970px;
    margin: 0 auto;
    padding: 10px;
}

.titulo-seccion-fuentes {
    text-transform: uppercase;
    font-size: 17px;
    margin: 20px 0 10px;
    text-align: left;
    color: #555;
    border-left: 4px solid var(--color-principal);
    padding-left: 10px;
}

.lista-tarjetas-fuentes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tarjeta-fuente-individual {
    background: var(--color-blanco);
    width: 49%;
    padding: 15px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    user-select: none;
    animation: fadeIn 0.4s ease-out;
}

.sentinel-scroll {
    height: 10px;
    width: 100%;
    margin-top: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tarjeta-fuente-individual:hover {
    background: #f0eeff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(103, 88, 255, 0.15);
}

.tarjeta-fuente-individual:active {
    transform: scale(0.98);
}

.tarjeta-fuente-individual span.etiqueta-categoria {
    color: #999;
    font-size: 11px;
    text-transform: uppercase;
}

.tarjeta-fuente-individual p {
    font-size: 20px;
    margin-top: 10px;
    word-break: break-all;
    pointer-events: none;
}

.acciones-tarjeta {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 8px;
}

.acciones-tarjeta button {
    border: none;
    background: none;
    cursor: pointer;
    color: #ccc;
    font-size: 18px;
    transition: 0.2s;
    position: relative;
    z-index: 2;
}

.acciones-tarjeta button:hover {
    color: var(--color-principal);
}

.acciones-tarjeta button.guardado {
    color: #ff4757;
}

.seccion-favoritos {
    background: #fff3cd;
    border-radius: 10px;
    padding: 10px;
    display: none;
    margin-bottom: 10px;
}

.aviso-copiado {
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 10px 30px;
    border-radius: 50px;
    display: none;
    z-index: 10000;
    font-size: 15px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .tarjeta-fuente-individual {
        width: 100%;
        padding: 12px;
    }

    .tarjeta-fuente-individual p {
        font-size: 18px;
    }

    .seccion-seo-landing h1 {
        font-size: 22px;
    }

    .seccion-seo-landing p {
        font-size: 14px;
    }

    .info-card {
        padding: 15px;
    }

    .footer-enlaces {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .barra-compartir {
        padding: 5px 10px 10px;
    }

    .texto-compartir {
        display: none;
    }

    .cabecera-principal {
        padding-bottom: 5px;
    }
}

.contenedor-informacion {
    max-width: 970px;
    margin: 30px auto;
    padding: 0 10px;
}

.info-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    line-height: 1.7;
    color: #444;
}

.info-card h2,
.info-card h3 {
    color: var(--color-principal);
    margin-top: 25px;
    text-align: center;
    margin-bottom: 15px;
}

.info-card h2:first-child {
    margin-top: 0;
}

.info-card p {
    margin-bottom: 15px;
}

.info-card ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.info-card ul li {
    margin-bottom: 8px;
}

.lista-categorias-seo {
    list-style: none !important;
    margin-left: 0 !important;
}

.lista-categorias-seo li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.lista-categorias-seo li::before {
    content: '➜';
    position: absolute;
    left: 0;
    color: var(--color-principal);
    font-weight: bold;
}

.img-responsive,
.info-card img {
    max-width: 650px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px auto;
    display: block;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.pie-pagina {
    background: rgb(3, 21, 156);
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    margin-top: 50px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

.footer-enlaces {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-enlaces a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
    font-size: 15px;
    font-weight: 500;
}

.footer-enlaces a:hover {
    color: white;
    transform: translateY(-2px);
}

.pie-pagina p {
    opacity: 0.8;
    font-size: 13px;
}

.btn-scroll-top {
    position: fixed;
    bottom: -60px;
    right: 20px;
    background: linear-gradient(135deg, var(--color-principal), #4f41dd);
    color: white;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(103, 88, 255, 0.4);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.btn-scroll-top.visible {
    bottom: 30px;
    opacity: 1;
    visibility: visible;
}

.btn-scroll-top:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(103, 88, 255, 0.5);
    background: linear-gradient(135deg, #4f41dd, var(--color-principal));
}

.seccion-seo-landing {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.seccion-seo-landing h1 {
    color: var(--color-principal);
    font-size: 28px;
    margin-bottom: 10px;
}

.seccion-seo-landing p {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}