/* Additional styles for Monster Survivors website */

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f5f5f7;
}

::-webkit-scrollbar-thumb {
    background: #86868b;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0071e3;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Game iframe container */
.game-container {
    position: relative;
    transition: transform 0.3s ease;
}

.game-container:hover {
    transform: scale(1.01);
}

/* Mobile menu */
.mobile-menu {
    display: none;
}

@media (max-width: 768px) {
    .mobile-menu-button {
        display: block;
    }
    
    .mobile-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 50;
    }
    
    .mobile-menu.active a {
        padding: 0.75rem 0;
        border-bottom: 1px solid #f5f5f7;
    }
    
    .mobile-menu.active a:last-child {
        border-bottom: none;
    }
}

/* Animation for feature cards */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Pulsing play button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 113, 227, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 113, 227, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 113, 227, 0);
    }
}

.play-button {
    animation: pulse 2s infinite;
}

/* Gradient text */
.gradient-text {
    background-image: linear-gradient(90deg, #0071e3, #5ac8fa);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Focus styles for accessibility */
a:focus, button:focus {
    outline: 2px solid #0071e3;
    outline-offset: 2px;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Print styles */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
    
    a {
        text-decoration: underline;
        color: #000;
    }
} 
