/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

body {
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, #0a0a2a 0%, #1a1a3a 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    color: #fff;
}

/* Dynamic Background with Multiple UFOs */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
        url('../images/stars.svg');
    animation: twinkle 8s linear infinite;
    opacity: 0.3;
    z-index: -3;
}

/* Multiple UFO Animations */
.ufo-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
}

.ufo {
    position: absolute;
    width: 100px;
    height: 50px;
    background: url('../images/ufo.svg') no-repeat center/contain;
    opacity: 0.15;
}

.ufo-1 {
    animation: ufoFloat1 20s ease-in-out infinite;
}

.ufo-2 {
    animation: ufoFloat2 25s ease-in-out infinite;
    width: 80px;
    height: 40px;
    opacity: 0.12;
}

.ufo-3 {
    animation: ufoFloat3 30s ease-in-out infinite;
    width: 120px;
    height: 60px;
    opacity: 0.18;
}

@keyframes ufoFloat1 {
    0% {
        transform: translate(-10%, 10%) rotate(5deg);
    }
    25% {
        transform: translate(80%, 20%) rotate(-5deg);
    }
    50% {
        transform: translate(50%, 50%) rotate(5deg);
    }
    75% {
        transform: translate(20%, 80%) rotate(-5deg);
    }
    100% {
        transform: translate(-10%, 10%) rotate(5deg);
    }
}

@keyframes ufoFloat2 {
    0% {
        transform: translate(90%, 90%) rotate(-5deg);
    }
    25% {
        transform: translate(20%, 50%) rotate(5deg);
    }
    50% {
        transform: translate(50%, 20%) rotate(-5deg);
    }
    75% {
        transform: translate(80%, 80%) rotate(5deg);
    }
    100% {
        transform: translate(90%, 90%) rotate(-5deg);
    }
}

@keyframes ufoFloat3 {
    0% {
        transform: translate(50%, 10%) rotate(3deg);
    }
    25% {
        transform: translate(10%, 80%) rotate(-3deg);
    }
    50% {
        transform: translate(90%, 50%) rotate(3deg);
    }
    75% {
        transform: translate(50%, 20%) rotate(-3deg);
    }
    100% {
        transform: translate(50%, 10%) rotate(3deg);
    }
}

/* 3D Bubble Logo Effect */
#logo {
    position: relative;
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
    animation: float 3s ease-in-out infinite;
}

#logo::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle at 50% 50%, 
                rgba(138, 43, 226, 0.2) 0%,
                rgba(138, 43, 226, 0) 70%);
    border-radius: 50%;
    filter: blur(10px);
    animation: pulse 2s ease-in-out infinite;
}

/* Game Container */
.game-container {
    position: relative;
    height: 600px;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.3);
    transition: transform 0.3s ease;
    border: 2px solid rgba(138, 43, 226, 0.3);
    background: rgba(10, 10, 42, 0.8);
    backdrop-filter: blur(10px);
}

.game-container:hover {
    transform: scale(1.01);
    box-shadow: 0 0 40px rgba(138, 43, 226, 0.4);
}

/* Feature Cards */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(138, 43, 226, 0.2);
    background: rgba(10, 10, 42, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(138, 43, 226, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.feature-card:hover::before {
    transform: translateX(100%);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.2);
}

/* Rating and Keywords */
.rating-card, .keywords-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(138, 43, 226, 0.2);
    background: rgba(10, 10, 42, 0.8);
    backdrop-filter: blur(10px);
}

.rating-card:hover, .keywords-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.2);
}

/* What Players Love Cards */
.love-card, .why-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(138, 43, 226, 0.2);
    background: rgba(10, 10, 42, 0.8);
    backdrop-filter: blur(10px);
}

.love-card:hover, .why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.2);
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes twinkle {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100% 100%;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .game-container {
        height: 400px;
    }
    
    #logo {
        font-size: 1.5rem;
    }
}

/* Language Selector */
#languageSelector {
    backdrop-filter: blur(5px);
    border: 1px solid rgba(138, 43, 226, 0.2);
    background: rgba(10, 10, 42, 0.8);
    transition: all 0.3s ease;
}

#languageSelector:hover {
    border-color: rgba(138, 43, 226, 0.4);
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
}

/* Review Cards */
.review-card {
    transition: transform 0.3s ease;
    border: 1px solid rgba(138, 43, 226, 0.2);
    background: rgba(10, 10, 42, 0.8);
    backdrop-filter: blur(10px);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.2);
}

/* Footer */
footer {
    border-top: 1px solid rgba(138, 43, 226, 0.2);
    background: rgba(10, 10, 42, 0.8);
    backdrop-filter: blur(10px);
}

footer a {
    color: #a855f7;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #c084fc;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
} 