/* ============================================
   ESTILOS PARA SERIES Y COLECCIONES
   ============================================ */

/* ============================================
   NAVEGACIÓN DE SERIES
   ============================================ */

.cyberpunk-series-navigation {
    background-color: #0a0a0a;
    border: 2px solid #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 2px;
}

.series-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #ff00ff;
}

.series-title {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.series-title a {
    color: #00ffff;
    text-decoration: none;
}

.series-title a:hover {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
}

.series-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background-color: #050505;
    border: 1px solid #9d00ff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(157, 0, 255, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    transition: width 0.5s ease;
}

.progress-text {
    color: #ff00ff;
    font-weight: 700;
    font-size: 0.9rem;
    text-shadow: 0 0 5px #ff00ff;
    min-width: 50px;
    text-align: right;
}

.series-navigation-buttons {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.btn-series-prev,
.btn-series-next {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: 2px solid #00ffff;
    background-color: transparent;
    color: #00ffff;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    font-family: 'Roboto Mono', monospace;
    text-align: center;
    text-decoration: none;
    display: block;
}

.btn-series-prev:hover,
.btn-series-next:hover {
    background-color: #00ffff;
    color: #050505;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

/* ============================================
   LISTA DE SERIES
   ============================================ */

.cyberpunk-series-list {
    background-color: #0a0a0a;
    border: 1px solid #9d00ff;
    box-shadow: 0 0 15px rgba(157, 0, 255, 0.1);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 2px;
}

.series-list-title {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.series-posts-list {
    list-style: none;
}

.series-post-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #9d00ff;
    transition: all 0.3s ease;
}

.series-post-item:last-child {
    border-bottom: none;
}

.series-post-item:hover {
    background-color: rgba(0, 255, 255, 0.05);
    padding-left: 0.5rem;
}

.series-post-item.current {
    background-color: rgba(255, 0, 255, 0.1);
    border-left: 3px solid #ff00ff;
    padding-left: 0.75rem;
}

.post-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #050505;
    border: 2px solid #00ffff;
    color: #00ffff;
    font-weight: 700;
    border-radius: 50%;
    margin-right: 1rem;
    font-size: 0.85rem;
    text-shadow: 0 0 5px #00ffff;
}

.series-post-item.current .post-number {
    background-color: #ff00ff;
    border-color: #ff00ff;
    color: #050505;
    text-shadow: none;
}

.series-post-item a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1;
}

.series-post-item a:hover {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

.series-post-item.current a {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
    font-weight: 700;
}

/* ============================================
   TARJETAS DE SERIES
   ============================================ */

.series-card {
    background-color: #0a0a0a;
    border: 1px solid #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.series-card:hover {
    border-color: #ff00ff;
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.3);
}

.series-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #050505;
}

.series-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.series-card:hover .series-thumbnail img {
    transform: scale(1.05);
}

.series-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.series-card-title {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.series-card-title a {
    color: #00ffff;
    text-decoration: none;
}

.series-card-title a:hover {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
}

.series-card-excerpt {
    color: #e0e0e0;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex: 1;
    line-height: 1.6;
}

.series-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #9d00ff;
    color: #9d00ff;
    font-size: 0.85rem;
}

.series-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #9d00ff;
}

.post-count {
    color: #00ffff;
    font-weight: 700;
    text-shadow: 0 0 5px #00ffff;
}

/* ============================================
   GRID DE SERIES
   ============================================ */

.series-grid,
.series-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.series-archive-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.series-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #050505;
}

.series-card-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.series-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.series-archive-card:hover .series-card-image img {
    transform: scale(1.05);
}

.series-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.series-card-title {
    margin-bottom: 0.75rem;
}

.series-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #9d00ff;
}

.series-author,
.series-date {
    color: #9d00ff;
    font-size: 0.85rem;
}

.series-author a {
    color: #00ffff;
}

.series-author a:hover {
    color: #ff00ff;
}

/* ============================================
   PERFIL DE CREADOR
   ============================================ */

.cyberpunk-creator-profile {
    background-color: #0a0a0a;
    border: 2px solid #ff00ff;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
    padding: 2rem;
    margin-bottom: 3rem;
    border-radius: 2px;
}

.creator-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #00ffff;
}

.creator-avatar {
    flex-shrink: 0;
}

.creator-avatar img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.creator-info {
    flex: 1;
}

.creator-name {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
    margin-bottom: 0.5rem;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.creator-bio {
    color: #e0e0e0;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.creator-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat strong {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
    font-size: 1.5rem;
}

.stat {
    color: #9d00ff;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.creator-series {
    margin-top: 2rem;
}

.creator-series h3 {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   SECCIÓN DE POSTS DE SERIE
   ============================================ */

.series-posts-container {
    margin-top: 3rem;
}

.series-posts-title {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid #ff00ff;
    padding-bottom: 1rem;
}

/* ============================================
   ARCHIVO DE SERIES
   ============================================ */

.archive-header {
    background-color: #0a0a0a;
    border: 2px solid #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 2px;
}

.archive-title {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
    margin-bottom: 0.5rem;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.archive-description {
    color: #9d00ff;
    text-shadow: 0 0 5px #9d00ff;
    font-size: 1rem;
    letter-spacing: 1px;
}

/* ============================================
   SECCIÓN DE POSTS DE AUTOR
   ============================================ */

.author-posts-section {
    margin-top: 3rem;
}

.author-posts-title {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid #00ffff;
    padding-bottom: 1rem;
}

/* ============================================
   SERIE INDIVIDUAL
   ============================================ */

.series-single {
    background-color: #0a0a0a;
    border: 2px solid #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    padding: 2rem;
    margin-bottom: 2rem;
}

.series-featured-image {
    margin-bottom: 2rem;
    border: 2px solid #ff00ff;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
    overflow: hidden;
}

.series-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.series-title {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.series-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #9d00ff;
    color: #9d00ff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.series-author a,
.series-date {
    color: #00ffff;
}

.series-author a:hover {
    color: #ff00ff;
}

.series-description {
    color: #e0e0e0;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.series-stats {
    display: flex;
    gap: 2rem;
    padding: 1.5rem;
    background-color: #050505;
    border: 1px solid #9d00ff;
    border-radius: 2px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-label {
    color: #9d00ff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
    font-size: 1.5rem;
    font-weight: 700;
}

/* ============================================
   RESPONSIVE SERIES
   ============================================ */

@media (max-width: 768px) {
    .series-grid,
    .series-archive-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .creator-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .creator-stats {
        justify-content: center;
    }

    .series-navigation-buttons {
        flex-direction: column;
    }

    .btn-series-prev,
    .btn-series-next {
        width: 100%;
    }

    .series-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cyberpunk-series-navigation,
    .cyberpunk-series-list,
    .cyberpunk-creator-profile,
    .series-single {
        padding: 1.5rem;
    }

    .series-title {
        font-size: 1.5rem;
    }

    .creator-name {
        font-size: 1.5rem;
    }

    .series-card-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .series-grid,
    .series-archive-grid {
        grid-template-columns: 1fr;
    }

    .creator-avatar img {
        width: 100px;
        height: 100px;
    }

    .series-title {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .creator-name {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .archive-title {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }

    .series-posts-title,
    .author-posts-title {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .post-number {
        width: 25px;
        height: 25px;
        font-size: 0.75rem;
    }
}
