/* ============================================================
   CAPSTONE TV - Page Styles (MOBILE RESPONSIVE)
   Extracted from: index.php, category.php, movie.php, movies.php
   Link this sheet in includes/header.php AFTER your main stylesheet.
   ============================================================ */


/* ============================================================
   SHARED / REUSABLE
   ============================================================ */

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #ff3a3a);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

@media (max-width: 768px) {
    .btn {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .btn {
        padding: 8px 12px;
        font-size: 0.85rem;
        gap: 5px;
    }
}


/* ============================================================
   INDEX PAGE — Featured Premiere / Coming Soon
   ============================================================ */

.featured-premiere-section {
    background: linear-gradient(135deg, rgba(226, 232, 240, 0.05) 0%, rgba(15, 23, 42, 0.1) 100%);
    border-top: 2px solid var(--primary);
    border-bottom: 1px solid var(--border-light);
    padding: 60px 20px;
    margin: 60px 0;
}

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

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

.badge-coming {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), #ff3a3a);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.featured-premiere-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.premiere-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.premiere-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.premiere-poster {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.premiere-poster img {
    width: 100%;
    height: auto;
    display: block;
}

.premiere-details h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 25px;
    font-weight: 600;
}

.countdown-display {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.countdown-item {
    text-align: center;
    background: var(--bg-surface);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.countdown-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.premiere-actions {
    display: flex;
    gap: 15px;
}

@media (max-width: 992px) {
    .premiere-info {
        gap: 30px;
    }
    
    .premiere-details h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .featured-premiere-section {
        padding: 40px 15px;
        margin: 30px 0;
    }

    .featured-premiere-header h2 {
        font-size: 1.8rem;
    }
    
    .badge-coming {
        font-size: 10px;
        padding: 4px 12px;
    }
    
    .premiere-description {
        font-size: 1rem;
        padding: 0 10px;
    }

    .premiere-info {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .premiere-poster {
        max-width: 80%;
        margin: 0 auto;
    }

    .countdown-display {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .countdown-item {
        padding: 15px 10px;
    }

    .countdown-value {
        font-size: 1.8rem;
    }
    
    .countdown-label {
        font-size: 0.75rem;
    }

    .premiere-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .premiere-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .featured-premiere-section {
        padding: 30px 10px;
        margin: 20px 0;
    }
    
    .featured-premiere-header h2 {
        font-size: 1.4rem;
    }
    
    .premiere-description {
        font-size: 0.9rem;
    }
    
    .premiere-poster {
        max-width: 100%;
    }
    
    .premiere-details h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .countdown-display {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .countdown-item {
        padding: 12px 8px;
    }
    
    .countdown-value {
        font-size: 1.4rem;
    }
    
    .countdown-label {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
    }
}


/* ============================================================
   CATEGORY PAGE
   ============================================================ */

.category-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 3rem 0;
    margin-top: 60px;
}

.category-header-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.category-description {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.category-stats {
    font-size: 1rem;
    opacity: 0.8;
}

.filters-section {
    padding: 2rem 0;
    background: var(--dark-bg);
    border-bottom: 1px solid var(--border-color);
}

.filters-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.search-form {
    flex: 1;
    min-width: 250px;
}

.search-box {
    display: flex;
    gap: 0.5rem;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-color);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(100, 200, 255, 0.1);
}

.search-btn {
    padding: 0.75rem 1.5rem;
}

.filter-controls {
    display: flex;
    gap: 1.5rem;
    flex: 1;
    min-width: 300px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 500;
    white-space: nowrap;
}

.filter-group select {
    padding: 0.75rem;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-color);
    cursor: pointer;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pagination ul {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-link:hover,
.pagination-link.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination-ellipsis {
    padding: 0.5rem;
    color: var(--text-muted);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state-icon {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.empty-state h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .category-header {
        padding: 2.5rem 0;
        margin-top: 50px;
    }
    
    .category-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .category-header {
        padding: 2rem 0;
        margin-top: 40px;
    }
    
    .category-header-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 0 15px;
    }
    
    .category-title {
        font-size: 1.8rem;
        justify-content: center;
        margin: 0 0 0.5rem 0;
        flex-wrap: wrap;
    }
    
    .category-description {
        font-size: 0.95rem;
    }
    
    .category-stats {
        font-size: 0.9rem;
    }
    
    .filters-wrapper {
        flex-direction: column;
        gap: 1rem;
        padding: 0 15px;
    }

    .search-form {
        width: 100%;
        min-width: unset;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-input {
        width: 100%;
    }
    
    .search-btn {
        width: 100%;
        justify-content: center;
    }

    .filter-controls {
        flex-direction: column;
        width: 100%;
        min-width: unset;
        gap: 0.8rem;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    
    .filter-group label {
        white-space: normal;
        font-size: 0.9rem;
    }
    
    .filter-group select {
        width: 100%;
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    .pagination {
        margin-top: 2rem;
        padding: 0 15px;
    }
    
    .pagination-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .empty-state {
        padding: 2.5rem 1rem;
    }
    
    .empty-state-icon {
        font-size: 3rem;
    }
    
    .empty-state h2 {
        font-size: 1.3rem;
    }
    
    .empty-state p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .category-header {
        padding: 1.5rem 0;
        margin-top: 30px;
    }
    
    .category-title {
        font-size: 1.4rem;
        gap: 0.5rem;
    }
    
    .category-description {
        font-size: 0.85rem;
    }
    
    .category-stats {
        font-size: 0.8rem;
    }
    
    .filter-group label {
        font-size: 0.8rem;
    }
    
    .filter-group select {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .pagination ul {
        gap: 0.3rem;
    }
    
    .pagination-link {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
        border-radius: 0.3rem;
    }
}


/* ============================================================
   MOVIE DETAIL PAGE
   ============================================================ */

.movie-hero-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-top: 30px;
}

.movie-poster-large {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.movie-poster-large img {
    width: 100%;
    height: auto;
    display: block;
}

.discount-badge-large {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e50914;
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(229, 9, 20, 0.3);
}

.new-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #00b894;
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.movie-meta-large {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.age-rating {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
}

.age-rating.pg-13    { background: #f39c12; }
.age-rating.r        { background: #e74c3c; }
.age-rating[class*="18"] { background: #c0392b; }

.price-section {
    margin-bottom: 25px;
}

.original-price {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
    margin-right: 15px;
}

.discounted-price,
.current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e50914;
}

.price-label {
    display: block;
    font-size: 0.9rem;
    color: #999;
    margin-top: 5px;
}

.payment-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.movie-stats {
    display: flex;
    gap: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #e50914;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Info Card */
.info-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-label {
    width: 40%;
    color: #666;
}

.info-value {
    width: 60%;
    color: #333;
    font-weight: 500;
}

.age-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.payment-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 5px;
}

.payment-badge.mtn    { background: #ffc107; color: #000; }
.payment-badge.airtel { background: #e83e8c; color: white; }

/* Payment Modal */
.payment-movie-summary {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 25px;
}

.payment-poster {
    width: 60px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
}

.payment-movie-info h6 {
    margin: 0 0 5px 0;
    font-weight: 600;
}

.payment-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e50914;
}

.network-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
}

.network-option {
    position: relative;
}

.network-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.network-option label {
    display: block;
    padding: 15px;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s;
}

.network-option input[type="radio"]:checked + label {
    border-color: #e50914;
    background: #fff5f5;
}

.network-icon {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.network-icon.mtn    { color: #ffc107; }
.network-icon.airtel { color: #e83e8c; }

.network-name {
    font-size: 0.9rem;
    color: #666;
}

.phone-input-group {
    display: flex;
    align-items: center;
}

.country-code {
    padding: 10px 15px;
    background: #f8f9fa;
    border: 1px solid #ced4da;
    border-right: none;
    border-radius: 6px 0 0 6px;
    font-weight: 600;
}

.phone-input-group input {
    border-radius: 0 6px 6px 0;
}

/* Success Modal */
.success-icon {
    font-size: 5rem;
    color: #28a745;
    margin-bottom: 20px;
}

.success-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.success-message {
    color: #666;
    margin-bottom: 20px;
}

.access-info {
    background: #e3f2fd;
    color: #0d47a1;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 25px;
}

@media (max-width: 992px) {
    .movie-hero-grid {
        gap: 30px;
    }
    
    .movie-poster-large {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .discounted-price,
    .current-price {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .movie-hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    .movie-poster-large {
        max-width: 200px;
        margin: 0 auto;
    }
    
    .discount-badge-large {
        font-size: 1rem;
        padding: 6px 12px;
        top: 10px;
        left: 10px;
    }
    
    .new-badge {
        font-size: 0.75rem;
        padding: 6px 15px;
        top: 10px;
        right: 10px;
    }
    
    .movie-meta-large {
        gap: 12px;
        margin-bottom: 20px;
        font-size: 0.9rem;
        justify-content: center;
    }
    
    .age-rating {
        font-size: 0.8rem;
        padding: 3px 8px;
    }
    
    .price-section {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .original-price {
        font-size: 1rem;
        margin-right: 10px;
    }
    
    .discounted-price,
    .current-price {
        font-size: 2rem;
    }
    
    .price-label {
        font-size: 0.8rem;
    }

    .payment-actions {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .payment-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .movie-stats {
        justify-content: space-around;
        gap: 20px;
        flex-wrap: wrap;
        padding-top: 15px;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Info Card */
    .info-card {
        padding: 20px;
        margin-bottom: 20px;
        border-radius: 8px;
    }
    
    .card-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .info-list li {
        flex-direction: column;
        padding: 8px 0;
        gap: 2px;
    }
    
    .info-label {
        width: 100%;
        font-size: 0.85rem;
    }
    
    .info-value {
        width: 100%;
        font-size: 0.95rem;
    }
    
    .age-badge {
        font-size: 0.75rem;
        padding: 2px 6px;
    }
    
    .payment-badge {
        font-size: 0.75rem;
        padding: 3px 8px;
        margin-right: 3px;
    }
    
    /* Payment Modal */
    .payment-movie-summary {
        flex-direction: column;
        text-align: center;
        padding: 12px;
        gap: 10px;
    }
    
    .payment-poster {
        width: 50px;
        height: 75px;
    }
    
    .payment-movie-info h6 {
        font-size: 0.95rem;
    }
    
    .payment-amount {
        font-size: 1.1rem;
    }
    
    .network-selector {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .network-option label {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .network-icon {
        font-size: 1rem;
    }
    
    .network-name {
        font-size: 0.8rem;
    }
    
    .phone-input-group {
        flex-wrap: wrap;
    }
    
    .country-code {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .phone-input-group input {
        border-radius: 0 6px 6px 0;
        font-size: 0.9rem;
        padding: 8px 12px;
    }
    
    /* Success Modal */
    .success-icon {
        font-size: 3.5rem;
        margin-bottom: 15px;
    }
    
    .success-title {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    
    .success-message {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .access-info {
        font-size: 0.9rem;
        padding: 10px;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .movie-hero-grid {
        gap: 15px;
        margin-top: 15px;
    }
    
    .movie-poster-large {
        max-width: 160px;
    }
    
    .discount-badge-large {
        font-size: 0.85rem;
        padding: 4px 10px;
        top: 8px;
        left: 8px;
    }
    
    .new-badge {
        font-size: 0.65rem;
        padding: 4px 12px;
        top: 8px;
        right: 8px;
    }
    
    .movie-meta-large {
        gap: 8px;
        font-size: 0.8rem;
    }
    
    .discounted-price,
    .current-price {
        font-size: 1.6rem;
    }
    
    .original-price {
        font-size: 0.9rem;
    }
    
    .stat-value {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .info-card {
        padding: 15px;
    }
    
    .card-title {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .info-list li {
        padding: 6px 0;
    }
    
    .info-label {
        font-size: 0.75rem;
    }
    
    .info-value {
        font-size: 0.85rem;
    }
    
    .payment-movie-summary {
        padding: 10px;
    }
    
    .payment-poster {
        width: 40px;
        height: 60px;
    }
    
    .network-selector {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .network-option label {
        padding: 10px;
        font-size: 0.8rem;
    }
    
    .network-icon {
        font-size: 0.9rem;
    }
    
    .network-name {
        font-size: 0.7rem;
    }
    
    .country-code {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .phone-input-group input {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .success-icon {
        font-size: 2.8rem;
    }
    
    .success-title {
        font-size: 1.2rem;
    }
    
    .success-message {
        font-size: 0.85rem;
    }
    
    .access-info {
        font-size: 0.8rem;
        padding: 8px;
    }
}


/* ============================================================
   CATEGORIES GRID (Shared)
   ============================================================ */

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

.categories-header {
    text-align: center;
    margin-bottom: 50px;
}

.categories-header-2 {
    text-align: center;
    margin-bottom: 50px;
}

.categories-header h1 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.categories-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.category-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.category-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 40px 20px;
    text-align: center;
    color: white;
    font-size: 3rem;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.category-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.category-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    flex-grow: 1;
    line-height: 1.5;
}

.category-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.movie-count {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.category-arrow {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.category-card:hover .category-arrow {
    transform: translateX(5px);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    opacity: 0.7;
}

.empty-state h2 {
    font-size: 1.5rem;
    margin: 20px 0;
    color: var(--text-primary);
}

/* Breadcrumb Navigation */
.breadcrumb {
    background: transparent;
    padding: 20px 0;
    font-size: 0.95rem;
}

.breadcrumb-item {
    color: var(--text-secondary);
}

.breadcrumb-item.active {
    color: var(--text-primary);
    font-weight: 600;
}

@media (max-width: 992px) {
    .categories-container {
        padding: 30px 15px;
    }
    
    .categories-header h1 {
        font-size: 2.2rem;
    }
    
    .categories-grid {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .categories-container {
        padding: 25px 15px;
    }
    
    .categories-header {
        margin-bottom: 30px;
    }
    
    .categories-header h1 {
        font-size: 1.8rem;
    }
    
    .categories-header p {
        font-size: 0.95rem;
        padding: 0 15px;
    }

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

    .category-icon {
        padding: 30px 15px;
        min-height: 120px;
        font-size: 2.5rem;
    }

    .category-content {
        padding: 20px;
    }

    .category-name {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .category-desc {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    
    .category-stats {
        font-size: 0.8rem;
        padding-top: 12px;
    }
    
    .movie-count {
        font-size: 0.85rem;
    }
    
    .category-arrow {
        font-size: 1rem;
    }
    
    .breadcrumb {
        padding: 15px 0;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .categories-container {
        padding: 20px 10px;
    }
    
    .categories-header {
        margin-bottom: 20px;
    }
    
    .categories-header h1 {
        font-size: 1.5rem;
    }
    
    .categories-header p {
        font-size: 0.85rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .category-card {
        border-radius: 8px;
    }
    
    .category-icon {
        padding: 25px 15px;
        min-height: 100px;
        font-size: 2rem;
    }

    .category-content {
        padding: 15px;
    }

    .category-name {
        font-size: 1.1rem;
    }

    .category-desc {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
    
    .category-stats {
        font-size: 0.75rem;
        padding-top: 10px;
    }
    
    .movie-count {
        font-size: 0.8rem;
    }
    
    .empty-state {
        padding: 40px 15px;
    }
    
    .empty-state i {
        font-size: 3rem;
    }
    
    .empty-state h2 {
        font-size: 1.2rem;
    }
    
    .empty-state p {
        font-size: 0.9rem;
    }
    
    .breadcrumb {
        padding: 10px 0;
        font-size: 0.8rem;
    }
}


/* ============================================================
   PREMIERES PAGE
   ============================================================ */

.premieres-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.premieres-header {
    text-align: center;
    margin-bottom: 50px;
}

.premieres-header h1 {
    font-size: 2.8rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.premieres-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Featured Premieres Section */
.featured-premieres-section {
    margin-bottom: 60px;
}

.featured-premieres-section h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 10px;
}

.featured-premiere-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-secondary) 100%);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.featured-premiere-card:hover {
    box-shadow: 0 12px 30px rgba(255, 0, 0, 0.3);
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 400px;
}

.featured-poster {
    position: relative;
    overflow: hidden;
}

.featured-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.featured-poster:hover .featured-poster-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.featured-poster:hover .play-button {
    transform: scale(1.1);
    background: var(--accent-color);
}

.featured-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.featured-title {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.featured-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
    max-height: 120px;
    overflow: hidden;
}

.premiere-countdown {
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
}

.countdown-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.countdown-display {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.countdown-item {
    background: var(--bg-primary);
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.countdown-number {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1;
}

.countdown-label-small {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-top: 5px;
}

.premiere-date-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.btn-notify {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-notify:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.btn-notify.notified {
    background: var(--success-color);
}

/* Upcoming Premieres Grid */
.upcoming-premieres-section {
    margin-top: 60px;
}

.upcoming-premieres-section h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 10px;
}

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

.premiere-card {
    background: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.premiere-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.premiere-poster {
    position: relative;
    overflow: hidden;
    background: #000;
    aspect-ratio: 9 / 13.5;
}

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

.premiere-card:hover .premiere-poster img {
    transform: scale(1.05);
}

.premiere-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.premiere-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.premiere-title {
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.premiere-categories {
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.3;
}

.premiere-timer {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 500;
}

.premiere-timer-value {
    color: var(--primary-color);
    font-weight: 700;
}

.premiere-details {
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.premiere-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: 100%;
}

.premiere-button:hover {
    background: var(--accent-color);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    opacity: 0.6;
}

.empty-state h2 {
    font-size: 1.8rem;
    margin: 20px 0;
    color: var(--text-primary);
}

.empty-state p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.empty-state a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .featured-content {
        grid-template-columns: 1fr;
    }
    
    .featured-info {
        padding: 30px;
    }
    
    .featured-title {
        font-size: 1.6rem;
    }
    
    .premieres-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 992px) {
    .premieres-container {
        padding: 30px 15px;
    }
    
    .premieres-header h1 {
        font-size: 2.4rem;
    }
    
    .featured-premieres-section h2,
    .upcoming-premieres-section h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .premieres-container {
        padding: 20px 15px;
    }
    
    .premieres-header {
        margin-bottom: 30px;
    }
    
    .premieres-header h1 {
        font-size: 2rem;
    }
    
    .premieres-header p {
        font-size: 0.95rem;
        padding: 0 15px;
    }
    
    .featured-premieres-section {
        margin-bottom: 40px;
    }
    
    .featured-premieres-section h2,
    .upcoming-premieres-section h2 {
        font-size: 1.4rem;
        padding-bottom: 8px;
        letter-spacing: 1px;
    }
    
    .featured-content {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .featured-poster {
        max-height: 300px;
    }
    
    .featured-info {
        padding: 25px;
    }
    
    .featured-title {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .featured-meta {
        gap: 12px;
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    
    .featured-desc {
        font-size: 0.9rem;
        margin-bottom: 20px;
        max-height: 80px;
    }
    
    .premiere-countdown {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .countdown-label {
        font-size: 0.75rem;
    }
    
    .countdown-display {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .countdown-item {
        padding: 12px;
    }
    
    .countdown-number {
        font-size: 1.4rem;
    }
    
    .countdown-label-small {
        font-size: 0.65rem;
    }
    
    .premiere-date-text {
        font-size: 0.8rem;
    }
    
    .featured-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .featured-actions .btn,
    .btn-notify {
        width: 100%;
        justify-content: center;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .upcoming-premieres-section {
        margin-top: 40px;
    }
    
    .premieres-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .premiere-content {
        padding: 15px;
    }
    
    .premiere-title {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .premiere-categories {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }
    
    .premiere-timer {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
    
    .premiere-details {
        flex-direction: column;
        gap: 6px;
        font-size: 0.75rem;
        padding-top: 10px;
        margin-bottom: 12px;
    }
    
    .premiere-button {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .empty-state {
        padding: 50px 15px;
    }
    
    .empty-state i {
        font-size: 3rem;
    }
    
    .empty-state h2 {
        font-size: 1.4rem;
    }
    
    .empty-state p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .premieres-container {
        padding: 15px 10px;
    }
    
    .premieres-header {
        margin-bottom: 20px;
    }
    
    .premieres-header h1 {
        font-size: 1.6rem;
    }
    
    .premieres-header p {
        font-size: 0.85rem;
    }
    
    .featured-premieres-section h2,
    .upcoming-premieres-section h2 {
        font-size: 1.2rem;
        padding-bottom: 6px;
        letter-spacing: 0.5px;
    }
    
    .featured-info {
        padding: 20px;
    }
    
    .featured-title {
        font-size: 1.2rem;
    }
    
    .featured-meta {
        font-size: 0.8rem;
        gap: 8px;
    }
    
    .meta-item {
        font-size: 0.8rem;
        gap: 4px;
    }
    
    .featured-desc {
        font-size: 0.8rem;
        max-height: 60px;
    }
    
    .premiere-countdown {
        padding: 15px;
    }
    
    .countdown-display {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .countdown-item {
        padding: 10px 8px;
    }
    
    .countdown-number {
        font-size: 1.2rem;
    }
    
    .countdown-label-small {
        font-size: 0.55rem;
    }
    
    .btn-notify {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .premieres-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .premiere-badge {
        font-size: 0.65rem;
        padding: 4px 10px;
        top: 8px;
        right: 8px;
    }
    
    .premiere-content {
        padding: 12px;
    }
    
    .premiere-title {
        font-size: 0.9rem;
    }
    
    .premiere-categories {
        font-size: 0.7rem;
    }
    
    .premiere-timer {
        font-size: 0.7rem;
    }
    
    .premiere-details {
        font-size: 0.7rem;
        gap: 4px;
    }
    
    .premiere-button {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}


/* ============================================================
   CUSTOM MODAL STYLING
   ============================================================ */

.payment-modal-content {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.payment-movie-summary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.zp-badge {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0d6efd, #0043a8);
    color: #fff;
    font-size: 14px;
}

.active-gateway {
    border-color: rgba(13, 110, 253, 0.5) !important;
    background: rgba(13, 110, 253, 0.05) !important;
}

.phone-input-group {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.15);
}

.phone-input-group:focus-within {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.bg-success-light {
    background-color: rgba(25, 135, 84, 0.1);
    width: 90px;
    height: 90px;
}

.cursor-pointer {
    cursor: pointer;
}

.transition-all {
    transition: all 0.2s ease-in-out;
}

.transition-all:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
}

@media (max-width: 768px) {
    .payment-modal-content {
        border-radius: 12px;
        margin: 10px;
    }
    
    .zp-badge {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }
    
    .bg-success-light {
        width: 60px;
        height: 60px;
    }
    
    .payment-movie-summary {
        flex-direction: column;
        text-align: center;
        padding: 12px;
        gap: 8px;
    }
    
    .payment-amount {
        font-size: 1.1rem;
    }
    
    .phone-input-group {
        flex-wrap: wrap;
    }
    
    .phone-input-group .form-control {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 576px) {
    .payment-modal-content {
        border-radius: 8px;
        margin: 5px;
    }
    
    .zp-badge {
        width: 30px;
        height: 30px;
        font-size: 10px;
        border-radius: 8px;
    }
    
    .bg-success-light {
        width: 50px;
        height: 50px;
    }
    
    .bg-success-light i {
        font-size: 1.5rem !important;
    }
    
    .payment-movie-summary {
        padding: 10px;
    }
    
    .payment-poster {
        width: 40px;
        height: 60px;
    }
    
    .payment-movie-info h6 {
        font-size: 0.9rem;
    }
    
    .payment-amount {
        font-size: 1rem;
    }
    
    .network-selector {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .network-option label {
        padding: 10px;
        font-size: 0.8rem;
    }
    
    .network-icon {
        font-size: 0.9rem;
    }
    
    .network-name {
        font-size: 0.7rem;
    }
    
    .country-code {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .phone-input-group input {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .transition-all:hover {
        transform: none;
    }
}


/* ============================================================
   RESPONSIVE OVERRIDES FOR ALL ELEMENTS
   ============================================================ */

/* Ensure all images are responsive */
@media (max-width: 768px) {
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Scale down large icons */
    .category-icon i,
    .step-icon i,
    .featured-premiere-header i,
    .premieres-header i {
        font-size: 2rem !important;
    }
    
    .empty-state-icon i {
        font-size: 3rem !important;
    }
    
    .success-icon {
        font-size: 3.5rem !important;
    }
    
    .payment-status .spinner {
        font-size: 2.5rem !important;
    }
    
    .movie-rank {
        width: 24px !important;
        height: 24px !important;
        font-size: 0.7rem !important;
    }
    
    .trending-badge {
        font-size: 0.6rem !important;
        padding: 1px 6px !important;
    }
}

@media (max-width: 576px) {
    .category-icon i,
    .step-icon i,
    .featured-premiere-header i,
    .premieres-header i {
        font-size: 1.5rem !important;
    }
    
    .empty-state-icon i {
        font-size: 2.5rem !important;
    }
    
    .success-icon {
        font-size: 2.8rem !important;
    }
    
    .payment-status .spinner {
        font-size: 2rem !important;
    }
}

/* Stack navigation links vertically on mobile */
@media (max-width: 768px) {
    nav ul,
    .nav-links,
    .header-nav ul,
    .footer-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    nav ul li,
    .nav-links li,
    .header-nav ul li {
        width: 100%;
        text-align: center;
    }
    
    nav ul li a,
    .nav-links a,
    .header-nav ul li a {
        display: block;
        padding: 10px 15px;
        width: 100%;
    }
}

/* Ensure containers are fluid */
@media (max-width: 768px) {
    .container,
    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
    }
}

/* Adjust body font size and line height for readability */
@media (max-width: 768px) {
    body {
        font-size: 16px;
        line-height: 1.7;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 15px;
        line-height: 1.6;
    }
}

/* Fix grid gaps on mobile */
@media (max-width: 768px) {
    .row {
        margin: 0 -8px;
    }
    
    [class*="col-"] {
        padding: 0 8px;
    }
}

/* Make form elements touch-friendly */
@media (max-width: 768px) {
    input,
    select,
    textarea,
    button,
    .btn {
        min-height: 44px;
        font-size: 16px !important; /* Prevents iOS zoom */
    }
    
    .form-control {
        font-size: 16px !important;
        padding: 10px 12px;
    }
    
    select {
        padding: 10px 12px;
    }
}

/* Improve touch targets on mobile */
@media (max-width: 768px) {
    a,
    button,
    .clickable,
    [role="button"] {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
    }
    
    .share-btn {
        width: 44px;
        height: 44px;
    }
}

/* Fix overflowing content */
@media (max-width: 768px) {
    * {
        max-width: 100%;
    }
    
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .video-container {
        max-width: 100%;
    }
    
    iframe,
    video {
        max-width: 100%;
    }
}