/* ==========================================================================
   ARY PLUS APP (.COM.PK) - OFFICIAL THEME & STYLESHEET
   Colors:
     - Primary Red: #C3161C
     - Lime Accent Gradient: linear-gradient(92deg, #6BFE12 0%, #A7CA11 100%)
     - Dark Background: #000000
     - Surface Cards: #141414, #1F1F1F, #1A1A1A
     - Text Primary: #FFFFFF, Text Muted: #B7B7B7
   ========================================================================== */

:root {
    --bg-black: #000000;
    --bg-card: #141414;
    --bg-card-hover: #1f1f1f;
    --bg-subtle: #1a1a1a;
    --primary-red: #C3161C;
    --primary-red-hover: #e61920;
    --lime-green: #6BFE12;
    --lime-dark: #A7CA11;
    --lime-gradient: linear-gradient(92.43deg, #6BFE12 11%, #A7CA11 113.58%);
    --lime-gradient-hover: linear-gradient(92.43deg, #7fff29 11%, #bce217 113.58%);
    --text-main: #FFFFFF;
    --text-muted: #B7B7B7;
    --text-dim: #78828A;
    --border-color: rgba(255, 255, 255, 0.12);
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Red Hat Display', 'Poppins', sans-serif;
    --container-max: 1380px;
    --header-height: 76px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-black);
    color: var(--text-main);
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button, input, select {
    font-family: inherit;
    outline: none;
    border: none;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-red);
}

/* Typography Utility */
.text-lime {
    color: var(--lime-green) !important;
}
.text-red {
    color: var(--primary-red) !important;
}

/* Header & Navbar */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-container {
    max-width: var(--container-max);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Brand Logo Image */
.brand-logo {
    display: flex;
    align-items: center;
}

.site-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Desktop Nav Menu Links */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 14.5px;
    font-weight: 600;
    color: #e0e0e0;
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--lime-green);
    border-radius: 2px;
}

/* Header Right Actions & Sign In Button */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-icon-btn {
    background: transparent;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    padding: 6px;
    transition: color 0.2s ease;
}

.search-icon-btn:hover {
    color: var(--lime-green);
}

.btn-signin {
    background: var(--lime-green);
    color: #000;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(107, 254, 18, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-signin:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(107, 254, 18, 0.5);
}

/* Mobile Hamburger Menu Toggle */
.hamburger-toggle {
    display: none;
    background: transparent;
    color: var(--text-main);
    font-size: 22px;
    cursor: pointer;
    padding: 6px;
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 280px;
    height: calc(100vh - var(--header-height));
    background-color: #0d0d0d;
    border-left: 1px solid var(--border-color);
    z-index: 999;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: right 0.3s ease-in-out;
}

.mobile-nav-drawer.open {
    right: 0;
}

.mobile-nav-link {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-muted);
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    color: var(--lime-green);
}

/* ==========================================================================
   OFFICIAL ARY PLUS HERO SECTION (Exact Reference Screenshot Layout)
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 85vh;
    padding-top: calc(var(--header-height) + 20px);
    padding-bottom: 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #000;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: right top;
    opacity: 0;
    transition: opacity 1.2s ease-in-out, transform 6s ease-out;
    transform: scale(1.04);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: 
        linear-gradient(90deg, #000000 0%, #000000 38%, rgba(0, 0, 0, 0.85) 55%, rgba(0, 0, 0, 0.15) 85%, rgba(0, 0, 0, 0.6) 100%),
        linear-gradient(0deg, #000000 0%, rgba(0, 0, 0, 0) 30%);
}

.hero-container {
    position: relative;
    z-index: 3;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Clean Official Hero Content Block (Left Aligned) */
.hero-official-content {
    max-width: 620px;
}

.hero-title-logo-wrap {
    margin-bottom: 16px;
}

.hero-title-text {
    font-family: var(--font-heading);
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    letter-spacing: -0.5px;
}

.hero-meta-line {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-meta-line span {
    display: inline-block;
}

.meta-divider {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

.hero-description {
    font-size: 16px;
    color: #d1d1d1;
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 540px;
}

/* 2 Hero App Store Buttons (Google Play & App Store - Reference Screenshot 2) */
.hero-store-buttons-wrap {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.btn-hero-store-lime {
    background: var(--lime-green);
    color: #000;
    padding: 12px 26px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(107, 254, 18, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-hero-store-lime:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 28px rgba(107, 254, 18, 0.6);
}

.btn-hero-store-dark {
    background: rgba(18, 24, 38, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    color: #fff;
    padding: 12px 26px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn-hero-store-dark:hover {
    transform: translateY(-2px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(30, 40, 60, 0.85);
}

.store-btn-icon-lg {
    font-size: 26px;
    line-height: 1;
}

.store-btn-text-block {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-btn-small-lbl {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    line-height: 1.1;
}

.btn-hero-store-lime .store-btn-small-lbl { color: #000; }
.btn-hero-store-dark .store-btn-small-lbl { color: rgba(255, 255, 255, 0.7); }

.store-btn-big-title {
    font-size: 17px;
    font-weight: 900;
    font-family: var(--font-heading);
    line-height: 1.25;
}

.btn-hero-store-lime .store-btn-big-title { color: #000; }
.btn-hero-store-dark .store-btn-big-title { color: #fff; }

/* Horizontal Dash Progress Indicators */
.hero-dash-indicators {
    position: absolute;
    bottom: 40px;
    right: 60px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dash-bar {
    width: 28px;
    height: 4px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dash-bar.active {
    width: 44px;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.mute-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    margin-left: 12px;
}

/* Main Layout & Sections */
.main-wrapper {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.section-block {
    margin-bottom: 60px;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    border-left: 4px solid var(--primary-red);
    padding-left: 14px;
}

.section-h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: #fff;
}

.section-subtext {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Slider Navigation Controls */
.slider-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.slider-btn:hover {
    background: var(--lime-gradient);
    color: #000;
    border-color: transparent;
    transform: scale(1.1);
}

/* Horizontal Drama Slider Carousel */
.slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.poster-slider-container {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 16px;
    -webkit-overflow-scrolling: touch;
}

.poster-slider-container::-webkit-scrollbar {
    height: 6px;
}

.poster-slider-container::-webkit-scrollbar-thumb {
    background: var(--lime-dark);
    border-radius: 4px;
}

.slider-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
}

/* Live TV Channel Cards */
.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.channel-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.channel-box:hover {
    transform: translateY(-4px);
    border-color: var(--lime-green);
    box-shadow: 0 8px 24px rgba(107, 254, 18, 0.15);
    background: var(--bg-card-hover);
}

.channel-logo-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.1;
    font-weight: 900;
    font-size: 12px;
    color: #fff;
    flex-shrink: 0;
    padding: 4px;
    box-sizing: border-box;
}

.bg-red-icon { background: var(--primary-red); }
.bg-blue-icon { background: #0066cc; }
.bg-purple-icon { background: #6f42c1; }
.bg-orange-icon { background: #fd7e14; }

.channel-meta h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
}

.channel-meta p {
    font-size: 13px;
    color: var(--text-muted);
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #ff3b30;
    text-transform: uppercase;
    background: rgba(255, 59, 48, 0.12);
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 4px;
}

.live-dot-pulse {
    width: 6px;
    height: 6px;
    background: #ff3b30;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
    100% { opacity: 1; transform: scale(1); }
}

/* Drama Poster Card */
.poster-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.poster-card:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    border-color: rgba(255,255,255,0.3);
}

.poster-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 2/3;
    overflow: hidden;
    background: #1a1a1a;
}

.poster-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.poster-card:hover .poster-img-wrap img {
    transform: scale(1.08);
}

.ep-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-red);
    color: #fff;
    font-weight: 700;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 2;
}

.poster-overlay-play {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.poster-card:hover .poster-overlay-play {
    opacity: 1;
}

.play-circle-icon {
    width: 50px;
    height: 50px;
    background: var(--lime-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(107, 254, 18, 0.4);
}

.poster-info {
    padding: 14px;
}

.poster-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.poster-cast {
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* App Download Section Official Graphic */
.official-app-card-img {
    height: 90px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.7));
}

/* SEO Content Article */
.seo-content-article {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: clamp(24px, 4vw, 50px);
    margin-top: 60px;
    line-height: 1.8;
}

.seo-content-article h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: #fff;
    margin-top: 36px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-red);
}

.seo-content-article h2:first-of-type {
    margin-top: 0;
}

.seo-content-article h3 {
    font-size: 20px;
    color: var(--lime-green);
    margin-top: 24px;
    margin-bottom: 12px;
}

.seo-content-article p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 18px;
}

.seo-content-article ul, .seo-content-article ol {
    margin-left: 24px;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.seo-content-article li {
    margin-bottom: 10px;
}

.seo-highlight-box {
    background: rgba(107, 254, 18, 0.05);
    border-left: 4px solid var(--lime-green);
    padding: 18px 22px;
    border-radius: 0 10px 10px 0;
    margin: 24px 0;
    color: #e0e0e0;
}

/* FAQ Accordion */
.faq-list {
    margin-top: 24px;
}

.faq-item {
    background: #1a1a1a;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 18px 20px;
    background: transparent;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

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

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

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--lime-green);
}

/* Footer Section */
.site-footer {
    background: #080808;
    border-top: 1px solid var(--border-color);
    padding: 60px 20px 30px;
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--lime-green);
    margin-top: 6px;
}

.footer-col p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

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

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--lime-green);
    padding-left: 4px;
}

.footer-bottom {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-legal-nav {
    display: flex;
    gap: 20px;
}

.footer-legal-nav a:hover {
    color: var(--lime-green);
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .desktop-nav {
        display: none;
    }
    
    .hamburger-toggle {
        display: block;
    }
    
    .search-icon-btn {
        display: block;
    }
    
    .hero-dash-indicators {
        right: 20px;
        bottom: 20px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 480px;
        padding-top: calc(var(--header-height) + 15px);
        padding-bottom: 30px;
    }

    .hero-slide {
        background-position: center top;
        background-size: cover;
    }

    .hero-official-content {
        max-width: 100%;
    }

    .hero-title-text {
        font-size: 25px;
        line-height: 1.15;
        margin-bottom: 8px;
    }

    .hero-meta-line {
        font-size: 13px;
        margin-bottom: 10px;
        gap: 8px;
    }

    .hero-description {
        font-size: 13.5px;
        line-height: 1.45;
        margin-bottom: 18px;
        max-width: 100%;
    }

    .hero-dash-indicators {
        right: 16px;
        bottom: 14px;
        gap: 5px;
    }

    .dash-bar {
        width: 18px;
        height: 3px;
    }
}

@media (max-width: 600px) {
    .site-logo-img {
        height: 34px;
    }

    .hero-section {
        min-height: 420px;
        padding-top: calc(var(--header-height) + 10px);
        padding-bottom: 24px;
    }

    .hero-title-text {
        font-size: 22px;
        margin-bottom: 6px;
    }
    
    .hero-description {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 14px;
    }
    
    .hero-store-buttons-wrap {
        width: 100%;
        flex-direction: row;
        gap: 10px;
    }
    
    .btn-hero-store-lime, .btn-hero-store-dark {
        flex: 1;
        min-width: 0;
        padding: 10px 12px;
        border-radius: 14px;
        gap: 8px;
        justify-content: center;
    }

    .store-btn-icon-lg {
        font-size: 20px;
    }

    .store-btn-small-lbl {
        font-size: 8px;
        letter-spacing: 0.5px;
    }

    .store-btn-big-title {
        font-size: 13px;
        white-space: nowrap;
    }
    
    .slider-card {
        flex: 0 0 150px;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
