.text-neon {
    color: #ff003c;
    text-shadow: 0 0 5px rgba(255,0,60,.6), 0 0 15px rgba(255,0,60,.3);
}
.border-neon { border-color: #ff003c; box-shadow: 0 0 8px rgba(255,0,60,.2); }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.animate-marquee {
    display: flex; width: max-content;
    animation: marquee 28s linear infinite;
    will-change: transform; 
}
.animate-marquee:hover { animation-play-state: paused; }

@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.skeleton {
    background: linear-gradient(90deg, #1a1a1a 25%, #252525 50%, #1a1a1a 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: 0.5rem;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeUp .35s ease both; }

#toast {
    position: fixed;
    bottom: 1.5rem; left: 50%;
    transform: translateX(-50%) translateY(120px);
    transition: transform .4s cubic-bezier(.34,1.56,.64,1);
    z-index: 9999;
    pointer-events: none;
}
#toast.show { transform: translateX(-50%) translateY(0); }

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.2; }
}

.custom-video-area {
    background: radial-gradient(circle at top, #11121d 0%, #050508 100%);
    padding: 16px !important;
    font-family: 'Inter', sans-serif;
    color: #fff;
    border-radius: 12px;
}
.video-label-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px !important;
}
.label-svg-icon {
    width: 16px;
    height: 16px;
    fill: #ff0055;
    filter: drop-shadow(0 0 5px rgba(255, 0, 85, 0.6));
}
.video-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin: 0 !important;
    font-weight: 700;
}
.image-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 580px;
    margin: 10px auto 15px auto !important;
}
.gallery-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block !important;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
    cursor: zoom-in;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.3s;
}
.gallery-img:hover {
    transform: scale(1.03);
    border-color: rgba(255, 0, 85, 0.4);
}
.button-container {
    text-align: center;
    margin: 0 auto 25px auto !important;
    max-width: 580px;
}
.all-photos-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(90deg, #ff0055 0%, #9d00c4 50%, #ff0055 100%);
    background-size: 200% auto;
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(255, 0, 85, 0.5);
    letter-spacing: 1px;
    cursor: pointer;
}
.all-photos-btn svg { width: 14px; height: 14px; fill: #fff; }
.video-card {
    max-width: 580px;
    margin: 0 auto 15px auto !important;
    background: rgba(18, 18, 29, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}
.part-title {
    background: rgba(255, 255, 255, 0.01);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 8px 14px !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.part-title-text {
    background: linear-gradient(90deg, #ff0055, #ff66a3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    text-transform: uppercase;
}
.live-dot {
    width: 5px;
    height: 5px;
    background-color: #ff0055;
    border-radius: 50%;
    box-shadow: 0 0 6px #ff0055;
    display: inline-block;
    animation: blink 1.5s infinite; 
}

/*Telegram and Online*/
.sub-video-label {
    color: #ffffff;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    display: block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.fullscreen-tip {
    background: rgba(255, 0, 85, 0.1);
    border-bottom: 1px solid rgba(255, 0, 85, 0.2);
    padding: 11px 20px;
    font-size: 12px;
    font-weight: 600;
    color: #ffb3cc;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    line-height: 1.4;
    text-align: center;
}
.watch-now-btn {
    background: linear-gradient(135deg, #ff0055 0%, #9d00c4 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 0 25px rgba(255, 0, 85, 0.6);
    animation: pulseButton 1.5s infinite ease-in-out;
    will-change: transform;
}
.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff;
    text-align: center;
    width: 85%;
    z-index: 5;
}
.progress-bg {
    width: 100%;
    max-width: 320px;
    height: 8px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #ff0055, #9d00c4);
    box-shadow: 0 0 10px #ff0055;
    border-radius: 10px;
    transition: width 1s linear;
    will-change: width;
}
.cheat-warning {
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    background: linear-gradient(135deg, #d31027 0%, #ea384d 100%);
    border: 1px solid #ff3344;
    padding: 10px 15px;
    border-radius: 12px;
    margin-bottom: 10px;
    box-shadow: 0 8px 20px rgba(211, 16, 39, 0.4);
    animation: shake 0.5s ease-in-out;
    line-height: 1.6;
    display: none;
}
.cheat-time-highlight {
    background: rgba(255, 255, 255, 0.25);
    padding: 1px 7px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    display: inline-block;
    margin: 0 2px;
}
.loader-text {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.countdown-badge {
    background: rgba(255, 0, 85, 0.2);
    border: 1px solid rgba(255, 0, 85, 0.4);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #ff66a3;
}
.embed-player {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    top: 0; left: 0;
    z-index: 10;
}
.glass-toast {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translate(-50%, -40px);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 22px;
    border-radius: 50px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 20;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 255, 102, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
    will-change: transform, opacity;
}
.glass-toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast-dot {
    width: 8px; height: 8px;
    background-color: #00ff66;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff66;
    display: inline-block;
}
.initial-play-btn {
    width: 70px; height: 70px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    animation: playPulse 2s infinite ease-in-out;
    transition: transform 0.3s ease;
    will-change: transform;
}
@keyframes playPulse {
    0%   { transform: scale(1);    box-shadow: 0 15px 35px rgba(0,0,0,0.5), 0 0 0 0 rgba(255,0,85,0.6); border-color: rgba(255,255,255,0.3); }
    50%  { transform: scale(1.06); box-shadow: 0 15px 35px rgba(0,0,0,0.5), 0 0 20px 10px rgba(255,0,85,0.4); border-color: rgba(255,0,85,0.7); background: rgba(255,0,85,0.15); }
    100% { transform: scale(1);    box-shadow: 0 15px 35px rgba(0,0,0,0.5), 0 0 0 0 rgba(255,0,85,0); border-color: rgba(255,255,255,0.3); }
}
@keyframes pulseButton { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.02); } }
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60%  { transform: translateX(-5px); }
    40%, 80%  { transform: translateX(5px); }
}

/* Telegram Only Template Custom CSS*/
.top-base64-img {
    width: 60%;
    max-width: 140px; 
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 24px; 
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(255, 0, 85, 0.4);
    animation: romanticPulse 4s infinite ease-in-out;
    object-fit: cover;
    will-change: transform;
}
@keyframes romanticPulse { 
    0%, 100% { transform: scale(1); } 
    50% { transform: scale(1.03); } 
}

/* ── Multi-Media Gallery Custom CSS ────────────────── */
.media-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 580px;
    margin: 0 auto 15px auto !important;
}
.gallery-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block !important;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
    cursor: zoom-in;
    transition: transform 0.3s;
}
.gallery-img:hover {
    transform: scale(1.02);
    border-color: rgba(255, 0, 85, 0.4);
}
.video-gallery-item {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #000;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
    cursor: pointer;
    transition: transform 0.3s;
}
.video-gallery-item:hover {
    transform: scale(1.02);
}
.video-gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-overlay-icon {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
    pointer-events: none;
}
.video-gallery-item.playing .video-overlay-icon {
    display: none;
}
.video-play-btn {
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-gallery-item:hover .video-play-btn {
    background: linear-gradient(135deg, #ff0055, #9d00c4);
    border-color: transparent;
}
.video-play-btn svg {
    fill: #fff;
    width: 16px;
    height: 16px;
    margin-left: 3px;
}
.click-to-play-btn {
    display: none;
    position: absolute;
    background: linear-gradient(135deg, #ff0055, #9d00c4);
    color: #fff;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.8);
    z-index: 5;
    animation: buttonPulse 1.5s infinite ease-in-out;
}
@keyframes buttonPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}
.video-gallery-item.verified-ready .video-play-btn { display: none; }
.video-gallery-item.verified-ready .click-to-play-btn { display: block; }

.custom-fullscreen-btn {
    position: absolute;
    top: 10px; right: 10px; width: 36px; height: 36px;
    background: linear-gradient(135deg, #ff0055, #9d00c4);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999 !important;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s, transform 0.3s;
}
.video-gallery-item.playing .custom-fullscreen-btn { opacity: 1; transform: scale(1); }
.custom-fullscreen-btn svg { fill: #fff; width: 18px; height: 18px; }

.video-title-tag {
    position: absolute;
    bottom: 8px; left: 8px;
    background: rgba(5, 5, 8, 0.75);
    backdrop-filter: blur(4px);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 3;
}
.video-gallery-item.playing .video-title-tag { display: none; }

.custom-alert-toast {
    position: fixed;
    bottom: -120px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff0055 0%, #720094 100%);
    color: #fff;
    padding: 14px 22px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 0, 85, 0.6);
    z-index: 999999;
    width: 85%; max-width: 380px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.custom-alert-toast.show { bottom: 30px; }

.image-lightbox-modal {
    position: fixed; z-index: 99999;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 5, 8, 0.96);
    backdrop-filter: blur(12px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.image-lightbox-modal.active { opacity: 1; pointer-events: auto; }
.lightbox-content-wrapper { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.lightbox-content { max-width: 92%; max-height: 82vh; object-fit: contain; border-radius: 14px; transform: scale(0.85); transition: transform 0.3s, opacity 0.25s; opacity: 0; }
.image-lightbox-modal.active .lightbox-content { transform: scale(1); opacity: 1; }

.lightbox-close-btn {
    position: absolute; top: 20px; right: 20px; width: 44px; height: 44px;
    background: rgba(255, 0, 85, 0.25); backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.lightbox-nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px;
    background: rgba(18, 18, 29, 0.6); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 100001;
}
.lightbox-nav-btn.prev { left: 15px; }
.lightbox-nav-btn.next { right: 15px; }
.lightbox-nav-btn svg { width: 22px; height: 22px; fill: #fff; }


.gallery-item-img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 12px;
}


.image-lightbox-modal {
    position: fixed; z-index: 99999;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 5, 8, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.image-lightbox-modal.active { opacity: 1; pointer-events: auto; }
.lightbox-content-wrapper { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.lightbox-content { max-width: 92%; max-height: 82vh; object-fit: contain !important; border-radius: 14px; transform: scale(0.85); transition: transform 0.3s ease, opacity 0.25s ease; opacity: 0; }
.image-lightbox-modal.active .lightbox-content { transform: scale(1); opacity: 1; }


.lightbox-close-btn {
    position: absolute; top: 20px; right: 20px; width: 44px; height: 44px;
    background: rgba(255, 0, 85, 0.25); backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    z-index: 100002; transition: all 0.2s ease;
}
.lightbox-close-btn:hover { background: rgba(255, 0, 85, 0.5); transform: scale(1.05); }


.lightbox-nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px;
    background: rgba(18, 18, 29, 0.6); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 100001;
    transition: all 0.2s ease;
}
.lightbox-nav-btn:hover { background: rgba(255, 0, 85, 0.3); border-color: rgba(255, 0, 85, 0.5); }
.lightbox-nav-btn.prev { left: 15px; }
.lightbox-nav-btn.next { right: 15px; }
.lightbox-nav-btn svg { width: 22px; height: 22px; fill: #fff; }

@media (max-width: 768px) {
    .lightbox-nav-btn { display: none; } 
}


img.object-cover:not(.gallery-item-img), 
.thumb-img, 
#wrapper-1 img {
  aspect-ratio: 16 / 9 !important;
  background-color: #16161a !important; 
  display: block;
  width: 100%;
  height: auto;
}
