/* Custom styles for UK Casino Guide */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero section enhancements */
.hero-section {
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(108, 92, 231, 0.15) 0%, transparent 50%);
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* Casino card hover effects */
.casino-card {
    position: relative;
    overflow: hidden;
}

.casino-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #FFD700, #6C5CE7, #FFD700);
    border-radius: 1rem;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
}

.casino-card:hover::before {
    opacity: 0.5;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Bounce animation for casino logos */
@keyframes bounce-slow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-bounce-slow {
    animation: bounce-slow 3s ease-in-out infinite;
}

/* Payment method badges */
.payment-badge {
    transition: all 0.2s ease;
}

.payment-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

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

::-webkit-scrollbar-thumb {
    background: #6C5CE7;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5548c8;
}

/* Star ratings animation */
@keyframes starShine {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.5);
    }
}

.casino-card:hover .text-yellow-400 {
    animation: starShine 1s ease-in-out infinite;
}

/* Button effects */
a[class*="bg-casino-gold"],
button[class*="bg-casino-gold"] {
    position: relative;
    overflow: hidden;
}

a[class*="bg-casino-gold"]::after,
button[class*="bg-casino-gold"]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

a[class*="bg-casino-gold"]:hover::after,
button[class*="bg-casino-gold"]:hover::after {
    width: 300px;
    height: 300px;
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
    }
    
    .casino-card {
        margin-bottom: 1rem;
    }
}

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

img:not([src]) {
    opacity: 0;
}

/* Casino logo styling */
.casino-card img[alt*="logo"] {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.casino-card:hover img[alt*="logo"] {
    transform: scale(1.05);
}

/* Footer link hover effect */
footer a {
    position: relative;
    display: inline-block;
}

footer a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #FFD700;
    transition: width 0.3s ease;
}

footer a:hover::after {
    width: 100%;
}

/* Disclaimer section styling */
.disclaimer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.disclaimer-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Accessibility improvements */
a:focus,
button:focus {
    outline: 3px solid #FFD700;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    header,
    footer,
    .hero-section,
    a[href*="visit"],
    button {
        display: none !important;
    }
    
    .casino-card {
        page-break-inside: avoid;
        border: 1px solid #000;
        margin-bottom: 1rem;
    }
}

