/* Base Styles - Reset and Variables */

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

:root {
    --dark-bg: #2b2d3a;
    --pink: #f4a8b8;
    --pink-light: #ffc6d3;
    --white: #ffffff;
    --gray-text: #8b8d98;
}

body {
    font-family: 'Courier New', Courier, monospace;
    position: relative;
    background-color: var(--dark-bg);
    color: var(--white);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

/* Mobile tap hint */
.mobile-tap-hint {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    color: var(--white);
    font-size: 0.85rem;
    z-index: 10000;
    opacity: 0.7;
    font-family: 'Courier New', Courier, monospace;
    pointer-events: none;
}

/* Custom cursor for links */
a {
    cursor: url('../img/cat_cursor.png'), pointer;
}

/* Cursor follower paw */
#cursor-paw {
    position: fixed;
    width: 80px;
    height: 80px;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.3;
    transition: opacity 0.2s ease;
}

#cursor-paw.hidden {
    opacity: 0;
}

/* Cat paw click animation */
.click-paw {
    position: absolute;
    width: 100px;
    height: 100px;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0) scaleX(var(--random-flip, 1)) rotate(var(--random-rotation, -20deg));
    animation: highFive 0.6s ease-out forwards;
    z-index: 9999;
}

@keyframes highFive {
    0% {
        transform: translate(-50%, -50%) scale(0) scaleX(var(--random-flip, 1)) rotate(var(--random-rotation, -20deg));
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2) scaleX(var(--random-flip, 1)) rotate(calc(var(--random-rotation, -20deg) + 5deg));
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.8) scaleX(var(--random-flip, 1)) rotate(var(--random-rotation, -20deg));
        opacity: 0;
    }
}
