/* Super Cherry 5000 - Custom Styles with Cherry Theme */

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

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

/* Cherry Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, #ff1744, #d50000, #b71c1c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Cherry Glow Effect */
.glow {
    box-shadow: 0 0 30px rgba(255, 23, 68, 0.4);
}

.glow-subtle {
    box-shadow: 0 0 20px rgba(255, 23, 68, 0.2);
}

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

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

/* Cherry Bounce Animation */
@keyframes cherry-bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(-5deg); }
    75% { transform: translateY(-10px) rotate(5deg); }
}

.animate-cherry {
    animation: cherry-bounce 3s 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;
}

/* Spin Animation for Slot Reels */
@keyframes spin-reel {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100%); }
}

.animate-spin-reel {
    animation: spin-reel 0.5s linear 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 - Cherry themed */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a0a0a;
}

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

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

/* Selection color - Cherry */
::selection {
    background: rgba(255, 23, 68, 0.5);
    color: white;
}

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

/* Cherry gradient backgrounds */
.bg-cherry-gradient {
    background: linear-gradient(135deg, #b71c1c 0%, #880e4f 50%, #4a0e0e 100%);
}

.bg-cherry-dark {
    background: linear-gradient(180deg, #1a0a0a 0%, #0d0505 100%);
}

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

/* Cherry slot symbol styling */
.cherry-symbol {
    font-size: 3rem;
    filter: drop-shadow(0 0 10px rgba(255, 23, 68, 0.5));
}

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

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

/* Language selector styling */
.lang-selector {
    position: relative;
}

.lang-selector:hover .lang-dropdown {
    display: block;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #1f1f1f;
    border: 1px solid #b71c1c;
    border-radius: 8px;
    padding: 8px 0;
    min-width: 120px;
    z-index: 100;
}

.lang-dropdown a {
    display: block;
    padding: 8px 16px;
    color: #e0e0e0;
    text-decoration: none;
    transition: background 0.2s;
}

.lang-dropdown a:hover {
    background: #b71c1c;
    color: white;
}

/* Demo slot machine styling */
.slot-container {
    background: linear-gradient(180deg, #2a0a0a 0%, #1a0505 100%);
    border: 3px solid #b71c1c;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 0 40px rgba(255, 23, 68, 0.3), inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.slot-reel {
    background: linear-gradient(180deg, #0a0505 0%, #1a0a0a 50%, #0a0505 100%);
    border: 2px solid #ff1744;
    border-radius: 8px;
    overflow: hidden;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slot-symbol {
    font-size: 4rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* Win animation */
@keyframes win-flash {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.5); }
    50% { box-shadow: 0 0 60px rgba(255, 215, 0, 1); }
}

.win-animation {
    animation: win-flash 0.5s ease-in-out 3;
}

/* Trick card styling */
.trick-card {
    background: linear-gradient(135deg, #1a0a0a 0%, #0d0505 100%);
    border: 1px solid rgba(255, 23, 68, 0.3);
    transition: all 0.3s ease;
}

.trick-card:hover {
    border-color: #ff1744;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(255, 23, 68, 0.2);
}

/* Step indicator */
.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff1744, #d50000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 0 15px rgba(255, 23, 68, 0.4);
}

