.links-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px 30px;
    text-align: center;
    border-radius: 10px 10px 0 0;
}

.links-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.links-header p {
    font-size: 16px;
    opacity: 0.95;
}

.links-nav {
    background-color: #f9f9f9;
    padding: 20px 30px;
    border-bottom: 2px solid #667eea;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.links-nav a {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 18px;
    border-radius: 6px;
    transition: all 0.3s ease;
    background-color: #f0f4ff;
    border: 1px solid #667eea;
}

.links-nav a:hover {
    background-color: #667eea;
    color: white;
    transform: translateY(-2px);
}

.links-nav a.active {
    background-color: #667eea;
    color: white;
}

.links-content {
    padding: 40px 30px;
}

.links-intro {
    background-color: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 30px;
}

.links-intro p {
    color: #856404;
    margin: 0;
    font-weight: 500;
}

section {
    margin-bottom: 40px;
}

section h2 {
    color: #667eea;
    font-size: 26px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
}

.link-item {
    background-color: #f0f4ff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 5px solid #764ba2;
    transition: all 0.3s ease;
}

.link-item:hover {
    background-color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
    border-left-color: #667eea;
}

.link-title {
    color: #764ba2;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;
}

.link-url {
    background-color: #e8eef7;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    word-break: break-all;
}

.link-url a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.link-url a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.link-description {
    color: #555;
    font-size: 13px;
    line-height: 1.6;
    font-style: italic;
}

.links-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #667eea;
    gap: 10px;
}

.links-pagination a {
    background-color: #667eea;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.links-pagination a:hover {
    background-color: #764ba2;
}

.page-counter {
    color: #667eea;
    font-weight: bold;
    text-align: center;
}

.back-home {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
}

.back-home a {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid #667eea;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-block;
}

.back-home a:hover {
    background-color: #667eea;
    color: white;
}

@media (max-width: 768px) {
    .links-header h1 {
        font-size: 28px;
    }

    .links-nav {
        flex-direction: column;
        gap: 10px;
    }

    .links-pagination {
        flex-direction: column;
    }

    .links-pagination a {
        width: 100%;
        text-align: center;
    }

    .link-item {
        padding: 15px;
    }
}
