/* ESPN DTC FAQ - Responsive Styles */
:root {
    --espn-red: #cc0000;
    --espn-black: #1a1a1a;
    --espn-white: #ffffff;
    --espn-gray: #333333;
    --espn-light-gray: #f5f5f5;
    --success-green: #28a745;
    --warning-orange: #fd7e14;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, var(--espn-light-gray) 0%, var(--espn-white) 100%);
    color: var(--espn-black);
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: var(--espn-white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--espn-red);
}

.header h1 {
    color: var(--espn-red);
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.subtitle {
    color: var(--espn-gray);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.highlight-box {
    background: linear-gradient(135deg, var(--espn-red), #cc0000dd);
    color: var(--espn-white);
    padding: 20px;
    border-radius: 8px;
    font-weight: 500;
    margin-top: 20px;
}

/* Screen Management */
.screen {
    display: none;
    background: var(--espn-white);
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--espn-red);
}

.screen.active {
    display: block;
}

.screen h2 {
    color: var(--espn-black);
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--espn-gray);
    margin-bottom: 30px;
}

/* Question Container */
.question-container {
    margin-bottom: 30px;
}

.question-container h3 {
    color: var(--espn-black);
    font-size: 1.4rem;
    margin-bottom: 20px;
    text-align: center;
}

.choices {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.choice-btn {
    background: var(--espn-white);
    border: 2px solid var(--espn-red);
    color: var(--espn-black);
    padding: 20px 25px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.choice-btn:hover {
    background: var(--espn-red);
    color: var(--espn-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(204, 0, 0, 0.3);
}

/* Result Containers */
.result-container {
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: center;
}

.result-container.free {
    background: linear-gradient(135deg, var(--success-green), #218838);
    color: var(--espn-white);
}

.result-container.must-pay {
    background: linear-gradient(135deg, var(--espn-red), #b30000);
    color: var(--espn-white);
}

.result-container.discount {
    background: linear-gradient(135deg, var(--warning-orange), #e8650e);
    color: var(--espn-white);
}

.result-container h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.result-container p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Pricing Display */
.pricing {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.price-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.price-option.highlight {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--espn-white);
    transform: scale(1.05);
}

.price {
    font-size: 2.2rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.period {
    font-size: 1.1rem;
    opacity: 0.9;
}

.duration {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 5px;
}

.price-divider {
    font-size: 1.2rem;
    font-weight: bold;
    opacity: 0.8;
}

.pricing.special {
    justify-content: center;
}

/* Info and Warning Boxes */
.info-box, .warning-box {
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.info-box {
    background: var(--espn-light-gray);
    border-left: 4px solid var(--espn-red);
    color: var(--espn-gray);
}

.warning-box {
    background: #fff3cd;
    border-left: 4px solid var(--warning-orange);
    color: #856404;
}

.warning-box h3 {
    color: #856404;
    margin-bottom: 15px;
}

/* Restart and Share Buttons */
.restart-btn, .share-btn {
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px 15px 0 0;
    display: inline-block;
}

.restart-btn {
    background: var(--espn-black);
    color: var(--espn-white);
}

.restart-btn:hover {
    background: var(--espn-gray);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.share-btn {
    background: var(--espn-red);
    color: var(--espn-white);
}

.share-btn:hover {
    background: #b30000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(204, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header {
        padding: 25px 15px;
        margin-bottom: 30px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .screen {
        padding: 30px 20px;
    }
    
    .screen h2 {
        font-size: 1.7rem;
    }
    
    .choice-btn {
        padding: 18px 20px;
        font-size: 1rem;
    }
    
    .pricing {
        flex-direction: column;
        gap: 15px;
    }
    
    .price-option {
        width: 100%;
        max-width: 200px;
    }
    
    .price {
        font-size: 1.8rem;
    }
    
    .result-container {
        padding: 25px 20px;
    }
    
    .result-container h3 {
        font-size: 1.5rem;
    }
    
    .highlight-box {
        padding: 15px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .screen h2 {
        font-size: 1.5rem;
    }
    
    .choice-btn {
        padding: 15px 18px;
        font-size: 0.95rem;
    }
    
    .price {
        font-size: 1.6rem;
    }
    
    .result-container h3 {
        font-size: 1.3rem;
    }
    
    .info-box, .warning-box {
        padding: 15px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.screen.active {
    animation: fadeIn 0.5s ease-in-out;
}

/* Focus states for accessibility */
.choice-btn:focus,
.restart-btn:focus {
    outline: 3px solid rgba(204, 0, 0, 0.5);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    body {
        background: white;
    }
    
    .container {
        max-width: none;
    }
    
    .screen {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .choice-btn,
    .restart-btn {
        border: 1px solid #ccc;
        background: white !important;
        color: black !important;
    }
}

/* Footer Styles */
.footer {
    margin-top: 50px;
    padding: 30px 0;
    background: var(--espn-black);
    color: var(--espn-white);
    text-align: center;
    border-top: 3px solid var(--espn-red);
}

.disclaimer {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    line-height: 1.6;
}

.disclaimer p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.disclaimer p:last-child {
    margin-bottom: 0;
}

.disclaimer a {
    color: var(--espn-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.disclaimer a:hover {
    color: var(--espn-white);
    text-decoration: underline;
}

.disclaimer strong {
    color: var(--espn-red);
}

/* Visitor Counter */
.visitor-counter {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.visitor-counter p {
    font-size: 1rem;
    color: var(--espn-white);
    margin: 0;
}

#visitor-count {
    color: var(--espn-red);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Responsive footer adjustments */
@media (max-width: 768px) {
    .footer {
        margin-top: 40px;
        padding: 25px 0;
    }
    
    .disclaimer {
        padding: 0 15px;
    }
    
    .disclaimer p {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .disclaimer p {
        font-size: 0.85rem;
    }
}