/**
 * AIMM-style Project View CSS - AIMangaMaker.com
 * Styling for individual project pages in AIMM streaming style
 */

/* ===== PROJECT VIEW SPECIFIC STYLES ===== */
.project-view-body {
    background-color: #141414;
}

/* ===== PROJECT HERO SECTION ===== */
.project-hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin-top: 68px;
}

.project-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.project-hero .hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.project-hero .hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0.1) 50%,
        rgba(0,0,0,0.01) 100%
    ),
    linear-gradient(
        to top,
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0.1) 60%,
        rgba(0,0,0,0.01) 100%
    );
}

.project-hero .hero-content {
    padding: 0 60px 60px;
    max-width: 60%;
}

.project-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    line-height: 1.2;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    font-size: 16px;
    font-weight: 500;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-meta .content-type {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.project-meta .rating {
    color: #f5c518;
}

/* Age Rating Badges */
.project-meta .age-rating {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid;
}

.project-meta .age-rating.age-everyone {
    background: rgba(76, 175, 80, 0.2);
    color: #66bb6a;
    border-color: #66bb6a;
}

.project-meta .age-rating.age-13 {
    background: rgba(33, 150, 243, 0.2);
    color: #42a5f5;
    border-color: #42a5f5;
}

.project-meta .age-rating.age-16 {
    background: rgba(255, 152, 0, 0.2);
    color: #ffa726;
    border-color: #ffa726;
}

.project-meta .age-rating.age-18 {
    background: rgba(244, 67, 54, 0.2);
    color: #ef5350;
    border-color: #ef5350;
}

.project-meta .age-rating.age-mature {
    background: rgba(183, 28, 28, 0.3);
    color: #e53935;
    border-color: #e53935;
}

.project-genres {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.genre-tag {
    background: var(--primary-color);
    color: #e5e5e5;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    color: #e5e5e5;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    justify-content: center;
}

.btn-hero.btn-primary {
    background: #fff;
    color: #000;
}

.btn-hero.btn-primary:hover {
    background: #e5e5e5;
    transform: translateY(-2px);
}

.btn-hero.btn-secondary {
    background: rgba(109, 109, 110, 0.7);
    color: #fff;
    border: 2px solid transparent;
}

.btn-hero.btn-secondary:hover {
    background: rgba(109, 109, 110, 0.9);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ===== PROJECT MAIN CONTENT ===== */
.project-main {
    padding: 40px 60px;
}

.project-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    margin-bottom: 60px;
}

.content-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 24px;
    color: #e5e5e5;
}

/* ===== EPISODES/CHAPTERS SECTION ===== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.section-tabs {
    display: flex;
    gap: 16px;
}

.tab-btn {
    padding: 12px 24px;
    border: none;
    background: transparent;
    color: var(--light-color);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.tab-btn.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: #e50914;
    border-radius: 2px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.episodes-grid {
    display: grid;
    gap: 16px;
}

.episode-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.episode-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.episode-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--light-color);
    min-width: 60px;
    text-align: center;
}

.episode-info {
    flex: 1;
}

.episode-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 8px;
    color: #fff;
}

.episode-meta {
    color: var(--light-color);
    font-size: 14px;
    margin: 0;
}

.episode-actions {
    display: flex;
    gap: 12px;
}

.btn-episode {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.btn-episode:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    transform: scale(1.1);
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.about-text {
    font-size: 16px;
    line-height: 1.6;
    color: #e5e5e5;
}

.about-text p {
    margin: 0 0 16px;
}

.about-details {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-row {
    display: flex;
    margin-bottom: 16px;
    align-items: flex-start;
    gap: 12px;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-label {
    font-weight: 600;
    color: var(--light-color);
    min-width: 80px;
    font-size: 14px;
}

.detail-value {
    color: #e5e5e5;
    font-size: 14px;
}

.creator-link {
    color: #54b9c5;
    text-decoration: none;
    font-weight: 500;
}

.creator-link:hover {
    color: #46a2ad;
    text-decoration: underline;
}

.genres-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.genre-pill {
    background: rgba(229, 9, 20, 0.2);
    color: #ff6b6b;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

/* ===== CHARACTERS SECTION ===== */
.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.character-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.character-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.character-image {
    aspect-ratio: 3/4;
    overflow: hidden;
    position: relative;
}

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

.character-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--light-color);
}

.character-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 16px 16px 8px;
    color: #fff;
}

.character-card p {
    font-size: 14px;
    color: #ccc;
    margin: 0 16px 16px;
    line-height: 1.4;
}

/* ===== MODALS ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: #222;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    position: relative;
    z-index: 1;
    border: 1px solid #444;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid #444;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--light-color);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

/* ===== RATING MODAL ===== */
.rating-section {
    margin-bottom: 24px;
    text-align: center;
}

.rating-section p {
    color: #e5e5e5;
    margin-bottom: 16px;
    font-size: 16px;
}

.star-rating {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
}

.star-btn {
    background: transparent;
    border: none;
    color: var(--light-color);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 8px;
    border-radius: 50%;
}

.star-btn:hover,
.star-btn.active {
    color: #f5c518;
    transform: scale(1.1);
}

.comment-section label {
    display: block;
    color: #e5e5e5;
    font-weight: 500;
    margin-bottom: 8px;
}

.comment-section textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #444;
    border-radius: 6px;
    padding: 12px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
}

.comment-section textarea:focus {
    outline: none;
    border-color: #e50914;
    background: rgba(255, 255, 255, 0.15);
}

/* ===== SHARE MODAL ===== */
.share-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #e5e5e5;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.share-option:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.share-option i {
    font-size: 1.5rem;
}

.share-option span {
    font-size: 14px;
    font-weight: 500;
}

/* ===== BUTTON STYLES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
}

.btn.btn-primary {
    background: #e50914;
    color: #fff;
}

.btn.btn-primary:hover {
    background: #f40612;
}

.btn.btn-primary:disabled {
    background: #666;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn.btn-outline {
    background: transparent;
    color: #e5e5e5;
    border: 1px solid #666;
}

.btn.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--light-color);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .project-hero .hero-content {
        padding: 0 40px 40px;
        max-width: 70%;
    }
    
    .project-main {
        padding: 40px 40px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .project-hero {
        height: 70vh;
        margin-top: 60px;
    }

    .project-hero .hero-background img {
        object-position: top center;
        filter: brightness(1);
    }

    .project-hero .hero-gradient {
        background: linear-gradient(
            to top,
            rgba(0,0,0,0.9) 0%,
            rgba(0,0,0,0.5) 40%,
            rgba(0,0,0,0.2) 70%,
            rgba(0,0,0,0.0) 100%
        );
    }

    /* Stack hero content vertically on mobile */
    .project-hero .hero-content {
        padding: 0 20px 30px !important;
        max-width: 100% !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    /* Hide cover image on mobile */
    .hero-cover {
        display: none !important;
    }

    .hero-info {
        flex: 1 !important;
        max-width: 100% !important;
    }

    .project-title {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }

    .project-meta {
        font-size: 13px;
        gap: 10px;
    }

    .project-meta .content-type {
        font-size: 12px;
        padding: 3px 10px;
    }

    .project-meta .age-rating {
        font-size: 12px;
        padding: 3px 10px;
    }

    .project-genres {
        margin-bottom: 16px;
    }

    .genre-tag {
        font-size: 12px;
        padding: 4px 10px;
    }

    .project-description {
        display: none;
    }

    .hero-actions {
        gap: 12px;
        flex-direction: row !important;
    }

    .btn-hero {
        padding: 0 !important;
        font-size: 0 !important;
        min-width: 48px !important;
        max-width: 48px !important;
        width: 48px !important;
        height: 48px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0 !important;
    }

    .btn-hero i {
        font-size: 20px !important;
        margin: 0 !important;
        display: block !important;
    }

    .project-main {
        padding: 30px 20px;
    }

    .content-section {
        margin-bottom: 40px;
    }

    .content-section h2 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 20px;
    }

    .tab-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .episode-card {
        padding: 16px;
        gap: 16px;
    }

    .episode-number {
        font-size: 1.5rem;
        min-width: 50px;
    }

    .episode-info h3 {
        font-size: 1.1rem;
    }

    .episode-meta {
        font-size: 13px;
    }

    .btn-episode {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    .about-content {
        gap: 24px;
    }

    .about-text {
        font-size: 14px;
    }

    .about-details {
        padding: 20px;
    }

    .characters-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 16px;
    }

    .character-card h3 {
        font-size: 1rem;
        margin: 12px 12px 6px;
    }

    .character-card p {
        font-size: 12px;
        margin: 0 12px 12px;
    }

    /* Mobile-friendly sliders */
    .slider-track {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .slider-track::-webkit-scrollbar {
        display: none;
    }

    .content-card {
        scroll-snap-align: start;
    }

    .slider-btn {
        display: none;
    }

    .modal-content {
        margin: 20px;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-header h3 {
        font-size: 1.2rem;
    }

    .modal-body {
        padding: 20px;
    }

    .share-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .project-hero {
        height: 65vh;
        margin-top: 56px;
    }

    .project-hero .hero-content {
        padding: 0 16px 24px !important;
    }

    .project-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .project-meta {
        flex-wrap: wrap;
        gap: 8px;
        font-size: 12px;
    }

    .project-meta .content-type {
        font-size: 11px;
        padding: 2px 8px;
    }

    .project-meta .age-rating {
        font-size: 11px;
        padding: 2px 8px;
    }

    .genre-tag {
        font-size: 11px;
        padding: 3px 8px;
    }

    .hero-actions {
        width: auto;
        flex-direction: row !important;
        gap: 10px;
        justify-content: flex-start;
    }

    .btn-hero {
        padding: 0 !important;
        font-size: 0 !important;
        min-width: 44px !important;
        max-width: 44px !important;
        width: 44px !important;
        height: 44px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0 !important;
    }

    .btn-hero i {
        font-size: 18px !important;
        margin: 0 !important;
        display: block !important;
    }

    .project-main {
        padding: 20px 16px;
    }

    .content-section {
        margin-bottom: 32px;
    }

    .content-section h2 {
        font-size: 1.2rem;
        margin-bottom: 16px;
    }

    .section-header {
        margin-bottom: 16px;
    }

    .section-tabs {
        width: 100%;
    }

    .tab-btn {
        flex: 1;
        padding: 8px 16px;
        font-size: 13px;
    }

    .episode-card {
        padding: 12px;
        gap: 12px;
    }

    .episode-number {
        font-size: 1.3rem;
        min-width: 40px;
    }

    .episode-info h3 {
        font-size: 1rem;
    }

    .episode-meta {
        font-size: 12px;
    }

    .btn-episode {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .about-content {
        gap: 20px;
    }

    .about-text {
        font-size: 13px;
    }

    .about-details {
        padding: 16px;
    }

    .detail-label {
        min-width: 70px;
        font-size: 12px;
    }

    .detail-value {
        font-size: 12px;
    }

    .genre-pill {
        font-size: 11px;
        padding: 3px 6px;
    }

    .characters-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .character-card h3 {
        font-size: 0.9rem;
        margin: 10px 10px 4px;
    }

    .character-card p {
        font-size: 11px;
        margin: 0 10px 10px;
    }

    .content-card {
        min-width: 140px;
        height: 200px;
    }

    .modal-content {
        margin: 16px;
    }

    .modal-header {
        padding: 16px;
    }

    .modal-header h3 {
        font-size: 1.1rem;
    }

    .modal-body {
        padding: 16px;
    }

    .modal-footer {
        padding: 16px;
        flex-direction: column;
    }

    .modal-footer .btn {
        width: 100%;
    }

    .star-btn {
        font-size: 1.5rem;
        padding: 6px;
    }

    .share-option {
        padding: 16px;
    }

    .share-option i {
        font-size: 1.3rem;
    }

    .share-option span {
        font-size: 12px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section {
    animation: slideUp 0.6s ease-out;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.hidden {
    display: none;
}

/* ===== REVIEWS/RATINGS SECTION ===== */
.reviews-section .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.reviews-section .section-header h2 {
    margin: 0;
}

.review-count {
    color: var(--light-color);
    font-size: 14px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.review-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.review-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

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

.reviewer-info {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    flex: 1;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.reviewer-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--light-color);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.reviewer-details {
    flex: 1;
}

.reviewer-name {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reviewer-name.premium {
    color: #ffd700;
}

.review-rating {
    display: flex;
    gap: 4px;
}

.review-rating i {
    font-size: 14px;
    color: var(--light-color);
}

.review-rating i.active {
    color: #f5c518;
}

.review-date {
    font-size: 13px;
    color: var(--light-color);
    white-space: nowrap;
}

.review-comment {
    color: #e5e5e5;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ===== READING PROGRESS TRACKER ===== */
.reading-progress-section .section-header h2 {
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.progress-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.progress-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.progress-info {
    flex: 1;
}

.chapter-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.badge-type {
    background: rgba(229, 9, 20, 0.2);
    color: #ff6b6b;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.progress-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px;
    color: #fff;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #e50914, #ff4c54);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 13px;
    color: var(--light-color);
    margin: 0 0 8px;
}

.last-read {
    font-size: 12px;
    color: var(--light-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-continue {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-continue:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateX(4px);
}

.btn-continue i {
    font-size: 16px;
}

/* ===== RESPONSIVE DESIGN FOR NEW SECTIONS ===== */
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .review-card {
        padding: 16px;
    }

    .reviewer-avatar,
    .reviewer-avatar-placeholder {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .reviewer-name {
        font-size: 14px;
    }

    .review-rating i {
        font-size: 12px;
    }

    .review-date {
        font-size: 12px;
    }

    .review-comment {
        font-size: 13px;
    }

    .progress-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .progress-card {
        padding: 16px;
    }

    .progress-card h4 {
        font-size: 14px;
    }

    .btn-continue {
        padding: 10px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .review-header {
        flex-direction: column;
        gap: 8px;
    }

    .review-date {
        align-self: flex-start;
        margin-top: -8px;
    }

    .reviewer-avatar,
    .reviewer-avatar-placeholder {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .reviewer-info {
        gap: 10px;
    }

    .progress-card {
        padding: 14px;
    }

    .chapter-badge {
        flex-wrap: wrap;
    }

    .badge-type {
        font-size: 10px;
        padding: 3px 6px;
    }
}