/* 
 * Responsive stylesheet for The Ultimate Slot Vlog Hub
 * 
 * This stylesheet adds additional responsive rules to ensure optimal
 * display across all device sizes.
 */

/* -------------------------------- 
   General Responsive Adjustments
-------------------------------- */
@media (max-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    /* Video carousel adjustments */
    .carousel-item {
        flex: 0 0 calc(33.333% - var(--space-md));
    }
}

/* -------------------------------- 
   Tablet Devices (< 992px)
-------------------------------- */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    /* Header changes */
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-nav.active {
        display: block;
        animation: slideDown var(--transition-normal);
    }
    
    /* Main content changes */
    section {
        padding: var(--space-xl) 0;
    }
    
    /* Video player section */
    .video-container {
        display: block;
    }
    
    .video-player-section {
        margin-bottom: var(--space-xl);
    }
    
    /* Video carousel */
    .carousel-item {
        flex: 0 0 calc(50% - var(--space-md));
    }
    
    /* Featured channels section */
    .channels-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

/* -------------------------------- 
   Mobile Landscape (< 768px)
-------------------------------- */
@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    /* Header adjustments */
    .header-inner {
        height: 60px;
    }
    
    .header-search {
        top: 60px;
    }
    
    .mobile-nav {
        top: 60px;
    }
    
    /* Hero section */
    .hero {
        padding: var(--space-xl) 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: var(--space-md);
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: var(--space-lg);
    }
    
    /* Filter panel on browse pages */
    .filter-panel {
        flex-direction: column;
    }
    
    .filter-controls {
        width: 100%;
        margin-bottom: var(--space-md);
    }
    
    .browse-search {
        width: 100%;
    }
    
    /* Video grid */
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    /* Casino grid */
    .casino-grid, .affiliate-row {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-widgets {
        grid-template-columns: 1fr 1fr;
    }
}

/* -------------------------------- 
   Mobile Portrait (< 576px)
-------------------------------- */
@media (max-width: 576px) {
    /* Container adjustments */
    .container {
        padding: 0 var(--space-md);
    }
    
    /* Typography */
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    /* Hero section */
    .hero h1 {
        font-size: 1.8rem;
    }
    
    /* Search container */
    .search-container button {
        padding: 0 var(--space-md);
    }
    
    /* Video grid */
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .video-card.featured {
        grid-column: span 1;
    }
    
    /* Video carousel */
    .carousel-item {
        flex: 0 0 100%;
    }
    
    /* Video details */
    .video-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .video-stats span {
        margin-left: 0;
        margin-right: var(--space-md);
    }
    
    .content-tags {
        flex-wrap: wrap;
    }
    
    /* Transcript content */
    .transcript-entry {
        flex-direction: column;
    }
    
    .transcript-timestamp {
        margin-bottom: var(--space-xxs);
    }
    
    /* Footer */
    .footer-widgets {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }
}

/* -------------------------------- 
   Small Mobile Devices (< 400px)
-------------------------------- */
@media (max-width: 400px) {
    /* Additional adjustments for very small screens */
    .filter-controls {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .filter-group {
        width: 100%;
    }
    
    .dropdown-wrapper {
        width: 100%;
    }
    
    .dropdown-wrapper select {
        width: 100%;
    }
    
    /* Related videos list */
    .related-videos-list {
        display: block;
    }
    
    .related-video-item {
        margin-bottom: var(--space-md);
    }
    
    /* Pagination */
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-xs);
    }
}