@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@300;400;500;700&display=swap');

/* Tailwind CSS configuration (if you prefer to keep it in CSS instead of JS) */
/*
If you choose to use the Tailwind JIT compiler in development and build for production,
you might define these colors in your tailwind.config.js file directly.
However, for a simple separated setup, defining them here works too.
*/
:root {
    --color-primary: #00ffcc;
    --color-secondary: #8a2be2;
    --color-dark: #0f172a;
}

body {
    font-family: 'Oxanium', sans-serif;
    background-color: var(--color-dark);
    color: white;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 255, 204, 0.2);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

.play-button:hover {
    animation: pulse 0.5s infinite;
    transform: translateY(-2px);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.typewriter {
    overflow: hidden;
    border-right: .15em solid var(--color-primary);
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .15em;
    animation:
        typing 3.5s steps(40, end),
        blink-caret .75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--color-primary) }
}