/**
 * Dark Gothic Theme - Traditional dark Halloween theme
 * Couleurs sombres avec contrastes élevés
 */

.hyp-theme-dark_gothic {
    background: linear-gradient(135deg, #1a0f08 0%, #2c1810 100%);
    color: #f5f5f5; /* Texte très clair sur fond sombre */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #4a2c20;
}

.hyp-theme-dark_gothic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(139, 0, 0, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(75, 0, 130, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Header */
.hyp-theme-dark_gothic .hyp-title {
    color: #dc143c; /* Rouge sang pour titre */
    text-shadow: 2px 2px 8px rgba(220, 20, 60, 0.5);
    font-family: 'Georgia', serif;
}

.hyp-theme-dark_gothic .hyp-title::after {
    content: '🦇💀🦇';
}

.hyp-theme-dark_gothic .hyp-subtitle {
    color: #d3d3d3; /* Gris clair pour bon contraste */
}

/* Video cards */
.hyp-theme-dark_gothic .hyp-video-card {
    background: linear-gradient(145deg, #2c1810, #3d2817);
    border: 2px solid #4a2c20;
    color: #f5f5f5;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.hyp-theme-dark_gothic .hyp-video-card:hover {
    border-color: #dc143c;
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.3);
    transform: translateY(-8px) scale(1.02);
}

.hyp-theme-dark_gothic .hyp-video-link {
    color: #f5f5f5; /* Texte très clair */
}

.hyp-theme-dark_gothic .hyp-video-link:hover,
.hyp-theme-dark_gothic .hyp-video-link:focus {
    color: #dc143c;
}

.hyp-theme-dark_gothic .hyp-video-meta {
    color: #b0b0b0; /* Gris clair pour métadonnées */
}

.hyp-theme-dark_gothic .hyp-video-meta::before {
    content: '⏰';
}

/* Play button */
.hyp-theme-dark_gothic .hyp-play-button {
    background: linear-gradient(45deg, #dc143c, #8b0000);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hyp-theme-dark_gothic .hyp-video-card:hover .hyp-play-button {
    background: linear-gradient(45deg, #ff1744, #dc143c);
    transform: scale(1.1);
}

/* CTA Section */
.hyp-theme-dark_gothic .hyp-cta-card {
    background: linear-gradient(135deg, #0d0707 0%, #1a0f08 100%);
    color: #f5f5f5;
    border: 2px solid #4a2c20;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.hyp-theme-dark_gothic .hyp-cta-title {
    color: #dc143c;
    text-shadow: 2px 2px 8px rgba(220, 20, 60, 0.5);
    font-family: 'Georgia', serif;
}

.hyp-theme-dark_gothic .hyp-cta-description {
    color: #e0e0e0; /* Gris très clair */
    opacity: 0.95;
}

/* Features */
.hyp-theme-dark_gothic .hyp-feature {
    background: rgba(220, 20, 60, 0.1);
    border: 1px solid rgba(220, 20, 60, 0.3);
    color: #f5f5f5;
}

.hyp-theme-dark_gothic .hyp-feature:hover {
    background: rgba(220, 20, 60, 0.2);
    border-color: #dc143c;
    transform: translateY(-2px);
}

/* CTA Button */
.hyp-theme-dark_gothic .hyp-cta-button {
    background: linear-gradient(45deg, #dc143c, #8b0000);
    color: white;
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
    font-family: 'Georgia', serif;
    font-weight: bold;
}

.hyp-theme-dark_gothic .hyp-cta-button:hover,
.hyp-theme-dark_gothic .hyp-cta-button:focus {
    background: linear-gradient(45deg, #ff1744, #dc143c);
    box-shadow: 0 12px 35px rgba(220, 20, 60, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Scroll indicator */
.hyp-theme-dark_gothic .hyp-scroll-text {
    color: #b0b0b0;
}

.hyp-theme-dark_gothic .hyp-scroll-arrow {
    filter: drop-shadow(0 0 10px rgba(220, 20, 60, 0.5));
}

/* Ghosts - Dark theme variants */
.hyp-theme-dark_gothic .hyp-ghost {
    filter: drop-shadow(0 0 15px rgba(220, 20, 60, 0.6));
    text-shadow: 0 0 10px rgba(220, 20, 60, 0.8);
}

.hyp-theme-dark_gothic .hyp-ghost-1::before { content: '💀'; }
.hyp-theme-dark_gothic .hyp-ghost-2::before { content: '🦇'; }
.hyp-theme-dark_gothic .hyp-ghost-3::before { content: '👻'; }
.hyp-theme-dark_gothic .hyp-ghost-4::before { content: '🕷️'; }

/* Particles */
.hyp-theme-dark_gothic .hyp-particle {
    filter: drop-shadow(0 0 8px rgba(220, 20, 60, 0.8));
    color: #dc143c;
}

/* Image overlay */
.hyp-theme-dark_gothic .hyp-image-overlay {
    background: linear-gradient(45deg, rgba(26, 15, 8, 0.7) 0%, rgba(220, 20, 60, 0.3) 100%);
}

/* Error message */
.hyp-theme-dark_gothic .hyp-error {
    background: rgba(220, 20, 60, 0.1);
    border-color: #dc143c;
    color: #f5f5f5;
}

/* Disclaimer */
.hyp-theme-dark_gothic .hyp-affiliate-disclaimer {
    color: #d3d3d3;
    opacity: 0.8;
}

/* Special dark gothic animations */
@keyframes dark-gothic-glow {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(220, 20, 60, 0.3);
    }
    50% { 
        box-shadow: 0 0 20px rgba(220, 20, 60, 0.6), 
                    0 0 30px rgba(220, 20, 60, 0.4);
    }
}

.hyp-theme-dark_gothic .hyp-video-card:hover {
    animation: dark-gothic-glow 2s ease-in-out infinite;
}

/* Accessibility - High contrast mode */
@media (prefers-contrast: high) {
    .hyp-theme-dark_gothic {
        background: #000000;
        color: #ffffff;
    }
    
    .hyp-theme-dark_gothic .hyp-title {
        color: #ff0000;
    }
    
    .hyp-theme-dark_gothic .hyp-video-card {
        background: #1a1a1a;
        border-color: #ffffff;
    }
    
    .hyp-theme-dark_gothic .hyp-cta-button {
        background: #ff0000;
        color: #ffffff;
        border: 2px solid #ffffff;
    }
}

/* Print styles for dark theme */
@media print {
    .hyp-theme-dark_gothic {
        background: white;
        color: black;
    }
    
    .hyp-theme-dark_gothic .hyp-title,
    .hyp-theme-dark_gothic .hyp-cta-title {
        color: #8b0000;
    }
    
    .hyp-theme-dark_gothic .hyp-video-card,
    .hyp-theme-dark_gothic .hyp-cta-card {
        background: white;
        border-color: #8b0000;
    }
}
