/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Properties */
:root {
    --primary-color: #1e293b;
    --secondary-color: #86efac;
    --header-height: 72px;
}

/* Links Section */
.links-section {

}

.container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 16px;
}

.links-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.link-category {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.link-category.visible {
    opacity: 1;
    transform: translateY(0);
}

.category-header {
    margin-top: 32px;
    text-align: center;
    margin-bottom: 32px;
}

.category-title {
    font-size: 20px;
    display: inline-block;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
}

.links-box {
    background-color: #f9fafb;
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-item a {
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.link-item a:hover {
    color: #2563eb;
}

.link-item svg {
    flex-shrink: 0;
}

/* Footer */


/* Scroll to Top Button */
.scroll-top-button {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background-color: var(--primary-color);
    color: white;
    padding: 12px;
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 40;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.3s ease;
    pointer-events: none;
}

.scroll-top-button.visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.scroll-top-button:hover {
    background-color: #334155;
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .category-header {
        margin-top: 32px;
    }

}

/* Tablet Styles */
@media (min-width: 768px) {
    .category-header {
        margin-top: 32px;
    }
}
