/* This file contains the custom CSS.
  It works alongside Tailwind CSS, which is loaded in the HTML file.
*/

body {
    /* These styles are applied via Tailwind classes in the HTML body tag,
       but are kept here for reference. You can add more global styles here. */
    background-color: #000000;
    color: #fefefe;
    font-family: 'Inter', sans-serif;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: #de3429; /* samurai-red */
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.clip-path-top {
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #de3429; /* samurai-red */
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.game-card:hover .game-card-overlay {
    opacity: 1;
}

.game-card:hover .game-card-info {
    transform: translateY(0);
    opacity: 1;
}

.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}
