
/* ================================================= */
    .main-footer {
        background: var(--black);
        color: white;
        margin-top: 4rem;
        padding: 3rem 0 2rem;
    }


    .footer-section h5 {
        color: white;
        margin-bottom: 1.5rem;
        font-weight: 600;
        position: relative;
        display: inline-block;
        transition: color 0.3s ease;
    }

    .footer-section h5::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -3px;
        width: 100%;
        height: 2px;
        background-color: var(--primary-color);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
    }

    .footer-section h5:hover {
        color: var(--primary-color);
    }

    .footer-section h5:hover::after {
        transform: scaleX(1);
    }

    .footer-links {
        list-style: none;
        padding: 0;
    }

    .footer-links li {
        margin-bottom: 0.8rem;
    }

    .footer-links a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .footer-links a:hover {
        color: white;
    }

    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 2rem;
        padding-top: 2rem;
        text-align: center;
        color: rgba(255, 255, 255, 0.7);
    }

    .social-links {
        display: flex;
        gap: 1rem;
        margin-bottom: 1rem;
        margin-top: 2rem;
    }

    @media screen and (max-width: 768px) {
        /* .main-footer {
            text-align: center;
        } */

        /* .social-links {
            justify-content: center;
        } */
        .stats-container, .stat-item{
            display: none;
        }
        .xd{
            display: none;
        }
    }

    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        color: white;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .social-links a:hover {
        background: var(--primary-color);
        transform: translateY(-2px);
    }

    /* Live Statistics Styles */
    .stats-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
        margin-top: 40px;
    }

    .stat-item {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        padding: 1rem 1.8rem;
        border-left: 3px solid var(--primary-color);
        transition: transform 0.3s ease;
    }

    .stat-item:hover {
        transform: translateX(5px);
        background: rgba(255, 255, 255, 0.08);
    }

    .stats-container .stat-label {
        font-size: 0.85rem;
        /* color: rgba(255, 255, 255, 0.7); */
        margin-bottom: 0.3rem;
    }

    .stat-value {
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--primary-color);
        font-family: 'Courier New', monospace;
    }

    .animated-number {
        display: inline-block;
        transition: all 0.3s ease;
    }

    .animated-number.updating {
        transform: scale(1.1);
        color: #00ff88;
    }

    /* Live time */
    .live-time {
        padding: 1rem;
        border-radius: 16px;
        text-align: center;
        margin-top: 3rem;
        margin-bottom: 1rem;
        /* background: linear-gradient(135deg, var(--primary-color), #667eea); */
        color: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .time-container {
        display: flex;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .time-box {
        background: rgba(255, 255, 255, 0.1);
        padding: 0.75rem 1rem;
        border-radius: 12px;
        min-width: 60px;
        font-weight: bold;
        font-size: 1.4rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        transition: background 0.3s ease;
    }

    .time-box:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .time-box small {
        font-size: 0.75rem;
        opacity: 0.8;
        margin-top: 0.25rem;
    }

    .date-display {
        font-size: 0.9rem;
        margin-top: 1rem;
        opacity: 0.95;
    }


    /* Weather Widget */
    .weather-widget {
        background: linear-gradient(135deg, #74b9ff, #0984e3);
        padding: 1rem;
        border-radius: 8px;
        text-align: center;
        margin-bottom: 1rem;
    }

    .weather-location {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        opacity: 0.9;
    }

    .weather-temp {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 0.3rem;
    }

    .weather-desc {
        font-size: 0.8rem;
        opacity: 0.9;
    }

    .weather-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    /* Online Status Indicator */
    .online-indicator {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
    }

    .status-dot {
        position: relative;
        width: 10px;
        height: 10px;
        background: #00ff88;
        border-radius: 50%;
        z-index: 2;
    }

    /* Ripple effect */
    .status-dot::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 10px;
        height: 10px;
        background: rgba(0, 255, 136, 0.5);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        animation: ripple 1.5s infinite ease-out;
        z-index: 1;
    }

    @keyframes ripple {
        0% {
            width: 10px;
            height: 10px;
            opacity: 0.7;
        }

        100% {
            width: 30px;
            height: 30px;
            opacity: 0;
        }
    }


    /* Loading animation for stats */
    .loading {
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        background-size: 200% 100%;
        animation: loading 1.5s infinite;
    }

    @keyframes loading {
        0% {
            background-position: -200% 0;
        }

        100% {
            background-position: 200% 0;
        }
    }
/* =================================================================== */

/* Footer Styles */
.pagination {
    margin: 2rem 0;
}

.pagination .page-link {
    border: none;
    color: var(--text-dark);
    background: white;
    margin: 0 0.25rem;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.pagination .page-item.active .page-link {
    background: var(--gradient);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.pagination .page-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.2);
}

.pagination .page-item.disabled .page-link {
    background: #f8f9fa;
    color: var(--text-light);
}

.pagination .page-item.disabled .page-link:hover {
    transform: none;
    background: #f8f9fa;
    color: var(--text-light);
}

/* ============================================================================== */

/* Theme Switcher Modal Custom Styles */

/* Modal Backdrop */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

/* Modal Dialog */
#themeModal .modal-dialog {
    max-width: 900px;
    margin: 2rem auto;
}

/* Modal Content */
#themeModal .modal-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
}

/* Add subtle animation */
#themeModal .modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
    background-size: 300% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Modal Header */
#themeModal .modal-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem 2rem;
}

#themeModal .modal-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#themeModal .modal-title i {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Close Button */
#themeModal .btn-close {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.3s ease;
}

#themeModal .btn-close:hover {
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    transform: rotate(90deg);
}

/* Modal Body */
#themeModal .modal-body {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
}

/* Theme Options Grid */
/* #themeModal .row {
    gap: 1rem;
} */

/* Individual Theme Option */
.theme-option {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.theme-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.theme-option:hover::before {
    left: 100%;
}

.theme-option:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.theme-option.active {
    border-color: #4ecdc4;
    background: rgba(78, 205, 196, 0.2);
    box-shadow: 0 0 20px rgba(78, 205, 196, 0.3);
}

/* Theme Preview */
.theme-preview {
    width: 60px;
    height: 40px;
    border-radius: 8px;
    margin: 0 auto 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Theme Specific Previews */
.theme-default .theme-preview {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.theme-forest .theme-preview {
    background: linear-gradient(135deg, #2d5016 0%, #3e6b1f 100%);
}

.theme-sunset .theme-preview {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

.theme-ocean .theme-preview {
    background: linear-gradient(135deg, #0077be 0%, #00a8cc 100%);
}

.theme-rose .theme-preview {
    background: linear-gradient(135deg, #e91e63 0%, #f06292 100%);
}

.theme-midnight .theme-preview {
    background: linear-gradient(135deg, #2c1810 0%, #5d4037 100%);
}

.theme-cyber .theme-preview {
    background: linear-gradient(135deg, #39ff14 0%, #32cd32 100%);
}

.theme-dark .theme-preview {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
}

/* Theme Names and Descriptions */
.theme-name {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.theme-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-style: italic;
}

/* Modal Footer */
#themeModal .modal-footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem 2rem;
    gap: 1rem;
}

/* Custom Buttons */
#themeModal .btn {
    border: none;
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Cancel Button */
#themeModal .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

#themeModal .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Apply Button */
#themeModal .btn-primary {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

#themeModal .btn-primary:hover {
    background: linear-gradient(135deg, #5fddd4 0%, #55b19d 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
}

#themeModal .btn-primary:active {
    transform: translateY(0);
}

/* Button Ripple Effect */
#themeModal .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.3s ease, height 0.3s ease;
    transform: translate(-50%, -50%);
    z-index: 0;
}

#themeModal .btn:active::before {
    width: 300px;
    height: 300px;
}

#themeModal .btn span {
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    #themeModal .modal-dialog {
        margin: 1rem;
    }

    #themeModal .modal-header,
    #themeModal .modal-body,
    #themeModal .modal-footer {
        padding: 1rem;
    }

    .theme-option {
        padding: 1rem;
    }

    .theme-preview {
        width: 50px;
        height: 35px;
    }

    #themeModal .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Smooth Modal Animation */
#themeModal.fade .modal-dialog {
    transform: translateY(-50px) scale(0.9);
    transition: all 0.3s ease-out;
}

#themeModal.show .modal-dialog {
    transform: translateY(0) scale(1);
}

/* Additional Visual Enhancements */
.theme-option:nth-child(odd) {
    animation-delay: 0.1s;
}

.theme-option:nth-child(even) {
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#themeModal.show .theme-option {
    animation: fadeInUp 0.5s ease forwards;
}

/* =================================== */
/* html,
        body {
            margin: 0;
            padding: 0;
            height: 100%;
            overflow: hidden;
        } */

/* Optional: Keep mouse cursor visible */
/* body {
            cursor: default;
        } */

.overlay {
    position: fixed;
    inset: 0;
    /* background: rgba(0, 0, 0, 0.4); */
    z-index: 999;
    pointer-events: none;
    /* allows clicks to go through */
}

.cursor-circle {
    position: fixed;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    /* border: 2px solid white; */
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 100000;
}

.ripple {
    position: fixed;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.8);
    /* Strong white edge */
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    /* dark glow for light bg */
    transform: translate(-50%, -50%) scale(0);
    animation: ripple-effect 0.7s ease-out forwards;
    pointer-events: none;
    z-index: 100000;
    mix-blend-mode: screen;
}


@keyframes ripple-effect {
    0% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(0);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(10);
    }
}

/* =================================== */