:root {
    /* Fondos extraídos del tono carbón profundo del logo */
    --bg-main: #121214;         /* Fondo principal: Negro carbón oscuro y profundo */
    --bg-surface: #1a1a1e;      /* Superficie de tarjetas y contenedores */
    --bg-glass: rgba(26, 26, 30, 0.75); /* Efecto cristal para componentes flotantes */

    /* Colores principales de neón calibrados al logo */
    --primary: #15c5ad;/*#00f5d4;         /* Turquesa neón principal, ultra vibrante y limpio */
    --primary-glow: rgba(0, 245, 212, 0.25); /* Resplandor difuso para botones y bordes */
    --primary-hover: #00c4aa;   /* Tono para estados hover */

    /* Acento secundario (tomado del degradado magenta del borde del sombrero) */
    --accent: #f72585;          /* Fucsia/Magenta neón de alto impacto */
    --accent-glow: rgba(247, 37, 133, 0.25); /* Resplandor secundario */

    /* Tipografía y estructura */
    --text-main: #f8fafc;       /* Blanco ártico para máxima legibilidad */
    --text-muted: #94a3b8;      /* Gris técnico para textos secundarios */
    --border: #2a2a33;          /* Bordes sutiles oscuros con toque metálico */
    --border-active: #00f5d4;   /* Borde activo al enfocar elementos */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ==========================================
   ESTILOS COMPLETOS HEADER HATPROMPT
   ========================================== */

.site-header {
    background-color: rgba(10, 11, 16, 0.95);
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

/* Logo */
.brand-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 1px;
}

.brand-logo span {
    color: #00f3ff;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

/* Botón Hamburguesa */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
}

.hamburger-bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #00f3ff;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(0, 243, 255, 0.4);
}

/* Navegación Escritorio */
.navigation-menu {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navigation-menu a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease, text-shadow 0.2s ease;
    padding: 0.5rem 0;
    display: block;
}

.navigation-menu a:hover, 
.navigation-menu a.active {
    color: #00f3ff;
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.4);
}

/* Dropdown Escritorio */
.nav-dropdown {
    position: relative;
}

.nav-dropdown__button {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0;
    font-family: inherit;
    transition: color 0.2s ease;
}

.nav-dropdown__button:hover {
    color: #00f3ff;
}

.arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.nav-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #0d1117;
    border: 1px solid rgba(0, 243, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border-radius: 6px;
    min-width: 200px;
    padding: 0.5rem 0;
    list-style: none;
    z-index: 100;
}

.nav-dropdown .dropdown-menu li a {
    padding: 0.6rem 1.2rem;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.nav-dropdown .dropdown-menu li a:hover {
    background-color: rgba(0, 243, 255, 0.1);
    color: #00f3ff;
}

/* Hover en PC */
@media (min-width: 769px) {
    .nav-dropdown:hover .dropdown-menu {
        display: block;
    }
    .nav-dropdown:hover .arrow {
        transform: rotate(180deg);
    }
}


/* ==========================================
   RESPONSIVE (MÓVIL <= 768px)
   ========================================== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(10, 11, 16, 0.98);
        border-bottom: 1px solid rgba(0, 243, 255, 0.2);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8);
        display: none; /* Oculto por defecto */
    }

    /* Se muestra al pulsar el menú hamburguesa */
    .main-navigation.active {
        display: block;
    }

    .navigation-menu {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
        gap: 0.75rem;
        width: 100%;
    }

    .navigation-menu > li {
        width: 100%;
    }

    .navigation-menu a, .nav-dropdown__button {
        width: 100%;
        padding: 0.6rem 0;
        font-size: 1.05rem;
        justify-content: space-between;
    }

    /* Submenú móvil (Acordeón) */
    .nav-dropdown .dropdown-menu {
        display: none !important;
        position: static !important;
        background: rgba(0, 0, 0, 0.3);
        border: none !important;
        box-shadow: none !important;
        padding-left: 1.2rem;
        margin-top: 5px;
        width: 100%;
    }

    /* MAGIA DEL ACORDEÓN MÓVIL */
    .nav-dropdown.open .dropdown-menu {
        display: block !important;
    }

    .nav-dropdown.open .arrow {
        transform: rotate(180deg);
    }

    .nav-dropdown .dropdown-menu li a {
        padding: 0.5rem 0;
        color: #94a3b8;
    }
}

/**Finish header menu*/

/* Logotipo Estilizado Hprompt */
.brand-logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.brand-logo span {
    color: var(--primary); /* Utiliza la variable principal de tu sistema de diseño */
    text-shadow: 0 0 12px var(--primary-glow);
}


/* ==========================================
   ESTILOS DEL FOOTER Y COOKIES (hatprompt)
   ========================================== */

/* Banner de Consentimiento de Cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #121214;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
    z-index: 9999;
    padding: 1.2rem 2rem;
    backdrop-filter: blur(12px);
}

.cookie-banner-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-banner p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.cookie-banner p a {
    color: #38bdf8; /* Color cian armónico */
    text-decoration: underline;
}

.cookie-banner p a:hover {
    opacity: 0.8;
}

.btn-cookie-accept {
    background: #38bdf8;
    color: #0b0f19;
    border: none;
    padding: 0.6rem 1.4rem;
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.btn-cookie-accept:hover {
    opacity: 0.9;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
}

/* Pie de Página (Footer) */
.site-footer {
    background-color: #121214; /* Sincronizado exactamente con el header */
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2.5rem 2rem;
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.site-footer p {
    margin: 0;
}

.site-footer strong {
    color: #ffffff;
}

.legal-links {
    display: flex;
    gap: 1.8rem;
}

.legal-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-links a:hover {
    color: #38bdf8;
}

/* Diseño Adaptable (Móviles) */
@media (max-width: 768px) {
    .cookie-banner-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .btn-cookie-accept {
        width: 100%;
        text-align: center;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .legal-links {
        justify-content: center;
        width: 100%;
    }
}

/* ==========================================
   ESTILOS DE LA VISTA DE CONTACTO (hatprompt)
   ========================================== */
.contact-main {
    max-width: 650px;
    margin: 0 auto;
    padding: 4rem 1.5rem 5rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-box {
    width: 100%;
    background-color: #121214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-control {
    background-color: #0b0f19;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: var(--text-main);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.3);
}

.form-control::placeholder {
    color: #64748b;
}

.submit-btn {
    width: 100%;
    background: #38bdf8;
    color: #0b0f19;
    border: none;
    border-radius: 8px;
    padding: 0.9rem;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: opacity 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
    margin-top: 0.5rem;
}

.submit-btn:hover {
    opacity: 0.9;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.5);
}

/* Alertas de Estado (Éxito / Error) */
.alert-box {
    padding: 1rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.msg-success {
    background-color: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.msg-error {
    background-color: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* Diseño Adaptable (Móviles) */
@media (max-width: 768px) {
    .contact-box {
        padding: 1.5rem;
    }
}



/* ==========================================================================
   ESTILOS ADICIONALES Y COMPONENTES PRO - HATPROMPT
   ========================================================================== */

/* Contenedor Principal */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    flex: 1;
    width: 100%;
}

/* Anuncios Mock Pro */
.ads-wrapper-global {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
}
.ads-box-mock {
    background: var(--bg-surface);
    border: 1px dashed var(--border);
    color: var(--text-muted);
    padding: 0.8rem 2rem;
    font-size: 0.85rem;
    border-radius: 8px;
    text-align: center;
    letter-spacing: 0.5px;
    width: 100%;
    max-width: 728px;
}

/* Hero Showcase */
.hero-showcase {
    text-align: center;
    padding: 4rem 1rem 3rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 245, 212, 0.08);
    border: 1px solid rgba(0, 245, 212, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary);
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    max-width: 900px;
    letter-spacing: -0.02em;
}

.magic-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px var(--primary-glow);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 680px;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Botones Pro */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: #121214;
    box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--primary-glow);
}

.btn-secondary {
    background-color: var(--bg-surface);
    color: var(--text-main);
    border: 1px solid var(--border);
}
.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Sección de Pilares / Post-it Cards */
.content-pillars {
    margin: 4rem 0 2rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-muted);
}

.postit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 2rem;
}

/* Estilo Tarjeta Post-it Digital Pro */
.postit-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.2rem 1.8rem;
    position: relative;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    overflow: hidden;
}

.postit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

/* Variantes de Color Post-it */
.postit-cyan::before { background-color: var(--primary); }
.postit-cyan:hover { border-color: var(--primary); box-shadow: 0 15px 35px var(--primary-glow); }

.postit-magenta::before { background-color: var(--accent); }
.postit-magenta:hover { border-color: var(--accent); box-shadow: 0 15px 35px var(--accent-glow); }

.postit-purple::before { background-color: #7209b7; }
.postit-purple:hover { border-color: #7209b7; box-shadow: 0 15px 35px rgba(114, 9, 183, 0.25); }

.postit-pin {
    position: absolute;
    top: 12px;
    right: 15px;
    width: 10px;
    height: 10px;
    background: var(--text-muted);
    border-radius: 50%;
    box-shadow: inset 0 2px 3px rgba(0,0,0,0.5);
}

.postit-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.postit-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

.postit-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex: 1;
}

.postit-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.2s ease;
}
.postit-link:hover {
    gap: 0.6rem;
}

/* Features Grid Inferior */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 4rem 0 2rem 0;
}

.feature-card {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    padding: 1.8rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-active);
}

.feature-icon {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ==========================================================================
   ESTILOS DE TABLERO Y POST-ITS MÁGICOS (COPY & PASTE)
   ========================================================================== */

.postit-board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

/* Estilo Base del Post-it */
.postit-note {
    background: linear-gradient(135deg, #22222b 0%, #1a1a22 100%);
    border: 1px solid var(--border);
    border-top: 4px solid var(--primary);
    border-radius: 6px;
    padding: 1.8rem 1.4rem 1.4rem 1.4rem;
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
}

/* Efecto Hover Pro */
.postit-note:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 15px 35px var(--primary-glow);
    z-index: 10;
}

/* Rotaciones sutiles para que se vean naturales y divertidos */
.note-rot-1 { transform: rotate(-1.5deg); }
.note-rot-2 { transform: rotate(1deg); border-top-color: var(--accent); }
.note-rot-3 { transform: rotate(-0.8deg); border-top-color: #7209b7; }
.note-rot-4 { transform: rotate(1.2deg); border-top-color: #ffb703; }

/* Chincheta de mapa realista */
.pin {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background: radial-gradient(circle at 30% 30%, #ff4d4d, #b30000);
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0,0,0,0.6), inset 0 2px 2px rgba(255,255,255,0.4);
    z-index: 5;
}
.pin::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 6px;
    background: #666;
}

.note-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.postit-note p {
    color: var(--text-main);
    font-size: 0.92rem;
    line-height: 1.45;
    margin-bottom: 1rem;
}

.copy-hint {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.postit-note:hover .copy-hint {
    opacity: 1;
}

/* Notificación flotante de copiado exitoso */
.copy-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: #121214;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 10px 30px var(--primary-glow);
    z-index: 9999;
    animation: fadeInOut 2.5s ease forwards;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(20px); }
    15% { opacity: 1; transform: translateY(0); }
    85% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(20px); }
}

/* ==========================================================================
   ESTILOS ADICIONALES PARA TARJETAS Y MODAL POST-IT GIGANTE
   ========================================================================== */

.postit-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.copy-hint, .view-btn {
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.copy-hint { color: var(--primary); }
.view-btn { color: var(--text-muted); }

.copy-hint:hover, .view-btn:hover {
    opacity: 0.8;
    color: var(--text-main);
}

/* Fondo Oscuro Difuminado del Modal (Backdrop) Prompt*/
.modal-overlay-prompt {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 13, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
}

.modal-overlay-prompt.active {
    opacity: 1;
    visibility: visible;
}

/* Estilo del Post-it Gigante en el Modal */
.modal-postit {
    background: linear-gradient(145deg, #1d1d26 0%, #14141a 100%);
    border: 1px solid var(--border);
    border-top: 6px solid var(--primary);
    border-radius: 12px;
    padding: 2.8rem 2.2rem 2.2rem 2.2rem;
    width: 100%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,0.7), 0 0 40px var(--primary-glow);
    transform: scale(0.9) rotate(-1deg);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay-prompt.active .modal-postit {
    transform: scale(1) rotate(0deg);
}

/* Chincheta de mapa gigante para el modal */
.modal-pin {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: radial-gradient(circle at 30% 30%, #ff4d4d, #b30000);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.8), inset 0 3px 3px rgba(255,255,255,0.4);
    z-index: 10;
}
.modal-pin::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 10px;
    background: #555;
}

/* Botón de cerrar X */
.modal-closePromt {
    position: absolute;
    top: 15px;
    right: 18px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s;
}
.modal-closePromt:hover {
    color: var(--text-main);
}

.modal-postit h3 {
    font-size: 1.6rem;
    margin: 0.5rem 0 1.2rem 0;
    color: var(--text-main);
}

.modal-content-boxPrompt {
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.2rem;
    margin-bottom: 1.8rem;
    max-height: 250px;
    overflow-y: auto;
}

.modal-content-boxPrompt p {
    color: var(--text-main);
    font-size: 1.05rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
}



/* ==========================================
   SCROLLBAR PERSONALIZADO (hatprompt)
   ========================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0b0f19;
}

::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 4px;
    border: 2px solid #0b0f19;
}

::-webkit-scrollbar-thumb:hover {
    background: #38bdf8;
}

/* ==========================================
   LÍNEA DE CARGA SUPERIOR (Scroll Progress)
   ========================================== */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    width: 0%;
    z-index: 99999;
    transition: opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

#scroll-progress.visible {
    opacity: 1;
}

/* ==========================================
   BOTÓN VOLVER ARRIBA (Back to Top)
   ========================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 4rem;
    right: 2rem;
    background-color: #121214;
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background-color: #38bdf8;
    color: #0b0f19;
    border-color: #38bdf8;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

/* ==========================================
   HEADER Y NAVEGACIÓN (hatprompt)
   ========================================== */
.site-header {
    background-color: rgba(18, 18, 20, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

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

.brand-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.brand-logo span {
    color: #38bdf8; /* Acento cYAn característico */
}


/* ==========================================
   ESTILOS DE LA VISTA 404 (hatprompt)
   ========================================== */
.error-main {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    text-align: center;
}

.error-system-container {
    max-width: 600px;
    background-color: #121214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 3.5rem 2.5rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.error-code {
    display: block;
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.error-system-container h1 {
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.error-system-container p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
}

.btn-primary {
    background-color: #38bdf8;
    color: #0b0f19;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
    opacity: 0.9;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.5);
    transform: translateY(-2px);
}

/* ==========================================================
   MODO APP-LIKE MÓVIL (Activado mediante Media Query)
   ========================================================== */
@media (max-width: 768px) {
    /* 1. Reseteamos cualquier altura forzada para que el documento crezca de tamaño de forma natural */
    html, body {
        height: auto !important;
        min-height: 100% !important;
        overflow-y: auto !important; /* Scroll completamente normal y fluido */
        overflow-x: hidden;
    }

    /* 2. Aseguramos que el body sea un flujo normal (bloque), no un flex rígido */
    body {
        display: block !important;
        position: relative;
    }

    /* 3. Damos espacio al final del contenido principal para que la barra inferior flotante no tape nada */
    .main-content {
        padding-bottom: 7rem !important; /* Espacio generoso para que el footer y el último post-it respiren */
    }

    /* 4. El footer aparece abajo de todo de forma natural al hacer scroll al fondo */
    .site-footer {
        display: block !important;
        position: relative !important;
        z-index: 10;
    }

    /* 5. La barra inferior se queda fija pegada al borde inferior de la pantalla del móvil */

}

/* ==========================================================
   NAVEGACIÓN INFERIOR MÓVIL (BOTTOM BAR - ESTILO APP)
   ========================================================== */
/* Por defecto en PC está oculta */
.mobile-bottom-bar {
    display: none;
}

@media (max-width: 768px) {
    /* Ajustamos el body o contenedor principal para que la barra no tape el contenido final */
    .main-content {
        padding-bottom: 5.5rem; 
    }

    /* Estilos de la Barra Inferior App-Like con Degradado Elegante */
    .mobile-bottom-bar {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 65px;
        
        /* Fondo degradado elegante translúcido (oscuro con matiz azulado/cian profundo) */
        background: linear-gradient(
            180deg, 
            rgba(10, 11, 16, 0.85) 0%, 
            rgba(13, 20, 35, 0.95) 100%
        );
        
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        
        /* Borde superior sutil con brillo cian ciberpunk */
        border-top: 1px solid rgba(0, 243, 255, 0.2);
        box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(0, 243, 255, 0.1);
        
        z-index: 1000;
        padding-bottom: env(safe-area-inset-bottom); /* Soporte perfecto para iPhone con barra gestual */
    }

    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1;
        text-decoration: none;
        color: #64748b; /* Tono inactivo más sutil y elegante */
        font-size: 0.7rem;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
    }

    .bottom-nav-icon {
        font-size: 1.25rem;
        margin-bottom: 3px;
        transition: transform 0.25s ease;
    }

    .bottom-nav-label {
        font-weight: 500;
        letter-spacing: 0.3px;
    }

    /* Efecto indicador superior sutil para el elemento activo */
    .bottom-nav-item.active::before {
        content: '';
        position: absolute;
        top: 0;
        width: 25px;
        height: 3px;
        background: #00f3ff;
        border-radius: 0 0 3px 3px;
        box-shadow: 0 0 8px rgba(0, 243, 255, 0.8);
    }

    /* Estado activo o al tocar con resplandor neón */
    .bottom-nav-item.active,  
    .bottom-nav-item:hover {
        color: #00f3ff; /* Cian brillante HatPrompt */
        text-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
    }

    .bottom-nav-item.active .bottom-nav-icon,
    .bottom-nav-item:hover .bottom-nav-icon {
        transform: translateY(-3px); /* Pequeño salto elegante de app móvil */
    }
}

/* Estilos específicos del Panel de Administración */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.user-tag {
    font-size: 0.95rem;
    color: var(--text-muted);
}
.user-tag strong { color: var(--primary); }
.logout-link {
    color: #f87171;
    text-decoration: none;
    margin-left: 1rem;
    font-weight: 500;
}
.logout-link:hover { text-decoration: underline; }

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}
@media (min-width: 992px) {
    .dashboard-grid { grid-template-columns: 350px 1fr; }
}

.manager-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 12px;
    height: fit-content;
}
.manager-card h3 { margin-bottom: 1.5rem; font-size: 1.25rem; }

.form-group-admin { margin-bottom: 1.2rem; }
.form-group-admin label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.4rem; }
.input-admin, .select-admin {
    width: 100%;
    padding: 0.7rem 0.9rem;
    background-color: var(--bg-main);
    border: 1px solid var(--border);
    color: var(--text-main);
    border-radius: 6px;
    font-size: 0.95rem;
}
.input-admin:focus, .select-admin:focus { outline: none; border-color: var(--primary); }

.btn-add-link {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--accent);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s;
}
.btn-add-link:hover { opacity: 0.9; }

/* Tabla */
.table-container {
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
}

.table-responsive {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.table-responsive th {
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--text-main);
    padding: 1.1rem 1rem;
    border-bottom: 2px solid var(--border);
    font-weight: 600;
}

.table-responsive td {
    padding: 1.1rem 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    vertical-align: middle;
}

@media screen and (max-width: 768px) {
    .table-responsive, 
    .table-responsive thead, 
    .table-responsive tbody, 
    .table-responsive th, 
    .table-responsive td, 
    .table-responsive tr { 
        display: block; 
    }
    
    .table-responsive thead tr { 
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .table-responsive tr {
        border-bottom: 2px solid var(--border);
        padding: 1rem 0;
        background-color: rgba(255, 255, 255, 0.01);
    }
    
    .table-responsive tr:last-child {
        border-bottom: none;
    }
    
    .table-responsive td { 
        border: none;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
        position: relative;
        padding-left: 45% !important;
        text-align: right;
        min-height: 45px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
    
    .table-responsive td:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }
    
    .table-responsive td:before { 
        content: attr(data-label);
        position: absolute;
        left: 1rem;
        width: 40%; 
        padding-right: 10px; 
        white-space: nowrap;
        text-align: left;
        font-weight: 700;
        color: var(--text-main);
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .url-truncate {
        max-width: 180px;
    }

    .action-buttons-group {
        justify-content: flex-end;
    }
}

.table-scroll-wrapper {
    max-height: 400px;
    overflow-y: auto;
    width: 100%;
}

.table-scroll-wrapper::-webkit-scrollbar { width: 6px; }
.table-scroll-wrapper::-webkit-scrollbar-track { background: var(--bg-surface); }
.table-scroll-wrapper::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* Menú de Pestañas (Tabs) Administrativo */
.admin-navigation-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
    overflow-x: auto;
}
.tab-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.7rem 1.5rem;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.tab-btn:hover { color: var(--text-main); background: rgba(255,255,255,0.02); }
.tab-btn.active-tab {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 -4px 12px rgba(157, 78, 221, 0.2);
}

.admin-panel-section { display: none; }
.admin-panel-section.active-section { display: block; }

.status-badge { padding: 0.25rem 0.6rem; border-radius: 4px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.status-active { background-color: rgba(16, 185, 129, 0.15); color: #34d399; }
.status-inactive { background-color: rgba(239, 68, 68, 0.15); color: #f87171; }

.alert-box-admin { padding: 1rem; border-radius: 8px; margin-bottom: 1.5rem; font-size: 0.95rem; text-align: center; }
.admin-error { background-color: rgba(239, 68, 68, 0.1); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.2); }
.admin-success { background-color: rgba(16, 185, 129, 0.1); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.2); }

.url-truncate { max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block; }

.action-buttons-group {
    display: flex;
    gap: 0.5rem;
}
.btn-action-edit, .btn-action-delete {
    background: var(--bg-main);
    border: 1px solid var(--border);
    cursor: pointer;
    padding: 0.4rem;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: background 0.2s;
}
.btn-action-edit:hover { background: rgba(59, 130, 246, 0.2); }
.btn-action-delete:hover { background: rgba(239, 68, 68, 0.2); }

/* Ventana Modal CSS Premium */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    z-index: 1000;
}
.modal-content-box {
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 12px;
    width: 100%; max-width: 480px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}
.modal-content-box h3 { margin-bottom: 1.5rem; }
.modal-actions-wrapper {
    display: flex; justify-content: flex-end; gap: 1rem; margin-top: 1.5rem;
}

/* Estadísticas */
.analytics-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.analytics-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.card-icon {
    font-size: 2rem;
    background-color: var(--bg-main);
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--border);
}
.card-data {
    display: flex;
    flex-direction: column;
}
.card-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.card-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-main);
    margin-top: 0.2rem;
}

/* ==========================================================
   1. NAVEGACIÓN SUPERIOR Y BREADCRUMB (GENERAL)
   ========================================================== */
.article-top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.btn-top-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted, #94a3b8);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-top-back:hover {
    background: rgba(0, 243, 255, 0.1);
    color: var(--accent, #00f3ff);
    border-color: rgba(0, 243, 255, 0.3);
}

.post-breadcrumb {
    font-size: 0.9rem;
    color: var(--text-muted, #94a3b8);
}

.post-breadcrumb a {
    color: var(--text-muted, #94a3b8);
    text-decoration: none;
}

.post-breadcrumb a:hover {
    color: var(--accent, #00f3ff);
}

.post-breadcrumb span {
    color: var(--text-main, #f8fafc);
    font-weight: 500;
}

/* ==========================================================
   ESTILOS GENERALES DE LA PÁGINA DEL BLOG
   ========================================================== */
.blog-page-container {
    width: 100%;
}

/* Encabezado SEO del Blog */
.blog-header-section {
    text-align: center;
    margin-bottom: 2.5rem;
}

.blog-main-title {
    font-weight: 800;
    color: var(--text-main, #f8fafc);
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.blog-subtitle {
    color: var(--text-muted, #94a3b8);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contenedor de Anuncios Adsense */
.ads-wrapper-global {
    margin: 2rem auto;
    display: flex;
    justify-content: center;
    width: 100%;
}

.ads-box-mock {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    color: var(--text-muted, #94a3b8);
    width: 100%;
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-family: monospace;
}

/* Estado Vacío */
.blog-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    color: var(--text-muted, #94a3b8);
}

/* Contenedor de Paginación */
.blog-pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}


/* ==========================================================
   1. ESTILOS DE ESCRITORIO (PC) - BLOG
   ========================================================== */
@media (min-width: 769px) {
    .blog-page-container {
        max-width: 1100px;
        margin: 0 auto;
        padding: 2.5rem 1.5rem;
    }

    .blog-main-title {
        font-size: 2.5rem !important;
    }

    .blog-subtitle {
        font-size: 1.1rem;
    }

    /* Rejilla de Artículos (Grid de 3 columnas para PC) */
    .blog-grid-layout {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    /* Tarjeta de Artículo Individual */
    .blog-card {
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 20px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        transition: all 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    }

    .blog-card:hover {
        transform: translateY(-6px);
        border-color: var(--accent, #00f3ff);
        box-shadow: 0 15px 35px rgba(0, 243, 255, 0.12);
    }

    /* Imagen superior de la tarjeta con esquinas redondeadas estéticas */
    .blog-card-media {
        width: 100%;
        height: 200px;
        overflow: hidden;
        background: var(--bg-main);
        position: relative;
    }

    .blog-card-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    .blog-card:hover .blog-card-media img {
        transform: scale(1.05);
    }

    /* Cuerpo de la tarjeta */
    .blog-card-body {
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        justify-content: space-between;
    }

    .blog-card-date {
        font-size: 0.8rem;
        color: var(--accent, #00f3ff);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 0.6rem;
        display: inline-block;
    }

    .blog-card-title {
        font-size: 1.25rem !important;
        font-weight: 700 !important;
        color: var(--text-main, #f8fafc);
        line-height: 1.35;
        margin-bottom: 0.75rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .blog-card-desc {
        font-size: 0.93rem !important;
        color: var(--text-muted, #94a3b8);
        line-height: 1.6;
        margin-bottom: 1.5rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Pie de tarjeta / Botón Leer Más */
    .blog-card-footer {
        margin-top: auto;
    }

    .blog-card-btn {
        display: block;
        text-align: center;
        width: 100%;
        padding: 0.75rem 1rem;
        background: rgba(255, 255, 255, 0.03);
        color: var(--text-main, #f8fafc);
        border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
        border-radius: 12px;
        font-size: 0.9rem;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .blog-card-btn:hover {
        background: var(--accent, #00f3ff);
        color: #000;
        border-color: var(--accent, #00f3ff);
    }
}


/* ==========================================================
   2. ESTILOS DE MÓVIL (PANTALLAS PEQUEÑAS) - BLOG
   ========================================================== */
@media (max-width: 768px) {
    .blog-page-container {
        padding: 1rem 0.5rem 2.5rem 0.5rem;
    }

    .blog-header-section {
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }

    .blog-main-title {
        font-size: 1.75rem !important;
    }

    .blog-subtitle {
        font-size: 0.95rem;
    }

    /* Rejilla de Artículos (Una sola columna fluida en móvil) */
    .blog-grid-layout {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }

    /* Tarjeta de Artículo Individual en Móvil (Estilo Horizontal Compacto o Tarjeta Limpia Vertical) */
    .blog-card {
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    }

    .blog-card-media {
        width: 100%;
        height: 180px;
        overflow: hidden;
        background: var(--bg-main);
    }

    .blog-card-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .blog-card-body {
        padding: 1.2rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .blog-card-date {
        font-size: 0.75rem;
        color: var(--accent);
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 0.4rem;
    }

    .blog-card-title {
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        color: var(--text-main);
        line-height: 1.35;
        margin-bottom: 0.5rem;
    }

    .blog-card-desc {
        font-size: 0.88rem !important;
        color: var(--text-muted);
        line-height: 1.5;
        margin-bottom: 1rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .blog-card-footer {
        margin-top: auto;
    }

    .blog-card-btn {
        display: block;
        text-align: center;
        width: 100%;
        padding: 0.7rem;
        background: rgba(255, 255, 255, 0.04);
        color: var(--text-main);
        border: 1px solid var(--border);
        border-radius: 10px;
        font-size: 0.88rem;
        font-weight: 600;
        text-decoration: none;
    }
}

/* ==========================================================
   2. ESTILOS DE ESCRITORIO (PC)
   ========================================================== */
@media (min-width: 769px) {
    .article-clean-container {
        max-width: 820px;
        margin: 0 auto;
        padding: 2rem 1.5rem;
    }

    .post-content-card {
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0;
    }

    .app-image-wrapper {
        position: relative;
        width: 100%;
        max-height: 450px;
        overflow: hidden;
        background-color: var(--bg-main);
        border-radius: 20px;
        margin-bottom: 2rem;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    }

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

    .mobile-floating-back-btn {
        display: none !important;
    }

    .post-header {
        padding: 0 0 1.5rem 0;
    }

    .post-meta-info {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.8rem;
        font-size: 0.9rem;
    }

    .post-date {
        color: var(--accent, #00f3ff);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .post-tag {
        background: rgba(0, 243, 255, 0.1);
        color: var(--accent, #00f3ff);
        padding: 0.25rem 0.8rem;
        border-radius: 20px;
        font-weight: 600;
        border: 1px solid rgba(0, 243, 255, 0.25);
        font-size: 0.8rem;
    }

    .post-title {
        font-size: 2.4rem !important;
        font-weight: 800 !important;
        color: var(--text-main, #f8fafc);
        line-height: 1.25;
        letter-spacing: -0.5px;
    }

    .post-body {
        padding: 0;
    }

    .post-description, .post-text-content p {
        font-size: 1.25rem;
        line-height: 1.6;
        font-weight: 400;
        margin-bottom: 1.8rem;
    }

    .post-text-content .post-lead {
        font-size: 1.25rem !important;
        line-height: 1.85 !important;
        color: var(--text-main, #f8fafc) !important;
        font-weight: 500;
        margin-bottom: 2.5rem;
        border-left: 4px solid var(--accent, #00f3ff);
        padding-left: 1.25rem;
    }

    .post-text-content h2 {
        font-size: 1.7rem !important;
        font-weight: 700 !important;
        color: var(--text-main, #f8fafc);
        margin: 2.8rem 0 1.2rem 0;
    }

    .post-text-content h3 {
        font-size: 1.35rem !important;
        font-weight: 700 !important;
        color: var(--accent, #00f3ff);
        margin: 2.2rem 0 1rem 0;
    }

    .post-text-content code {
        background: rgba(0, 243, 255, 0.08);
        color: var(--accent, #00f3ff);
        padding: 0.25rem 0.5rem;
        border-radius: 6px;
        font-size: 0.95rem;
        font-family: monospace;
        border: 1px solid rgba(0, 243, 255, 0.15);
    }

    .post-text-content .code-callout-box {
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
        border-left: 4px solid var(--accent, #00f3ff);
        padding: 1.5rem;
        border-radius: 14px;
        margin: 2.5rem 0;
    }

    .code-wrapper {
        background: #0d1117;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        margin: 3rem 0;
        overflow: hidden;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    }

    .terminal-header {
        background: #161b22;
        padding: 0.85rem 1.25rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .terminal-header .dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        display: inline-block;
    }

    .terminal-header .dot.red { background: #ff5f56; }
    .terminal-header .dot.yellow { background: #ffbd2e; }
    .terminal-header .dot.green { background: #27c93f; }

    .terminal-header .filename {
        margin-left: 0.75rem;
        font-size: 0.85rem;
        color: #8b949e;
        font-family: monospace;
    }

    .code-wrapper pre {
        padding: 1.5rem;
        overflow-x: auto;
        margin: 0;
    }

    .code-wrapper pre code {
        background: transparent !important;
        border: none !important;
        color: #e6edf3 !important;
        font-size: 0.92rem !important;
        line-height: 1.7;
        font-family: monospace;
    }

    .post-back-action {
        padding: 2.5rem 0 1rem 0;
    }

    .btn-back-blog {
        display: inline-block;
        padding: 0.8rem 1.8rem;
        background: rgba(255, 255, 255, 0.05);
        color: var(--text-main, #f8fafc);
        border: 1px solid var(--border, rgba(255, 255, 255, 0.15));
        text-decoration: none;
        font-weight: 600;
        border-radius: 12px;
        transition: all 0.2s ease;
    }

    .btn-back-blog:hover {
        background: var(--accent, #00f3ff);
        color: #000;
        border-color: var(--accent, #00f3ff);
    }

    /* Estilos Escritorio - Posts Relacionados (Grid de 2 columnas) */
    .related-posts-section {
        margin-top: 4rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 2.5rem;
    }

    .related-header-flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
    }

    .related-section-title {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--text-main, #f8fafc);
    }

    .related-see-all {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--accent, #00f3ff);
        text-decoration: none;
    }

    .related-see-all:hover {
        text-decoration: underline;
    }

    .related-posts-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .related-card {
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        overflow: hidden;
        text-decoration: none;
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
    }

    .related-card:hover {
        transform: translateY(-4px);
        border-color: var(--accent, #00f3ff);
        box-shadow: 0 10px 25px rgba(0, 243, 255, 0.15);
    }

    .related-image-box {
        position: relative;
        width: 100%;
        height: 180px;
        overflow: hidden;
        background: var(--bg-main);
    }

    .related-image-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

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

    .related-badge {
        position: absolute;
        top: 10px;
        right: 10px;
        background: rgba(10, 11, 16, 0.75);
        backdrop-filter: blur(6px);
        color: var(--accent, #00f3ff);
        font-size: 0.7rem;
        font-weight: 700;
        padding: 0.2rem 0.6rem;
        border-radius: 20px;
        border: 1px solid rgba(0, 243, 255, 0.3);
    }

    .related-content-box {
        padding: 1.25rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex-grow: 1;
    }

    .related-post-title {
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--text-main, #f8fafc);
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }

    .related-date {
        font-size: 0.8rem;
        color: var(--text-muted, #94a3b8);
    }
}

/* ==========================================================
   3. ESTILOS DE MÓVIL (PANTALLAS PEQUEÑAS)
   ========================================================== */
@media (max-width: 768px) {
    .post-breadcrumb {
        display: none !important;
    }

    .article-top-nav {
        justify-content: flex-start;
        margin-bottom: 1rem;
    }

    .btn-top-back {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        background: rgba(10, 11, 16, 0.6);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }

    .article-clean-container {
        padding: 0 0.5rem 2rem 0.5rem;
    }

    .post-content-card {
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        margin: 0;
        padding: 0;
    }

    .app-image-wrapper {
        position: relative;
        width: 100%;
        max-height: 320px;
        overflow: hidden;
        background-color: var(--bg-main);
        border-radius: 20px;
        margin-bottom: 1.5rem;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
    }

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

    .mobile-floating-back-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 1rem;
        left: 1rem;
        width: 40px;
        height: 40px;
        background: rgba(10, 11, 16, 0.75);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        color: #ffffff;
        border: 1px solid rgba(0, 243, 255, 0.3);
        border-radius: 50%;
        font-size: 1.2rem;
        text-decoration: none;
        z-index: 10;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    }

    .post-header {
        padding: 0 0.5rem 1rem 0.5rem !important;
    }

    .post-meta-info {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.6rem;
        font-size: 0.85rem;
    }

    .post-date {
        color: var(--accent);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .post-tag {
        background: rgba(0, 243, 255, 0.1);
        color: var(--accent);
        padding: 0.2rem 0.7rem;
        border-radius: 20px;
        font-weight: 600;
        border: 1px solid rgba(0, 243, 255, 0.2);
        font-size: 0.75rem;
    }

    .post-title {
        font-size: 1.75rem !important;
        font-weight: 800 !important;
        color: var(--text-main);
        line-height: 1.25;
        letter-spacing: -0.5px;
    }

    .post-body {
        padding: 0 0.5rem !important;
    }

    .post-description, .post-text-content p {
        color: var(--text-muted);
        font-size: 1rem !important;
        line-height: 1.75 !important;
        margin-bottom: 1.5rem;
    }

    .post-text-content .post-lead {
        font-size: 1.15rem !important;
        line-height: 1.8 !important;
        color: var(--text-main) !important;
        font-weight: 500;
        margin-bottom: 2rem;
        border-left: 3px solid var(--accent);
        padding-left: 1rem;
    }

    .post-text-content h2 {
        font-size: 1.4rem !important;
        font-weight: 700 !important;
        color: var(--text-main);
        margin: 2.2rem 0 1rem 0;
    }

    .post-text-content h3 {
        font-size: 1.15rem !important;
        font-weight: 700 !important;
        color: var(--accent);
        margin: 1.8rem 0 0.8rem 0;
    }

    .post-text-content code {
        background: rgba(0, 243, 255, 0.08);
        color: var(--accent);
        padding: 0.2rem 0.4rem;
        border-radius: 6px;
        font-size: 0.9rem;
        font-family: monospace;
        border: 1px solid rgba(0, 243, 255, 0.15);
    }

    .post-text-content .code-callout-box {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid var(--border);
        border-left: 4px solid var(--accent);
        padding: 1.25rem;
        border-radius: 12px;
        margin: 2rem 0;
    }

    .code-wrapper {
        background: #0d1117;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 14px;
        margin: 2.5rem 0;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .terminal-header {
        background: #161b22;
        padding: 0.75rem 1rem;
        display: flex;
        align-items: center;
        gap: 0.4rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .terminal-header .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        display: inline-block;
    }

    .terminal-header .dot.red { background: #ff5f56; }
    .terminal-header .dot.yellow { background: #ffbd2e; }
    .terminal-header .dot.green { background: #27c93f; }

    .terminal-header .filename {
        margin-left: 0.5rem;
        font-size: 0.8rem;
        color: #8b949e;
        font-family: monospace;
    }

    .code-wrapper pre {
        padding: 1.25rem;
        overflow-x: auto;
        margin: 0;
    }

    .code-wrapper pre code {
        background: transparent !important;
        border: none !important;
        color: #e6edf3 !important;
        font-size: 0.88rem !important;
        line-height: 1.6;
        font-family: monospace;
    }

    .post-back-action {
        padding: 2rem 0.5rem 1rem 0.5rem !important;
    }

    .btn-back-blog {
        display: block;
        text-align: center;
        padding: 0.9rem;
        background: rgba(255, 255, 255, 0.05);
        color: var(--text-main);
        border: 1px solid var(--border);
        text-decoration: none;
        font-weight: 600;
        border-radius: 12px;
    }

    /* Estilos Móvil - Posts Relacionados (En columna fluida y estética) */
    .related-posts-section {
        margin-top: 3rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-top: 2rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .related-header-flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.2rem;
    }

    .related-section-title {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--text-main);
    }

    .related-see-all {
        font-size: 0.85rem;
        color: var(--accent);
        text-decoration: none;
        font-weight: 600;
    }

    .related-posts-grid {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
    }

    .related-card {
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        overflow: hidden;
        text-decoration: none;
        display: flex;
        flex-direction: row; /* En móvil se ve tipo lista compacta o tarjeta horizontal muy limpia */
        align-items: center;
    }

    .related-image-box {
        position: relative;
        width: 120px;
        min-width: 120px;
        height: 100px;
        overflow: hidden;
        background: var(--bg-main);
    }

    .related-image-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .related-badge {
        display: none; /* Ocultamos el badge en móvil para mantenerlo minimalista */
    }

    .related-content-box {
        padding: 0.75rem 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex-grow: 1;
    }

    .related-post-title {
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--text-main);
        line-height: 1.35;
        margin-bottom: 0.4rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .related-date {
        font-size: 0.75rem;
        color: var(--text-muted);
    }
}

/*Estilos varita*/
.wand-page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: inherit;
}

/* Header Estilo Mágico */
.wand-hero {
    text-align: center;
    margin-bottom: 2.5rem;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    padding: 3rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}
.wand-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.wand-hero p {
    color: #94a3b8;
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto;
}

/* Buscador y Filtros App-Like */
.wand-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}
@media(min-width: 768px) {
    .wand-controls {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}
.wand-search-box {
    position: relative;
    flex: 1;
}
.wand-search-input {
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.9rem 1rem 0.9rem 2.8rem;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}
.wand-search-input:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}
.wand-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
}

.wand-filters {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}
.wand-filter-btn {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s;
}
.wand-filter-btn:hover, .wand-filter-btn.active {
    background: #8b5cf6;
    color: #fff;
    border-color: #8b5cf6;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
}

/* Rejilla de Prompts (Tarjetas tipo Post-it / App) */
.wand-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media(min-width: 768px) {
    .wand-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media(min-width: 1024px) {
    .wand-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.wand-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.wand-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 10px 30px -10px rgba(139, 92, 246, 0.2);
}
.wand-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.wand-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-chatgpt { background: rgba(16, 163, 127, 0.2); color: #10a37f; border: 1px solid rgba(16, 163, 127, 0.3); }
.badge-claude { background: rgba(217, 119, 6, 0.2); color: #fbbf24; border: 1px solid rgba(217, 119, 6, 0.3); }
.badge-gemini { background: rgba(59, 130, 246, 0.2); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }

.wand-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}
.wand-card-desc {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Caja de código / prompt rápido */
.wand-code-box {
    background: #090d16;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 0.9rem;
    font-family: monospace;
    font-size: 0.85rem;
    color: #e2e8f0;
    max-height: 120px;
    overflow-y: auto;
    margin-bottom: 1rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.wand-copy-btn {
    width: 100%;
    background: #8b5cf6;
    color: #fff;
    border: none;
    padding: 0.75rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.2s, transform 0.1s;
}
.wand-copy-btn:hover {
    background: #7c3aed;
}
.wand-copy-btn:active {
    transform: scale(0.98);
}
.wand-copy-btn.copied {
    background: #10b981 !important;
}

.wand-empty {
    text-align: center;
    padding: 3rem;
    color: #64748b;
    grid-column: 1 / -1;
    font-size: 1.1rem;
}

.wand-prompt-btn {
    width: 100%;
    background: var(--primary);
    color: var(--bg-main);
    border: none;
    margin: 5px 0;
    padding: 0.75rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.2s, transform 0.1s;
}
.wand-prompt-btn:hover {
    background: #29a695;
    color: #FFF;
}
.wand-prompt-btn:active {
    transform: scale(0.98);
}

/*blog Description*/
.resource-item {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #1e293b;
}

/* Diseño del botón para el enlace externo */
.resource-btn {
    display: inline-block;
    background-color: #16a34a;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.1s ease;
    margin-top: 10px;
}

.resource-btn:hover {
    background-color: #15803d;
    text-decoration: none;
    transform: translateY(-1px);
}
