/* MK Web Novelas Styles - Neon Purple & Green */

/* Top Bar */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(157, 78, 221, 0.2);
    z-index: 1000;
    padding: 4px 0;
}

.top-bar .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-bar .nav-logo h2 {
    color: #00a8ff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.web-novelas-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0f0a 30%, #1a0a1a 70%, #0a1a0a 100%);
    padding: 55px 0 50px;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.header-content {
    max-width: 600px;
    margin: 0 auto;
}

.category-icon {
    margin-bottom: 20px;
}

.anime-logo {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    object-fit: cover;
    border: 3px solid rgba(255, 140, 0, 0.6);
    box-shadow: 0 0 25px rgba(255, 140, 0, 0.4), 0 0 50px rgba(157, 78, 221, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 15px;
}

.anime-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(255, 140, 0, 0.6), 0 0 70px rgba(157, 78, 221, 0.3);
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    background: linear-gradient(45deg, #9d4edd, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(157, 78, 221, 0.3);
}

.web-highlight {
    background: linear-gradient(45deg, #ff8c00, #ffa500, #ffb347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 25px rgba(255, 140, 0, 0.6);
    filter: drop-shadow(0 0 15px rgba(255, 165, 0, 0.4));
}

.page-header p {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin: 0 0 30px 0;
    font-weight: 300;
}

/* Page Navigation */
.page-nav {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(157, 78, 221, 0.2);
}

.page-nav .nav-menu {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-nav .nav-link {
    color: #b0b0b0;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.page-nav .nav-link:hover {
    color: #9d4edd;
    background: rgba(157, 78, 221, 0.1);
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.3);
}

.page-nav .nav-link.active {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

/* Novels Grid */
.novels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

/* Novel Card */
.novel-card {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(157, 78, 221, 0.2);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.novel-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #9d4edd;
    box-shadow: 
        0 20px 40px rgba(157, 78, 221, 0.3),
        0 0 30px rgba(0, 255, 136, 0.2);
}

/* Novel Image */
.novel-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.novel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: brightness(0.8);
}

.novel-card:hover .novel-image img {
    transform: scale(1.1);
    filter: brightness(1);
}

/* Novel Status */
.novel-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.novel-status:not(.premium) {
    background: linear-gradient(45deg, #00ff88, #00cc6a);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
}

.novel-status.premium {
    background: linear-gradient(45deg, #9d4edd, #7b2cbf);
    color: #fff;
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.4);
}

/* Novel Info */
.novel-info {
    padding: 20px;
}

.novel-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #fff;
    line-height: 1.3;
}

.novel-info p {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin: 0 0 15px 0;
    line-height: 1.4;
    font-weight: 300;
}

/* Novel Meta */
.novel-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chapters {
    color: #00ff88;
    font-size: 0.85rem;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.rating {
    color: #9d4edd;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating i {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Collection Styles */
.collection-header {
    text-align: center;
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
}

.collection-header h1 {
    font-size: 3em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.collection-description {
    font-size: 1.2em;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.chapters-section {
    margin: 40px 0;
}

.chapters-section h2 {
    color: #333;
    margin-bottom: 30px;
    font-size: 2em;
    text-align: center;
}

.chapters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.chapter-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
}

.chapter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.chapter-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    flex-shrink: 0;
}

.chapter-content {
    flex: 1;
}

.chapter-content h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.chapter-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.chapter-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9em;
    color: #888;
}

.read-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.read-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.read-btn.disabled {
    background: #ccc;
    cursor: not-allowed;
}

.read-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

.collection-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 40px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    display: block;
    font-size: 2.5em;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Collection Link Styles */
.collection-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: row;
    height: 100%;
    align-items: stretch;
}

.collection-link:hover {
    text-decoration: none;
    color: inherit;
}

.collection-card .collection-stats {
    display: none;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.collection-card .stat-item {
    font-size: 0.8em;
    color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

/* Audiobook Player Styles */
.audiobook-player {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.audiobook-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header con información del libro */
.audiobook-header {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.book-cover {
    position: relative;
    flex-shrink: 0;
}

.book-cover img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.book-cover:hover .play-overlay {
    opacity: 1;
}

.main-play-btn {
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    border: none;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.4);
}

.main-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.6);
}

.main-play-btn i {
    font-size: 2rem;
    color: #fff;
    margin-left: 3px;
}

.book-info {
    flex: 1;
}

.book-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.book-author {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 5px;
}

.book-genre {
    font-size: 1rem;
    color: #999;
    margin-bottom: 20px;
}

.genre-tag {
    color: #00ff88;
    text-decoration: none;
    transition: all 0.3s ease;
}

.genre-tag:hover {
    color: white;
    text-decoration: underline;
}

/* Estilos para barra de búsqueda y filtros minimalistas */
.search-filter-bar {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    padding: 0;
}

.search-container {
    flex: 1;
    position: relative;
    max-width: 400px;
}

.search-input {
    width: 100%;
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(64, 224, 208, 0.3);
    border-radius: 25px;
    color: #ffffff;
    padding: 12px 50px 12px 20px;
    font-size: 14px;
    transition: all 0.3s ease;
    outline: none;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-input:focus {
    border-color: #40e0d0;
    box-shadow: 0 0 0 2px rgba(64, 224, 208, 0.2);
    background: rgba(40, 40, 40, 0.9);
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #40e0d0;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: rgba(64, 224, 208, 0.1);
    color: #ffffff;
}

.filter-toggle {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(64, 224, 208, 0.3);
    border-radius: 25px;
    color: #40e0d0;
    padding: 12px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-toggle:hover {
    border-color: #40e0d0;
    background: rgba(40, 40, 40, 0.9);
    color: #ffffff;
}

.filter-toggle.active {
    background: linear-gradient(135deg, #40e0d0, #00bcd4);
    color: #000000;
    border-color: transparent;
}

.filters-panel {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(64, 224, 208, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.filters-panel.hidden {
    display: none;
}

.filter-row {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 180px;
}

.filter-group.horizontal {
    flex-direction: row;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.radio-option, .checkbox-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option:hover, .checkbox-option:hover {
    color: #40e0d0;
}

.radio-option input[type="radio"], .checkbox-option input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(64, 224, 208, 0.4);
    border-radius: 50%;
    background: rgba(30, 30, 30, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.checkbox-option input[type="checkbox"] {
    border-radius: 4px;
}

.radio-option input[type="radio"]:checked, .checkbox-option input[type="checkbox"]:checked {
    border-color: #40e0d0;
    background: linear-gradient(135deg, #40e0d0, #00bcd4);
}

.radio-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #000;
}

.checkbox-option input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-size: 12px;
    font-weight: bold;
}

.radio-option label, .checkbox-option label {
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    margin: 0;
    text-transform: none;
    letter-spacing: normal;
}

.filter-group label {
    color: #40e0d0;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-select {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(64, 224, 208, 0.4);
    border-radius: 8px;
    color: #ffffff;
    padding: 10px 14px;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-select:hover {
    border-color: #40e0d0;
    background: rgba(40, 40, 40, 0.9);
}

.filter-select:focus {
    outline: none;
    border-color: #40e0d0;
    box-shadow: 0 0 0 2px rgba(64, 224, 208, 0.2);
}

.filter-select option {
    background: #1e2028;
    color: #ffffff;
    padding: 8px;
}

.filter-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.filter-btn {
    background: linear-gradient(135deg, #40e0d0, #00bcd4);
    border: none;
    border-radius: 8px;
    color: #000000;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-btn:hover {
    background: linear-gradient(135deg, #00bcd4, #40e0d0);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(64, 224, 208, 0.4);
}

.filter-btn.secondary {
    background: rgba(60, 60, 60, 0.8);
    color: #ffffff;
}

.filter-btn.secondary:hover {
    background: rgba(80, 80, 80, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#apply-filters {
    background: #00d4aa;
    color: #000000;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 36px;
    min-width: 100px;
    align-self: flex-end;
}

#apply-filters:hover {
    background: #00c49a;
    transform: translateY(-1px);
}

#apply-filters:active {
    transform: translateY(0);
    background: #00b48a;
}

/* Estilos para indicador R18 */
.collection-tag.collection-status {
    background: #007acc;
    color: #ffffff;
    border: 1px solid #007acc;
}

.r18-indicator {
    background: rgba(255, 69, 58, 0.9);
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 8px;
    display: inline-block;
}

.r18-indicator.safe {
    background: rgba(52, 199, 89, 0.9);
}

/* Media queries para interfaz minimalista */
@media (max-width: 768px) {
    .search-filter-bar {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-container {
        max-width: 100%;
    }
    
    .filter-toggle {
        width: 100%;
        justify-content: center;
    }
    
    .filter-row {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .filter-group {
        width: 100%;
        min-width: unset;
    }
    
    .filter-actions {
        flex-direction: column;
    }
    
    .filter-btn {
        width: 100%;
    }
    
    .filters-container {
        padding: 12px 16px;
    }
    
    .filters-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    #apply-filters {
        width: 100%;
        align-self: stretch;
    }
}

.book-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.book-stats .stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #00ff88;
    font-size: 0.9rem;
}

.book-description {
    line-height: 1.6;
    color: #ddd;
    font-size: 1rem;
}

/* Reproductor de audio */
.audio-player {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    margin-bottom: 40px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.player-header {
    padding: 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.player-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.expand-indicator {
    color: #fff;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.player-content {
    padding: 0 30px 30px 30px;
    max-height: 1000px;
    opacity: 1;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    overflow: hidden;
}

.player-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.current-chapter h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #fff;
}

.current-chapter p {
    color: #ccc;
    font-size: 0.9rem;
}

.chapter-time {
    display: flex;
    gap: 10px;
    color: #00ff88;
    font-weight: 500;
}

.progress-container {
    flex: 1;
    margin: 0 10px;
}

.progress-bar {
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff88 0%, #00cc6a 100%);
    border-radius: 3px;
    width: 25%;
    transition: width 0.3s ease;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
    border-radius: 0 3px 3px 0;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.progress-handle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: #00ff88;
    border-radius: 50%;
    left: 25%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 255, 136, 0.4);
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    flex-direction: column;
    gap: 2px;
    position: relative;
    overflow: hidden;
}

.control-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.control-btn:hover::before {
    width: 100%;
    height: 100%;
}

.control-btn i {
    position: relative;
    z-index: 1;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.control-btn.main-control {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 5px 20px rgba(0, 255, 136, 0.4);
    }
    50% {
        box-shadow: 0 8px 25px rgba(0, 255, 136, 0.6);
    }
    100% {
        box-shadow: 0 5px 20px rgba(0, 255, 136, 0.4);
    }
}

.control-btn.main-control:hover {
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.6);
}

.control-btn i {
    font-size: 1.2rem;
}

.control-btn.main-control i {
    font-size: 1.5rem;
}

.control-btn span {
    font-size: 0.7rem;
    margin-top: -2px;
}

.player-options {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.option-btn {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.option-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #00ff88;
}

/* Lista de capítulos */
.chapters-list {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chapters-list h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #fff;
    text-align: center;
}

.chapter-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chapter-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.chapter-item.active {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.3);
}

.chapter-item.upcoming {
    opacity: 0.6;
}

.chapter-number {
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.chapter-item.upcoming .chapter-number {
    background: #666;
}

.chapter-details {
    flex: 1;
}

.chapter-details h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #fff;
}

.chapter-details p {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.chapter-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: #999;
}

.chapter-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.chapter-status {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.progress-circle {
    position: relative;
    width: 40px;
    height: 40px;
}

.progress-ring {
    width: 40px;
    height: 40px;
    transform: rotate(-90deg);
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.7rem;
    color: #00ff88;
    font-weight: bold;
}

.coming-soon {
    background: #666;
    color: #fff;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.chapter-play-btn {
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
}

.chapter-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.4);
}

.chapter-play-btn:disabled {
    background: #666;
    cursor: not-allowed;
}

.chapter-play-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .audiobook-header {
        flex-direction: column;
        text-align: center;
    }
    
    .book-cover {
        align-self: center;
    }
    
    .book-title {
        font-size: 2rem;
    }
    
    .player-info {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .chapter-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .chapter-meta {
        justify-content: center;
    }
    
    .web-novelas-container {
        padding: 80px 0 30px;
    }
    
    .page-header h1 {
        font-size: 2.8rem;
    }
    
    .category-icon i {
        font-size: 3rem;
    }
    
    .novels-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
        padding: 0 15px;
    }
    
    .novel-image {
        height: 180px;
    }
    
    .chapters-grid {
        grid-template-columns: 1fr;
    }
    
    .chapter-card {
        flex-direction: column;
        text-align: center;
    }
    
    .collection-header h1 {
        font-size: 2em;
    }
    
    .chapter-meta {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .novels-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .novel-image {
        height: 160px;
    }
    
    .novel-info {
        padding: 15px;
    }
    
    .novel-info h3 {
        font-size: 1.2rem;
    }
}

/* Estilos para página de colección */
.collection-hero {
    margin: 30px 0 40px 0;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    height: 350px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.collection-cover {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff006e, #8338ec, #3a86ff);
}

.hero-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.collection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.collection-info {
    text-align: center;
    color: white;
}

.collection-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.collection-title {
    font-size: 2.5em;
    font-weight: 700;
    margin: 15px 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    color: #ffffff;
}

.collection-subtitle {
    font-size: 1.2em;
    margin-bottom: 20px;
    opacity: 0.9;
}

.collection-meta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.meta-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 15px;
    font-size: 0.9em;
    backdrop-filter: blur(10px);
}

/* Etiquetas */
.tags-section {
    margin: 30px 0;
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tags-section h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.4em;
    font-weight: 600;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tag {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid rgba(0, 255, 136, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tag:hover {
    background: rgba(0, 255, 136, 0.3);
    transform: translateY(-1px);
}

/* Estilos para la nueva página de colección */
.collection-page-header {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.jupiter-logo {
    color: #ffffff;
    font-size: 1.2em;
    font-weight: 600;
    margin: 0;
}

.btn-back {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.auth-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-auth {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-auth:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.btn-auth.btn-register {
    background: linear-gradient(135deg, #9d4edd, #c77dff);
    border: 1px solid rgba(157, 78, 221, 0.5);
}

.btn-auth.btn-register:hover {
    background: linear-gradient(135deg, #b565f0, #d89eff);
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.3);
}

.collection-title-main {
    text-align: center;
    max-width: 1200px;
    margin: 30px auto 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.collection-title-main h1 {
    color: #ffffff;
    font-size: 2.2em;
    margin: 0;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.collection-container {
    background: linear-gradient(135deg, #0f0f23, #1a1a2e);
    min-height: 100vh;
    padding: 40px 0;
}

.collection-main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.collection-cover-section {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.cover-image-container {
    flex-shrink: 0;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bookmark-section {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    width: 100%;
}

.bookmark-btn-large {
    background: rgba(0, 255, 136, 0.2);
    border: 2px solid rgba(0, 255, 136, 0.4);
    border-radius: 8px;
    color: #00ff88;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bookmark-btn-large:hover {
    background: rgba(0, 255, 136, 0.3);
    border-color: rgba(0, 255, 136, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.bookmark-btn-large.bookmarked {
    background: rgba(0, 255, 136, 0.4);
    border-color: #00ff88;
}

.current-chapter-info {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.chapter-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 20px;
}

.chapter-title {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.publication-date {
    color: rgba(0, 255, 136, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(0, 255, 136, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 136, 0.3);
    white-space: nowrap;
}

.chapter-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.progress-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    margin-bottom: 15px;
}

.skip-btn {
    position: relative;
    min-width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.skip-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.skip-time {
    font-size: 0.7rem;
    font-weight: 600;
    color: inherit;
}

.main-play-btn {
    min-width: 70px;
    height: 70px;
    margin-left: 10px;
    background: linear-gradient(135deg, #ff006e, #8338ec);
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 6px 20px rgba(255, 0, 110, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.main-play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 0, 110, 0.4);
}

.player-content {
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible;
}

.unified-player {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
}

.current-time, .total-time {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    min-width: 50px;
    text-align: center;
    flex-shrink: 0;
}

.current-time {
    color: #00ff88;
}

.total-time {
    color: #ff6b6b;
}

.player-cover {
    flex-shrink: 0;
}

.player-cover-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.player-track-info {
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.player-track-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.player-track-date {
    font-size: 0.85rem;
    color: #00ff88;
    margin-bottom: 10px;
    font-weight: 500;
}

.player-track-description {
    font-size: 0.9rem;
    color: #b0b0b0;
    line-height: 1.5;
    margin: 0;
}

.main-cover-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.main-cover-image:hover {
    transform: scale(1.05);
}

.collection-details {
    flex: 1;
    color: #ffffff;
}

.original-title {
    margin-bottom: 20px;
}

.original-title h2 {
    color: #ffffff;
    font-size: 1.8em;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.adult-rating {
    background: #ff4757;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
}

.tags-section {
    margin-bottom: 30px;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.synopsis-section {
    margin-bottom: 30px;
}

.synopsis-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
}

.synopsis-preview, .synopsis-full p {
    color: #e0e0e0;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.synopsis-full p:last-child {
    margin-bottom: 0;
}

.synopsis-toggle {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.synopsis-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.collection-meta {
    display: flex;
    gap: 20px;
    color: #a0a0a0;
}

.meta-item {
    font-size: 0.9em;
}

/* Responsive */
@media (max-width: 768px) {
    .collection-cover-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .main-cover-image {
        width: 250px;
        height: 333px;
    }
    
    .collection-title-main h1 {
        font-size: 2em;
    }
    
    .header-top {
        flex-direction: column;
        gap: 15px;
    }
}

/* Reproductor principal */
.main-audio-player {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    margin: 30px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.main-audio-player .player-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.main-audio-player .player-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.current-track-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.track-cover {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.track-details h3 {
    color: #ffffff;
    margin: 0 0 5px 0;
    font-size: 1.1em;
    font-weight: 600;
}

.track-details p {
    color: #bbb;
    margin: 0;
    font-size: 0.9em;
    opacity: 0.8;
}

.main-audio-player .player-content {
    padding: 0 20px 20px 20px;
    max-height: 1000px;
    opacity: 1;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    overflow: hidden;
}

.audio-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.progress-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.time-display {
    display: flex;
    justify-content: space-between;
    color: #ff006e;
    font-size: 0.9em;
    font-weight: 600;
}

.control-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.bookmark-btn {
    background: linear-gradient(135deg, #ff006e, #8338ec) !important;
}

.bookmark-btn:hover {
    background: linear-gradient(135deg, #8338ec, #ff006e) !important;
    box-shadow: 0 5px 15px rgba(255, 0, 110, 0.4) !important;
}

.bookmarks-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.bookmark-marker {
    position: absolute;
    top: -5px;
    width: 10px;
    height: 20px;
    background: #ff006e;
    border-radius: 5px;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 0, 110, 0.5);
}

.bookmark-marker:hover {
    transform: scale(1.2);
    background: #8338ec;
}

/* Lista de audios */
.audio-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.audio-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.audio-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.audio-item.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.audio-number {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1em;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.audio-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
}

.audio-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.audio-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.audio-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85em;
    color: #bbb;
}

.audio-date {
    color: #a0a0a0;
    font-weight: 500;
}

.audio-duration {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.85em;
}

.audio-lock {
    color: #ffbe0b;
}

.audio-title {
    color: white;
    margin: 0;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.3;
}

.audio-description {
    color: #bbb;
    margin: 0;
    font-size: 0.9em;
    line-height: 1.4;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .collection-title {
        font-size: 2em;
    }
    
    .collection-overlay {
        padding: 20px;
    }
    
    .current-track-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .audio-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .audio-number {
        align-self: flex-start;
    }
}

/* Subscription Tiers */
.subscription-tiers {
    margin: 40px 0;
}

.subscription-tiers h2 {
    text-align: center;
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 40px;
    background: linear-gradient(45deg, #9d4edd, #40e0d0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tier-card {
    background: rgba(20, 20, 20, 0.9);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 2px solid rgba(157, 78, 221, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.tier-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(157, 78, 221, 0.4);
}

.tier-card.popular {
    border-color: #e91e63;
    background: rgba(233, 30, 99, 0.1);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #e91e63;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.tier-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 15px;
    overflow: hidden;
}

.tier-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tier-card h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin: 20px 0;
    font-weight: 700;
}

.tier-price {
    font-size: 2.5rem;
    color: #ffffff;
    font-weight: 700;
    margin: 20px 0;
}

.tier-price span {
    font-size: 1rem;
    color: #b0b0b0;
}

.tier-btn {
    background: #e91e63;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    margin: 20px 0;
    width: 100%;
}

.tier-btn:hover {
    background: #c2185b;
}

.tier-info {
    margin: 20px 0;
    text-align: center;
}

.tier-info p {
    color: #b0b0b0;
    margin: 5px 0;
    font-size: 0.9rem;
}

.tier-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.tier-features li {
    color: #b0b0b0;
    margin: 10px 0;
    padding-left: 20px;
    position: relative;
}

.tier-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #46d39a;
    font-weight: bold;
}

/* Recent Updates */
.recent-updates {
    margin: 60px 0;
}

.recent-updates h2 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 40px;
    background: linear-gradient(45deg, #ff8c00, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.updates-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.update-item {
    display: flex;
    background: rgba(20, 20, 20, 0.8);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(157, 78, 221, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.update-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.3);
}

.update-image {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
}

.update-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.update-content {
    padding: 20px;
    flex: 1;
}

.update-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.update-badge {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.update-badge.new {
    background: rgba(46, 204, 113, 0.2);
    color: #46d39a;
    border: 1px solid #46d39a;
}

.update-badge.update {
    background: rgba(255, 140, 0, 0.2);
    color: #ff8c00;
    border: 1px solid #ff8c00;
}

.update-content h3 {
    color: #ffffff;
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.update-name {
    color: #9d4edd;
    font-weight: 500;
    margin: 10px 0;
    font-style: italic;
}

.update-synopsis {
    color: #b0b0b0;
    line-height: 1.6;
    margin: 0;
}

/* Glow Effects */
@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(157, 78, 221, 0.3)); }
    50% { filter: drop-shadow(0 0 20px rgba(157, 78, 221, 0.6)); }
}

.novel-card:hover .novel-status:not(.premium) {
    animation: glow 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.6));
}

.novel-card:hover .novel-status.premium {
    animation: glow 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(157, 78, 221, 0.6));
}

/* Collections Page Styles */
.collections-section {
    margin-top: 40px;
}

.collections-section h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

/* Filters and Controls */
.collections-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(30, 30, 30, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 15px;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sort-controls label {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}

.sort-select {
    background: rgba(50, 50, 50, 0.9);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 8px;
    color: #fff;
    padding: 8px 12px;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.sort-select:focus {
    border-color: #00ff88;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.tag-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tag-filters label {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}

.tag-filter {
    background: rgba(50, 50, 50, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: #fff;
    padding: 6px 15px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.tag-filter:hover {
    border-color: rgba(0, 255, 136, 0.5);
    background: rgba(0, 255, 136, 0.1);
}

.tag-filter.active {
    background: rgba(0, 255, 136, 0.2);
    border-color: #00ff88;
    color: #00ff88;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px 0;
}

.collection-card {
    background: rgba(30, 30, 30, 0.9);
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    display: flex;
    flex-direction: row;
    height: 200px;
    align-items: stretch;
}

.collection-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.2);
    border-color: rgba(0, 255, 136, 0.3);
}

.collection-image {
    position: relative;
    width: 160px;
    height: 160px;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 12px;
    margin: 20px;
    align-self: center;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 12px;
}

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



.collection-content {
    padding: 20px;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}


.collection-title {
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 5px;
    color: #fff;
}

.collection-subtitle {
    font-size: 0.8em;
    color: #ccc;
    margin-bottom: 10px;
    font-style: italic;
}

.collection-synopsis {
    font-size: 0.85em;
    color: #bbb;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
    word-wrap: break-word;
    max-width: 100%;
    max-height: 2.8em;
}

.collection-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

.collection-tag {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.bookmark-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
}

.bookmark-btn:hover {
    background: rgba(0, 255, 136, 0.9);
    color: #000;
    transform: scale(1.1);
}

.bookmark-btn.bookmarked {
    background: rgba(0, 255, 136, 0.9);
    color: #000;
}

.bookmark-btn svg {
    transition: all 0.3s ease;
}

/* Active navigation link */
.nav-link.active {
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

/* Chat navigation link with specific color */
.nav-link[href*="t.me"] {
    color: #00a8ff !important;
    text-shadow: 0 0 10px rgba(0, 168, 255, 0.5);
}

.nav-link[href*="t.me"]:hover {
    color: #0095e0 !important;
    background: rgba(0, 168, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.3);
}

/* About Section Styles */
.about-section {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.1), rgba(75, 0, 130, 0.1));
    border-radius: 15px;
    border: 2px solid rgba(139, 69, 19, 0.3);
    box-shadow: 0 8px 32px rgba(139, 69, 19, 0.2);
    text-align: center;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-header h2 {
    color: #8b4513;
    font-size: 2.5em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #8b4513, #4b0082);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content {
    color: #e0e0e0;
    line-height: 1.6;
}

.discount-info h3 {
    color: #32cd32;
    font-size: 1.4em;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(50, 205, 50, 0.5);
}

.access-info p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.access-info strong {
    color: #8b4513;
    text-shadow: 0 0 5px rgba(139, 69, 19, 0.5);
}

.additional-section {
    margin-top: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(139, 69, 19, 0.3);
}

.additional-section h3 {
    color: #4b0082;
    font-size: 1.3em;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(75, 0, 130, 0.5);
}

.novel-links {
    margin: 20px 0;
}

.novel-category {
    margin: 10px 0;
    font-size: 1.1em;
}

.category-label {
    color: #32cd32;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(50, 205, 50, 0.5);
}

.patreon-link {
    color: #8b4513;
    text-decoration: none;
    transition: all 0.3s ease;
}

.patreon-link:hover {
    color: #a0522d;
    text-shadow: 0 0 10px rgba(139, 69, 19, 0.7);
}

.separator {
    color: #4b0082;
    margin: 8px 0;
    font-weight: bold;
}

.free-novels {
    margin: 20px 0;
}

.free-novels p {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.free-link {
    color: #32cd32;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.free-link:hover {
    color: #228b22;
    text-shadow: 0 0 10px rgba(50, 205, 50, 0.7);
}

.contact-info {
    margin: 20px 0;
}

.chat-link {
    color: #00a8ff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.chat-link:hover {
    color: #0088cc;
    text-shadow: 0 0 10px rgba(0, 168, 255, 0.7);
}

.private-link {
    color: #8b4513;
    text-decoration: none;
    transition: all 0.3s ease;
}

.private-link:hover {
    color: #a0522d;
    text-shadow: 0 0 10px rgba(139, 69, 19, 0.7);
}

.youtube-section {
    margin: 20px 0;
}

.youtube-link {
    color: #ff0000;
    font-size: 2em;
    text-decoration: none;
    transition: all 0.3s ease;
}

.youtube-link:hover {
    color: #cc0000;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
    transform: scale(1.1);
}

.stats-section {
    margin-top: 30px;
    padding: 20px;
    background: rgba(139, 69, 19, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(139, 69, 19, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.stat-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(75, 0, 130, 0.3);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(75, 0, 130, 0.3);
}

.stat-label {
    color: #4b0082;
    font-size: 0.9em;
    margin-bottom: 5px;
    text-shadow: 0 0 5px rgba(75, 0, 130, 0.5);
}

.stat-value {
    color: #32cd32;
    font-size: 1.5em;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(50, 205, 50, 0.5);
}

.welcome-section h3 {
    color: #10b981;
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 600;
    text-align: center;
}

.admin-info h3,
.rank-access h3 {
    color: #10b981;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

/* Chats Section Styles */
.chats-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.chats-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.chat-option {
    display: flex;
    justify-content: center;
}

.chat-card {
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid #8b5cf6;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 400px;
}

.chat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.chat-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.telegram-card .chat-icon {
    color: #0088cc;
}

.discord-card .chat-icon {
    color: #5865f2;
}

.chat-card h3 {
    color: #10b981;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.chat-card p {
    color: #e5e7eb;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.chat-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.telegram-btn {
    background: #0088cc;
    color: white;
}

.telegram-btn:hover {
    background: #006699;
    transform: translateY(-2px);
}

.discord-btn {
    background: #5865f2;
    color: white;
}

.discord-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
}

/* Subscription Plans Section Styles */
.subscription-plans-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.subscription-header {
    text-align: center;
    margin-bottom: 40px;
}

.subscription-header h2 {
    color: #10b981;
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.subscription-header p {
    color: #e5e7eb;
    font-size: 1.2rem;
}

.subscription-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.plan-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.3);
}

.plan-card.popular {
    border: 2px solid #ec4899;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #ec4899;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10;
}

.plan-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.plan-image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.plan-card:hover .plan-image svg {
    transform: scale(1.05);
}

.plan-info {
    padding: 25px;
}

.plan-info h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
}

.plan-price {
    text-align: center;
    margin-bottom: 20px;
}

.plan-price .price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
}

.plan-price .period {
    font-size: 1rem;
    color: #666;
    margin-left: 5px;
}

.plan-btn {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.trial-btn {
    background: #8b5cf6;
    color: white;
}

.trial-btn:hover {
    background: #7c3aed;
}

.subscribe-btn {
    background: #ec4899;
    color: white;
}

.subscribe-btn:hover {
    background: #db2777;
}

.plan-features {
    font-size: 0.9rem;
    line-height: 1.6;
}

.plan-features p {
    margin-bottom: 8px;
    color: #555;
    text-align: center;
}

.plan-features strong {
    color: #333;
}

.plan-features em {
    color: #666;
    font-style: italic;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.plan-features li {
    padding: 5px 0;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-features li:before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
}

.plan-features .fab {
    color: #5865f2;
}

/* Additional Responsive Design for New Sections */
@media (max-width: 768px) {
    .chats-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .chat-card {
        padding: 20px;
    }
    
    .chat-icon {
        font-size: 2.5rem;
    }
    
    .subscription-plans-section {
        padding: 20px 15px;
    }
    
    .subscription-header h2 {
        font-size: 2rem;
    }
    
    .subscription-plans {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Bookmarks Page Styles */
.bookmarks-section {
    padding: 40px 0;
}

.bookmarks-section h2 {
    color: #40e0d0;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 0 20px rgba(64, 224, 208, 0.3);
}

.sync-message {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(64, 224, 208, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.sync-content {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
    text-align: center;
}

.sync-content i {
    color: #40e0d0;
    font-size: 1.5rem;
}

.sync-content p {
    color: #ffffff;
    margin: 0;
    font-size: 1rem;
}

.login-link {
    color: #40e0d0;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-link:hover {
    color: #00bcd4;
    text-shadow: 0 0 10px rgba(64, 224, 208, 0.5);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}

.empty-content i {
    font-size: 4rem;
    color: #40e0d0;
    margin-bottom: 20px;
    opacity: 0.7;
}

.empty-content h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.empty-content p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

.empty-content a {
    color: #40e0d0;
    text-decoration: none;
    font-weight: 600;
}

.empty-content a:hover {
    color: #00bcd4;
    text-shadow: 0 0 10px rgba(64, 224, 208, 0.5);
}

.bookmark-btn.active {
    background: linear-gradient(135deg, #40e0d0, #00bcd4);
    color: #000;
}

.bookmark-btn.active:hover {
    background: linear-gradient(135deg, #00bcd4, #40e0d0);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(64, 224, 208, 0.4);
}

@media (max-width: 768px) {
    .update-item {
        flex-direction: column;
    }
    
    .update-image {
        width: 100%;
        height: 200px;
    }
    
    .tiers-grid {
        grid-template-columns: 1fr;
    }
    
    .collections-grid {
        grid-template-columns: 1fr;
    }
    
    .collection-card {
        height: 150px;
    }
    
    .collection-image {
        width: 120px;
        height: 120px;
        margin: 10px;
        align-self: center;
        border-radius: 12px;
    }
    
    .collections-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    
    .sort-controls {
        justify-content: center;
    }
    
    .tag-filters {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Responsive design for about section */
    .about-section {
        margin-top: 20px;
        padding: 20px;
    }
    
    .about-header h2 {
        font-size: 2em;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-value {
        font-size: 1.3em;
    }
}