/* 1. GLOBAL TRANSITIONS & CUSTOM CURSOR */
* {
    transition: background-color 0.8s ease-in-out, color 0.8s ease-in-out, border-color 0.8s ease-in-out, transform 0.3s ease;
    box-sizing: border-box;
    /* Custom Pixel Cursor - using a standard crosshair fallback */
    cursor: crosshair; 
}

/* 2. FADE-IN ANIMATION */
@keyframes fadeInPage {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

body {
    font-family: 'Space Grotesk', sans-serif;
    margin: 0;
    padding: 40px; 
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    min-height: 100vh;
    text-align: left; 
    line-height: 1.6;
    animation: fadeInPage 1.2s ease-out forwards; /* Page Fade-in */
}

/* 3. THEMES */
body.light-theme { background-color: #ffffff; color: #1a1a1a; }
body.dark-theme { background-color: #0f1115; color: #e0e0e0; }

/* 4. THE "ElsEwhErE" BUTTON POP EFFECT */
.elsewhere-btn {
    margin-top: 20px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-family: inherit;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    border: 3px solid currentColor;
    background: transparent;
    color: inherit;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

/* Hover Effect: Grow + Glow */
.elsewhere-btn:hover {
    transform: scale(1.1) rotate(-2deg); /* Grows and tilts slightly */
    background: currentColor;
    box-shadow: 0 0 20px currentColor; /* Creates the neon glow */
}

/* Flip text color on hover */
body.light-theme .elsewhere-btn:hover { color: #ffffff; }
body.dark-theme .elsewhere-btn:hover { color: #0f1115; }

/* 5. FOOTER & TOGGLE */
.footer-controls { margin-top: auto; padding-top: 60px; width: 100%; }
.toggle-btn {
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 8px;
    border: 2px solid currentColor;
    background: transparent;
    font-family: inherit;
    color: inherit;
}
.toggle-btn:hover { background: currentColor; }
body.light-theme .toggle-btn:hover { color: #ffffff; }
body.dark-theme .toggle-btn:hover { color: #0f1115; }
