/* Custom styles for Flag Arena */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Enhanced shimmer effect for logo */
.shimmer {
    background: linear-gradient(
        45deg,
        #ff6b6b,
        #4ecdc4,
        #45b7d1,
        #96e6a1,
        #ff6b6b
    );
    background-size: 400% 400%;
    animation: shimmer 3s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Enhanced dynamic background */
.dynamic-bg {
    background: linear-gradient(
        -45deg,
        #ee7752,
        #e73c7e,
        #23a6d5,
        #23d5ab,
        #ee7752
    );
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

/* Hover effects for buttons */
button {
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Card hover effects */
.bg-white\/10 {
    transition: all 0.3s ease;
}

.bg-white\/10:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Image hover effects */
.rounded-lg img {
    transition: all 0.3s ease;
}

.rounded-lg:hover img {
    transform: scale(1.05);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Responsive font sizes */
@media (max-width: 768px) {
    .text-3xl {
        font-size: 1.5rem;
    }
    
    .text-xl {
        font-size: 1.25rem;
    }
}

/* Loading animation for language switching */
.loading {
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

/* Enhanced iframe container */
iframe {
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

iframe:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Footer enhancements */
footer {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Language selector enhancements */
.flex.space-x-4 button {
    position: relative;
    overflow: hidden;
}

.flex.space-x-4 button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.flex.space-x-4 button:hover::after {
    width: 150%;
    height: 150%;
} 