/* Custom styles for Basketball Orbit website */

/* Dynamic basketball background animation */
body {
    background-color: #0a0a0a;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" stroke="%23f85a3e" stroke-width="4" fill="none" /></svg>') 0 0 / 100px 100px repeat;
    opacity: 0.05;
    z-index: -1;
    animation: ballMove 120s linear infinite;
}

@keyframes ballMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 1000px 1000px;
    }
}

/* Game container with basketball court */
.game-container {
    position: relative;
    width: 100%;
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), 
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23FF6B00" opacity="0.1"/><circle cx="50" cy="50" r="40" stroke="%23f85a3e" stroke-width="4" fill="none" /></svg>') center / 50px 50px repeat;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(248, 90, 62, 0.3);
    border: 2px solid rgba(248, 90, 62, 0.2);
}

/* Energetic section styling */
section {
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 15px;
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(5px);
    border-left: 3px solid #f85a3e;
}

section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="30" stroke="%23f85a3e" stroke-width="2" fill="none" /></svg>') no-repeat;
    opacity: 0.1;
    pointer-events: none;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animated logo */
.logo {
    position: relative;
    display: inline-block;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(45deg, #f85a3e, #ff9900);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(248, 90, 62, 0.3);
    animation: logoShine 3s infinite;
}

@keyframes logoShine {
    0% {
        filter: brightness(100%) drop-shadow(0 0 5px rgba(248, 90, 62, 0.5));
    }
    50% {
        filter: brightness(130%) drop-shadow(0 0 15px rgba(248, 90, 62, 0.8));
    }
    100% {
        filter: brightness(100%) drop-shadow(0 0 5px rgba(248, 90, 62, 0.5));
    }
}

/* Game rating stars */
.stars {
    display: inline-flex;
    color: #f85a3e;
}

/* Game keyword badges */
.keyword-badge {
    display: inline-block;
    padding: 5px 12px;
    margin: 5px;
    background: linear-gradient(45deg, #f85a3e, #ff9900);
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    box-shadow: 0 2px 5px rgba(248, 90, 62, 0.3);
    transition: all 0.3s ease;
}

.keyword-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(248, 90, 62, 0.5);
}

/* Section titles with basketball accent */
h2 {
    position: relative;
    padding-left: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #f85a3e;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(248, 90, 62, 0.5);
}

/* Responsive design adjustments */
@media (max-width: 768px) {
    .game-container {
        height: 60vh;
    }

    .logo {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }
    
    .keyword-badge {
        font-size: 12px;
        padding: 4px 8px;
    }
}

/* Language selector styling */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.language-selector select {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid #f85a3e;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-selector select:hover {
    background: rgba(15, 15, 15, 0.9);
    border-color: #ff9900;
    box-shadow: 0 0 10px rgba(248, 90, 62, 0.3);
}

/* Fullscreen button styling */
#fullscreenBtn {
    background: linear-gradient(45deg, #f85a3e, #ff9900);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

#fullscreenBtn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(248, 90, 62, 0.5);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #f85a3e;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff9900;
} 