/* === FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&family=Prata&display=swap');

/* === CUSTOM ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-scale-up {
    animation: scaleUp 0.6s ease-out forwards;
}

/* === EFFECTS === */
.felt-texture {
    background-image: url('/static/img/felt.jpg');
    background-size: 400px;
    background-repeat: repeat;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.5);
}

.wood-texture {
    background-image: url('/static/img/wood.jpg');
    background-size: cover;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.8), 0 10px 30px rgba(0,0,0,0.4);
}

.gold-shimmer {
    background: linear-gradient(45deg, #AD8B73, #E3C3A1, #AD8B73);
    background-size: 200% auto;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* === PSEUDO-ELEMENTS === */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #AD8B73;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* === OVERRIDES === */
body {
    background-color: #0c0c0c;
    color: #FBF9F1;
    overflow-x: hidden;
}

/* module: game */
#game-container canvas {
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}
