        :root {
            --primary-color: #6a5acd;
            --secondary-color: #9370db;
            --accent-color: #e6e6fa;
            --text-color: #333;
            --light-text: #fff;
            --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: #f9f9f9;
            color: var(--text-color);
            line-height: 1.6;
        }
        
        header {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: var(--light-text);
            text-align: center;
            padding: 2rem 0;
            box-shadow: var(--shadow);
            margin-bottom: 2rem;
        }
        
        h1 {
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
        }
        
        .subtitle {
            font-size: 1.2rem;
            opacity: 0.9;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .names-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 25px;
            margin-bottom: 3rem;
        }
        
        .name-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
        }
        
        .name-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        }
        
        .name-image {
            width: 100%;
            height: 180px;
            object-fit: cover;
            border-bottom: 3px solid var(--accent-color);
        }
        
        .name-header {
            background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
            color: white;
            padding: 1.2rem;
            text-align: center;
        }
        
        .name-title {
            font-size: 1.8rem;
            margin-bottom: 0.3rem;
        }
        
        .name-origin {
            font-style: italic;
            font-size: 0.9rem;
        }
        
        .name-content {
            padding: 1.5rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        
        .name-meaning {
            font-weight: bold;
            margin-bottom: 1rem;
            color: var(--primary-color);
            
        }
        
        .action-buttons {
            margin-top: auto;
            display: flex;
            gap: 10px;
            
        }
        
        .see-more, .full-page {
  display: inline-flex; /* Cambiamos a inline-flex */
  align-items: center; /* Centra verticalmente el contenido */
  justify-content: center; /* Centra horizontalmente el contenido (opcional, pero útil) */
            padding: 0.6rem 1.2rem;
            border-radius: 30px;
            text-decoration: none;
            font-weight: bold;
            margin-top: 1rem;
            transition: all 0.3s ease;
            text-align: center;
            flex: 1;

        }
        
.full-page {
  display: none; /* Cambiamos a inline-flex */
        }


        .see-more {
            background-color: var(--primary-color);
            color: white;
        }
        
        .see-more:hover {
            background-color: #7b68ee;
        }
        
        .full-page {
            display: none;
            background-color: white;
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
        }
        
        .full-page:hover {
            display: none;
            background-color: var(--accent-color);
        }
        
        footer {
            background-color: var(--primary-color);
            color: white;
            text-align: center;
            padding: 1.5rem 0;
            margin-top: 2rem;
        }
        
        /* Modal styles */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 1000;
            overflow-y: auto;
        }
        
        .modal-content {
            background-color: white;
            margin: 5% auto;
            padding: 2rem;
            border-radius: 10px;
            width: 80%;
            max-width: 700px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            position: relative;
        }
        
        .close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--text-color);
        }
        
        .modal-header {
            border-bottom: 1px solid #eee;
            padding-bottom: 1rem;
            margin-bottom: 1.5rem;
        }
        
        .modal-title {
            color: var(--primary-color);
            font-size: 2rem;
        }
        
        .modal-body {
            line-height: 1.7;
        }
        
        .detail-list {
            list-style-type: none;
        }
        
        .detail-list li {
            margin-bottom: 0.8rem;
            padding-left: 1.5rem;
            position: relative;
        }
        
        .detail-list li:before {
            content: "•";
            color: var(--primary-color);
            font-weight: bold;
            position: absolute;
            left: 0;
        }
        
        .famous-person {
            display: flex;
            align-items: center;
            margin: 1.5rem 0;
            padding: 1rem;
            background-color: var(--accent-color);
            border-radius: 8px;
        }
        
        .famous-person img {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 1rem;
            border: 3px solid var(--primary-color);
        }
        
        .famous-person-info h3 {
            color: var(--primary-color);
            margin-bottom: 0.3rem;
        }
        
        @media (max-width: 768px) {
            .names-grid {
                grid-template-columns: 1fr;
            }
            
            .modal-content {
                width: 90%;
                margin: 10% auto;
            }
            
            .action-buttons {
                flex-direction: column;
            }
            
            .famous-person {
                flex-direction: column;
                text-align: center;
            }
            
            .famous-person img {
                margin-right: 0;
                margin-bottom: 1rem;
            }
        }

        .attribution-text {
        font-size: 0.6em; /* Control del tamaño con CSS */
        color: #777;
        margin-top: 10px;
        }

        .attribution-text a {
        color: #337ab7;
        text-decoration: none;
        }

        .attribution-text a:hover {
        text-decoration: underline;
        }

        /* Tus estilos existentes van aquí */

/* ... (todos tus estilos anteriores, hasta el final) ... */

/* --- NUEVOS ESTILOS PARA LA SECCIÓN DE BÚSQUEDA --- */

.search-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2.5rem; /* Espacio debajo de la barra de búsqueda */
    padding: 1.5rem;
    background-color: var(--accent-color); /* Color de fondo ligero */
    border-radius: 10px;
    box-shadow: var(--shadow);
    gap: 15px; /* Espacio entre el input y el botón */
}

.search-section input[type="text"] {
    width: 100%; /* Ocupa todo el ancho disponible */
    max-width: 500px; /* Limita el ancho máximo en pantallas grandes */
    padding: 0.8rem 1.2rem;
    border: 2px solid var(--primary-color);
    border-radius: 30px; /* Bordes redondeados */
    font-size: 1.1rem;
    outline: none; /* Quita el contorno al hacer clic */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-section input[type="text"]:focus {
    border-color: var(--secondary-color); /* Cambia el color del borde al enfocar */
    box-shadow: 0 0 0 4px rgba(147, 112, 219, 0.2); /* Sutil sombra al enfocar */
}

.search-section button {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 30px; /* Bordes redondeados */
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.search-section button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px); /* Pequeño efecto al pasar el ratón */
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 600px) {
    .search-section {
        flex-direction: column; /* Apila el input y el botón en pantallas pequeñas */
        gap: 10px;
    }
    .search-section input[type="text"] {
        max-width: 100%; /* Ocupa todo el ancho disponible en móviles */
    }
    .search-section button {
        width: 100%; /* El botón también ocupa todo el ancho */
    }
}