/* MovieDen Core Stylesheet & Access Denied Redesign */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    touch-action: pan-x pan-y; /* scroll allowed, pinch-zoom blocked */
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: #030303;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Accessibility screen-reader only class for SEO H1 and landmarks */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: #0c0c0c; }
::-webkit-scrollbar-thumb { background: #00f2ff; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #00c4d4; }

/* ========== DESKTOP ONLY ELEMENTS ========== */
@media (max-width: 767px) {
    .header-nav { display: none !important; }
    .login-btn { display: none !important; }
    .hero-banner { display: none !important; }
    .quick-links { display: none !important; }
    .section-header .view-all-btn { display: none !important; }
}

.quick-links { display: none !important; }
.header-nav { display: none !important; }
.login-btn { display: none !important; }

/* ========== ANNOUNCEMENT BANNER ========== */
.announcement-banner {
    display: flex;
    gap: 12px;
    margin: 0 5% 16px;
    flex-wrap: wrap;
}
.ann-item {
    flex: 1;
    min-width: 260px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 12px;
    background: #111;
    border: 1px solid #1e1e1e;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}
.ann-item:hover { transform: translateY(-2px); }
.ann-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    border-radius: 3px 0 0 3px;
}
.ann-telegram::before { background: #00cfff; }
.ann-notice::before { background: #ffbc00; }
.ann-telegram:hover { box-shadow: 0 8px 25px rgba(0,207,255,0.12); border-color: rgba(0,207,255,0.2); }
.ann-notice:hover { box-shadow: 0 8px 25px rgba(255,188,0,0.12); border-color: rgba(255,188,0,0.2); }

.ann-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}
.ann-telegram .ann-icon { background: rgba(0,207,255,0.1); color: #00cfff; }
.ann-notice .ann-icon { background: rgba(255,188,0,0.1); color: #ffbc00; }

.ann-text { flex: 1; }
.ann-tag {
    font-size: 10px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.8px;
    display: block; margin-bottom: 3px;
}
.ann-telegram .ann-tag { color: #00cfff; }
.ann-notice .ann-tag { color: #ffbc00; }
.ann-text p { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.4; }

.ann-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px; font-weight: 700;
    text-decoration: none; flex-shrink: 0;
    transition: 0.2s; font-family: 'Outfit', sans-serif;
    white-space: nowrap;
}
.ann-telegram .ann-btn {
    background: rgba(0,207,255,0.1);
    border: 1px solid rgba(0,207,255,0.3);
    color: #00cfff;
}
.ann-telegram .ann-btn:hover { background: #00cfff; color: #000; }
.ann-notice .ann-btn {
    background: rgba(255,188,0,0.1);
    border: 1px solid rgba(255,188,0,0.3);
    color: #ffbc00;
}
.ann-notice .ann-btn:hover { background: #ffbc00; color: #000; }

@media (max-width: 767px) {
    .announcement-banner { display: none !important; }
}

/* ========== HEADER ========== */
header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(3,3,3,0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0,242,255,0.12);
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.logo {
    font-size: 24px; font-weight: 900;
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex; align-items: center; gap: 9px;
    flex-shrink: 0;
}
.logo-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, #ff2d78, #a020f0);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(160,32,240,0.45);
}
.logo-icon svg { width: 18px; height: 18px; fill: #fff; }
.logo-text {
    background: linear-gradient(90deg, #ff2d78, #cc22dd, #a020f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.header-right {
    display: flex; align-items: center; gap: 12px;
    flex: 1; min-width: 0; justify-content: flex-end;
}

@media (max-width: 380px) {
    header { padding: 0 4%; }
    .logo-text { font-size: 19px; }
    .logo-icon { width: 30px; height: 30px; }
    .search-wrapper { height: 38px; padding: 0 10px; }
}

/* ========== SEARCH BAR ========== */
.search-wrapper {
    position: relative;
    width: 100%; max-width: 260px; height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center;
    padding: 0 14px;
    transition: all 0.3s ease;
}
.search-wrapper:focus-within {
    border-color: #00f2ff;
    box-shadow: 0 0 0 3px rgba(0,242,255,0.1);
    background: rgba(0,242,255,0.04);
}
.search-wrapper::before {
    content: "\f002";
    font-family: "Font Awesome 6 Free"; font-weight: 900;
    color: rgba(255,255,255,0.4); margin-right: 9px; font-size: 13px;
}
.search-wrapper:focus-within::before { color: #00f2ff; }
.search-wrapper input {
    background: transparent; border: none; outline: none;
    color: #fff; width: 100%; font-size: 13px; font-family: 'Outfit', sans-serif;
}
.search-wrapper input::placeholder { color: rgba(255,255,255,0.35); }

/* ========== SEARCH SUGGESTIONS ========== */
.suggestions {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #111; border: 1px solid #222;
    border-radius: 12px; margin-top: 8px;
    max-height: 350px; overflow-y: auto;
    display: none; z-index: 100;
    box-shadow: 0 20px 50px rgba(0,0,0,0.7);
}
.suggestion-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px; cursor: pointer; border-bottom: 1px solid #1a1a1a;
}
.suggestion-item:hover { background: #1a1a1a; }
.suggestion-item img {
    width: 35px; height: 50px; object-fit: cover; border-radius: 5px;
}

/* ========== SCROLLING TICKER ========== */
.scrolling-text {
    background: linear-gradient(90deg, #0a0a0a, #111, #0a0a0a);
    border-bottom: 1px solid rgba(0,242,255,0.15);
    overflow: hidden; padding: 9px 0;
    white-space: nowrap;
    font-family: 'Hind Siliguri', sans-serif; font-weight: 600;
    color: #00f2ff; font-size: 13px;
}

/* ========== POPULAR MOVIES HORIZONTAL SLIDER ========== */
.popular-slider-section {
    margin: 0 5% 20px;
}
.popular-slider-header {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 12px;
}
.popular-slider-header .section-title-bar {
    width: 4px; height: 20px; border-radius: 2px;
    background: #ff0059;
    box-shadow: 0 0 8px rgba(255,0,89,0.6);
    flex-shrink: 0;
}
.popular-slider-header h3 {
    font-size: 16px; font-weight: 800; color: #fff;
    display: flex; align-items: center; gap: 8px;
}
.popular-slider-header h3 i { color: #ff0059; font-size: 14px; }
.popular-slider-wrap {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.popular-slider-track {
    display: flex; gap: 10px;
    animation: popularSlide 30s linear infinite;
    width: max-content;
}
.popular-slider-track:hover { animation-play-state: paused; }
.popular-movie-card {
    display: flex; flex-direction: column; align-items: center; gap: 7px;
    cursor: pointer; transition: transform 0.2s;
    width: 90px; flex-shrink: 0;
}
.popular-movie-card:hover { transform: translateY(-4px); }
.pop-poster { position: relative; width: 100%; line-height: 0; }
.popular-movie-card img {
    width: 90px; height: 126px;
    object-fit: cover; border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.popular-movie-card:hover img {
    border-color: rgba(255,0,89,0.5);
    box-shadow: 0 8px 20px rgba(255,0,89,0.2);
}
/* soft dark fade at the bottom of the poster so the number stays readable */
.pop-poster::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
    border-radius: 0 0 8px 8px;
    background: linear-gradient(to top, rgba(0,0,0,0.45), transparent);
    pointer-events: none;
}
/* rank number on top of the poster, bottom-left corner (outlined style) */
.pop-rank {
    position: absolute; left: 4px; bottom: 0; z-index: 2;
    font-family: 'Outfit', sans-serif; font-weight: 800;
    font-size: 84px; line-height: 0.95; letter-spacing: -3px;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255,255,255,0.5);
    pointer-events: none; user-select: none;
}
.two-digit .pop-rank { font-size: 64px; letter-spacing: -6px; }
.popular-movie-card .pop-title {
    font-size: 10px; font-weight: 600;
    color: rgba(255,255,255,0.75);
    text-align: center; width: 100%;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@keyframes popularSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== BUTTON GROUP ========== */
.btn-group {
    display: flex; gap: 10px;
    padding: 0 5% 14px;
    max-width: 100%; margin: 0;
}
.btn-nav {
    flex: 1; padding: 11px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 13px; font-weight: 700;
    cursor: pointer; display: flex; align-items: center;
    justify-content: center; gap: 6px;
    color: #fff; background: rgba(255,255,255,0.04);
    transition: all 0.22s; font-family: 'Outfit', sans-serif;
}
.btn-nav:hover { transform: translateY(-2px); border-color: #00f2ff; background: rgba(0,242,255,0.06); }
.btn-tuto { border-color: rgba(0,255,180,0.3); }
.btn-tuto:hover { background: rgba(0,255,180,0.08) !important; border-color: rgba(0,255,180,0.6) !important; box-shadow: 0 6px 18px rgba(0,255,180,0.12); }
.btn-req { border-color: rgba(99,102,241,0.3); }
.btn-req:hover { background: rgba(99,102,241,0.1) !important; border-color: rgba(99,102,241,0.6) !important; }
.btn-18 { border-color: rgba(255,0,89,0.3); }
.btn-18:hover { background: rgba(255,0,89,0.08) !important; border-color: rgba(255,0,89,0.5) !important; }
.btn-18.active { background: rgba(0,255,150,0.1); border-color: #00ff91; color: #00ff91; }

/* ========== PWA INSTALL BAR ========== */
.pwa-install-bar {
    margin: 0 5% 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #071820, #0a1628);
    border: 1px solid rgba(0,242,255,0.25);
    box-shadow: 0 4px 20px rgba(0,242,255,0.1), 0 0 0 1px rgba(0,242,255,0.05);
    overflow: hidden;
    position: relative;
    animation: pwaSlideIn 0.45s cubic-bezier(0.25,0.46,0.45,0.94) both;
}
@keyframes pwaSlideIn {
    from { opacity: 0; transform: translateY(-10px); max-height: 0; }
    to   { opacity: 1; transform: translateY(0);    max-height: 80px; }
}
.pwa-install-bar::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #00f2ff, #0072ff);
}
.pwa-install-bar::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,242,255,0.4), transparent);
}
.pwa-install-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px 11px 20px;
}
.pwa-app-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(0,242,255,0.25);
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.pwa-app-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.pwa-app-name {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pwa-app-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pwa-install-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    background: linear-gradient(135deg, #00f2ff, #0072ff);
    border: none;
    border-radius: 9px;
    color: #000;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    flex-shrink: 0;
    font-family: 'Outfit', sans-serif;
    transition: all 0.25s;
    box-shadow: 0 4px 14px rgba(0,242,255,0.3);
    white-space: nowrap;
}
.pwa-install-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 8px 22px rgba(0,242,255,0.45);
}
.pwa-install-btn:disabled {
    opacity: 0.7; cursor: not-allowed; transform: none;
}
.pwa-close-btn {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.35);
    font-size: 13px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: 0.2s;
}
.pwa-close-btn:hover {
    background: #ff0059;
    border-color: #ff0059;
    color: #fff;
}

/* ========== CATEGORY CHIPS ========== */
.category-scroll {
    display: flex; gap: 7px;
    padding: 4px 5% 12px;
    overflow-x: auto;
}
.chip {
    padding: 7px 16px;
    background: #0f0f0f;
    border: 1px solid #222;
    border-radius: 8px;
    font-size: 12px; font-weight: 600;
    cursor: pointer; white-space: nowrap;
    transition: all 0.2s; font-family: 'Outfit', sans-serif;
    color: rgba(255,255,255,0.7);
}
.chip:hover { border-color: rgba(0,242,255,0.4); color: #fff; background: rgba(0,242,255,0.05); }
.chip.active {
    background: #00f2ff; color: #000;
    border-color: #00f2ff;
    box-shadow: 0 4px 14px rgba(0,242,255,0.3);
    font-weight: 800;
}

/* ========== MAIN CONTAINER ========== */
.main-container { padding: 0 5% 80px; }

.section-header {
    display: flex; align-items: center; justify-content: space-between;
    margin: 10px 0 14px;
}
.section-title {
    font-size: 18px; font-weight: 800; color: #fff;
    display: flex; align-items: center; gap: 10px;
}
.section-title-bar {
    width: 4px; height: 20px; border-radius: 2px;
    background: #00f2ff;
    box-shadow: 0 0 8px rgba(0,242,255,0.6);
    flex-shrink: 0;
}
.section-title .icon { color: #00f2ff; font-size: 16px; }

/* ========== MOVIE GRID ========== */
.movie-grid { display: grid; gap: 12px; }
@media (min-width: 1024px) { .movie-grid { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 768px) and (max-width: 1023px) { .movie-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; } }
@media (max-width: 767px) { .movie-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; } }

/* ========== SKELETON ========== */
.skeleton-card {
    background: linear-gradient(90deg, #111 25%, #1a1a1a 50%, #111 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 12px; aspect-ratio: 2/3;
}
@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========== MOVIE CARD ========== */
.card {
    background: #111; border-radius: 12px; overflow: hidden;
    border: 1px solid #1e1e1e; position: relative; cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.25,0.46,0.45,0.94),
                border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-6px) scale(1.025);
    border-color: rgba(0,242,255,0.4);
    box-shadow: 0 20px 50px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,242,255,0.12);
}
.poster { position: relative; aspect-ratio: 2/3; overflow: hidden; }
.poster img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
}
.card:hover .poster img { transform: scale(1.07); }
.blur-effect { filter: blur(25px); }

/* ========== BADGES ========== */
.b-type {
    position: absolute; bottom: 8px; right: 8px;
    background: #00f2ff; color: #000;
    padding: 3px 8px; font-size: 10px; font-weight: 800;
    border-radius: 5px; z-index: 2;
}
.b-top {
    position: absolute; top: 0; left: 0;
    background: #ff0059; color: #fff;
    padding: 4px 10px; font-size: 10px; font-weight: 800;
    border-radius: 0 0 10px 0; z-index: 5;
}
.b-bottom {
    position: absolute; bottom: 0; left: 0;
    background: #7000ff; color: #fff;
    padding: 4px 10px; font-size: 10px; font-weight: 800;
    border-radius: 0 10px 0 0; z-index: 5;
}
.b-pre {
    position: absolute; top: 0; right: 0;
    background: #ffbc00; color: #000;
    padding: 4px 10px; font-size: 10px; font-weight: 800;
    border-radius: 0 0 0 10px; z-index: 5;
}

/* bottom-left stack: yellow badge sits right above the purple badge */
.b-stack {
    position: absolute; bottom: 0; left: 0; z-index: 5;
    display: flex; flex-direction: column; align-items: flex-start;
    max-width: 75%; pointer-events: none;
}
.b-stack .b-pre, .b-stack .b-bottom { position: static; top: auto; right: auto; bottom: auto; left: auto; }
.b-stack .b-pre { border-radius: 0 8px 0 0; }
.b-stack .b-bottom { border-radius: 0 8px 0 0; }
/* view count: small pill, top-right */
.b-views {
    position: absolute; top: 6px; right: 6px; z-index: 6;
    display: inline-flex; align-items: center; gap: 4px;
    background: rgba(0,0,0,0.6); color: #fff;
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    padding: 3px 7px; font-size: 10px; font-weight: 700; line-height: 1.25;
    border-radius: 20px; white-space: nowrap;
}
.b-views i { font-size: 9px; color: #00ffa3; }

.modal-views {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
    color: #fff; font-size: 13px; font-weight: 700;
    padding: 6px 14px; border-radius: 20px; margin: 10px 0 0; width: fit-content;
}
.movie-page-poster-col { display: flex; flex-direction: column; align-items: center; }
.modal-views i { color: #00ffa3; font-size: 12px; }

/* ========== PLAY OVERLAY ========== */
.play-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    opacity: 0; transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    z-index: 5; pointer-events: none;
}
.card:hover .play-overlay { opacity: 1; }

.swirl-wrapper {
    position: relative; width: 68px; height: 68px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 8px;
    transition: transform 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
}
.card:hover .swirl-wrapper { transform: scale(1.1); }

.play-icon-box {
    position: relative; width: 52px; height: 52px;
    background: #ffffff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 6px rgba(255,255,255,0.15), 0 0 25px rgba(0,242,255,0.3);
    z-index: 5;
}
.play-icon-box i { font-size: 22px; color: #000; margin-left: 4px; }

.swirl {
    position: absolute; width: 100%; height: 100%;
    border-radius: 50%; border: 1.5px solid transparent;
    opacity: 0; transition: all 0.5s ease 0.1s;
}
.card:hover .swirl { opacity: 0.8; }
.swirl-1 { border-top: 1.5px solid #fff; border-bottom: 1.5px solid #fff; animation: swirlRotate 1.5s linear infinite; }
.swirl-2 { border-left: 1.5px solid #00f2ff; border-right: 1.5px solid #00f2ff; animation: swirlRotate 2s linear reverse infinite; }
@keyframes swirlRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.movieden-text {
    color: #fff; font-size: 13px; font-weight: 700;
    letter-spacing: 0.5px; opacity: 0;
    transform: translateY(8px); transition: all 0.4s ease 0.2s;
}
.card:hover .movieden-text { opacity: 1; transform: translateY(0); }

.card-info { padding: 10px 10px 12px; }
.movie-title {
    font-size: 13px; font-weight: 700;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ========== MOVIE DETAILS PAGE ========== */
.movie-page {
    display: none;
    background: #030303;
    min-height: 70vh;
    animation: moviePageIn 0.35s ease;
}
@keyframes moviePageIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.movie-page-hero {
    position: relative; width: 100%; height: 240px;
    overflow: hidden; background: #050505;
}
.movie-page-hero-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center 25%;
    filter: blur(8px) brightness(0.4) saturate(1.4); transform: scale(1.15);
}
.movie-page-hero-gradient {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(3,3,3,0.15) 0%, rgba(3,3,3,0.55) 60%, #030303 100%);
}
.movie-page-back {
    position: absolute; top: 18px; left: 5%; z-index: 5;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px; border-radius: 30px;
    background: rgba(10,10,10,0.55); border: 1px solid rgba(255,255,255,0.15);
    color: #fff; font-weight: 700; font-size: 13px; cursor: pointer;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    transition: 0.25s; font-family: 'Outfit', sans-serif;
}
.movie-page-back:hover { background: #00f2ff; color: #000; border-color: #00f2ff; }

.movie-page-body {
    max-width: 980px; margin: -160px auto 0; padding: 0 5% 70px;
    position: relative; z-index: 2;
    display: flex; gap: 36px; align-items: flex-start;
}
.movie-page-poster-col { flex-shrink: 0; width: 210px; }
.movie-page-poster {
    width: 210px; display: block; border-radius: 14px;
    box-shadow: 0 22px 50px rgba(0,0,0,0.65); border: 3px solid #0d0d0d;
}
.movie-page-info-col { flex: 1; min-width: 0; padding-top: 0; text-align: left; }
.movie-page-title { font-size: 28px; font-weight: 800; line-height: 1.25; margin: 0 0 12px; }

@media (max-width: 1023px) {
    .movie-page-hero { height: 210px; }
    .movie-page-body { flex-direction: column; align-items: center; margin-top: -150px; padding: 0 24px 60px; text-align: center; }
    .movie-page-poster-col { width: 160px; margin-bottom: 16px; }
    .movie-page-poster { width: 160px; }
    .movie-page-info-col { width: 100%; padding-top: 0; text-align: center; }
    .movie-page-title { font-size: 22px; }
    .modal-meta { width: 100%; justify-content: center; }
    .modal-action-btns { justify-content: center; }
}
@media (max-width: 767px) {
    .movie-page-hero { height: 190px; }
    .movie-page-body { margin-top: -135px; padding-bottom: 95px; }
}

/* ========== MOVIE PAGE SHIMMER LOADER ========== */
.movie-page-loader { display: none; }
.mp-skel-shimmer {
    background: linear-gradient(90deg, #111 25%, #1c1c1c 37%, #111 63%);
    background-size: 400% 100%;
    animation: mpShimmer 1.4s ease infinite;
    border-radius: 8px;
}
@keyframes mpShimmer {
    0%   { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.mp-skel-hero { width: 100%; height: 240px; border-radius: 0; }
.mp-skel-body {
    max-width: 980px; margin: -160px auto 0; padding: 0 5% 70px;
    position: relative; z-index: 2;
    display: flex; gap: 36px; align-items: flex-start;
}
.mp-skel-poster { width: 210px; height: 300px; flex-shrink: 0; }
.mp-skel-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.mp-skel-title { height: 30px; width: 70%; }
.mp-skel-chip-row { display: flex; gap: 8px; }
.mp-skel-chip { height: 22px; width: 64px; border-radius: 20px; }
.mp-skel-btn { height: 44px; width: 160px; margin-top: 8px; border-radius: 9px; }

@media (max-width: 1023px) {
    .mp-skel-hero { height: 210px; }
    .mp-skel-body { flex-direction: column; align-items: center; margin-top: -150px; padding: 0 24px 60px; }
    .mp-skel-poster { width: 160px; height: 230px; margin-bottom: 4px; }
    .mp-skel-info { align-items: center; width: 100%; }
    .mp-skel-title { width: 80%; max-width: 260px; }
    .mp-skel-chip-row { justify-content: center; }
    .mp-skel-btn { margin-left: auto; margin-right: auto; }
}
@media (max-width: 767px) {
    .mp-skel-hero { height: 190px; }
    .mp-skel-body { margin-top: -135px; }
}

/* ========== RELATED MOVIES ========== */
.related-movies-section {
    display: none;
    max-width: 980px; margin: 10px auto 0; padding: 0 5% 60px;
}
.related-movies-header {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 14px;
}
.related-movies-header .section-title-bar {
    width: 4px; height: 20px; border-radius: 2px;
    background: #00f2ff;
    box-shadow: 0 0 8px rgba(0,242,255,0.6);
    flex-shrink: 0;
}
.related-movies-header h3 {
    font-size: 16px; font-weight: 800; color: #fff;
    display: flex; align-items: center; gap: 8px;
}
.related-movies-header h3 i { color: #00f2ff; font-size: 14px; }
@media (max-width: 767px) {
    .related-movies-section { padding-bottom: 95px; }
}

.youtube-btn {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 8px 18px; background: rgba(255,0,0,0.9); color: white;
    border: none; border-radius: 8px; font-weight: 600; font-size: 13px;
    cursor: pointer; margin-top: 10px; margin-bottom: 4px; text-decoration: none;
}
.youtube-btn:hover { background: #ff0000; }

.modal-screenshot {
    width: 100%; border-radius: 10px; border: 1px solid #1e1e1e;
    margin: 12px 0; display: block;
}
.modal-meta {
    display: flex; flex-wrap: wrap; gap: 6px;
    justify-content: center; margin: 12px 0;
}
.modal-cat {
    background: rgba(0,242,255,0.08); color: #00f2ff;
    padding: 4px 12px; border-radius: 6px;
    font-size: 11px; font-weight: 600;
    border: 1px solid rgba(0,242,255,0.2);
}
.modal-action-btns { display: flex; gap: 10px; margin: 16px 0; }

/* ========== DOWNLOAD BUTTONS ========== */
.dl-action-wrap { text-align: center; margin: 16px auto 4px; max-width: 100%; }


.dl-steps {
    display: flex; align-items: flex-start; justify-content: center; gap: 0;
    margin-bottom: 20px;
}
.dl-step {
    display: flex; flex-direction: column; align-items: center; gap: 7px;
    font-size: 9.5px; font-weight: 800; letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.32); white-space: nowrap;
    transition: color 0.3s;
}
.dl-step-dot {
    width: 30px; height: 30px; flex-shrink: 0;
    background: #111; border: 1.5px solid rgba(255,255,255,0.15);
    clip-path: polygon(7px 0, 100% 0, 100% 100%, 0 100%, 0 7px);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 900; color: rgba(255,255,255,0.35);
    transition: all 0.3s;
}
.dl-step-line {
    width: 26px; height: 2px; margin-top: 15px; flex-shrink: 0;
    background: repeating-linear-gradient(90deg, rgba(255,255,255,0.18) 0 4px, transparent 4px 7px);
    transition: background 0.4s;
}
.dl-step.active { color: #ffcf40; }
.dl-step.active .dl-step-dot {
    background: linear-gradient(135deg, #ffcf40, #ff8c00);
    border-color: transparent; color: #1a0f00;
    box-shadow: 0 0 16px rgba(255,150,0,0.6);
}
.dl-step.done { color: #00ffa3; }
.dl-step.done .dl-step-dot {
    background: linear-gradient(135deg, #00ffa3, #00c46a);
    border-color: transparent; color: #001a0d;
}
.dl-step.done + .dl-step-line { background: linear-gradient(90deg, #00ffa3, #00c46a); }

.dl-generating {
    padding: 18px 20px; margin-bottom: 4px;
    background: #101010; border: 1px solid rgba(0,242,255,0.15);
    border-radius: 14px;
}
.dl-generating .dl-gen-label {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.65);
    margin-bottom: 12px;
}
.dl-generating .dl-gen-label i { color: #00f2ff; animation: dlGenSpin 1s linear infinite; }
@keyframes dlGenSpin { to { transform: rotate(360deg); } }
.dl-progress-track {
    width: 100%; height: 6px; border-radius: 6px;
    background: rgba(255,255,255,0.08); overflow: hidden;
}
.dl-progress-fill {
    height: 100%; border-radius: 6px; width: 0%;
    background: linear-gradient(90deg, #00f2ff, #0072ff);
    transition: width 1s linear;
}
.dl-gen-sub { margin-top: 10px; font-size: 11px; color: rgba(255,255,255,0.4); }

#moreBtn {
    background: #111; border: 1px solid #222; color: #fff;
    padding: 13px 50px; border-radius: 10px; cursor: pointer; font-weight: 700;
    margin: 30px auto; display: none; font-size: 14px; font-family: 'Outfit', sans-serif;
    transition: 0.2s;
}
#moreBtn:hover { background: #00f2ff; color: #000; border-color: #00f2ff; box-shadow: 0 8px 24px rgba(0,242,255,0.3); }

/* ========== FOOTER ========== */
.footer {
    background: #0a0a0a; border-top: 1px solid #1a1a1a;
    padding: 24px 20px; text-align: center; margin-top: 40px; font-size: 13px;
    color: rgba(255,255,255,0.4);
}
.footer a { color: #00f2ff; text-decoration: none; font-weight: 600; }

.marquee {
    display: inline-block; white-space: nowrap; padding-left: 100%;
    animation: marqueeMove 18s linear infinite;
}
@keyframes marqueeMove { from { transform: translateX(0); } to { transform: translateX(-100%); } }

.colored-text {
    font-weight: bold;
    background: linear-gradient(90deg, #12f3ff, #12efff, #1eff12, #ffef12, #ff12b8);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; color: transparent;
    background-size: 300% 100%; animation: gradientAnimation 8s ease infinite;
}
@keyframes gradientAnimation {
    0% { background-position: 0% 50%; } 25% { background-position: 50% 50%; }
    50% { background-position: 100% 50%; } 75% { background-position: 50% 50%; }
    100% { background-position: 0% 50%; }
}

/* ========== MOBILE BOTTOM NAV ========== */
.mobile-bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: rgba(3,3,3,0.97);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0,242,255,0.12);
    display: flex; justify-content: space-around; align-items: center;
    padding: 8px 0 14px; z-index: 999;
}
.mobile-nav-item {
    display: flex; flex-direction: column; align-items: center;
    gap: 3px; cursor: pointer; padding: 6px 14px; border-radius: 10px;
    color: rgba(255,255,255,0.45); transition: 0.2s; font-size: 10px;
    font-family: 'Outfit', sans-serif; font-weight: 600;
}
.mobile-nav-item i { font-size: 19px; }
.mobile-nav-item.active, .mobile-nav-item:hover {
    color: #00f2ff; background: rgba(0,242,255,0.08);
}
@media (min-width: 768px) { .mobile-bottom-nav { display: none !important; } }

/* ========== TOAST NOTIFICATION ========== */
.tNtf span {
    position: fixed; left: 50%; transform: translateX(-50%);
    bottom: -80px; z-index: 99999999;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff; padding: 12px 25px; border-radius: 50px;
    font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,0.4); transition: all 0.5s ease;
}
.tNtf.show span { bottom: 30px; }

/* ==========================================================
   ========== REDESIGNED ACCESS DENIED HERO SCREEN ==========
   ========================================================== */
.access-denied-wrapper {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px 80px;
    background: radial-gradient(circle at 50% 25%, rgba(255, 45, 120, 0.12) 0%, rgba(0, 242, 255, 0.04) 40%, rgba(3, 3, 3, 1) 75%);
    overflow: hidden;
}

/* Ambient glowing light circles in background */
.access-denied-wrapper::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 350px;
    background: radial-gradient(ellipse, rgba(255, 0, 89, 0.18) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 1;
}

.access-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 580px;
    background: rgba(14, 15, 22, 0.85);
    border: 1px solid rgba(255, 45, 120, 0.25);
    border-radius: 24px;
    padding: 44px 34px;
    text-align: center;
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.75), 0 0 40px rgba(255, 0, 89, 0.12);
    animation: accessCardEntrance 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes accessCardEntrance {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Glowing Shield / Lock Graphic */
.access-icon-container {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.access-icon-glow {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 45, 120, 0.4) 0%, rgba(255, 0, 89, 0) 70%);
    animation: accessPulse 2.8s infinite alternate;
}

.access-icon-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px dashed rgba(255, 45, 120, 0.45);
    animation: accessRingRotate 20s linear infinite;
}

.access-icon-core {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 45, 120, 0.2), rgba(160, 32, 240, 0.3));
    border: 1px solid rgba(255, 45, 120, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(255, 0, 89, 0.35);
}

.access-icon-core i {
    font-size: 32px;
    color: #ff2d78;
    filter: drop-shadow(0 0 10px rgba(255, 45, 120, 0.8));
}

@keyframes accessPulse {
    0% { transform: scale(0.95); opacity: 0.6; }
    100% { transform: scale(1.15); opacity: 1; }
}

@keyframes accessRingRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Security Tag */
.access-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 30px;
    background: rgba(255, 0, 89, 0.1);
    border: 1px solid rgba(255, 0, 89, 0.35);
    color: #ff2d78;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.access-pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff2d78;
    box-shadow: 0 0 8px #ff2d78;
    animation: accessBlink 1.4s ease-in-out infinite;
}

@keyframes accessBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Headings */
.access-title {
    font-size: 32px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.access-bangla-title {
    font-family: 'Hind Siliguri', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #00f2ff;
    margin-bottom: 16px;
    line-height: 1.4;
    text-shadow: 0 0 15px rgba(0, 242, 255, 0.35);
}

.access-desc {
    font-family: 'Hind Siliguri', sans-serif;
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* Domain Details Box */
.access-domain-box {
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 28px;
    text-align: left;
}

.access-domain-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    overflow: hidden;
}

.access-domain-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 700;
}

.access-domain-name {
    font-family: monospace, monospace;
    font-size: 13.5px;
    font-weight: 700;
    color: #ff94b9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.access-copy-btn {
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.access-copy-btn:hover {
    background: rgba(0, 242, 255, 0.15);
    border-color: #00f2ff;
    color: #00f2ff;
}

.access-copy-btn.copied {
    background: rgba(0, 255, 145, 0.15);
    border-color: #00ff91;
    color: #00ff91;
}

/* Action Buttons Grid */
.access-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.access-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 22px;
    background: linear-gradient(135deg, #00f2ff 0%, #0072ff 100%);
    border: none;
    border-radius: 12px;
    color: #00131a;
    font-size: 14.5px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    font-family: 'Outfit', 'Hind Siliguri', sans-serif;
    box-shadow: 0 8px 24px rgba(0, 242, 255, 0.35);
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.access-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 242, 255, 0.5);
    filter: brightness(1.1);
}

.access-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: rgba(0, 136, 204, 0.08);
    border: 1px solid rgba(0, 207, 255, 0.28);
    border-radius: 12px;
    color: #e2f7ff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    font-family: 'Outfit', 'Hind Siliguri', sans-serif;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.access-btn-secondary:hover {
    background: rgba(0, 207, 255, 0.16);
    border-color: #00cfff;
    color: #00f2ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 207, 255, 0.2);
}

.access-btn-telegram i {
    font-size: 17px;
    color: #00cfff;
}

@media (max-width: 600px) {
    .access-card {
        padding: 32px 20px;
        border-radius: 18px;
    }
    .access-title {
        font-size: 26px;
    }
    .access-bangla-title {
        font-size: 18px;
    }
    .access-desc {
        font-size: 13.5px;
    }
    .access-btn-row {
        flex-direction: column;
    }
}

/* =====================================================================
   MOBILE READABILITY OVERRIDES  (bigger text, 2-column grid)
   Keep this block at the very END of the file so it wins over the above.
   ===================================================================== */
@media (max-width: 767px) {

    /* --- Header & search (16px input stops iOS auto-zoom on focus) --- */
    .logo { font-size: 24px; }
    .search-wrapper { height: 44px; max-width: none; }
    .search-wrapper::before { font-size: 15px; }
    .search-wrapper input { font-size: 16px; }
    .suggestion-item { padding: 12px; }
    .suggestion-item img { width: 44px; height: 64px; }
    .suggestion-item h4 { font-size: 15px !important; }
    .suggestion-item div[style*="font-size:10px"] { font-size: 12px !important; }

    /* --- Ticker, chips, buttons --- */
    .scrolling-text { font-size: 15px; padding: 11px 0; }
    .category-scroll { gap: 8px; padding-bottom: 14px; }
    .chip { font-size: 14px; padding: 9px 18px; border-radius: 10px; }
    .btn-nav { font-size: 14px; padding: 13px 10px; }
    .pwa-app-name { font-size: 15px; }
    .pwa-app-sub { font-size: 12.5px; }
    .pwa-install-btn { font-size: 14px; padding: 11px 18px; }

    /* --- Section titles --- */
    .section-title { font-size: 21px; }
    .section-title .icon { font-size: 18px; }
    .popular-slider-header h3,
    .related-movies-header h3 { font-size: 19px; }

    /* --- Popular slider --- */
    .popular-movie-card { width: 110px; }
    .popular-movie-card img { width: 110px; height: 154px; }
    .pop-rank { font-size: 106px; left: 5px; }
    .two-digit .pop-rank { font-size: 80px; }
    .popular-movie-card .pop-title { font-size: 12.5px; }

    /* --- Movie card: badges, title --- */
    /* Badges: full text always visible; wide enough to stay on one line,
       wraps only at word boundaries (never mid-word, never cut with …) */
    .b-top, .b-bottom, .b-pre, .b-type {
        font-size: 10px; line-height: 1.25; font-weight: 700;
        padding: 3px 7px;
        white-space: normal; word-break: normal; overflow-wrap: normal;
        text-wrap: balance;
    }
    .b-top { max-width: 68%; white-space: nowrap; border-radius: 0 0 8px 0; }
    .b-bottom { max-width: 100%; border-radius: 0 8px 0 0; }
    .b-stack { max-width: 75%; }
    .b-stack .b-pre, .b-stack .b-bottom { white-space: nowrap; max-width: 100%; }
    .b-type   { max-width: 32%; bottom: 6px; right: 6px; border-radius: 5px; white-space: nowrap; }
    .card-info { padding: 10px 10px 12px; }
    .movie-title {
        font-size: 15px; line-height: 1.35;
        white-space: nowrap;
        overflow: hidden; text-overflow: ellipsis;
        display: block;
    }

    /* --- Movie details page --- */
    .movie-page-title { font-size: 25px; }
    .movie-page-poster-col, .movie-page-poster { width: 180px; }
    .modal-cat { font-size: 13px; padding: 6px 13px; }
    .youtube-btn { font-size: 15px; padding: 11px 20px; }
    .dl-step { font-size: 12.5px; }
    .dl-generating .dl-gen-label { font-size: 15px; }
    .dl-gen-sub { font-size: 13px; }

    /* --- Bottom nav --- */
    .mobile-nav-item { font-size: 12px; padding: 6px 18px; }
    .mobile-nav-item i { font-size: 22px; }

    /* --- Toast / footer --- */
    .tNtf span { font-size: 15px; }
    .footer { font-size: 14px; }
}

/* Phones: 2 columns so posters and text are big enough to read.
   (Tablets 600-767px keep 3 columns.) */
@media (max-width: 599px) {
    .movie-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ========== GLASS PILL BUTTONS (SHARE / DOWNLOAD) ========== */
.btn-share, .dl-btn {
    --b1:#c24bff; --b2:#4f6bff;
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; align-items: center; gap: 0;
    width: 100%; margin: 0; padding: 0 14px;
    min-height: 64px; border-radius: 999px;
    border: 1.5px solid transparent; text-align: left; cursor: pointer;
    font-family: 'Outfit', sans-serif; color: #fff; text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform .25s ease, box-shadow .3s ease, filter .3s ease;
}
.btn-share { flex: 1; }
.dl-btn { max-width: 100%; margin: 14px 0; }

.fx-ico {
    flex-shrink: 0; width: 44px; height: 44px; border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    font-size: 19px; color: #fff; margin-right: 14px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 4px 14px rgba(0,0,0,.35);
}
.fx-div { flex-shrink: 0; width: 1.5px; height: 40px; margin-right: 16px; background: linear-gradient(180deg, transparent, rgba(255,255,255,.35), transparent); }
.fx-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
.fx-txt b { font-size: 18px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.fx-txt small { margin-top: 4px; font-size: 13px; font-weight: 400; letter-spacing: .1px; text-transform: none; color: rgba(255,255,255,.78); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-end {
    flex-shrink: 0; margin-left: 10px; width: 40px; height: 40px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-size: 17px; color: #fff;
}
.btn-share::after, .dl-btn::after {
    content: ''; position: absolute; top: 0; left: -60%; width: 45%; height: 100%; z-index: 0; pointer-events: none;
    background: linear-gradient(110deg, transparent, rgba(255,255,255,.22), transparent);
    transform: skewX(-20deg); transition: left .7s ease;
}
.btn-share:hover::after, .dl-btn:hover::after { left: 130%; }
.btn-share > *, .dl-btn > * { position: relative; z-index: 1; }

/* SHARE: dark glass, purple->blue outline */
.btn-share {
    background:
        radial-gradient(120% 220% at 100% 120%, rgba(139,92,246,.55) 0%, transparent 45%) padding-box,
        radial-gradient(90% 200% at 0% 0%, rgba(168,85,247,.22) 0%, transparent 55%) padding-box,
        linear-gradient(180deg, #0b1030, #070a22) padding-box,
        linear-gradient(90deg, var(--b1), var(--b2)) border-box;
    box-shadow: 0 0 22px rgba(110,80,255,.28), inset 0 0 24px rgba(120,90,255,.10);
}
.btn-share .fx-ico { background: linear-gradient(145deg, #4a2fe0, #2a14a8); }
.btn-share .fx-end { background: rgba(80,90,200,.18); border: 1px solid rgba(130,140,255,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.btn-share:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(120,90,255,.5), inset 0 0 24px rgba(120,90,255,.18); }
.btn-share:active { transform: translateY(0) scale(.99); }
.btn-share.copied { --b1:#00ffa3; --b2:#00c46a; box-shadow: 0 0 24px rgba(0,255,160,.35); }
.btn-share.copied .fx-ico { background: linear-gradient(145deg, #00c46a, #008a4b); }

/* DOWNLOAD: neon cyan->blue->purple fill */
.dl-btn {
    --b1:#3be8ff; --b2:#e0a8ff;
    background:
        radial-gradient(70% 160% at 98% 50%, rgba(255,255,255,.22) 0%, transparent 60%) padding-box,
        linear-gradient(100deg, #00b4ff 0%, #2f4dff 38%, #6a2be0 68%, #b04bff 100%) padding-box,
        linear-gradient(90deg, var(--b1), var(--b2)) border-box;
    box-shadow: 0 0 26px rgba(0,170,255,.45), 0 10px 30px -8px rgba(120,60,255,.55);
}
.dl-btn .fx-ico { background: linear-gradient(145deg, #27c4ff, #0a7bff); }
.dl-btn .fx-end { background: rgba(255,255,255,.22); font-size: 20px; }
.dl-btn .fx-txt small { color: rgba(220,235,255,.85); }
.dl-btn:hover { transform: translateY(-2px); box-shadow: 0 0 34px rgba(0,190,255,.65), 0 14px 36px -8px rgba(150,70,255,.7); filter: brightness(1.08); }
.dl-btn:active { transform: translateY(0) scale(.99); }

.dl-btn.dl-unlock { --b1:#ffe27a; --b2:#ff9a3c;
    background:
        radial-gradient(70% 160% at 98% 50%, rgba(255,255,255,.2) 0%, transparent 60%) padding-box,
        linear-gradient(100deg, #ffb300 0%, #ff7a18 45%, #e5303c 100%) padding-box,
        linear-gradient(90deg, var(--b1), var(--b2)) border-box;
    box-shadow: 0 0 26px rgba(255,150,0,.45), 0 10px 30px -8px rgba(255,80,40,.5);
}
.dl-btn.dl-unlock .fx-ico { background: linear-gradient(145deg, #ffcf40, #ff8c00); color:#3a1c00; }
.dl-btn.dl-ready { --b1:#7dffd0; --b2:#3be8ff; animation: dlReadyPulse 1.8s ease-in-out infinite;
    background:
        radial-gradient(70% 160% at 98% 50%, rgba(255,255,255,.22) 0%, transparent 60%) padding-box,
        linear-gradient(100deg, #00d68f 0%, #00a8a8 45%, #1f6bff 100%) padding-box,
        linear-gradient(90deg, var(--b1), var(--b2)) border-box;
}
.dl-btn.dl-ready .fx-ico { background: linear-gradient(145deg, #2ff5b0, #00b377); }
.dl-btn .dl-step-badge {
    font-family: 'Courier New', monospace; font-size: 10px; font-weight: 800; letter-spacing: .4px;
    background: rgba(0,0,0,.25); padding: 2px 8px; border-radius: 999px; color:#fff; margin-left: 4px;
}
@keyframes dlReadyPulse {
    0%,100% { box-shadow: 0 0 16px rgba(0,255,160,.3), 0 10px 28px -8px rgba(0,200,150,.5); }
    50%     { box-shadow: 0 0 34px rgba(0,255,160,.6), 0 14px 34px -8px rgba(0,200,150,.7); }
}
@media (max-width: 600px) {
    .btn-share, .dl-btn { min-height: 60px; padding: 0 12px; }
    .fx-ico { width: 40px; height: 40px; font-size: 17px; margin-right: 11px; border-radius: 12px; }
    .fx-div { height: 34px; margin-right: 12px; }
    .fx-txt b { font-size: 16px; }
    .fx-txt small { font-size: 12px; }
    .fx-end { width: 36px; height: 36px; font-size: 15px; margin-left: 8px; }
}


/* ===== v2: match reference (title-case text, purple/blue glass, cloud icon) ===== */
.btn-share, .dl-btn { min-height: 72px; padding: 0 16px 0 14px; }
.fx-ico { width: 50px; height: 50px; border-radius: 15px; font-size: 21px; margin-right: 16px; }
.fx-div { height: 46px; margin-right: 18px; background: linear-gradient(180deg, transparent, rgba(255,255,255,.4), transparent); }
.fx-txt b { font-size: 22px; font-weight: 800; letter-spacing: 0; text-transform: none; }
.fx-txt small { font-size: 14px; margin-top: 3px; color: rgba(225,215,255,.82); }
.fx-end { width: 44px; height: 44px; border-radius: 13px; font-size: 18px; }

/* curved wave on the right side */
.btn-share::before, .dl-btn::before {
    content: ''; position: absolute; z-index: 0; pointer-events: none;
    right: -6%; bottom: -85%; width: 58%; height: 190%; border-radius: 50%;
    transform: rotate(-14deg);
}

/* SHARE */
.btn-share {
    --b1:#8a6cf5; --b2:#b25cff;
    background:
        radial-gradient(55% 150% at 88% 135%, rgba(190,80,255,.75) 0%, transparent 62%) padding-box,
        linear-gradient(180deg, rgba(20,16,50,.96), rgba(9,8,26,.96)) padding-box,
        linear-gradient(90deg, var(--b1), var(--b2)) border-box;
    box-shadow: 0 0 22px rgba(130,80,255,.30), inset 0 0 26px rgba(120,80,255,.10);
}
.btn-share::before { background: linear-gradient(135deg, rgba(150,80,255,.28), rgba(80,40,190,.05)); }
.btn-share .fx-ico { background: linear-gradient(145deg, #6a34e6, #3d1ca8); }
.btn-share .fx-end { background: transparent; border: 1.5px solid rgba(130,100,240,.6); box-shadow: none; }
.btn-share.copied { --b1:#00ffa3; --b2:#00c46a; }

/* DOWNLOAD (primary) */
.dl-btn {
    --b1:#e45cff; --b2:#46e6ff;
    background:
        linear-gradient(100deg, #b13cff 0%, #5a2be8 17%, #2a2fd0 40%, #1646e8 66%, #1a8cff 100%) padding-box,
        linear-gradient(90deg, #e45cff, #7a7aff 50%, #46e6ff) border-box;
    box-shadow: -8px 0 26px rgba(170,60,255,.40), 8px 0 26px rgba(0,180,255,.45), 0 12px 30px -10px rgba(60,80,255,.6);
}
.dl-btn::before { background: linear-gradient(135deg, rgba(120,200,255,.30), rgba(120,200,255,.04)); }
.dl-btn .fx-ico { background: linear-gradient(145deg, #f6efff, #c7a6ff); color: #6a2be0; }
.dl-btn .fx-end { background: transparent; }
.dl-btn .fx-txt small { color: rgba(220,210,255,.9); }
.dl-btn:hover { box-shadow: -8px 0 34px rgba(170,60,255,.6), 8px 0 34px rgba(0,190,255,.7), 0 14px 36px -10px rgba(60,80,255,.8); }

/* white cloud with blue arrow */
.fx-cloud { width: 56px; height: 46px; position: relative; background: none !important; border: 0 !important; }
.fx-cloud i:first-child { font-size: 46px; color: #f2f6ff; filter: drop-shadow(0 4px 10px rgba(0,0,40,.35)); }
.fx-cloud i:last-child { position: absolute; left: 50%; top: 58%; transform: translate(-50%,-50%); font-size: 16px; color: #1d3fd6; }

/* Unlock + Ready keep their own colours, same layout */
.dl-btn.dl-unlock .fx-end { background: rgba(255,255,255,.2); }
.dl-btn.dl-unlock .fx-txt small { color: rgba(255,245,225,.92); }
.dl-btn.dl-unlock::before, .dl-btn.dl-ready::before { background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.03)); }

@media (max-width: 600px) {
    .btn-share, .dl-btn { min-height: 66px; padding: 0 12px; }
    .fx-ico { width: 44px; height: 44px; font-size: 18px; margin-right: 12px; border-radius: 13px; }
    .fx-div { height: 38px; margin-right: 12px; }
    .fx-txt b { font-size: 18px; }
    .fx-txt small { font-size: 12px; }
    .fx-end { width: 38px; height: 38px; font-size: 15px; margin-left: 6px; }
    .fx-cloud { width: 46px; height: 40px; }
    .fx-cloud i:first-child { font-size: 38px; }
    .fx-cloud i:last-child { font-size: 13px; }
}

/* ===== v3: one purple/blue theme for every step + clearer text ===== */
.dl-btn, .dl-btn.dl-unlock, .dl-btn.dl-ready {
    --b1:#e45cff; --b2:#46e6ff;
    background:
        linear-gradient(100deg, #b13cff 0%, #5a2be8 17%, #2a2fd0 40%, #1646e8 66%, #1a8cff 100%) padding-box,
        linear-gradient(90deg, #e45cff, #7a7aff 50%, #46e6ff) border-box;
    box-shadow: -8px 0 26px rgba(170,60,255,.40), 8px 0 26px rgba(0,180,255,.45), 0 12px 30px -10px rgba(60,80,255,.6);
}
.dl-btn.dl-unlock .fx-ico, .dl-btn.dl-ready .fx-ico { background: linear-gradient(145deg, #f6efff, #c7a6ff); color: #6a2be0; }
.dl-btn.dl-unlock .fx-end { background: rgba(255,255,255,.18); border: 1.5px solid rgba(255,255,255,.35); color:#fff; }
.dl-btn.dl-unlock::before, .dl-btn.dl-ready::before { background: linear-gradient(135deg, rgba(120,200,255,.30), rgba(120,200,255,.04)); }
.dl-btn.dl-unlock:hover, .dl-btn.dl-ready:hover { box-shadow: -8px 0 34px rgba(170,60,255,.6), 8px 0 34px rgba(0,190,255,.7), 0 14px 36px -10px rgba(60,80,255,.8); }
.dl-btn.dl-ready { animation: dlReadyPulse2 1.8s ease-in-out infinite; }
@keyframes dlReadyPulse2 {
    0%,100% { filter: brightness(1); }
    50%     { filter: brightness(1.14); }
}

/* readable text */
.fx-txt b { color:#fff; font-weight: 800; text-shadow: 0 1px 2px rgba(0,0,30,.55), 0 2px 12px rgba(0,0,40,.45); }
.fx-txt small { color:#fff; opacity:.92; font-weight: 500; font-size: 14px; text-shadow: 0 1px 2px rgba(0,0,30,.6); }
.dl-btn .fx-txt small, .btn-share .fx-txt small { color:#fff; }
.dl-btn .dl-step-badge { background: rgba(10,10,50,.55); color:#fff; border: 1px solid rgba(255,255,255,.3); font-size: 11px; padding: 2px 9px; }

/* steps indicator */
.dl-step { font-size: 11px; color: rgba(255,255,255,.6); }
.dl-step-dot {
    width: 34px; height: 34px; border-radius: 11px; clip-path: none;
    background: rgba(20,16,50,.9); border: 1.5px solid rgba(140,110,255,.45); color: rgba(255,255,255,.75); font-size: 15px;
}
.dl-step-line { margin-top: 17px; width: 30px; background: repeating-linear-gradient(90deg, rgba(150,120,255,.55) 0 4px, transparent 4px 8px); }
.dl-step.active { color:#fff; }
.dl-step.active .dl-step-dot {
    background: linear-gradient(145deg, #7a3cff, #2a6bff); border-color: rgba(255,255,255,.5); color:#fff;
    box-shadow: 0 0 18px rgba(110,90,255,.75);
}
.dl-step.done { color:#fff; }
.dl-step.done .dl-step-dot { background: linear-gradient(145deg, #f6efff, #c7a6ff); border-color: transparent; color:#5a2be8; }
.dl-step.done + .dl-step-line { background: linear-gradient(90deg, #c7a6ff, #46e6ff); }

/* generating box */
.dl-generating {
    background: linear-gradient(180deg, rgba(20,16,50,.96), rgba(9,8,26,.96)) padding-box,
                linear-gradient(90deg, #8a6cf5, #46a8ff) border-box;
    border: 1.5px solid transparent; border-radius: 22px; padding: 20px 22px;
    box-shadow: 0 0 22px rgba(110,90,255,.28);
}
.dl-generating .dl-gen-label { font-size: 16px; color:#fff; font-weight: 800; }
.dl-generating .dl-gen-label i { color: #b58cff; }
.dl-progress-track { height: 8px; background: rgba(255,255,255,.12); }
.dl-progress-fill { background: linear-gradient(90deg, #b13cff, #2f4dff, #3bd8ff); box-shadow: 0 0 12px rgba(90,120,255,.7); }
.dl-gen-sub { font-size: 14px; color: rgba(255,255,255,.85); font-weight: 600; }

/* ===== v4: distinct look per step, same purple/blue theme ===== */
/* Unlock: purple -> magenta */
.dl-btn.dl-unlock {
    --b1:#ff7bd5; --b2:#b78bff;
    background:
        linear-gradient(100deg, #6a2be8 0%, #9b2fe0 35%, #d12fc4 70%, #ff5fb0 100%) padding-box,
        linear-gradient(90deg, #ff7bd5, #c58bff 50%, #8f7bff) border-box;
    box-shadow: -8px 0 26px rgba(140,60,255,.45), 8px 0 26px rgba(255,80,190,.45), 0 12px 30px -10px rgba(200,50,200,.6);
}
.dl-btn.dl-unlock::before { background: linear-gradient(135deg, rgba(255,170,230,.28), rgba(255,170,230,.04)); }
.dl-btn.dl-unlock:hover { box-shadow: -8px 0 34px rgba(140,60,255,.65), 8px 0 34px rgba(255,80,190,.7), 0 14px 36px -10px rgba(200,50,200,.8); }
.dl-btn.dl-unlock .fx-ico { color: #a41fb8; }

/* Download Now: blue -> cyan, brighter glow + pulse */
.dl-btn.dl-ready {
    --b1:#7af0ff; --b2:#46e6ff;
    background:
        linear-gradient(100deg, #1736e0 0%, #1a5cf0 30%, #0a8fff 65%, #19d3ff 100%) padding-box,
        linear-gradient(90deg, #7aa8ff, #5fe0ff 50%, #b8fbff) border-box;
    box-shadow: 0 0 30px rgba(0,200,255,.55), 0 12px 30px -10px rgba(0,140,255,.7);
    animation: dlReadyPulse3 1.8s ease-in-out infinite;
}
.dl-btn.dl-ready::before { background: linear-gradient(135deg, rgba(200,250,255,.32), rgba(200,250,255,.05)); }
.dl-btn.dl-ready .fx-ico { color: #1646e8; }
@keyframes dlReadyPulse3 {
    0%,100% { box-shadow: 0 0 22px rgba(0,200,255,.4), 0 12px 30px -10px rgba(0,140,255,.6); filter: brightness(1); }
    50%     { box-shadow: 0 0 42px rgba(0,225,255,.8), 0 14px 34px -10px rgba(0,160,255,.85); filter: brightness(1.12); }
}

/* ===== v5: compact, professional sizing ===== */
.btn-share, .dl-btn { min-height: 54px; padding: 0 12px 0 10px; border-width: 1px; }
.dl-btn { margin: 10px 0; }
.modal-action-btns { margin: 12px 0; }
.fx-ico { width: 36px; height: 36px; border-radius: 10px; font-size: 15px; margin-right: 11px; }
.fx-div { height: 28px; width: 1px; margin-right: 12px; opacity: .7; }
.fx-txt { line-height: 1.1; }
.fx-txt b { font-size: 15.5px; font-weight: 700; letter-spacing: .1px; }
.fx-txt small { font-size: 12px; margin-top: 2px; font-weight: 400; opacity: .85; }
.fx-end { width: 32px; height: 32px; border-radius: 9px; font-size: 13px; margin-left: 8px; }
.fx-cloud { width: 38px; height: 32px; }
.fx-cloud i:first-child { font-size: 31px; }
.fx-cloud i:last-child { font-size: 11px; }
.dl-btn .dl-step-badge { font-size: 10px; padding: 1px 7px; }

/* softer glow */
.btn-share { box-shadow: 0 0 12px rgba(130,80,255,.22), inset 0 0 16px rgba(120,80,255,.08); }
.btn-share:hover { box-shadow: 0 4px 18px rgba(130,80,255,.4), inset 0 0 16px rgba(120,80,255,.12); }
.dl-btn, .dl-btn.dl-unlock, .dl-btn.dl-ready { box-shadow: 0 4px 16px -4px rgba(70,90,255,.55); }
.dl-btn:hover, .dl-btn.dl-unlock:hover, .dl-btn.dl-ready:hover { box-shadow: 0 6px 22px -4px rgba(90,110,255,.75); transform: translateY(-1px); }
.dl-btn.dl-ready { animation: none; }

/* compact steps + generating box */
.dl-steps { margin-bottom: 14px; }
.dl-step { font-size: 10px; gap: 5px; }
.dl-step-dot { width: 28px; height: 28px; border-radius: 9px; font-size: 13px; }
.dl-step-line { margin-top: 14px; width: 24px; }
.dl-generating { padding: 14px 16px; border-radius: 16px; box-shadow: none; }
.dl-generating .dl-gen-label { font-size: 14px; margin-bottom: 10px; }
.dl-progress-track { height: 6px; }
.dl-progress-fill { box-shadow: none; }
.dl-gen-sub { font-size: 12.5px; margin-top: 8px; }

@media (max-width: 600px) {
    .btn-share, .dl-btn { min-height: 52px; padding: 0 10px; }
    .fx-ico { width: 34px; height: 34px; font-size: 14px; margin-right: 10px; }
    .fx-div { height: 26px; margin-right: 10px; }
    .fx-txt b { font-size: 15px; }
    .fx-txt small { font-size: 11.5px; }
    .fx-end { width: 30px; height: 30px; font-size: 12px; }
    .fx-cloud { width: 34px; height: 30px; }
    .fx-cloud i:first-child { font-size: 28px; }
}

/* ===== v6: smaller width + smaller icons ===== */
.btn-share { flex: 0 1 300px; max-width: 300px; }
.dl-btn { max-width: 300px; margin: 10px auto 10px 0; }
.dl-action-wrap { max-width: 300px; margin: 14px auto 4px 0; }
.btn-share, .dl-btn { min-height: 46px; padding: 0 10px 0 8px; }
.fx-ico { width: 30px; height: 30px; border-radius: 9px; font-size: 12px; margin-right: 9px; }
.fx-div { height: 22px; margin-right: 10px; }
.fx-txt b { font-size: 14px; }
.fx-txt small { font-size: 11px; margin-top: 1px; }
.fx-end { width: 26px; height: 26px; border-radius: 8px; font-size: 11px; margin-left: 6px; }
.fx-cloud { width: 30px; height: 26px; }
.fx-cloud i:first-child { font-size: 25px; }
.fx-cloud i:last-child { font-size: 9px; }
.dl-btn .dl-step-badge { font-size: 9px; padding: 1px 6px; }
@media (max-width: 600px) {
    .btn-share, .dl-btn { min-height: 46px; padding: 0 9px 0 8px; }
    .btn-share { flex: 1 1 auto; max-width: 300px; }
    .dl-btn { margin: 10px auto; }
    .dl-action-wrap { margin: 14px auto 4px; }
    .fx-ico { width: 30px; height: 30px; font-size: 12px; margin-right: 9px; }
    .fx-div { height: 22px; margin-right: 10px; }
    .fx-txt b { font-size: 14px; }
    .fx-txt small { font-size: 11px; }
    .fx-end { width: 26px; height: 26px; font-size: 11px; }
    .fx-cloud { width: 30px; height: 26px; }
    .fx-cloud i:first-child { font-size: 25px; }
}

/* ===== v7: centered + smaller icons ===== */
.modal-action-btns { justify-content: center; }
.btn-share { flex: 0 1 300px; margin: 0 auto; }
.dl-btn { margin: 10px auto; }
.dl-action-wrap { margin: 14px auto 4px; }
.btn-share, .dl-btn { min-height: 44px; }
.fx-ico { width: 26px; height: 26px; border-radius: 8px; font-size: 11px; margin-right: 9px; }
.fx-div { height: 20px; margin-right: 10px; }
.fx-end { width: 22px; height: 22px; border-radius: 7px; font-size: 10px; }
.fx-cloud { width: 26px; height: 22px; }
.fx-cloud i:first-child { font-size: 21px; }
.fx-cloud i:last-child { font-size: 8px; }
@media (max-width: 600px) {
    .btn-share, .dl-btn { min-height: 44px; }
    .btn-share { flex: 0 1 300px; margin: 0 auto; }
    .fx-ico { width: 26px; height: 26px; font-size: 11px; }
    .fx-div { height: 20px; }
    .fx-end { width: 22px; height: 22px; font-size: 10px; }
    .fx-cloud { width: 26px; height: 22px; }
    .fx-cloud i:first-child { font-size: 21px; }
}

/* ===== v8: final icon sizes (higher specificity so nothing overrides them) ===== */
.btn-share .fx-ico, .dl-btn .fx-ico { width: 24px; height: 24px; border-radius: 7px; font-size: 10px; margin-right: 8px; }
.btn-share .fx-end, .dl-btn .fx-end { width: 20px; height: 20px; border-radius: 6px; font-size: 9px; margin-left: 6px; }
.btn-share .fx-ico i, .btn-share .fx-end i, .dl-btn .fx-ico i, .dl-btn .fx-end i { font-size: inherit; line-height: 1; }
.btn-share .fx-div, .dl-btn .fx-div { height: 18px; margin-right: 9px; }
.btn-share .fx-end.fx-cloud, .dl-btn .fx-end.fx-cloud { width: 24px; height: 20px; }
.dl-btn .fx-cloud i:first-child { font-size: 19px; }
.dl-btn .fx-cloud i:last-child { font-size: 7px; }
.btn-share, .dl-btn { min-height: 42px; }
.btn-share .fx-txt b, .dl-btn .fx-txt b { font-size: 13.5px; }
.btn-share .fx-txt small, .dl-btn .fx-txt small { font-size: 10.5px; }
@media (max-width: 600px) {
    .btn-share .fx-ico, .dl-btn .fx-ico { width: 24px; height: 24px; font-size: 10px; }
    .btn-share .fx-end, .dl-btn .fx-end { width: 20px; height: 20px; font-size: 9px; }
    .btn-share .fx-end.fx-cloud, .dl-btn .fx-end.fx-cloud { width: 24px; height: 20px; }
    .dl-btn .fx-cloud i:first-child { font-size: 19px; }
    .btn-share, .dl-btn { min-height: 42px; }
}


/* ===== v9: split bar (Share | Download) ===== */
.modal-action-btns { margin: 14px 0; justify-content: center; }
.split-bar {
    display: flex; width: 100%; max-width: 320px; height: 46px; margin: 0 auto; padding: 2px;
    border-radius: 999px; overflow: hidden; position: relative;
    background: linear-gradient(90deg, #1fb5ff 0%, #3b6bff 50%, #b45cff 100%);
    box-shadow: -6px 6px 20px rgba(30,150,255,.30), 6px 6px 20px rgba(160,80,255,.34);
}
.sb-btn {
    flex: 1 1 0; min-width: 0; height: 100%; border: 0; margin: 0; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 0;
    font-family: 'Outfit', sans-serif; color: #fff; -webkit-tap-highlight-color: transparent;
    transition: filter .25s ease, transform .15s ease;
}
.sb-btn i { font-size: 15px; color: #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.35)); }
.sb-div { width: 1px; height: 18px; margin: 0 10px; background: rgba(255,255,255,.45); }
.sb-label { font-size: 14px; font-weight: 700; letter-spacing: .1px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.4); white-space: nowrap; }

.sb-share {
    border-radius: 999px 0 0 999px; padding-right: 14px;
    background:
        radial-gradient(90% 140% at 0% 0%, rgba(40,150,200,.35), transparent 60%),
        linear-gradient(135deg, #12304f 0%, #090b1f 45%, #03030d 100%);
}
.sb-dl {
    border-radius: 0 999px 999px 0; margin-left: -12px; padding-left: 18px;
    clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%);
    background:
        linear-gradient(100deg, rgba(120,235,255,.55) 0, transparent 18px),
        linear-gradient(100deg, #0a7bff 0%, #2b3cf0 40%, #4a1fd0 70%, #a23cff 100%);
}
.sb-btn:hover { filter: brightness(1.18); }
.sb-btn:active { transform: scale(.98); }
.sb-dl[data-started="1"] { cursor: default; filter: brightness(.9); }
.sb-share.copied i { color: #5dffb0; }

.dl-btn { max-width: 320px; }
.dl-action-wrap { max-width: 320px; }
@media (max-width: 600px) {
    .split-bar { max-width: 320px; height: 46px; }
    .sb-label { font-size: 14px; }
}


/* ===== v10: Unlock / Download Now share the bar design; poster skeleton ===== */
.dl-btn, .dl-btn.dl-unlock, .dl-btn.dl-ready {
    display: flex; align-items: center; justify-content: center; gap: 0;
    width: 100%; max-width: 320px; height: 46px; min-height: 46px; margin: 10px auto; padding: 0 16px;
    border: 2px solid transparent; border-radius: 999px; overflow: hidden;
    color: #fff; text-decoration: none; animation: none; filter: none; cursor: pointer;
    background:
        linear-gradient(100deg, #0a7bff 0%, #2b3cf0 40%, #4a1fd0 70%, #a23cff 100%) padding-box,
        linear-gradient(90deg, #1fb5ff, #3b6bff 50%, #b45cff) border-box;
    box-shadow: -6px 6px 20px rgba(30,150,255,.30), 6px 6px 20px rgba(160,80,255,.34);
    transition: filter .25s ease, transform .15s ease;
}
.dl-btn::before, .dl-btn::after { display: none !important; }
.dl-btn:hover, .dl-btn.dl-unlock:hover, .dl-btn.dl-ready:hover {
    filter: brightness(1.15); transform: none;
    box-shadow: -6px 6px 20px rgba(30,150,255,.30), 6px 6px 20px rgba(160,80,255,.34);
}
.dl-btn:active { transform: scale(.98); }
.dl-btn > i { position: static; width: auto; font-size: 15px; color: #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.35)); }
.dl-btn .dl-step-badge { margin-left: 8px; font-size: 10px; padding: 1px 7px; }

.movie-page-poster.is-loading {
    aspect-ratio: 2 / 3; color: transparent; object-fit: cover;
    background: linear-gradient(100deg, #141414 30%, #232323 50%, #141414 70%) 0 0 / 200% 100%;
    animation: posterShimmer 1.2s linear infinite;
}
@keyframes posterShimmer { to { background-position: -200% 0; } }
@media (max-width: 600px) {
    .dl-btn, .dl-btn.dl-unlock, .dl-btn.dl-ready { height: 46px; min-height: 46px; padding: 0 16px; }
}

/* ===== v11: more colourful Unlock / Download Now (same shape & layout) ===== */
.dl-btn.dl-unlock {
    background:
        linear-gradient(100deg, #ff3d8f 0%, #d22fd0 32%, #8a3cff 66%, #3b6bff 100%) padding-box,
        linear-gradient(90deg, #ff9ad0, #c58bff 50%, #7ab0ff) border-box;
    box-shadow: -6px 6px 20px rgba(255,61,143,.38), 6px 6px 20px rgba(80,110,255,.38);
}
.dl-btn.dl-ready {
    background:
        linear-gradient(100deg, #00d4c8 0%, #12a0ff 34%, #4a4cff 68%, #b042ff 100%) padding-box,
        linear-gradient(90deg, #8ffff0, #7fc4ff 50%, #e0a8ff) border-box;
    box-shadow: -6px 6px 20px rgba(0,212,200,.40), 6px 6px 20px rgba(176,66,255,.38);
}
.dl-btn.dl-unlock .dl-step-badge { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.45); }


/* ===== v12: completed steps turn green with a tick ===== */
.dl-step.done { color: #fff; }
.dl-step.done .dl-step-dot {
    background: linear-gradient(145deg, #2fe6a8, #12b886); border-color: transparent; color: #fff;
    box-shadow: 0 0 12px rgba(40,220,160,.45); animation: stepPop .35s ease;
}
.dl-step.done .dl-step-dot i { font-size: 13px; }
.dl-step.done + .dl-step-line { background: linear-gradient(90deg, #2fe6a8, #12b886); height: 2px; }
@keyframes stepPop { 0% { transform: scale(.6); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }

/* =====================================================================
   COMING SOON — countdown on cards + movie page (Share only, no Download)
   ===================================================================== */
.card.is-soon { border-color: rgba(150, 100, 255, .38); }
.card.is-soon:hover { border-color: rgba(176, 110, 255, .75); box-shadow: 0 20px 50px rgba(0,0,0,.55), 0 0 0 1px rgba(176,110,255,.25), 0 0 26px rgba(130,70,255,.28); }

/* overlay on the poster (always visible, replaces the hover play icon) */
.cs-ov {
    position: absolute; inset: 0; z-index: 4; pointer-events: none;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    background: linear-gradient(180deg, rgba(10,6,30,.28) 0%, rgba(10,6,30,.58) 55%, rgba(10,6,30,.82) 100%);
    padding: 0 8px; text-align: center;
}
.cs-ov-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 10px; font-weight: 800; letter-spacing: 1.1px; text-transform: uppercase; color: #fff;
    padding: 5px 11px; border-radius: 999px;
    background: linear-gradient(90deg, #7a3cff, #1fb5ff);
    box-shadow: 0 4px 16px rgba(110, 70, 255, .55);
}
.cs-ov-tag i { font-size: 10px; }
.cs-ov-time {
    font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 17px; letter-spacing: .4px; color: #fff;
    font-variant-numeric: tabular-nums; text-shadow: 0 2px 10px rgba(0,0,0,.7);
    background: rgba(0,0,0,.42); border: 1px solid rgba(255,255,255,.16);
    padding: 5px 11px; border-radius: 10px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
@media (max-width: 600px) {
    .cs-ov { gap: 6px; }
    .cs-ov-tag { font-size: 8.5px; padding: 4px 8px; letter-spacing: .8px; }
    .cs-ov-time { font-size: 13px; padding: 4px 8px; border-radius: 8px; }
}

/* popular slider tag */
.pop-soon {
    position: absolute; bottom: 6px; right: 6px; z-index: 4; line-height: 1;
    font-size: 9px; font-weight: 800; letter-spacing: .8px; color: #fff;
    padding: 4px 7px; border-radius: 6px;
    background: linear-gradient(90deg, #7a3cff, #1fb5ff);
}

/* "Coming Soon" filter chip */
.chip.chip-soon { border-color: rgba(176,110,255,.55); color: #d9c4ff; }
.chip.chip-soon i { margin-right: 4px; font-size: .9em; }
.chip.chip-soon.active { color: #fff; border-color: transparent; background: linear-gradient(90deg, #7a3cff, #1fb5ff); }

/* movie page: countdown panel */
.cs-panel { display: block; width: 100%; max-width: 320px; margin: 14px auto 6px; }
.cs-panel-inner {
    position: relative; overflow: hidden; text-align: center;
    padding: 16px 14px 14px; border-radius: 18px;
    background:
        radial-gradient(120% 90% at 0% 0%, rgba(40,150,255,.18), transparent 60%),
        radial-gradient(120% 90% at 100% 100%, rgba(170,70,255,.2), transparent 60%),
        linear-gradient(160deg, #0d0f26 0%, #07071a 100%);
    border: 1px solid rgba(140, 120, 255, .30);
    box-shadow: 0 10px 34px -10px rgba(90, 70, 255, .55), inset 0 1px 0 rgba(255,255,255,.06);
}
.cs-p-pill {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: #fff;
    padding: 5px 13px; border-radius: 999px;
    background: linear-gradient(90deg, #7a3cff, #1fb5ff);
    box-shadow: 0 4px 16px rgba(110, 70, 255, .5);
}
.cs-p-title { margin: 12px 0 10px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.7); letter-spacing: .4px; }
.cs-digits { display: flex; align-items: flex-start; justify-content: center; gap: 4px; }
.cs-unit {
    flex: 1 1 0; min-width: 0; max-width: 64px; padding: 9px 0 7px; border-radius: 12px;
    background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.10);
    display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.cs-unit b {
    font-family: 'Outfit', sans-serif; font-size: 26px; font-weight: 800; line-height: 1; color: #fff;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(180deg, #ffffff 30%, #b9c8ff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.cs-unit small { font-size: 9.5px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase; color: rgba(255,255,255,.55); }
.cs-sep { align-self: flex-start; margin-top: 9px; font-size: 20px; font-weight: 800; color: rgba(160,140,255,.7); animation: csBlink 1s steps(2, start) infinite; }
@keyframes csBlink { 50% { opacity: .25; } }
.cs-p-date {
    margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px;
    font-size: 12px; font-weight: 600; color: rgba(255,255,255,.78);
}
.cs-p-date i { margin-right: 5px; color: #7fb4ff; }
@media (max-width: 380px) {
    .cs-unit b { font-size: 22px; }
    .cs-sep { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .cs-sep { animation: none; } }

/* Share-only bar: the Share button becomes the whole pill */
.split-bar.cs-only .sb-share {
    border-radius: 999px; padding: 0 14px;
    background:
        radial-gradient(90% 140% at 0% 0%, rgba(40,150,200,.35), transparent 60%),
        linear-gradient(135deg, #12304f 0%, #090b1f 45%, #03030d 100%);
}
.sb-dl:disabled { cursor: wait; filter: brightness(.85); }