/* Add Channels Page Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Xfinity Standard', Arial, sans-serif;
    line-height: 1.6;
    color: #111;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.add-channels-hero {
    background: linear-gradient(180deg, #f8f8f8 0%, #fff 100%);
    padding: 60px 0 80px;
    text-align: center;
}

.add-channels-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111;
}

.add-channels-hero h2 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 20px;
    color: #333;
}

.add-channels-hero p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111;
}

.section-header p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
}

.link-primary {
    color: #6a1b9a;
    text-decoration: underline;
    font-size: 18px;
    font-weight: 600;
}

.link-primary:hover {
    text-decoration: none;
}

/* Premium Section */
.premium-section {
    padding: 80px 0;
    background-color: #fff;
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.premium-card {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.premium-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.premium-card img {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.premium-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.5;
}

.premium-link {
    color: #6a1b9a;
    text-decoration: underline;
    font-size: 14px;
    font-weight: 600;
}

.premium-card:hover .premium-link {
    text-decoration: none;
}

/* Sports Section */
.sports-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.sport-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.sport-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.sport-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.sport-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.sport-card h3 {
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #111;
    text-align: center;
}

/* International Section */
.international-section {
    padding: 80px 0;
    background-color: #fff;
}

/* On Demand Section */
.ondemand-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.ondemand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.ondemand-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.ondemand-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.ondemand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.ondemand-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
}

.ondemand-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: #111;
}

/* Tabbed Section */
.tabbed-section {
    padding: 80px 0;
    background-color: #fff;
}

.tabbed-section h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #111;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    background: #f0f0f0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
}

.tab-btn:hover {
    background: #e0e0e0;
}

.tab-btn.active {
    background: #6a1b9a;
    color: #fff;
}

.tab-content-wrapper {
    position: relative;
}

.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-content.active {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    opacity: 1;
}

.tab-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.tab-text h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111;
}

.tab-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

/* Shop Section */
.shop-section {
    padding: 60px 0;
    background-color: #f8f8f8;
    text-align: center;
}

.shop-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #111;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #6a1b9a;
    color: #fff;
}

.btn-primary:hover {
    background-color: #7b1fa2;
    transform: translateY(-2px);
}

/* Legal Section */
.legal-section {
    padding: 60px 0;
    background-color: #fff;
}

.legal-text {
    max-width: 1000px;
    margin: 0 auto;
}

.legal-text p {
    font-size: 12px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (min-width: 768px) {
    .add-channels-hero h1 {
        font-size: 56px;
    }
    
    .premium-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sports-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .ondemand-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .tab-content.active {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

@media (min-width: 1024px) {
    .add-channels-hero h1 {
        font-size: 64px;
    }
    
    .section-header h2,
    .tabbed-section h2 {
        font-size: 42px;
    }
    
    .premium-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .add-channels-hero h1 {
        font-size: 36px;
    }
    
    .add-channels-hero h2 {
        font-size: 22px;
    }
    
    .section-header h2,
    .tabbed-section h2 {
        font-size: 28px;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
    }
}