/* Casino Libre Zone - Styles Thématiques de la Riviera */

/* Configuration Tailwind CSS */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* Variables CSS personnalisées */
:root {
    --navy-900: #1A2C68;
    --navy-800: #2A3C78;
    --navy-700: #3A4C88;
    --gold-400: #FFD700;
    --gold-500: #FFA500;
    --emerald-600: #2E8B57;
    --cream-100: #FFFDD0;
    --cream-300: #F5F5DC;
}

/* Polices personnalisées */
.font-cinzel {
    font-family: 'Cinzel', serif;
}

.font-roboto {
    font-family: 'Roboto', sans-serif;
}

.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

/* Couleurs de base */
.bg-navy-900 { background-color: var(--navy-900); }
.bg-navy-800 { background-color: var(--navy-800); }
.bg-navy-700 { background-color: var(--navy-700); }
.bg-gold-400 { background-color: var(--gold-400); }
.bg-emerald-600 { background-color: var(--emerald-600); }

.text-navy-900 { color: var(--navy-900); }
.text-gold-400 { color: var(--gold-400); }
.text-cream-100 { color: var(--cream-100); }
.text-cream-300 { color: var(--cream-300); }
.text-emerald-600 { color: var(--emerald-600); }

.border-gold-400 { border-color: var(--gold-400); }
.border-navy-700 { border-color: var(--navy-700); }

/* Cartes soyeuses avec effet de flou */
.silky-card {
    background: rgba(26, 44, 104, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid var(--gold-400);
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.silky-card:hover {
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
}

/* Boutons avec effet lumineux */
.glow-button {
    background: linear-gradient(45deg, var(--gold-400), var(--gold-500));
    box-shadow: 0 0 15px var(--gold-400);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.glow-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--gold-400);
    background: linear-gradient(45deg, var(--gold-500), #FF8C00);
}

.glow-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Section héro avec arrière-plan */
.hero-section {
    background-image: url('../images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

/* Overlay sombre pour la section héro */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 44, 104, 0.9) 0%,
        rgba(26, 44, 104, 0.85) 25%,
        rgba(26, 44, 104, 0.8) 50%,
        rgba(26, 44, 104, 0.85) 75%,
        rgba(26, 44, 104, 0.9) 100%
    );
    z-index: 1;
}

/* Animations personnalisées */
@keyframes wave {
    0% { transform: translateX(0); }
    50% { transform: translateX(20px); }
    100% { transform: translateX(0); }
}

@keyframes bubble-rise {
    0% { 
        transform: translateY(0) scale(1); 
        opacity: 1; 
    }
    100% { 
        transform: translateY(-50px) scale(0.8); 
        opacity: 0; 
    }
}

@keyframes chip-spin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes champagne-bubble {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

@keyframes yacht-sail {
    0% { transform: translateX(-100px) rotate(-5deg); }
    50% { transform: translateX(50vw) rotate(0deg); }
    100% { transform: translateX(100vw) rotate(5deg); }
}

/* Classes d'animation */
.yacht-wave {
    animation: wave 4s infinite ease-in-out;
}

.bubble-glow {
    animation: bubble-rise 3s infinite;
}

.chip-spin {
    animation: chip-spin 2s infinite linear;
}

.champagne-bubble {
    animation: champagne-bubble 4s infinite;
}

.yacht-sail {
    animation: yacht-sail 8s infinite linear;
}

/* Effets de survol pour les cartes de casino */
.casino-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.casino-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

/* Tableau de comparaison interactif */
.comparison-table {
    border-collapse: separate;
    border-spacing: 0;
}

.comparison-table th {
    background: linear-gradient(45deg, var(--navy-700), var(--navy-800));
    color: var(--gold-400);
    font-weight: bold;
    padding: 1rem;
    text-align: left;
    border-bottom: 2px solid var(--gold-400);
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    transition: background-color 0.3s ease;
}

.comparison-table tbody tr:hover {
    background: rgba(255, 215, 0, 0.1);
}

/* Carrousel d'avis */
.review-slider {
    position: relative;
    overflow: hidden;
}

.review-slide {
    transition: all 0.5s ease;
}

/* Boutons de navigation du carrousel */
.slider-nav {
    background: rgba(26, 44, 104, 0.8);
    border: 1px solid var(--gold-400);
    color: var(--gold-400);
    transition: all 0.3s ease;
}

.slider-nav:hover {
    background: var(--gold-400);
    color: var(--navy-900);
    box-shadow: 0 0 15px var(--gold-400);
}

/* Points de navigation */
.slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-dot.active {
    background: var(--gold-400);
    box-shadow: 0 0 10px var(--gold-400);
}

/* Formulaire de contact */
.contact-form input,
.contact-form textarea,
.contact-form select {
    background: rgba(26, 44, 104, 0.3);
    border: 1px solid var(--gold-400);
    color: var(--cream-100);
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--gold-400);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    background: rgba(26, 44, 104, 0.5);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--cream-300);
}



/* Effets de focus pour l'accessibilité */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--gold-400);
    outline-offset: 2px;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
    }
    
    .silky-card {
        margin: 0 1rem;
    }
    
    .comparison-table {
        font-size: 0.875rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
    }
}

/* Animations AOS personnalisées */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-right"] {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

[data-aos="fade-right"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

[data-aos="fade-left"] {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

[data-aos="fade-left"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

[data-aos="zoom-in"].aos-animate {
    opacity: 1;
    transform: scale(1);
}

/* Effets de particules pour l'ambiance */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold-400);
    border-radius: 50%;
    animation: champagne-bubble 6s infinite;
}

/* Effets de lueur pour les icônes */
.icon-glow {
    filter: drop-shadow(0 0 5px var(--gold-400));
    transition: all 0.3s ease;
}

.icon-glow:hover {
    filter: drop-shadow(0 0 10px var(--gold-400));
    transform: scale(1.1);
}

/* Styles pour les liens de jeu responsable */
.responsible-gaming-link {
    transition: all 0.3s ease;
}

.responsible-gaming-link:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

/* Effets de texte animé */
.text-glow {
    text-shadow: 0 0 10px var(--gold-400);
    animation: text-pulse 2s infinite;
}

@keyframes text-pulse {
    0%, 100% { text-shadow: 0 0 10px var(--gold-400); }
    50% { text-shadow: 0 0 20px var(--gold-400), 0 0 30px var(--gold-400); }
}

/* Styles pour les images circulaires */
.circular-image {
    border-radius: 50%;
    border: 3px solid var(--gold-400);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.circular-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.5);
}

/* Effets de dégradé pour les sections */
.gradient-bg {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--navy-700) 100%);
}

/* Styles pour les logos de casino */
.casino-logo {
    max-height: 60px;
    width: auto;
    filter: brightness(1) contrast(1);
    transition: all 0.3s ease;
}

.casino-logo:hover {
    filter: brightness(1.2) contrast(1.1);
    transform: scale(1.05);
}

/* Effets de survol pour les boutons de navigation */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-400);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Styles pour le menu mobile */
.mobile-menu {
    background: rgba(26, 44, 104, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--gold-400);
}

/* Effets de chargement */
.loading-spinner {
    border: 3px solid rgba(255, 215, 0, 0.3);
    border-top: 3px solid var(--gold-400);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Styles pour les messages d'erreur et de succès */
.error-message {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    color: #ff6b6b;
    padding: 0.75rem;
    border-radius: 8px;
    margin: 0.5rem 0;
}

.success-message {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid #28a745;
    color: #51cf66;
    padding: 0.75rem;
    border-radius: 8px;
    margin: 0.5rem 0;
}

/* Optimisations pour les performances */
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

/* Styles pour l'impression */
@media print {
    .silky-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .glow-button {
        background: #ccc;
        box-shadow: none;
    }
    
    .hero-section {
        background: none;
    }
} 