/* Starda Casino Portugal - Custom Styles */

/* Fonts */
body {
    font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

/* Animations */
@keyframes shine {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.shine {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    background-size: 200% 100%;
    animation: shine 3s infinite;
}

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

.float {
    animation: float 3s ease-in-out infinite;
}

.glow {
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(239, 68, 68, 0.5); }
    50% { box-shadow: 0 0 30px rgba(239, 68, 68, 0.8); }
}

.pulse-glow {
    animation: pulse-glow 2s infinite;
}

/* Mobile Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }
    header .hidden.md\:flex {
        display: none !important;
    }
}

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

/* FAQ accordion transition */
.faq-content {
    transition: all 0.3s ease;
}

/* Button hover effects */
button {
    transition: all 0.3s ease;
}

/* Card hover effects */
.game-card:hover {
    transform: translateY(-5px);
}

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

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

::-webkit-scrollbar-thumb {
    background: #991b1b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #dc2626;
}

/* Selection color */
::selection {
    background: rgba(239, 68, 68, 0.5);
    color: white;
}

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

/* Image placeholders */
.game-image-placeholder {
    background: linear-gradient(135deg, #450a0a 0%, #000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Header logo sizing */
header img {
    max-height: 48px;
    width: auto;
}

/* Footer logo sizing */
footer img {
    max-height: 40px;
    width: auto;
}

/* Responsive image adjustments */
@media (max-width: 640px) {
    header img {
        max-height: 40px;
    }
    footer img {
        max-height: 32px;
    }
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img.loaded,
img:not([loading="lazy"]) {
    opacity: 1;
}

/* Staggered fade in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Card grid responsiveness */
@media (max-width: 640px) {
    .grid {
        gap: 1rem;
    }
}

/* Mobile menu transition */
#mobileMenu {
    transition: all 0.3s ease;
}

/* Text gradient effect for brand */
.text-gradient {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hover scale effect for cards */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.02);
}

/* Border gradient effect */
.border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(#000, #000) padding-box,
                linear-gradient(135deg, #ef4444, #dc2626) border-box;
}

/* Responsive typography */
@media (max-width: 640px) {
    h1 {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
    h2 {
        font-size: 1.5rem;
        line-height: 2rem;
    }
}

