/* Premium Obsidian & Hot Pink Theme Layout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #0c060d;
    color: #f8fafc;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
}

/* 1. Full-Screen Background Iframe */
.iframe-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #000000;
}

.iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* 2. Top Bar Rotating Live Tickers (Obsidian Glass + Hot Pink Edge) */
.topbar-ticker-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 52px;
    z-index: 1000;
    background: rgba(12, 6, 13, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(255, 0, 127, 0.45);
    box-shadow: 0 4px 25px rgba(255, 0, 127, 0.18);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.topbar-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.98);
    transition: opacity 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.5s ease;
    z-index: 1;
}

.topbar-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    position: relative;
    z-index: 2;
}

.topbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.topbar-left-side {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}

/* Glowing Pulsing Live Badge */
.live-status-badge {
    background: rgba(255, 0, 127, 0.15);
    border: 1px solid rgba(255, 0, 127, 0.4);
    color: #ffb3d9;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.25);
    flex-shrink: 0;
}

.live-status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: #ff007f;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px #ff007f;
    animation: pulse-live-dot 1.4s infinite;
}

.topbar-text {
    font-size: 14.5px;
    color: #f1f5f9;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.3px;
}

.topbar-text strong {
    color: #ff758c;
    font-weight: 800;
    text-shadow: 0 0 12px rgba(255, 117, 140, 0.3);
}

.btn-view-live {
    background: linear-gradient(45deg, #ff007f, #ff758c);
    color: #ffffff !important;
    border: none;
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 0 12px rgba(255, 0, 127, 0.4);
    flex-shrink: 0;
    animation: btn-pulse-blink 1.2s infinite alternate;
}

.btn-view-live:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 18px rgba(255, 0, 127, 0.7);
    color: #ffffff !important;
}

/* 3. Center Floating Card Popup (Glassmorphism Hot Pink Theme) */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 3, 7, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-card {
    background: rgba(22, 11, 24, 0.95);
    border: 2px solid rgba(255, 0, 127, 0.45);
    border-radius: 24px;
    width: 90%;
    max-width: 410px;
    box-shadow: 0 15px 45px rgba(255, 0, 127, 0.25);
    position: relative;
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 24px;
    text-align: center;
}

.popup-overlay.show .popup-card {
    transform: scale(1);
}

.popup-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    font-size: 20px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.popup-close-btn:hover {
    background: rgba(239, 68, 68, 0.25);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.4);
    transform: rotate(90deg);
}

.popup-media-container {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 0, 127, 0.2);
    background-color: #0c060d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-media-container img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    display: block;
}

.popup-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #ffffff;
    background: linear-gradient(45deg, #ff007f, #ff758c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(255, 0, 127, 0.1);
}

.popup-desc {
    font-size: 13.5px;
    color: #cbd5e1;
    line-height: 1.5;
    margin-bottom: 20px;
}

.btn-videocall {
    background: linear-gradient(45deg, #ff007f, #ff758c);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    padding: 14px 28px;
    border-radius: 12px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.25s ease;
    box-shadow: 0 5px 20px rgba(255, 0, 127, 0.4);
    border: none;
    animation: btn-pulse-blink 1.2s infinite alternate;
}

.btn-videocall:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 127, 0.55);
    color: #ffffff;
}

.btn-videocall i {
    font-size: 19px;
    animation: vibrate-phone 1.5s infinite;
}

/* 4. Bottom Sticky Alternating Banners (Obsidian Glass + Hot Pink Edge) */
.bottom-sticky-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

.bottom-sticky-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #0c060d;
    border-top: 2px solid rgba(255, 0, 127, 0.45);
    box-shadow: 0 -8px 30px rgba(255, 0, 127, 0.18);
    padding: 14px 30px;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.5s ease, visibility 0.5s ease;
}

.bottom-sticky-bar.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    position: relative;
}

.bottom-bar-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(22, 11, 24, 0.96) 0%, rgba(12, 6, 13, 0.98) 100%);
    z-index: 1;
}

.bottom-bar-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.bottom-info-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
}

.bottom-info-title {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

.bottom-info-title span.title-gradient {
    background: linear-gradient(90deg, #ff007f, #ff758c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(255, 0, 127, 0.1);
}

.online-pulse-dot {
    width: 9px;
    height: 9px;
    background-color: #25d366;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px #25d366;
    animation: status-glow 1.5s infinite;
}

/* Highly attractive message text styling */
.bottom-info-desc {
    font-size: 13.5px;
    color: #ffb3d9;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(255, 0, 127, 0.15);
    margin-bottom: 0;
    max-width: 700px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.5px;
}

.bottom-action-section {
    flex-shrink: 0;
}

/* Small right-side WhatsApp button (Hot Pink theme) */
.btn-bottom-whatsapp {
    background: linear-gradient(45deg, #ff007f, #ff758c);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 7px 16px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
    border: none;
    box-shadow: 0 0 12px rgba(255, 0, 127, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: btn-pulse-blink 1.2s infinite alternate;
}

.btn-bottom-whatsapp:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 18px rgba(255, 0, 127, 0.7);
    color: #ffffff;
}

/* Animations */
@keyframes status-glow {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes pulse-live-dot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 0, 127, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(255, 0, 127, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 0, 127, 0); }
}

@keyframes vibrate-phone {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(-8deg); }
    20%, 40%, 60%, 80% { transform: rotate(8deg); }
}

@keyframes btn-pulse-blink {
    0% {
        transform: scale(1);
        box-shadow: 0 5px 20px rgba(255, 0, 127, 0.4);
    }
    50% {
        transform: scale(1.04);
        box-shadow: 0 0 25px rgba(255, 0, 127, 0.8), 0 0 10px rgba(255, 255, 255, 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 5px 20px rgba(255, 0, 127, 0.4);
    }
}

/* Mobile Media Queries */
@media (max-width: 768px) {
    body {
        height: 100vh;
        overflow: hidden;
    }
    
    .iframe-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .topbar-content {
        justify-content: space-between;
        gap: 6px;
    }

    .topbar-text {
        font-size: 11.5px;
        max-width: 175px;
    }

    .btn-view-live {
        padding: 5px 12px;
        font-size: 9.5px;
    }

    .popup-card {
        width: 88%;
        max-width: 320px;
        padding: 16px;
    }

    .popup-media-container {
        max-height: 200px;
        margin-bottom: 12px;
    }

    .popup-media-container img {
        max-height: 198px;
    }

    .btn-videocall {
        font-size: 13px;
        padding: 11px 18px;
    }

    .bottom-sticky-bar {
        padding: 12px 18px;
    }

    .bottom-bar-content {
        gap: 8px;
    }

    .bottom-info-block {
        gap: 2px;
    }

    .bottom-info-title {
        font-size: 12.5px;
        gap: 6px;
    }

    .bottom-info-desc {
        font-size: 11px;
        max-width: 145px;
    }

    .btn-bottom-whatsapp {
        font-size: 11px;
        padding: 8px 14px;
        border-radius: 6px;
    }
}

@media (max-width: 360px) {
    .topbar-text {
        max-width: 130px;
    }
    .bottom-info-desc {
        display: none;
    }
}
