.link-section {
    max-width: 400px;
    margin: 1.5rem auto;
    padding: 1rem;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    font-family: system-ui, sans-serif;
}

.toggle-btn {
    width: 100%;
    padding: 0.9rem 1rem;
    border: none;
    border-radius: 0.75rem;
    background: #111827;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.25s;
}

.toggle-btn:hover {
    background: #1f2937;
}

.link-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.link-list.open {
    max-height: 300px; /* suficiente para varios elementos */
}

.link-list li {
    margin-top: 0.8rem;
}

.link-list a {
    text-decoration: none;
    color: #1f2937;
    font-weight: 500;
    display: block;
    padding: 0.75rem 1rem;
    background: #f9fafb;
    border-radius: 0.6rem;
    transition: background 0.25s;
}

.link-list a:hover {
    background: #e5e7eb;
}
