/* Handy Casino Schweiz - Custom Styles */

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

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

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glow Effect */
.glow {
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.3);
}

/* Float Animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

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

/* Pulse Animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

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

/* 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: #020617;
}

::-webkit-scrollbar-thumb {
    background: #78350f;
    border-radius: 4px;
}

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

/* Selection color */
::selection {
    background: rgba(245, 158, 11, 0.5);
    color: white;
}

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

/* Image placeholders */
.game-image-placeholder {
    background: linear-gradient(135deg, #78350f 0%, #020617 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;
}

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

/* Backdrop blur support */
@supports (backdrop-filter: blur(12px)) {
    header {
        backdrop-filter: blur(12px);
    }
}

/* Dropdown menu styles */
.group:hover .group-hover\:opacity-100 {
    opacity: 1;
}

.group:hover .group-hover\:visible {
    visibility: visible;
}

/* Aspect ratio fallback for older browsers */
.aspect-\[4\/3\] {
    aspect-ratio: 4 / 3;
}

@supports not (aspect-ratio: 4 / 3) {
    .aspect-\[4\/3\]::before {
        content: "";
        float: left;
        padding-top: 75%;
    }
    .aspect-\[4\/3\]::after {
        content: "";
        display: block;
        clear: both;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .text-5xl {
        font-size: 2.5rem;
    }
    
    .text-7xl {
        font-size: 3rem;
    }
    
    .text-gradient {
        font-size: inherit;
    }
    
    /* Mobile navigation improvements */
    .relative.group > div {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
    }
}

/* Prose styles for content */
.prose {
    max-width: none;
}

.prose p {
    margin-bottom: 1.25em;
}

.prose h3 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.prose strong {
    color: #fbbf24;
    font-weight: 600;
}

/* Print styles */
@media print {
    header, footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

