@font-face {
    font-family: 'hooskai';
    src: url('/webfonts/HooskaiChamferedSquare.ttf');
}

/*html {*/
/*    font-size: 18px;*/
/*}*/

body {
    font-family: 'Exo 2', sans-serif;
    overflow-x: hidden;
    overflow-wrap: break-word;
}

.orbitron-font {
    font-family: 'hooskai', monospace;
    word-spacing: 0.3em;
}

.star-field {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
    overflow: hidden;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

.glow-button {
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.glow-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.5);
}

.feature-card {
    transition: all 0.3s ease;
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
}

.game-mode-card-blue, .game-mode-card-orange {
    transition: all 0.3s ease;
    background: rgba(15, 23, 42, 0.8);
}

.game-mode-card-blue:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(22, 86, 249, 0.3);
}

.game-mode-card-orange:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

.nav-link {
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #3b82f6;
    transform: translateY(-1px);
}

/* Parallax effect */
.parallax-star {
    position: absolute;
    background: #668;
    border-radius: 50%;
    animation: twinkle 5s infinite ease-in-out;
    transform: translateZ(0);
}

.star-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Carousel Styles */
#carouselImage {
    transition: opacity 0.5s ease-in-out;
}

#prevBtn, #nextBtn {
    transition: all 0.3s ease;
}

#prevBtn:hover, #nextBtn:hover {
    background: rgba(0, 0, 0, 0.7);
    /*transform: scale(1.1);*/
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-navigation-btn {
        opacity: 1 !important;
        visibility: visible !important;
    }
}

.culture-switcher {
    max-height: 200px;
    overflow: scroll;
}

@media (min-height: 500px) {
    .culture-switcher {
        max-height: 300px;
        overflow: scroll;
    }
}

@media (min-height: 600px) {
    .culture-switcher {
        max-height: 500px;
        overflow: scroll;
    }
}

@media (min-height: 700px) {
    .culture-switcher {
        max-height: none;
        overflow: auto;
    }
}

#navbar {
    direction: ltr;
}