/* Estilos personalizados para el slider de personajes */
.characterSwiper .swiper-slide {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.characterSwiper .swiper-slide-active {
    opacity: 1;
}

.characterSwiper .swiper-slide:not(.swiper-slide-active) {
    opacity: 0.7;
}

/* Estilos para la sección de comunidad */
.community-section {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.1) 0%, rgba(75, 0, 130, 0.1) 100%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.community-section h2 {
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #b8860b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.community-section .glass-card {
    background: rgba(139, 69, 19, 0.1);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.1);
}

.community-section .glass-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 12px 48px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

/* Botones de comunidad */
.community-button {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #ffd700;
    transition: all 0.3s ease;
}

.community-button:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, rgba(255, 215, 0, 0.2) 100%);
    border-color: rgba(212, 175, 55, 0.5);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

/* Iconos de comunidad */
.community-icon {
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

/* Párrafos con mejor espaciado */
.community-content p {
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.community-content p:hover {
    color: rgba(255, 255, 255, 0.95);
}

/* Estilos para paginación y navegación del swiper */
.characterSwiper .swiper-pagination-bullet {
    background: rgba(168, 85, 247, 0.3);
    width: 12px;
    height: 12px;
    opacity: 1;
}

.characterSwiper .swiper-pagination-bullet-active {
    background: rgba(168, 85, 247, 1);
    width: 30px;
    border-radius: 6px;
}

.characterSwiper .swiper-button-prev,
.characterSwiper .swiper-button-next {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    margin-top: -22px;
}

.characterSwiper .swiper-button-prev:after,
.characterSwiper .swiper-button-next:after {
    font-size: 16px;
    color: rgba(168, 85, 247, 1);
    font-weight: bold;
}

.characterSwiper .swiper-button-prev:hover,
.characterSwiper .swiper-button-next:hover {
    background: rgba(168, 85, 247, 0.8);
}

.characterSwiper .swiper-button-prev:hover:after,
.characterSwiper .swiper-button-next:hover:after {
    color: white;
}

/* Estilos avanzados para swiper */
.characterSwiper .swiper-button-prev,
.characterSwiper .swiper-button-next {
    width: 50px;
    height: 50px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(168, 85, 247, 0.4);
    transition: all 0.3s ease;
    margin-top: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.characterSwiper .swiper-button-prev {
    left: 10px;
}

.characterSwiper .swiper-button-next {
    right: 10px;
}

.characterSwiper .swiper-button-prev:hover,
.characterSwiper .swiper-button-next:hover {
    background: rgba(168, 85, 247, 0.4);
    border-color: rgba(168, 85, 247, 0.8);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

.characterSwiper .swiper-button-prev:after,
.characterSwiper .swiper-button-next:after {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
}

.characterSwiper {
    position: relative;
    overflow: hidden;
}

.characterSwiper .swiper-pagination {
    bottom: 20px;
    z-index: 10;
}

/* CSS avanzado para contenido de comunidad */
.community-content {
    line-height: 1.8;
}

.community-content p:first-child {
    background: linear-gradient(90deg, 
        rgba(168, 85, 247, 0.3) 0%, 
        rgba(59, 130, 246, 0.3) 50%, 
        rgba(168, 85, 247, 0.3) 100%);
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #a855f7;
    font-weight: 600;
    animation: glow-pulse 2s ease-in-out infinite alternate;
}

.community-content h2, .community-content h3, .community-content h4 {
    background: linear-gradient(45deg, #a855f7, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
    margin-bottom: 16px;
    position: relative;
}

.community-content ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.community-content ul li:before {
    content: "⚡";
    position: absolute;
    left: 0;
    color: #a855f7;
    font-size: 16px;
    animation: spark 1.5s ease-in-out infinite;
}

.community-content ul li:hover {
    color: #ffffff;
    transform: translateX(8px);
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
}

@keyframes glow-pulse {
    0% { box-shadow: 0 0 5px rgba(168, 85, 247, 0.3); }
    100% { box-shadow: 0 0 20px rgba(168, 85, 247, 0.6); }
}

@keyframes spark {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

/* Estilos adicionales para contenido de comunidad */
.community-content strong {
    background: linear-gradient(45deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

.community-content em {
    color: #60a5fa;
    font-style: italic;
    text-shadow: 0 0 8px rgba(96, 165, 250, 0.4);
}

.community-content blockquote {
    background: rgba(168, 85, 247, 0.1);
    border-left: 4px solid #a855f7;
    padding: 20px;
    margin: 24px 0;
    border-radius: 0 8px 8px 0;
    position: relative;
    font-style: italic;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.2);
}

.community-content blockquote:before {
    content: '"';
    font-size: 60px;
    color: #a855f7;
    position: absolute;
    top: -10px;
    left: 10px;
    font-family: serif;
    opacity: 0.6;
}

.community-content a {
    color: #60a5fa;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.community-content a:hover {
    color: #ffffff;
    border-bottom-color: #a855f7;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
}

.community-content {
    counter-reset: numeric-highlight;
}

.community-content:hover {
    animation: none;
}
