/* ================================================================
   GECKO IPTV — Premium Master Stylesheet (Overhauled)
   Theme: Premium Dark Lila (#8b5cf6)
   Design System: Glassmorphism, Micro-interactions, High-Fidelity Details
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ────────────────────────────────────────
   1. DESIGN SYSTEM VARIABLES & ROOT
   ──────────────────────────────────────── */
:root {
    --theme-color: #8b5cf6;
    --theme-color-rgb: 139, 92, 246;
    --theme-color-light: #a78bfa;
    --theme-color-dark: #6d28d9;
    --theme-grad: linear-gradient(135deg, #c084fc 0%, #8b5cf6 50%, #6d28d9 100%);
    --theme-glow: rgba(139, 92, 246, 0.12);
    --theme-glow-strong: rgba(139, 92, 246, 0.45);
    
    --theme-bg: #03000a;
    /* Multilayer radial backdrop for organic dark ambient glow */
    --theme-bg-gradient: 
        radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(109, 40, 217, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 50% 0%, #0d0b21 0%, #03000a 80%);

    --theme-card: rgba(15, 12, 30, 0.6);
    --theme-border: rgba(255, 255, 255, 0.06);
    --theme-border-hover: rgba(139, 92, 246, 0.35);
    
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    
    /* Backward compatibility variables */
    --gecko-orange: var(--theme-color);
    --gecko-orange-grad: var(--theme-grad);
    --gecko-bg: var(--theme-bg);
    --gecko-card: var(--theme-card);
    --gecko-border: var(--theme-border);
    
    --transition-premium: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ────────────────────────────────────────
   2. GLOBAL BODY & SCROLLBARS
   ──────────────────────────────────────── */
body {
    background-color: var(--theme-bg) !important;
    background-image: var(--theme-bg-gradient) !important;
    background-attachment: fixed !important;
    color: var(--text-main) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', 'Inter', sans-serif !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: -0.01em;
}

p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

a {
    color: var(--theme-color-light);
    text-decoration: none;
    transition: var(--transition-premium);
}
a:hover {
    color: #ffffff;
}

/* Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--theme-bg);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--theme-color);
}

/* Custom Selection */
::selection {
    background: rgba(139, 92, 246, 0.3);
    color: #ffffff;
}

/* Utility Helpers */
.brand-text-gradient {
    background: var(--theme-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    font-weight: 900;
}
.text-theme {
    color: var(--theme-color) !important;
}
.badge-theme {
    background: var(--theme-glow) !important;
    color: var(--theme-color-light) !important;
    border: 1px solid rgba(139, 92, 246, 0.25) !important;
    padding: 6px 14px !important;
    border-radius: 30px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.badge-theme-solid {
    background: var(--theme-grad) !important;
    color: #ffffff !important;
    padding: 6px 14px !important;
    border-radius: 30px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* ────────────────────────────────────────
   3. HEADER & NAVIGATION BAR
   ──────────────────────────────────────── */
.header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(3, 0, 10, 0.75) !important;
    border-bottom: 1px solid var(--theme-border) !important;
    backdrop-filter: blur(24px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(140%) !important;
    transition: var(--transition-premium) !important;
}

.header .navbar-area {
    background: transparent !important;
    padding: 14px 0 !important;
}

.navbar {
    padding: 0 !important;
}

.navbar-brand img {
    height: 42px !important;
    width: auto !important;
    transition: var(--transition-premium);
}
.navbar-brand:hover img {
    transform: scale(1.03);
}

.navbar-nav .nav-item {
    margin: 0 6px;
    position: relative;
}

.navbar-nav .nav-item a {
    color: var(--text-muted) !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    padding: 8px 18px !important;
    border-radius: 30px;
    transition: var(--transition-premium) !important;
    text-decoration: none !important;
    display: inline-block;
    position: relative;
    border: 1px solid transparent;
}

.navbar-nav .nav-item a:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.03);
}

.navbar-nav .nav-item.active a {
    color: #ffffff !important;
    background: var(--theme-glow);
    border-color: rgba(139, 92, 246, 0.2);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.navbar-toggler {
    border: 1px solid var(--theme-border) !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    box-shadow: none !important;
}

.navbar-toggler .toggler-icon {
    width: 22px;
    height: 2px;
    background-color: var(--text-main);
    display: block;
    margin: 4px 0;
    transition: var(--transition-premium);
}

.navbar-toggler.active .toggler-icon:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}
.navbar-toggler.active .toggler-icon:nth-child(2) {
    opacity: 0;
}
.navbar-toggler.active .toggler-icon:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(6, 4, 15, 0.98) !important;
        border: 1px solid var(--theme-border) !important;
        border-radius: 16px !important;
        margin-top: 15px !important;
        padding: 20px !important;
        box-shadow: 0 15px 45px rgba(0,0,0,0.6);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
    }
    .navbar-nav .nav-item {
        margin: 6px 0;
    }
    .navbar-nav .nav-item a {
        display: block !important;
        padding: 12px 18px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }
    .navbar-nav .nav-item:last-child a {
        border-bottom: none;
    }
}

/* ────────────────────────────────────────
   4. GLASSMORPHIC CARDS
   ──────────────────────────────────────── */
.glass-card-custom {
    background: var(--theme-card) !important;
    backdrop-filter: blur(25px) saturate(130%);
    -webkit-backdrop-filter: blur(25px) saturate(130%);
    border: 1px solid var(--theme-border) !important;
    border-radius: 20px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.08);
    padding: 35px;
    transition: var(--transition-premium);
    position: relative;
    overflow: hidden;
}

.glass-card-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.05), transparent 60%);
    pointer-events: none;
}

.glass-card-custom:hover {
    transform: translateY(-6px);
    border-color: var(--theme-border-hover) !important;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.55),
        0 0 25px rgba(139, 92, 246, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.12);
}

/* ────────────────────────────────────────
   5. PREMIUM BUTTONS
   ──────────────────────────────────────── */
.btn {
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 30px !important;
    transition: var(--transition-premium) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--theme-grad) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35) !important;
}
.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.55), 0 0 15px rgba(139, 92, 246, 0.25) !important;
    color: #ffffff !important;
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}
.btn-outline-light:hover {
    background: #ffffff !important;
    color: var(--theme-bg) !important;
    border-color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-outline-primary {
    background: rgba(139, 92, 246, 0.03) !important;
    border: 1px solid rgba(139, 92, 246, 0.25) !important;
    color: var(--theme-color-light) !important;
}
.btn-outline-primary:hover {
    background: var(--theme-grad) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.btn-outline-danger {
    background: rgba(239, 68, 68, 0.03) !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    color: #ef4444 !important;
}
.btn-outline-danger:hover {
    background: #ef4444 !important;
    border-color: transparent !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

/* ────────────────────────────────────────
   6. FORM INPUTS & SELECTS
   ──────────────────────────────────────── */
.form-control, .form-select {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 13px 20px !important;
    font-size: 0.92rem !important;
    transition: var(--transition-premium) !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}
.form-control:focus, .form-select:focus {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: var(--theme-color-light) !important;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2), inset 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    outline: none !important;
    color: #ffffff !important;
}
.form-control::placeholder {
    color: rgba(255, 255, 255, 0.22) !important;
}

.input-group-text {
    background: rgba(255, 255, 255, 0.01) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: var(--text-muted) !important;
    border-radius: 12px 0 0 12px !important;
    padding: 0 18px !important;
}
.input-group > .form-control {
    border-radius: 0 12px 12px 0 !important;
}
.input-group > .input-group-text + .form-control {
    border-left: none !important;
}

.mac-input {
    font-family: 'Outfit', monospace !important;
    letter-spacing: 2px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

select option {
    background: #090615 !important;
    color: #ffffff !important;
}

/* ────────────────────────────────────────
   7. SECTIONS & HERO AREA
   ──────────────────────────────────────── */
.section {
    padding: 80px 0;
}
.section.pt-0 {
    padding-top: 0 !important;
}
.section.pb-0 {
    padding-bottom: 0 !important;
}

.hero-area {
    position: relative;
    padding: 190px 0 110px 0 !important;
    background: radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.16) 0%, transparent 50%);
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .section {
        padding: 60px 0 !important;
    }
    .hero-area {
        padding: 130px 0 60px 0 !important;
    }
}

.inner-page-header {
    margin-top: 90px !important;
    margin-bottom: 35px !important;
}
@media (max-width: 991.98px) {
    .inner-page-header {
        margin-top: 75px !important;
        margin-bottom: 20px !important;
    }
}

/* ────────────────────────────────────────
   8. COMPLIANCE & NOTICES
   ──────────────────────────────────────── */
.compliance-box {
    background: rgba(13, 10, 30, 0.45) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--theme-border) !important;
    border-radius: 16px;
    padding: 22px 28px;
    margin-bottom: 24px;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.03);
    transition: var(--transition-premium);
}
.compliance-info {
    border-left: 4px solid var(--theme-color) !important;
}
.compliance-danger {
    border-left: 4px solid #ef4444 !important;
    background: rgba(239, 68, 68, 0.01) !important;
}
.compliance-warning {
    border-left: 4px solid #f59e0b !important;
    background: rgba(245, 158, 11, 0.01) !important;
}
.compliance-box:hover {
    border-color: rgba(255, 255, 255, 0.1) !important;
    transform: translateX(4px);
}

/* ────────────────────────────────────────
   9. TABBED MENUS
   ──────────────────────────────────────── */
.nav-pills {
    gap: 10px;
}
.nav-pills .nav-link {
    color: var(--text-muted) !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 16px 22px;
    background: rgba(255, 255, 255, 0.01) !important;
    border: 1px solid var(--theme-border) !important;
    border-radius: 12px !important;
    transition: var(--transition-premium);
    text-align: left;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.02);
}
.nav-pills .nav-link:hover {
    background: rgba(255, 255, 255, 0.03) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}
.nav-pills .nav-link.active {
    background: var(--theme-grad) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

/* ────────────────────────────────────────
   10. FAQ ACCORDION
   ──────────────────────────────────────── */
.accordion-item-custom {
    background: rgba(255, 255, 255, 0.01) !important;
    border: 1px solid var(--theme-border) !important;
    border-radius: 14px !important;
    margin-bottom: 14px;
    overflow: hidden;
    transition: var(--transition-premium);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.02);
}
.accordion-item-custom:hover {
    border-color: var(--theme-border-hover) !important;
    background: rgba(255, 255, 255, 0.02) !important;
}

.accordion-button-custom {
    background: transparent !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 0.98rem !important;
    padding: 20px 26px !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-premium);
}
.accordion-button-custom:not(.collapsed) {
    color: var(--theme-color-light) !important;
}
.accordion-button-custom::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
    transition: var(--transition-premium);
    margin-left: 10px;
}
.accordion-button-custom:not(.collapsed)::after {
    transform: rotate(-135deg);
    border-color: var(--theme-color-light);
}

.accordion-body-custom {
    padding: 0 26px 22px 26px !important;
    color: var(--text-muted) !important;
    font-size: 0.9rem !important;
    line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    padding-top: 18px !important;
}

.section-title.style4 span {
    background: var(--theme-glow) !important;
    color: var(--theme-color-light) !important;
    padding: 6px 18px !important;
    border-radius: 50px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase !important;
    border: 1px solid rgba(139, 92, 246, 0.25) !important;
    display: inline-block !important;
    margin-bottom: 14px;
}
.section-title.style4 h1,
.section-title.style4 h2 {
    font-size: 2.2rem !important;
    line-height: 1.25 !important;
    margin-bottom: 18px !important;
    font-weight: 900 !important;
}
@media (max-width: 767.98px) {
    .section-title.style4 h1,
    .section-title.style4 h2 {
        font-size: 1.8rem !important;
    }
}

/* ────────────────────────────────────────
   11. TICKET & COMMENTS
   ──────────────────────────────────────── */
.comment-bubble {
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 18px;
    border: 1px solid var(--theme-border);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.02);
}
.comment-user {
    background: var(--theme-glow);
    border-left: 3px solid var(--theme-color-light);
}
.comment-support {
    background: rgba(255, 255, 255, 0.015);
    border-left: 3px solid rgba(255, 255, 255, 0.2);
}

/* ────────────────────────────────────────
   12. FOOTER
   ──────────────────────────────────────── */
.footer {
    background: #020007 !important;
    border-top: 1px solid var(--theme-border) !important;
    margin-top: auto;
}
.footer-middle {
    padding: 70px 0 50px 0 !important;
}
.single-footer h3 {
    font-size: 0.95rem !important;
    margin-bottom: 24px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
}
.single-footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.single-footer ul li {
    margin-bottom: 12px;
}
.single-footer ul li a {
    color: var(--text-muted) !important;
    font-size: 0.9rem;
    transition: var(--transition-premium);
}
.single-footer ul li a:hover {
    color: var(--theme-color-light) !important;
    transform: translateX(4px);
    display: inline-block;
}
.footer-social ul {
    padding: 0;
    margin: 20px 0 0 0;
    list-style: none;
    display: flex;
    gap: 14px;
}
.footer-social ul li a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.01);
    border: 1px solid var(--theme-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}
.footer-social ul li a:hover {
    background: var(--theme-grad);
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    transform: translateY(-3px);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    padding: 30px 0 !important;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.footer-bottom a {
    color: var(--text-muted);
    font-weight: 600;
}
.footer-bottom a:hover {
    color: var(--theme-color-light);
}

/* ────────────────────────────────────────
   13. BACK TO TOP BUTTON
   ──────────────────────────────────────── */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: var(--theme-grad);
    border-radius: 50%;
    color: #ffffff !important;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 99;
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
    transition: var(--transition-premium);
    border: none;
}
.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.6);
    color: #ffffff !important;
}
