/* Custom styles for Slotify.mx */

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

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Mobile menu toggle */
.mobile-menu {
    display: none;
}

@media (max-width: 768px) {
    .mobile-menu.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid #e5e7eb;
        padding: 1rem;
        z-index: 50;
    }
}

/* Hover effects for casino cards */
.casino-card {
    transition: all 0.3s ease;
}

.casino-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Table responsive improvements */
@media (max-width: 768px) {
    .comparison-table {
        font-size: 0.875rem;
    }
    
    .comparison-table img {
        height: 2rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }
}

/* Button hover effects */
.btn-primary {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover:before {
    left: 100%;
}

/* Responsible gaming notice styling */
.responsible-gaming-notice {
    background: linear-gradient(90deg, #fef3c7, #fde68a);
    border-left: 4px solid #f59e0b;
}

/* Logo improvements */
.logo-slotify {
    background: linear-gradient(45deg, #3b82f6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.faq-item:hover {
    background-color: #f9fafb;
    border-radius: 0.5rem;
}

/* Comparison table hover effects */
.comparison-row {
    transition: all 0.2s ease;
}

.comparison-row:hover {
    background-color: #f8fafc;
    transform: scale(1.01);
}

/* Mobile optimizations */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .casino-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .casino-buttons a {
        width: 100%;
        text-align: center;
    }
}

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

img[data-loaded="false"] {
    opacity: 0;
}

img[data-loaded="true"] {
    opacity: 1;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Pulse animation for CTA buttons */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse-on-hover:hover {
    animation: pulse 0.5s ease-in-out;
}

/* Badge styles */
.badge-license {
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Footer gradient */
.footer-gradient {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

/* Responsive gaming icons */
.responsible-gaming-icons img {
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.responsible-gaming-icons img:hover {
    filter: brightness(1);
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    /* Future dark mode implementation */
}

/* Accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-gradient-to-br {
        background: #1e40af !important;
    }
}

/* Specific styles for casino buttons to ensure proper colors */
.btn-1xbet {
    background-color: #f97316 !important;
    color: white !important;
    border: none !important;
}

.btn-1xbet:hover {
    background-color: #ea580c !important;
    color: white !important;
}

.btn-1win {
    background-color: #ef4444 !important;
    color: white !important;
    border: none !important;
}

.btn-1win:hover {
    background-color: #dc2626 !important;
    color: white !important;
}

/* Override any potential conflicting styles */
a[href*="1xbet.mx"] {
    background-color: #f97316 !important;
    color: white !important;
}

a[href*="1xbet.mx"]:hover {
    background-color: #ea580c !important;
    color: white !important;
}

a[href*="1win.mx"] {
    background-color: #ef4444 !important;
    color: white !important;
}

a[href*="1win.mx"]:hover {
    background-color: #dc2626 !important;
    color: white !important;
}

/* Professional Dark Theme for Slotify.mx */

/* CSS Variables for consistent theming */
:root {
    --primary-bg: #0f0f23;
    --secondary-bg: #1a1a2e;
    --card-bg: #16213e;
    --accent-bg: #0f3460;
    --text-primary: #ffffff;
    --text-secondary: #b8bcc8;
    --text-muted: #8892b0;
    --accent-orange: #ff6b35;
    --accent-red: #ff3366;
    --accent-green: #00d4aa;
    --accent-blue: #4fc3f7;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 15px 35px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 30px rgba(255, 107, 53, 0.3);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background animations */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(79, 195, 247, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 51, 102, 0.05) 0%, transparent 50%);
    z-index: -1;
    animation: backgroundPulse 20s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Professional animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 107, 53, 0.5);
    }
}

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

/* Header styling */
header {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

header.scrolled {
    background: rgba(15, 15, 35, 0.98);
    box-shadow: var(--shadow-medium);
}

/* Logo animations */
.logo-slotify {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: floatUp 3s ease-in-out infinite;
}

/* Navigation improvements */
nav a {
    position: relative;
    color: var(--text-secondary);
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: 8px;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

nav a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

nav a:hover::before {
    width: 80%;
}

/* Hero section redesign */
.hero-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="rgba(255,255,255,0.1)"/><stop offset="100%" stop-color="rgba(255,255,255,0)"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    animation: backgroundPulse 15s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Premium button styles */
.btn-casino {
    position: relative;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
    border: none;
    cursor: pointer;
    display: inline-block;
    min-width: 200px;
}

.btn-casino::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-casino:hover::before {
    left: 100%;
}

.btn-1xbet {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    box-shadow: var(--shadow-medium);
    animation: glowPulse 3s ease-in-out infinite;
}

.btn-1xbet:hover {
    background: linear-gradient(135deg, #f7931e 0%, #ff6b35 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy), var(--shadow-glow);
}

.btn-1win {
    background: linear-gradient(135deg, #ff3366 0%, #ff1744 100%);
    color: white;
    box-shadow: var(--shadow-medium);
    animation: glowPulse 3s ease-in-out infinite 1.5s;
}

.btn-1win:hover {
    background: linear-gradient(135deg, #ff1744 0%, #ff3366 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy), 0 0 30px rgba(255, 51, 102, 0.3);
}

/* Card redesign */
.card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Table improvements */
.comparison-table {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-medium);
}

.comparison-table thead {
    background: var(--accent-bg);
}

.comparison-table th,
.comparison-table td {
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table tbody tr {
    transition: var(--transition);
}

.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.01);
}

/* Badge improvements */
.badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.badge-orange {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.badge-red {
    background: linear-gradient(135deg, #ff3366 0%, #ff1744 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.3);
}

.badge-green {
    background: linear-gradient(135deg, #00d4aa 0%, #00bfa5 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
}

/* Section backgrounds */
.section-dark {
    background: var(--secondary-bg);
}

.section-card {
    background: var(--card-bg);
}

/* Footer redesign */
footer {
    background: var(--primary-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
}

/* Responsible gaming notices */
.responsible-notice {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    border-left: 4px solid #ff6f00;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    color: #1a1a1a;
}

.responsible-notice p {
    color: #1a1a1a !important;
    font-weight: 500;
}

.responsible-notice a {
    color: #d84315 !important;
    font-weight: 600;
}

.age-restriction {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.1) 0%, rgba(233, 30, 99, 0.1) 100%);
    border-left: 4px solid #f44336;
    backdrop-filter: blur(10px);
}

/* Scroll animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
    opacity: 0;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
    opacity: 0;
}

.scale-in {
    animation: scaleIn 0.6s ease-out forwards;
    opacity: 0;
}

/* Mobile improvements */
@media (max-width: 768px) {
    :root {
        --border-radius: 8px;
    }
    
    .btn-casino {
        padding: 12px 24px;
        font-size: 1rem;
        min-width: 160px;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .hero-section {
        min-height: 80vh;
    }
}

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

::-webkit-scrollbar-track {
    background: var(--primary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}

/* Loading states */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Focus states for accessibility */
.btn-casino:focus,
nav a:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* Override any potential conflicting styles with higher specificity */
a[href*="1xbet.mx"] {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%) !important;
    color: white !important;
    border: none !important;
    box-shadow: var(--shadow-medium) !important;
}

a[href*="1xbet.mx"]:hover {
    background: linear-gradient(135deg, #f7931e 0%, #ff6b35 100%) !important;
    color: white !important;
    transform: translateY(-3px) !important;
    box-shadow: var(--shadow-heavy), var(--shadow-glow) !important;
}

a[href*="1win.mx"] {
    background: linear-gradient(135deg, #ff3366 0%, #ff1744 100%) !important;
    color: white !important;
    border: none !important;
    box-shadow: var(--shadow-medium) !important;
}

a[href*="1win.mx"]:hover {
    background: linear-gradient(135deg, #ff1744 0%, #ff3366 100%) !important;
    color: white !important;
    transform: translateY(-3px) !important;
    box-shadow: var(--shadow-heavy), 0 0 30px rgba(255, 51, 102, 0.3) !important;
} 