:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #dbdbdb;
    --text-light: #e0e0e0;
    --text-muted: #a0a0a0;
    --border-color: #333;
}





/* Footer Main Container */
.footer-main {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 40px 0 40px;
    /* border-top: 3px solid var(--accent-color); */
    /* margin-top: 80px; */
}

/* Footer Section Title */
.footer-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-link:before {
    content: "→";
    opacity: 0;
    margin-right: -8px;
    transition: all 0.3s ease;
    color: var(--accent-color);
}

.footer-link:hover {
    color: #fff;
    padding-left: 8px;
}

.footer-link:hover:before {
    opacity: 1;
    margin-right: 0;
}

/* Site Category Container */


.site-category:last-child {
    border-bottom: none;
}

.site-category-header {
    font-size: 18px;
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-category-header i {
    font-size: 24px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    /* margin-bottom: 30px; */
}

/* Footer Column */
.footer-column {
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.footer-column:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.footer-column h6 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Divider */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: 40px 0;
}

/* Footer Bottom */
.footer-bottom {
    background: var(--accent-color);
    padding: 30px 0;
    margin-top: 40px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 13px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: var(--accent-color);
    border-color: #fff;
    transform: translateY(-3px);
}

.footer-links-bottom {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
}

.footer-links-bottom a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links-bottom a:hover {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-main {
        padding: 40px 0 30px;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .footer-column {
        padding: 15px;
    }

    .footer-column h6 {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .footer-link {
        font-size: 13px;
    }

    .site-category-header {
        font-size: 16px;
    }

    .footer-bottom-content {
        justify-content: center;
        text-align: center;
    }

    .footer-links-bottom {
        justify-content: center;
    }

    /* .site-category {
        padding-bottom: 30px;
    } */
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: 1fr;
    }

    .footer-section-title {
        font-size: 14px;
    }

    .site-category-header {
        font-size: 15px;
    }
}

/* Tab Navigation for Site Categories */
.site-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 10px;
    flex-wrap: wrap;
}

.site-tab {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 500;
}

.site-tab:hover,
.site-tab.active {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

/* Scroll Animation */
.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}