/* Streaming Services Page Styles */

:root {
    --xfinity-black: #000000;
    --xfinity-white: #ffffff;
    --xfinity-purple: #6a1b9a;
    --xfinity-blue: #0057b8;
    --xfinity-light-gray: #f5f5f5;
    --xfinity-gray: #666666;
    --xfinity-dark-gray: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Xfinity Standard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--xfinity-dark-gray);
    background-color: var(--xfinity-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0057b8 0%, #6a1b9a 100%);
    color: var(--xfinity-white);
    padding: 80px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Features Section */
.features-section {
    padding: 60px 20px;
    background-color: var(--xfinity-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.feature-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-item img {
    max-width: 120px;
    height: auto;
    margin-bottom: 20px;
}

.feature-item p {
    font-size: 1.1rem;
    color: var(--xfinity-dark-gray);
    line-height: 1.5;
}

/* StreamStore Section */
.streamstore-section {
    padding: 60px 20px;
    background-color: var(--xfinity-light-gray);
    text-align: center;
}

.streamstore-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--xfinity-black);
}

.streamstore-section em {
    font-style: italic;
    color: var(--xfinity-purple);
}

.streamstore-section p {
    font-size: 1.2rem;
    color: var(--xfinity-gray);
}

/* StreamSaver Promo Section */
.streamsaver-promo {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: var(--xfinity-white);
    text-align: center;
}

.streamsaver-promo h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.streamsaver-promo > .container > p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

.promo-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px;
    max-width: 500px;
    margin: 0 auto 30px;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.promo-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.price-tag {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--xfinity-white);
}

.disclaimer {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 15px;
    line-height: 1.4;
}

/* NOW TV Section */
.now-tv-section {
    padding: 80px 20px;
    background-color: var(--xfinity-white);
}

.now-tv-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: var(--xfinity-black);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--xfinity-gray);
    margin-bottom: 50px;
}

.now-tv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.now-tv-card {
    background: var(--xfinity-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.now-tv-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.now-tv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.now-tv-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.now-tv-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    padding: 20px 20px 10px;
    color: var(--xfinity-black);
}

.now-tv-card p {
    padding: 0 20px;
    color: var(--xfinity-gray);
    margin-bottom: 20px;
}

.card-actions {
    padding: 0 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Apps Section */
.apps-section {
    padding: 80px 20px;
    background-color: var(--xfinity-light-gray);
    text-align: center;
}

.apps-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--xfinity-black);
}

.apps-section > .container > p {
    font-size: 1.2rem;
    color: var(--xfinity-gray);
    margin-bottom: 50px;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: var(--xfinity-white);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.app-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.app-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.app-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

.app-item p {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--xfinity-dark-gray);
}

/* Sports Section */
.sports-section {
    padding: 80px 20px;
    background-color: var(--xfinity-white);
}

.sports-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--xfinity-black);
}

.sports-section em {
    font-style: italic;
    color: var(--xfinity-purple);
}

.sports-card {
    background: var(--xfinity-light-gray);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.sports-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.sports-card img {
    width: 100%;
    height: auto;
}

.sports-content {
    padding: 40px;
}

.sports-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--xfinity-black);
}

.sports-content p {
    font-size: 1.1rem;
    color: var(--xfinity-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Premier League Section */
.premier-league-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #38003c 0%, #5c0074 100%);
    color: var(--xfinity-white);
    text-align: center;
}

.premier-league-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.premier-league-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--xfinity-purple);
    color: var(--xfinity-white);
}

.btn-primary:hover {
    background-color: #7b1fa2;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(106, 27, 154, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--xfinity-purple);
    border: 2px solid var(--xfinity-purple);
}

.btn-secondary:hover {
    background-color: var(--xfinity-purple);
    color: var(--xfinity-white);
    transform: translateY(-2px);
}

.link-secondary {
    color: var(--xfinity-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.link-secondary:hover {
    color: var(--xfinity-purple);
    text-decoration: underline;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .streamstore-section h2,
    .now-tv-section h2,
    .apps-section h2,
    .sports-section h2,
    .premier-league-section h2,
    .streamsaver-promo h2 {
        font-size: 1.8rem;
    }

    .now-tv-grid {
        grid-template-columns: 1fr;
    }

    .apps-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 20px;
    }

    .sports-content {
        padding: 30px 20px;
    }

    .sports-content h3 {
        font-size: 1.4rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
        width: 100%;
    }

    .card-actions {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .price-tag {
        font-size: 2.5rem;
    }

    .promo-card {
        padding: 30px 20px;
    }
}