/* ============================
    Global Styles & Variables
============================ */
:root {
    --color-primary: #1E88E5;
    --color-secondary: #90CAF9;
    --color-bg: #F5F5F5;
    --color-dark: #263238;
    --color-white: #ffffff;
    --color-gray: #4b5563;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--color-bg);
    align-items: center;
    justify-content: center;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.site-content-main {
    flex: 1 0 auto;
    display: block;
    width: 100%;
}

/* ============================
    HEADER
============================ */
.spacer {
    height: 8vh; 
}

/* ============================
    FOOTER
============================ */
.footer {
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 40px 0;
    position: relative;
    margin-top: auto;
}

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

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-copyright {
    color: #9ca3af;
    font-size: 14px;
    font-weight: 400;
}

.footer-created-by {
    font-size: 13px;
    font-weight: 500;
    background: linear-gradient(
            45deg,
            #3b82f6,
            #f59e0b,
            #10b981,
            #3b82f6
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-created-by:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.footer-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.footer-link {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.footer-link:hover {
    color: #374151;
}

.footer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, #1E88E5, #90CAF9);
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
    animation: borderFlow 4s ease-in-out infinite;
}

@keyframes borderFlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}
