/* Mobile First Responsive Design */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .pricing-card.featured {
        transform: scale(1.02);
    }
}

/* Tablets */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 10, 10, 0.98);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 1rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Hero Section */
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-features {
        gap: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    /* Typography */
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    /* Sections */
    .content-section,
    .features,
    .pricing-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    /* Grids */
    .features-grid,
    .sports-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .channels-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1rem;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        max-width: none;
    }
    
    .pricing-card.featured {
        transform: none;
        order: -1;
    }
    
    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    /* Navigation */
    .nav-brand .brand-name {
        font-size: 1.3rem;
    }
    
    .logo {
        height: 35px;
    }
    
    .nav-actions .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    /* Hero Section */
    .hero {
        height: 100vh;
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 0.8rem;
        margin-bottom: 2rem;
    }
    
    .feature-item {
        justify-content: center;
        font-size: 0.9rem;
    }
    
    .hero-actions {
        gap: 0.8rem;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    /* Typography */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    /* Sections */
    .content-section,
    .features,
    .pricing-section,
    .contact-section {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* Cards */
    .feature-card,
    .sport-card {
        padding: 1.5rem;
    }
    
    .feature-icon,
    .sport-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i,
    .sport-icon i {
        font-size: 1.5rem;
    }
    
    .content-poster {
        height: 280px;
    }
    
    .content-poster img {
        object-fit: cover;
        object-position: center;
    }
    
    .content-info {
        padding: 1rem;
    }
    
    .content-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
        font-size: 0.8rem;
    }
    
    /* Channels */
    .category-tabs {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .tab-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .channels-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 0.8rem;
    }
    
    .channel-card {
        padding: 1rem;
    }
    
    .channel-card img {
        width: 40px;
        height: 40px;
    }
    
    .channel-card span {
        font-size: 0.8rem;
    }
    
    /* Pricing */
    .pricing-card {
        padding: 2rem 1.5rem;
    }
    
    .amount {
        font-size: 2.5rem;
    }
    
    .currency {
        font-size: 1.2rem;
    }
    
    .pricing-features {
        margin-bottom: 1.5rem;
    }
    
    .pricing-features li {
        padding: 0.3rem 0;
        font-size: 0.9rem;
    }
    
    /* Contact */
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-icon i {
        font-size: 1.2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    /* Footer */
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-brand {
        justify-content: center;
    }
    
    .footer-logo {
        height: 35px;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
    }
}

/* Extra Small Devices */
@media (max-width: 320px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .features-grid,
    .sports-grid {
        grid-template-columns: 1fr;
    }
    
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .content-poster {
        height: 240px;
    }
    
    .channels-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .pricing-card {
        padding: 1.5rem 1rem;
    }
    
    .amount {
        font-size: 2rem;
    }
}

/* Landscape Orientation for Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 50px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-features {
        margin-bottom: 2rem;
    }
    
    .nav-menu {
        height: calc(100vh - 60px);
        top: 60px;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo,
    .footer-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Hover Effects for Touch Devices */
@media (hover: none) and (pointer: coarse) {
    .feature-card:hover,
    .content-card:hover,
    .sport-card:hover,
    .channel-card:hover,
    .pricing-card:hover {
        transform: none;
    }
    
    .content-overlay {
        opacity: 1;
    }
    
    .play-button:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .social-links a:hover {
        transform: none;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    /* Already dark by default, but can add specific dark mode adjustments here */
    body {
        background-color: #000;
    }
    
    .hero-background {
        background: linear-gradient(135deg, #000 0%, #111 50%, #000 100%);
    }
}

/* Print Styles */
@media print {
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    .header,
    .hero,
    .footer {
        display: none;
    }
    
    .content-section {
        padding: 20px 0;
        page-break-inside: avoid;
    }
    
    .pricing-card {
        border: 1px solid #000;
        page-break-inside: avoid;
    }
}

/* Focus Styles for Accessibility */
.btn:focus,
.nav-link:focus,
.tab-btn:focus,
input:focus,
textarea:focus {
    outline: 2px solid #ff6b6b;
    outline-offset: 2px;
}

/* Skip Link for Screen Readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #ff6b6b;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
}

.skip-link:focus {
    top: 6px;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ff6b6b;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
