/* 🍱 LinkBento — Base Styles */
/* Body, particles canvas, animations, footer, accessibility */

/* =============== BASE STYLES =============== */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    background-color: #0f0c29;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    box-sizing: border-box;
    background: var(--bg-gradient);
    background-size: 400% 400%;
    background-attachment: fixed;
    animation: gradientBG 15s ease infinite;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Particles Canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.profile-section, .links-container {
    position: relative;
    z-index: 1;
}

/* =============== ANIMATIONS =============== */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fadeInBlur {
    from { opacity: 0; filter: blur(10px); transform: translateY(-20px); }
    to { opacity: 1; filter: blur(0); transform: translateY(0); }
}

@keyframes slideInBlur {
    from { opacity: 0; filter: blur(5px); transform: translateX(-30px); }
    to { opacity: 1; filter: blur(0); transform: translateX(0); }
}

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

/* =============== FOOTER =============== */
footer {
    margin-top: auto;
    padding-top: 40px;
    font-size: 0.8rem;
    opacity: 0.4;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    text-align: center;
}

footer .timezone {
    opacity: 1;
}

/* =============== ACCESSIBILITY =============== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: #000;
    padding: 10px 20px;
    border-radius: 0 0 10px 10px;
    z-index: 10001;
    transition: top 0.3s ease;
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

/* Enhanced focus indicators */
*:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}
