/*
    Mode IPTV UK - Premium Style Sheet
    Theme: Blue Glassmorphism
*/

:root {
    --primary-blue: #0066ff;
    --primary-dark: #0a0c10;
    --secondary-blue: #00d2ff;
    --accent-blue: #2979ff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--primary-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.text-center { text-align: center; }

h1, h2, h3 {
    margin-bottom: 20px;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 12, 16, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.header__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.header__logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

@media (max-width: 991px) {
    .header__nav-list { display: none; }
}

.header__nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition);
}

.header__nav-link:hover {
    color: var(--primary-blue);
}

/* Mobile Menu */
.header__toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 991px) {
    .header__toggle { display: block; }
}

.header__mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--primary-dark);
    z-index: 1001;
    transition: 0.4s ease-in-out;
    padding: 40px 20px;
    border-left: 1px solid var(--glass-border);
}

.header__mobile-menu.active {
    right: 0;
}

.header__mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: none;
}

.header__mobile-overlay.active {
    display: block;
}

.mobile-nav-list {
    list-style: none;
    margin-top: 40px;
}

.mobile-nav-item {
    margin-bottom: 20px;
}

.mobile-nav-link {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Hero Section */
.hero {
    padding: 140px 5px 80px 5px; /* Added 5px padding as requested */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,102,255,0.1) 0%, transparent 70%);
    z-index: -1;
}

.hero__content {
    max-width: 800px;
    margin: 0 auto 50px;
}

.hero__title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 35px;
}

/* Hot Player UI Styling */
.tv-preview-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #000;
    border-radius: 20px;
    padding: 10px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.tv-content {
    background: #000;
    padding: 30px;
    border-radius: 15px;
    color: white;
    text-align: left;
}

.tv-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.tv-logo-area { display: flex; align-items: center; gap: 15px; }

.tv-logo { display: flex; align-items: center; gap: 8px; font-size: 1.5rem; }

.tv-logo-icon { width: 24px; color: #ff3d00; }

.status-pill {
    background: rgba(255,255,255,0.05);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-active { color: #4caf50; display: flex; align-items: center; gap: 5px; }

.tv-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tv-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
}

.tv-card.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.tv-card-icon { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; }

/* Pricing Tables */
.pricing-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
}

.pricing-card.featured {
    background: rgba(0, 102, 255, 0.05);
    border: 2px solid var(--primary-blue);
}

.price-tag {
    font-size: 3rem;
    font-weight: 800;
    margin: 20px 0;
}

.price-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.price-features li {
    padding: 8px 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-features li::before {
    content: '✓';
    color: var(--primary-blue);
    font-weight: bold;
}

.price-features li.disabled {
    text-decoration: line-through;
    opacity: 0.5;
}

.price-features li.disabled::before { content: '✕'; color: #ff3d00; }

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--accent-blue);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
}

/* Compare Table */
.compare-container {
    overflow-x: auto;
    margin-top: 40px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--glass-bg);
    border-radius: 15px;
    overflow: hidden;
}

th, td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
}

th {
    background: rgba(0,102,255,0.1);
    font-weight: 700;
}

.compare-keyword {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Continuous Carousel Gallery */
.gallery-wrapper {
    overflow: hidden;
    padding: 40px 0;
    position: relative;
}

.gallery-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll 40s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50%)); }
}

.gallery-item {
    background: rgba(255, 255, 255, 0.05); /* low opacity creamy white background */
    backdrop-filter: blur(10px);
    border-radius: 12px; /* soft rounded corners */
    border: 1px solid rgba(255, 255, 255, 0.1); /* low opacity border */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* subtle shadow */
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image Ratio Rules */
.carousel--devices .gallery-item img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 200px;
}

.carousel--logos .gallery-item img {
    aspect-ratio: 16 / 9;
    width: 150px;
    object-fit: contain;
}

.carousel--sport .gallery-item img {
    aspect-ratio: 9 / 16;
    height: 300px;
    object-fit: cover;
}

.carousel--wtsp .gallery-item img {
    aspect-ratio: 473 / 1024;
    height: 400px;
    object-fit: cover;
}

.gallery-item:hover {
    border-color: var(--primary-blue);
    transform: scale(1.02);
}

/* 3-Step Activation */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    text-align: left;
    position: relative;
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-blue);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 20px;
}

.step-content {
    position: relative;
    z-index: 1;
    margin-top: 40px;
}

/* Footer */
footer {
    background: #050608;
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-links h4 {
    margin-bottom: 25px;
    color: var(--primary-blue);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 999;
}

/* FAQ Accordion */
.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    display: block;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.feature-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    transition: 0.3s;
}

.feature-item:hover {
    border-color: var(--primary-blue);
}
