/* FireSticks UK - Professional IPTV Website CSS */

/* General Styles */
:root {
    --primary-color: #0056b3;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --gradient-primary: linear-gradient(135deg, #0056b3 0%, #004494 100%);
    --gradient-success: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* WhatsApp button in navigation */
.navbar .btn-whatsapp {
    background: transparent !important;
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.navbar .btn-whatsapp:hover {
    background: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-2px);
}

/* Mobile navigation adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        text-align: center;
    }
    
    .navbar-nav {
        margin-bottom: 1rem;
    }
    
    .navbar .btn-whatsapp {
        margin: 1rem auto;
        display: inline-block;
    }
    
    .ms-lg-3 {
        margin-left: 0 !important;
        margin-top: 1rem;
        text-align: center;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%230056b3" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,112C1248,107,1344,117,1392,122.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-content h1 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-weight: 700;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-flags {
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.hero-flags .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-flags .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hero-image {
    animation: fadeInRight 1s ease 0.6s;
    animation-fill-mode: both;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.05);
}

/* Buttons */
.btn-primary {
    background: var(--gradient-primary) !important;
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 86, 179, 0.4);
}

.btn-success {
    background: var(--gradient-success) !important;
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(40, 167, 69, 0.4);
}

/* Channel Logo Placeholders */
.channel-logo-placeholder {
    height: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-weight: bold;
    font-size: 10px;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-family: 'Arial Black', sans-serif;
    letter-spacing: 0.5px;
}

.channel-logo-placeholder:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* UK Channel Styles */
.bbc-logo { background: linear-gradient(135deg, #000000, #333333); }
.itv-logo { background: linear-gradient(135deg, #FFD700, #FFA500); color: #000; text-shadow: none; }
.sky-logo { background: linear-gradient(135deg, #0072CE, #004A8D); }
.bt-logo { background: linear-gradient(135deg, #D5001F, #A00015); }

/* USA Channel Styles */
.espn-logo { background: linear-gradient(135deg, #FF0000, #CC0000); }
.cnn-logo { background: linear-gradient(135deg, #CC0000, #990000); }
.hbo-logo { background: linear-gradient(135deg, #000000, #333333); }
.showtime-logo { background: linear-gradient(135deg, #FF6B35, #E55100); }

/* France Channel Styles */
.tf1-logo { background: linear-gradient(135deg, #0066CC, #004499); }
.france2-logo { background: linear-gradient(135deg, #003399, #002266); }
.canal-logo { background: linear-gradient(135deg, #000000, #333333); }
.bein-logo { background: linear-gradient(135deg, #E74C3C, #C0392B); }

/* Brazil Channel Styles */
.globo-logo { background: linear-gradient(135deg, #FFA500, #FF8C00); color: #000; text-shadow: none; }
.sbt-logo { background: linear-gradient(135deg, #FF6B35, #E55100); }
.record-logo { background: linear-gradient(135deg, #FF0000, #CC0000); }
.sportv-logo { background: linear-gradient(135deg, #0066CC, #004499); }

/* Region Badges */
.region-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 86, 179, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(0, 86, 179, 0.2);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.region-badge:hover {
    background: rgba(0, 86, 179, 0.15);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Recommended Badge */
.recommended-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

/* Channel Logos */
.channel-logos {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.channel-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    padding: 5px;
    background: white;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.channel-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Channel Cards */
.channel-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.channel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.channel-icon {
    transition: transform 0.3s ease;
}

.channel-card:hover .channel-icon i {
    transform: scale(1.1);
}

.channel-card img {
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.channel-card:hover img {
    transform: scale(1.05);
}

/* Pricing Cards */
.pricing-card {
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.pricing-card.popular {
    border-color: var(--success-color);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--success-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.price {
    margin: 1rem 0;
}

.currency {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    font-size: 1rem;
    color: var(--secondary-color);
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* Feature Cards */
.feature-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.feature-icon i {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.1) rotate(5deg);
}

/* Device Cards */
.device-card {
    transition: all 0.3s ease;
    padding: 1.5rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.device-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.device-icon i {
    transition: transform 0.3s ease;
}

.device-card:hover .device-icon i {
    transform: scale(1.2);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.whatsapp-float .btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--success-color) !important;
    border: none;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-float .btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(40, 167, 69, 0.5);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(40, 167, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-flags .badge {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
    
    .amount {
        font-size: 2.5rem;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float .btn {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 2rem !important;
    }
    
    .display-5 {
        font-size: 1.5rem !important;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .amount {
        font-size: 2rem;
    }
    
    .currency {
        font-size: 1.2rem;
    }
    
    .device-card {
        padding: 1rem;
    }
    
    .device-icon i {
        font-size: 2rem !important;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #004494;
}

/* Focus States */
.btn:focus,
.nav-link:focus,
.form-control:focus {
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.25) !important;
    outline: none;
}

/* Print Styles */
@media print {
    .navbar,
    .whatsapp-float,
    footer {
        display: none;
    }
    
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
}
