/* Custom styles for Battlecruisers website */

:root {
    --primary-color: #FFD700; /* Yellow */
    --secondary-color: #00FF00; /* Green */
    --accent-color: #FF4500; /* Orange-Red */
    --text-color: #FFFFFF;
    --background-gradient: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

/* Base styles */
body {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-color);
    background: #000;
    position: relative;
    overflow-x: hidden;
}

/* Dynamic Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7)),
        repeating-linear-gradient(
            45deg,
            var(--yellow-color) 0%,
            var(--green-color) 10%,
            var(--yellow-color) 20%
        );
    background-size: 100% 100%, 200% 200%;
    animation: backgroundMove 15s linear infinite;
    z-index: -2;
}

/* Battle particles */
.battle-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background: 
        linear-gradient(45deg, 
            rgba(255, 215, 0, 0.1), 
            rgba(0, 255, 0, 0.1)
        ),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 215, 0, 0.05) 10px,
            rgba(255, 215, 0, 0.05) 20px
        );
    animation: backgroundMove 20s linear infinite;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, var(--primary-color), transparent);
    border-radius: 50%;
    animation: floatParticle linear infinite;
}

@keyframes backgroundMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* 3D Logo Animation */
.logo-3d {
    position: relative;
    text-shadow: 
        0 0 10px var(--primary-color),
        0 0 20px var(--primary-color),
        0 0 30px var(--primary-color);
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 
            0 0 10px var(--primary-color),
            0 0 20px var(--primary-color),
            0 0 30px var(--primary-color);
    }
    50% {
        text-shadow: 
            0 0 20px var(--primary-color),
            0 0 30px var(--primary-color),
            0 0 40px var(--primary-color);
    }
}

/* Game Container */
.game-container {
    position: relative;
    width: 100%;
    height: 600px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.3),
        0 0 40px rgba(0, 255, 0, 0.2);
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

/* Sections */
section {
    position: relative;
    padding: 4rem 0;
    background: rgba(0, 0, 0, 0.7);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--primary-color),
        var(--secondary-color),
        transparent
    );
}

/* Game Info Box */
.game-info-box {
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.game-info-box h3 {
    color: var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.game-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

.rating-stars {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.game-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.keyword-tag {
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    font-size: 0.875rem;
}

/* Feature Cards */
.feature-card, .screenshot-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.feature-card:hover, .screenshot-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 5px 15px rgba(255, 215, 0, 0.2),
        0 10px 30px rgba(0, 255, 0, 0.1);
}

/* Screenshot Cards */
.screenshot-card img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.screenshot-card:hover img {
    transform: scale(1.05);
}

/* Reviews */
.review-card {
    background: rgba(0, 0, 0, 0.6);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: scale(1.02);
}

.review-author {
    color: var(--primary-color);
    font-weight: bold;
    margin-top: 1rem;
}

/* Game Guide */
.game-guide {
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.game-guide h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.game-guide ul {
    list-style-type: none;
    padding-left: 0;
}

.game-guide li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.game-guide li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Game History Timeline */
.game-history {
    position: relative;
    padding: 2rem 0;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 15px;
    right: -10px;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.right::after {
    left: -10px;
}

.timeline-item .content {
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.9);
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .game-container {
        height: 400px;
    }
    
    .language-selector {
        position: static;
        margin-bottom: 1rem;
    }

    section {
        padding: 2rem 0;
    }

    .feature-card, .screenshot-card {
        margin-bottom: 20px;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 21px;
    }
    
    .timeline-item.right {
        left: 0%;
    }
}

/* Fullscreen Button */
.fullscreen-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: black;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

.fullscreen-btn:hover {
    background: var(--secondary-color);
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading::after {
    content: '';
    width: 50px;
    height: 50px;
    border: 5px solid var(--primary-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
} 