/* Custom styles for Pokey Ball website */

/* Base styles */
body {
    font-family: 'Poppins', sans-serif;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Fresh casual theme */
.casual-theme {
    background: linear-gradient(135deg, #E0F7FA 0%, #E8F5E9 50%, #F1F8E9 100%);
    color: #37474F;
}

/* Dynamic characters background */
.dynamic-characters-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 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="10" fill="%2366BB6A" opacity="0.2"/></svg>');
    background-size: 200px 200px;
    animation: floating-characters 15s linear infinite;
}

.dynamic-characters-bg::before, 
.dynamic-characters-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: repeat;
    opacity: 0.2;
}

.dynamic-characters-bg::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 50 50"><path d="M25,10 L40,40 L10,40 Z" fill="%234FC3F7" opacity="0.2"/></svg>');
    background-size: 120px 120px;
    animation: floating-characters-reverse 20s linear infinite;
}

.dynamic-characters-bg::after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30"><rect x="10" y="10" width="10" height="10" rx="2" fill="%23AB47BC" opacity="0.2"/></svg>');
    background-size: 100px 100px;
    animation: floating-characters-diagonal 25s linear infinite;
}

@keyframes floating-characters {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 200px 200px;
    }
}

@keyframes floating-characters-reverse {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: -120px 120px;
    }
}

@keyframes floating-characters-diagonal {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px -100px;
    }
}

/* Logo animation */
.animate-shine {
    background-size: 200% auto;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Game container styles */
.game-container {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    height: 100%;
    width: 85%;
    max-width: 1500px;
    margin: 10px auto;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* Card hover effects */
.feature-card, .review-card, .step-card, .love-card, .why-card, .strategy-card, .timeline-content {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #4CAF50;
}

.feature-card:hover, .review-card:hover, .step-card:hover, .love-card:hover, .why-card:hover, .strategy-card:hover, .timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Timeline design */
.timeline-marker {
    position: relative;
}

.timeline-marker::before, .timeline-marker::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background-color: #4CAF50;
}

.timeline-marker::before {
    top: 0;
    height: 50%;
}

.timeline-marker::after {
    bottom: 0;
    height: 50%;
}

.timeline-item:first-child .timeline-marker::before,
.timeline-item:last-child .timeline-marker::after {
    display: none;
}

/* Screenshot card styles */
.screenshot-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.screenshot-card img {
    transition: transform 0.5s ease;
}

.screenshot-card:hover img {
    transform: scale(1.05);
}

/* Rating stars */
.stars {
    letter-spacing: 2px;
}

/* Keywords tags */
.keywords-container span {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.keywords-container span:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Language selector styles */
.language-selector select {
    transition: all 0.3s ease;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    padding: 6px 12px;
    background-color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.language-selector select:hover {
    border-color: #4CAF50;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
}

/* Fullscreen button styles */
#fullscreenBtn {
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#fullscreenBtn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .game-container {
        height: 400px;
    }
    
    .logo-container h1 {
        font-size: 1.5rem;
    }
    
    .timeline-marker {
        width: 8px !important;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.5);
}

::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #388E3C;
} 