:root {
    --primary-bg: #0a0b1e;
    --card-bg: rgba(255, 255, 255, 0.05);
    --accent-blue: #00d2ff;
    --accent-gold: #ffd700;
    --text-white: #ffffff;
    --text-muted: #e0e0f0;
    --transition-speed: 0.3s;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-white);
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-white);
}

p,
.text-muted {
    color: var(--text-muted) !important;
}

.text-info {
    color: var(--accent-blue) !important;
}

.text-warning {
    color: var(--accent-gold) !important;
}

/* Glassmorphism */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-blue);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    /* 16:9 Aspect Ratio */
    min-height: 100vh;
    min-width: 177.77vh;
    /* 16:9 Aspect Ratio */
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(10, 11, 30, 0.8) 0%,
            rgba(10, 11, 30, 0.4) 50%,
            rgba(10, 11, 30, 0.9) 100%);
    z-index: 1;
}

.hero-section .container {
    z-index: 2;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #fff 30%, var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 2rem;
}

/* OTT Icons */
.ott-badge {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: transform var(--transition-speed);
}

.ott-badge-placeholder {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: transform var(--transition-speed);
}

.glass-card:hover .ott-badge,
.glass-card:hover .ott-badge-placeholder {
    transform: scale(1.1);
}

.ott-badge:hover {
    filter: drop-shadow(0 0 15px var(--accent-blue));
}

/* Pricing Card */
.price-tag {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-gold);
}

.price-currency {
    font-size: 1.5rem;
    vertical-align: super;
}

/* Chatbot UI */
#chatbot-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-blue), #0080ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 210, 255, 0.4);
    z-index: 1000;
    transition: transform var(--transition-speed);
}

#chatbot-bubble:hover {
    transform: scale(1.1);
}

#chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 450px;
    background: #161b33;
    border-radius: 20px;
    display: none;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-header {
    padding: 15px;
    background: var(--card-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto !important;
    max-height: 330px;
    display: flex;
    flex-direction: column;
}

.chat-input-area {
    padding: 15px;
    background: var(--card-bg);
    display: flex;
    gap: 10px;
}

.chat-input,
.form-control.chat-input {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px;
    padding: 12px 20px;
    color: white !important;
    transition: all var(--transition-speed);
}

.chat-input:focus,
.form-control.chat-input:focus {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: var(--accent-blue) !important;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
    outline: none;
}

.chat-input::placeholder,
.form-control.chat-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.message {
    margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 80%;
}

.message.bot {
    background: rgba(255, 255, 255, 0.1);
    align-self: flex-start;
}

.message.user {
    background: var(--accent-blue);
    color: white;
    align-self: flex-end;
    margin-left: auto;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Recharge Modal & UPI UI */
.qr-container {
    background: white;
    padding: 15px;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.modal-content.glass-card {
    background: rgba(22, 27, 51, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header,
.modal-footer {
    border-color: rgba(255, 255, 255, 0.1);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Typing Indicator */
.typing-indicator {
    display: none;
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    border-radius: 15px;
    margin-bottom: 15px;
}

.typing-indicator span {
    height: 8px;
    width: 8px;
    float: left;
    margin: 0 1px;
    background-color: var(--accent-blue);
    display: block;
    border-radius: 50%;
    opacity: 0.4;
    animation: typing 1s infinite;
}

.typing-indicator span:nth-of-type(1) {
    animation-delay: 0s;
}

.typing-indicator span:nth-of-type(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-of-type(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0% {
        transform: translateY(0px);
        opacity: 0.4;
    }

    50% {
        transform: translateY(-5px);
        opacity: 1;
    }

    100% {
        transform: translateY(0px);
        opacity: 0.4;
    }
}

/* Chat Scrollbar */
.chat-body::-webkit-scrollbar {
    width: 6px;
}

.chat-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.chat-body::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 10px;
}

.chat-body::-webkit-scrollbar-thumb:hover {
    background: #0080ff;
}

/* Music Control */
.btn-circle-lg {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    padding: 0;
    transition: all var(--transition-speed);
    border-width: 2px;
}

.btn-circle-lg:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
}

.music-control-container {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1s ease-in-out;
}

.music-playing #musicToggle {
    background-color: var(--accent-blue);
    color: white;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.6);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

.extra-small {
    font-size: 0.75rem;
}

/* Responsiveness */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    #chatbot-window {
        width: calc(100vw - 40px);
        right: 20px;
        bottom: 90px;
    }
}

/* Promo Banner Utilities */
.italic-font {
    font-style: italic;
}

.fw-black {
    font-weight: 900;
}

.fw-900 {
    font-weight: 900;
}

.lh-1 {
    line-height: 1 !important;
}

.object-fit-cover {
    object-fit: cover !important;
}

.promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), transparent);
}

.promo-card {
    transition: all 0.5s ease;
}

.promo-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 210, 255, 0.3) !important;
}

.bg-light-subtle {
    background-color: #f8f9fa !important;
}

.border-light-subtle {
    border-color: #e9ecef !important;
}

/* 3D Glowing Carousel (Materialize Override) */
.carousel {
    height: 600px !important;
    perspective: 1000px;
}

.carousel-item {
    width: 300px !important;
    height: 300px !important;
    background: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    overflow: hidden;
    /* Neon Glow Effect */
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.carousel-item img {
    width: 100% !important;
    height: auto !important;
    max-height: 240px;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

/* Specific glows for different cards based on color */
.carousel-item:nth-child(1) {
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.3);
    border-color: rgba(0, 210, 255, 0.5);
}

.carousel-item:nth-child(2) {
    box-shadow: 0 0 30px rgba(255, 204, 0, 0.3);
    border-color: rgba(255, 204, 0, 0.5);
}

.carousel-item:nth-child(3) {
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.3);
    border-color: rgba(255, 0, 255, 0.5);
}

.carousel-item:nth-child(4) {
    box-shadow: 0 0 30px rgba(0, 255, 128, 0.3);
    border-color: rgba(0, 255, 128, 0.5);
}

.carousel-item:nth-child(5) {
    box-shadow: 0 0 30px rgba(255, 102, 0, 0.3);
    border-color: rgba(255, 102, 0, 0.5);
}

.carousel-item:nth-child(6) {
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.3);
    border-color: rgba(0, 102, 255, 0.5);
}

.carousel-item:nth-child(7) {
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.3);
    border-color: rgba(255, 0, 0, 0.5);
}

.carousel-item:hover {
    box-shadow: 0 0 50px rgba(0, 210, 255, 0.6) !important;
    transform: scale(1.05) !important;
}

/* Hide the Materialize indicators if any */
.carousel .indicators {
    display: none;
}

.carousel-wrapper {
    position: relative;
    margin-top: -50px;
}

#ott h2 .text-warning {
    color: #ffcc00 !important;
    /* Premium gold/yellow */
}

#ott h2 {
    letter-spacing: -1px;
}

/* Footer Sitemap Styles */
.footer-links li a {
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: var(--accent-blue) !important;
    padding-left: 5px;
}

.btn-circle {
    width: 35px;
    height: 35px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-circle:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 210, 255, 0.3);
}

.extra-small {
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Channel Categories */
.channel-categories {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
}

.channel-categories i {
    width: 20px;
}

/* TV Packages Section Fixes */
#tv-packages .extra-small {
    font-size: 10px !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
    padding: 12px 2px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
}

#tv-packages .glass-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

#tv-packages .row.g-2.mt-auto {
    margin-top: auto !important;
    width: 100% !important;
}

#tv-packages .badge {
    font-size: 0.7rem;
    padding: 0.5em 1em;
}

.modal {
    max-height: 100% !important;
    background-color: #fafafa00 !important;
}

/* Channel Logo Cards */
.channel-logo-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 8px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.channel-logo-card img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.1));
}

.channel-logo-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 204, 0, 0.5);
    border-color: var(--accent-gold);
}