/* =====================================================================
   FUGI MOVIES - THEME
   Dark cinematic theme. Sections:
   01 Tokens  02 Base  03 Header  04 Search  05 Bottom nav  06 Hero
   07 Sections & rows  08 Movie card  09 Top 10  10 Chips & genres
   11 Listing page  12 Player page  13 Auth  14 Plans & checkout
   15 App download  16 About & FAQ  17 Footer  18 Utilities  19 Responsive
   ===================================================================== */

/* ---------- 01 TOKENS ---------- */
:root {
    --sx-bg: #07070b;
    --sx-bg-soft: #0f0f15;
    --sx-surface: #14141c;
    --sx-card: #16161f;
    --sx-card-hi: #1d1d28;
    --sx-accent: #e50914;
    --sx-accent-2: #ff4d5e;
    --sx-accent-grad: linear-gradient(135deg, #e50914 0%, #ff3d6e 100%);
    --sx-gold: #f5c518;
    --sx-text: #f4f4f6;
    --sx-text-soft: #c9c9d3;
    --sx-text-muted: #9a9aa8;
    --sx-border: rgba(255,255,255,0.08);
    --sx-border-hi: rgba(255,255,255,0.16);
    --sx-gutter: 3rem;
    --sx-header-h: 68px;
    --sx-radius: 12px;
    --sx-ease: cubic-bezier(.2,.7,.2,1);
    --sx-font-display: 'Bebas Neue', 'Oswald', Impact, sans-serif;
}

/* ---------- 02 BASE ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background: var(--sx-bg);
    color: var(--sx-text);
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-weight: 400;
    font-size: 15px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}
a { text-decoration: none; color: inherit; }
a:hover { color: #fff; }
img { max-width: 100%; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--sx-accent-2); outline-offset: 2px; }
::selection { background: var(--sx-accent); color: #fff; }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: var(--sx-bg); }
::-webkit-scrollbar-thumb { background: #2a2a34; border-radius: 10px; border: 2px solid var(--sx-bg); }
::-webkit-scrollbar-thumb:hover { background: var(--sx-accent); }

.sx-skip {
    position: fixed; top: -60px; left: 12px; z-index: 2000;
    background: #fff; color: #000; padding: .5rem 1rem; border-radius: 8px; font-weight: 600;
    transition: top .2s ease;
}
.sx-skip:focus { top: 12px; color: #000; }

/* ---------- 03 HEADER ---------- */
.sx-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--sx-header-h);
    background: linear-gradient(to bottom, rgba(7,7,11,0.92) 0%, rgba(7,7,11,0.55) 60%, transparent 100%);
    transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.sx-header.scrolled,
body:not(.sx-page-home):not(.sx-page-player) .sx-header {
    background: rgba(9,9,14,0.86);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    box-shadow: 0 1px 0 var(--sx-border), 0 10px 30px rgba(0,0,0,.35);
}
.sx-header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1.6rem;
    padding: 0 var(--sx-gutter);
}

.sx-logo {
    font-family: var(--sx-font-display);
    font-size: 1.95rem;
    letter-spacing: 1px;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    height: 40px;
    max-width: 200px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    flex-shrink: 0;
}
.sx-logo-accent { color: var(--sx-accent); }
.sx-logo-img {
    height: 100%;
    max-height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

.sx-nav { display: flex; align-items: center; gap: .3rem; }
.sx-nav a {
    position: relative;
    color: var(--sx-text-muted);
    font-weight: 500;
    font-size: .9rem;
    padding: .45rem .8rem;
    border-radius: 8px;
    transition: color .2s ease, background .2s ease;
}
.sx-nav a:hover { color: #fff; background: rgba(255,255,255,.05); }
.sx-nav a.active { color: #fff; }
.sx-nav a.active::after {
    content: '';
    position: absolute; left: .8rem; right: .8rem; bottom: -2px;
    height: 2px; border-radius: 2px;
    background: var(--sx-accent-grad);
}

.sx-header-actions { margin-left: auto; display: flex; align-items: center; gap: .7rem; }

.sx-icon-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.06);
    border: 1px solid var(--sx-border);
    color: #fff;
    transition: background .2s ease;
}
.sx-icon-btn:hover { background: rgba(255,255,255,.12); }
.sx-search-toggle { display: none; }

.sx-btn-signin {
    background: var(--sx-accent);
    color: #fff;
    font-weight: 600;
    font-size: .85rem;
    padding: .55rem 1.3rem;
    border-radius: 999px;
    transition: background .2s ease, transform .2s ease;
    white-space: nowrap;
}
.sx-btn-signin:hover { background: #c70812; color: #fff; transform: translateY(-1px); }

.sx-btn-subscribe {
    display: inline-flex; align-items: center; gap: .45rem;
    background: linear-gradient(100deg, #ffb648 0%, #ff7a3d 45%, #ff2d78 100%);
    background-size: 200% 100%;
    color: #fff;
    font-weight: 600;
    font-size: .84rem;
    padding: .55rem 1.2rem;
    border-radius: 999px;
    border: none;
    box-shadow: 0 6px 20px -6px rgba(255,90,90,.65);
    transition: background-position .5s ease, transform .2s ease, box-shadow .2s ease;
    white-space: nowrap;
}
.sx-btn-subscribe:hover { color: #fff; background-position: 100% 0; transform: translateY(-1px); box-shadow: 0 10px 26px -6px rgba(255,60,120,.8); }
.sx-btn-subscribe-header { flex-shrink: 0; }

.sx-user { display: flex; align-items: center; gap: .5rem; color: #fff; }
.sx-user::after { display: none !important; }
.sx-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--sx-border-hi); transition: border-color .2s ease; }
.sx-user:hover .sx-avatar { border-color: var(--sx-accent); }
.sx-user-name { font-size: .86rem; font-weight: 500; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-dropdown {
    background: rgba(20,20,28,.98);
    border: 1px solid var(--sx-border-hi);
    border-radius: 14px;
    padding: .4rem;
    min-width: 230px;
    box-shadow: 0 20px 50px rgba(0,0,0,.6);
    margin-top: .6rem !important;
}
.sx-dropdown-head { padding: .6rem .8rem .7rem; border-bottom: 1px solid var(--sx-border); margin-bottom: .3rem; display: flex; flex-direction: column; }
.sx-dropdown-head b { color: #fff; font-weight: 600; font-size: .9rem; }
.sx-dropdown-head small { color: var(--sx-text-muted); font-size: .76rem; overflow: hidden; text-overflow: ellipsis; }
.sx-dropdown .dropdown-item { color: var(--sx-text-soft); font-size: .88rem; padding: .55rem .8rem; border-radius: 9px; }
.sx-dropdown .dropdown-item:hover, .sx-dropdown .dropdown-item:focus { background: rgba(255,255,255,0.06); color: #fff; }
.sx-dropdown .dropdown-divider { border-color: var(--sx-border); }

/* ---------- 04 SEARCH ---------- */
.sx-search { position: relative; width: 260px; transition: width .3s var(--sx-ease); }
.sx-search:focus-within { width: 320px; }
.sx-search input {
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--sx-border);
    border-radius: 999px;
    color: #fff;
    padding: .55rem 1rem .55rem 2.5rem;
    font-size: .86rem;
    height: 40px;
}
.sx-search input:focus { background: rgba(255,255,255,0.1); box-shadow: 0 0 0 3px rgba(229,9,20,.18); border-color: rgba(229,9,20,.6); color: #fff; }
.sx-search input::placeholder { color: var(--sx-text-muted); }
.sx-search input::-webkit-search-cancel-button { filter: invert(1); opacity: .5; }
.sx-search-icon { position: absolute; left: 15px; top: 20px; transform: translateY(-50%); color: var(--sx-text-muted); font-size: .82rem; z-index: 5; pointer-events: none; }
.sx-search-close { display: none; }

.sx-search-results {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 380px;
    max-width: calc(100vw - 2rem);
    max-height: 70vh;
    overflow-y: auto;
    background: rgba(18,18,26,.98);
    border: 1px solid var(--sx-border-hi);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0,0,0,.65);
    padding: .5rem;
    display: none;
    z-index: 1050;
}
.sx-search-results.show { display: block; animation: sxFadeDown .18s ease; }
@keyframes sxFadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

.sx-search-item {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .5rem;
    border-radius: 11px;
    color: var(--sx-text);
    transition: background .15s ease;
}
.sx-search-item:hover, .sx-search-item.active { background: rgba(255,255,255,0.06); color: #fff; }
.sx-search-item img {
    width: 46px; height: 66px;
    object-fit: cover;
    border-radius: 7px;
    flex-shrink: 0;
    background: var(--sx-bg-soft);
}
.sx-search-item-info { min-width: 0; flex: 1; }
.sx-search-item-title { font-size: .9rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-search-item-meta { display: flex; gap: .8rem; color: var(--sx-text-muted); font-size: .74rem; margin-top: .25rem; }
.sx-search-item-meta i { margin-right: .2rem; color: var(--sx-gold); }
.sx-search-item-meta .fa-clock { color: var(--sx-text-muted); }
.sx-search-item-play {
    width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.06); color: #fff; font-size: .7rem;
    opacity: 0; transition: opacity .15s ease, background .15s ease;
}
.sx-search-item:hover .sx-search-item-play, .sx-search-item.active .sx-search-item-play { opacity: 1; background: var(--sx-accent); }
.sx-search-empty { padding: 1.4rem .8rem; text-align: center; color: var(--sx-text-muted); font-size: .86rem; display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.sx-search-empty i { font-size: 1.4rem; opacity: .5; }
.sx-search-viewall {
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    margin-top: .3rem; padding: .7rem;
    border-top: 1px solid var(--sx-border);
    color: var(--sx-accent-2);
    font-size: .82rem; font-weight: 600;
}
.sx-search-viewall:hover { color: #fff; }

/* ---------- 05 BOTTOM NAV (mobile) ---------- */
.sx-bottom-nav { display: none; }

/* ---------- 06 HERO SLIDER ---------- */
.sx-hero {
    position: relative;
    height: 86vh;
    min-height: 540px;
    max-height: 880px;
    width: 100%;
    overflow: hidden;
    background: var(--sx-bg);
}
.sx-hero-slide {
    position: absolute; inset: 0;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s ease, visibility 0s linear .9s;
}
.sx-hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease, visibility 0s; z-index: 1; }
.sx-hero-bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transform: scale(1.08);
    transition: transform 8s ease-out;
}
.sx-hero-slide.is-active .sx-hero-bg { transform: scale(1); }
.sx-hero-slide::after {
    content: '';
    position: absolute; inset: 0;
    background:
        linear-gradient(to top, var(--sx-bg) 0%, rgba(7,7,11,.6) 28%, rgba(7,7,11,0) 60%),
        linear-gradient(to right, rgba(7,7,11,.92) 0%, rgba(7,7,11,.55) 38%, rgba(7,7,11,0) 70%),
        linear-gradient(to bottom, rgba(7,7,11,.5) 0%, transparent 20%);
}
.sx-hero-content {
    position: relative; z-index: 2;
    padding: 0 var(--sx-gutter) 6.5rem;
    max-width: 680px;
}
.sx-hero-slide.is-active .sx-hero-content > * { animation: sxRise .8s var(--sx-ease) both; }
.sx-hero-slide.is-active .sx-hero-content > :nth-child(2) { animation-delay: .08s; }
.sx-hero-slide.is-active .sx-hero-content > :nth-child(3) { animation-delay: .16s; }
.sx-hero-slide.is-active .sx-hero-content > :nth-child(4) { animation-delay: .22s; }
.sx-hero-slide.is-active .sx-hero-content > :nth-child(5) { animation-delay: .28s; }
@keyframes sxRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.sx-hero-badge {
    display: inline-flex; align-items: center; gap: .45rem;
    background: rgba(229,9,20,0.16);
    border: 1px solid rgba(255,77,94,0.45);
    color: #ff8a95;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    padding: .32rem .95rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    backdrop-filter: blur(6px);
}
.sx-hero-title {
    font-family: var(--sx-font-display);
    font-size: clamp(2.6rem, 5.6vw, 4.8rem);
    line-height: .95;
    letter-spacing: 1.2px;
    color: #fff;
    text-shadow: 0 6px 40px rgba(0,0,0,.55);
    margin: 0;
}
.sx-hero-meta { color: var(--sx-text-soft); font-size: .9rem; margin: .9rem 0 1rem; display: flex; gap: .4rem 1rem; flex-wrap: wrap; align-items: center; }
.sx-hero-meta > span + span:not(.sx-tag)::before { content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--sx-text-muted); margin-right: 1rem; vertical-align: middle; opacity: .7; }
.imdb { color: var(--sx-gold) !important; font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }
.imdb b { background: var(--sx-gold); color: #000; font-weight: 800; font-size: .66rem; padding: .1rem .35rem; border-radius: 4px; letter-spacing: .3px; }
.sx-hero-desc {
    color: #d6d6de;
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.6rem;
    max-width: 58ch;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sx-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }

.sx-btn-play {
    background: #fff;
    color: #000;
    font-weight: 700;
    font-size: .95rem;
    padding: .78rem 1.9rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
    border: none;
    box-shadow: 0 10px 30px -10px rgba(255,255,255,.4);
}
.sx-btn-play:hover { background: #e9e9ee; color: #000; transform: translateY(-2px); }
.sx-btn-info {
    background: rgba(110,110,125,0.38);
    color: #fff;
    font-weight: 600;
    font-size: .95rem;
    padding: .78rem 1.6rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    transition: background .2s ease, transform .2s ease;
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(8px);
}
.sx-btn-info:hover { background: rgba(140,140,155,0.5); color: #fff; transform: translateY(-2px); }

.sx-hero .sx-hero-list {
    position: static;
    width: 48px; height: 48px;
    border-radius: 50%;
    font-size: 1rem;
    background: rgba(20,20,28,.55);
    border: 1.5px solid rgba(255,255,255,.45);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    backdrop-filter: blur(8px);
    transition: all .2s ease;
}
.sx-hero .sx-hero-list:hover { border-color: #fff; transform: scale(1.06); }
.sx-hero .sx-hero-list.active { background: var(--sx-accent); border-color: var(--sx-accent); }

.sx-hero-arrow {
    position: absolute; top: 50%; z-index: 3;
    transform: translateY(-50%);
    width: 50px; height: 50px; border-radius: 50%;
    background: rgba(10,10,15,.45);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff; font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .25s ease, background .2s ease;
    backdrop-filter: blur(6px);
}
.sx-hero:hover .sx-hero-arrow { opacity: 1; }
.sx-hero-arrow:hover { background: var(--sx-accent); border-color: var(--sx-accent); }
.sx-hero-arrow.prev { left: 1.2rem; }
.sx-hero-arrow.next { right: 1.2rem; }

.sx-hero-dots {
    position: absolute; z-index: 3;
    left: var(--sx-gutter); bottom: 3.2rem;
    display: flex; gap: .5rem;
}
.sx-hero-dots button {
    width: 26px; height: 4px; padding: 0;
    border: none; border-radius: 4px;
    background: rgba(255,255,255,.28);
    overflow: hidden;
    transition: width .35s var(--sx-ease);
}
.sx-hero-dots button.is-active { width: 56px; }
.sx-hero-dots button span { display: block; height: 100%; width: 0; background: #fff; border-radius: 4px; }
.sx-hero-dots button.is-active span { animation: sxProgress 7s linear forwards; }
@keyframes sxProgress { from { width: 0; } to { width: 100%; } }

/* Flash message (payment success etc.) */
.sx-flash {
    position: fixed; z-index: 1100;
    top: calc(var(--sx-header-h) + 12px); left: 50%;
    transform: translateX(-50%);
    width: min(560px, calc(100% - 2rem));
    display: flex; align-items: center; gap: .8rem;
    padding: .9rem 1rem .9rem 1.1rem;
    border-radius: 14px;
    font-size: .9rem;
    box-shadow: 0 20px 50px rgba(0,0,0,.5);
    animation: sxFadeDown .35s ease;
    transition: opacity .4s ease, transform .4s ease;
}
.sx-flash.hide { opacity: 0; transform: translate(-50%, -10px); }
.sx-flash-success { background: #0f2a1d; border: 1px solid rgba(61,220,132,.4); color: #b9f5d2; }
.sx-flash-success > i { color: #3ddc84; font-size: 1.2rem; }
.sx-flash b { color: #fff; }
.sx-flash span { flex: 1; }
.sx-flash button { background: none; border: none; color: inherit; opacity: .7; padding: .2rem .4rem; }

/* ---------- 07 SECTIONS & ROWS ---------- */
.sx-section { padding: 2.4rem 0 0; position: relative; }
.sx-section-tight { padding-top: .6rem; }
.sx-section-head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
    padding: 0 var(--sx-gutter);
    margin-bottom: 1.1rem;
}
.sx-section-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    letter-spacing: .2px;
    display: flex; align-items: center; gap: .6rem;
}
.sx-section-head .sx-section-title::before,
.sx-section > .sx-section-title::before {
    content: '';
    width: 4px; height: 20px;
    background: var(--sx-accent-grad);
    border-radius: 3px;
    flex-shrink: 0;
}
.sx-top10 .sx-section-title::before { display: none; }
.sx-section > .sx-section-title { padding: 0 var(--sx-gutter); margin-bottom: 1rem; }
.sx-section-sub { color: var(--sx-text-muted); font-size: .82rem; margin: .3rem 0 0; }
.sx-see-all {
    color: var(--sx-text-muted);
    font-size: .82rem; font-weight: 500;
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .35rem .8rem;
    border-radius: 999px;
    border: 1px solid var(--sx-border);
    transition: all .2s ease;
    white-space: nowrap;
}
.sx-see-all i { font-size: .65rem; transition: transform .2s ease; }
.sx-see-all:hover { color: #fff; border-color: var(--sx-border-hi); background: rgba(255,255,255,.04); }
.sx-see-all:hover i { transform: translateX(3px); }

.sx-grid-wrap { padding: 0 var(--sx-gutter); }
.sx-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 1.4rem 1.1rem;
}

.sx-scroller {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scroll-padding-left: var(--sx-gutter);
    padding: 0 var(--sx-gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.sx-scroller::-webkit-scrollbar { display: none; }

.sx-row-arrows { display: flex; gap: .4rem; }
.sx-row-arrow {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,.06);
    border: 1px solid var(--sx-border);
    color: #fff; font-size: .8rem;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s ease;
}
.sx-row-arrow:hover:not(:disabled) { background: var(--sx-accent); border-color: var(--sx-accent); }
.sx-row-arrow:disabled { opacity: .3; cursor: default; }

/* ---------- 08 MOVIE CARD ---------- */
.sx-card-col { min-width: 0; transition: opacity .25s ease, transform .25s ease; }
.sx-card-col.removing { opacity: 0; transform: scale(.9); }
.sx-card { position: relative; }
.sx-card-link { display: block; border-radius: var(--sx-radius); }
.sx-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 2/3;
    overflow: hidden;
    border-radius: var(--sx-radius);
    background: linear-gradient(110deg, #16161f 30%, #20202b 50%, #16161f 70%);
    background-size: 200% 100%;
    animation: sxShimmer 1.4s linear infinite;
    box-shadow: 0 0 0 1px var(--sx-border);
    transition: transform .35s var(--sx-ease), box-shadow .35s ease;
}
@keyframes sxShimmer { to { background-position: -200% 0; } }
.sx-card-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s var(--sx-ease), filter .3s ease;
}
.sx-card-shade {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,0) 45%);
    opacity: 0;
    transition: opacity .3s ease;
}
.sx-card:hover .sx-card-img-wrap {
    transform: translateY(-6px);
    box-shadow: 0 0 0 1.5px rgba(255,77,94,.65), 0 18px 40px -12px rgba(229,9,20,.45), 0 18px 30px rgba(0,0,0,.5);
}
.sx-card:hover .sx-card-img-wrap img { transform: scale(1.07); }
.sx-card:hover .sx-card-shade { opacity: 1; }

.sx-card-play {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%) scale(.6);
    width: 52px; height: 52px;
    background: var(--sx-accent-grad);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.05rem;
    padding-left: 3px;
    opacity: 0;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(229,9,20,.55);
    transition: all .3s var(--sx-ease);
}
.sx-card:hover .sx-card-play { opacity: 1; transform: translate(-50%,-50%) scale(1); }

.sx-badge-rating {
    position: absolute; top: 8px; left: 8px;
    background: rgba(0,0,0,0.72);
    color: var(--sx-gold);
    font-size: .68rem;
    font-weight: 700;
    padding: .18rem .5rem;
    border-radius: 6px;
    z-index: 3;
    backdrop-filter: blur(4px);
    display: inline-flex; align-items: center; gap: .25rem;
}
.sx-badge-rating i { font-size: .6rem; }

.sx-card .sx-watchlist-btn {
    position: absolute; top: 8px; right: 8px;
    width: 32px; height: 32px;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: .78rem;
    z-index: 4;
    opacity: .0;
    transform: scale(.85);
    backdrop-filter: blur(4px);
    transition: all .2s ease;
}
.sx-card:hover .sx-watchlist-btn,
.sx-card .sx-watchlist-btn.active,
.sx-card .sx-watchlist-btn:focus-visible { opacity: 1; transform: scale(1); }
.sx-card .sx-watchlist-btn:hover { background: var(--sx-accent); border-color: var(--sx-accent); }
.sx-card .sx-watchlist-btn.active { background: var(--sx-accent); border-color: var(--sx-accent); }
.sx-watchlist-btn.busy { opacity: .6 !important; pointer-events: none; }

.sx-card-body { padding: .65rem .15rem 0; }
.sx-card-title {
    display: block;
    color: var(--sx-text);
    font-size: .88rem;
    font-weight: 500;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .2s ease;
}
.sx-card:hover .sx-card-title { color: #fff; }
.sx-card-sub { color: var(--sx-text-muted); font-size: .74rem; display: flex; align-items: center; gap: .5rem; margin-top: .15rem; min-height: 1.1em; }
.sx-card-sub span + span::before { content: '\2022'; margin-right: .5rem; opacity: .5; }

/* ---------- 09 TOP 10 ---------- */
.sx-top10-badge {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border-radius: 8px;
    background: var(--sx-accent-grad);
    color: #fff;
    font-family: var(--sx-font-display);
    font-size: .62rem; line-height: .85; letter-spacing: .5px;
    flex-shrink: 0;
    box-shadow: 0 6px 18px -6px rgba(229,9,20,.7);
}
.sx-top10-badge b { font-size: 1.15rem; font-weight: 400; letter-spacing: 0; }
.sx-top10-row {
    list-style: none;
    margin: 0;
    gap: .2rem;
    padding-top: .4rem;
    padding-bottom: 1.4rem;
    counter-reset: none;
}
.sx-top10-item { flex: 0 0 auto; scroll-snap-align: start; }
.sx-top10-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 270px;
    padding-right: 1.2rem;
}
.sx-top10-num {
    font-family: var(--sx-font-display);
    font-size: 17rem;
    line-height: .72;
    letter-spacing: -.04em;
    color: var(--sx-bg);
    -webkit-text-stroke: 3px rgba(255,255,255,.42);
    paint-order: stroke fill;
    margin-right: -1.15rem;
    margin-bottom: -.12em;
    position: relative;
    z-index: 0;
    user-select: none;
    transition: -webkit-text-stroke-color .3s ease, transform .35s var(--sx-ease);
}
.sx-top10-item:nth-child(-n+3) .sx-top10-num { -webkit-text-stroke-color: rgba(255,255,255,.7); }
.sx-top10-item:nth-child(10) .sx-top10-num { letter-spacing: -.13em; margin-right: -.6rem; }
.sx-top10-card:hover .sx-top10-num { -webkit-text-stroke-color: var(--sx-accent-2); transform: translateX(-4px); }
.sx-top10-poster {
    position: relative;
    z-index: 1;
    width: 168px;
    aspect-ratio: 2/3;
    border-radius: var(--sx-radius);
    overflow: hidden;
    background: var(--sx-card);
    box-shadow: -10px 0 26px rgba(0,0,0,.65), 0 0 0 1px var(--sx-border);
    transition: transform .35s var(--sx-ease), box-shadow .35s ease;
}
.sx-top10-poster img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--sx-ease); }
.sx-top10-card:hover .sx-top10-poster { transform: translateY(-6px); box-shadow: -10px 0 26px rgba(0,0,0,.65), 0 0 0 1.5px rgba(255,77,94,.7), 0 20px 40px -12px rgba(229,9,20,.5); }
.sx-top10-card:hover .sx-top10-poster img { transform: scale(1.06); }
.sx-top10-flag {
    position: absolute; top: 0; right: 10px;
    background: var(--sx-accent-grad);
    color: #fff;
    font-family: var(--sx-font-display);
    font-size: .78rem; letter-spacing: .8px; line-height: 1;
    padding: .45rem .4rem .35rem;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 6px 14px rgba(0,0,0,.4);
}
.sx-top10-info {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 2.2rem .7rem .65rem;
    background: linear-gradient(to top, rgba(0,0,0,.92), transparent);
    display: flex; flex-direction: column;
    transform: translateY(30%);
    opacity: 0;
    transition: all .3s var(--sx-ease);
}
.sx-top10-card:hover .sx-top10-info { transform: none; opacity: 1; }
.sx-top10-info b { color: #fff; font-size: .82rem; font-weight: 600; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-top10-info small { color: var(--sx-text-soft); font-size: .7rem; margin-top: .15rem; }
.sx-top10-info small i { color: var(--sx-gold); font-size: .62rem; }

.sx-top10::before {
    content: '';
    position: absolute; left: 0; right: 0; top: 30%; bottom: 0;
    background: radial-gradient(60% 70% at 20% 60%, rgba(229,9,20,.08), transparent 70%);
    pointer-events: none;
}

.sx-rank-line { display: inline-flex; align-items: center; gap: .6rem; color: #fff; font-weight: 600; font-size: .9rem; margin-bottom: .6rem; }
.sx-rank-line .sx-top10-badge { width: 30px; height: 30px; font-size: .5rem; }
.sx-rank-line .sx-top10-badge b { font-size: .9rem; }

/* ---------- 10 CHIPS & GENRES ---------- */
.sx-chip-row { gap: .55rem; padding-top: .2rem; padding-bottom: .4rem; }
.sx-chip {
    flex: 0 0 auto;
    display: inline-flex; align-items: center;
    padding: .45rem 1rem;
    border-radius: 999px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--sx-border);
    color: var(--sx-text-soft);
    font-size: .84rem; font-weight: 500;
    transition: all .2s ease;
    white-space: nowrap;
    scroll-snap-align: start;
}
.sx-chip:hover { background: rgba(255,255,255,.1); color: #fff; border-color: var(--sx-border-hi); }
.sx-chip.active { background: #fff; color: #000; border-color: #fff; }
.sx-chip-row-sm .sx-chip { font-size: .78rem; padding: .35rem .85rem; }

.sx-genre-chip {
    --chip-hue: 0;
    flex: 0 0 auto;
    min-width: 150px;
    height: 74px;
    padding: 0 1.2rem;
    display: flex; align-items: center;
    border-radius: 14px;
    font-weight: 600;
    font-size: .98rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(120% 140% at 100% 0%, hsla(var(--chip-hue), 85%, 55%, .55) 0%, transparent 55%),
        linear-gradient(135deg, hsla(var(--chip-hue), 60%, 22%, 1) 0%, #15151d 80%);
    border: 1px solid hsla(var(--chip-hue), 70%, 60%, .25);
    transition: transform .25s var(--sx-ease), box-shadow .25s ease;
    scroll-snap-align: start;
}
.sx-genre-chip::after {
    content: '\f008';
    font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; right: -6px; bottom: -12px;
    font-size: 3.2rem;
    opacity: .1;
    transform: rotate(-12deg);
}
.sx-genre-chip:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -12px hsla(var(--chip-hue), 80%, 50%, .6); color: #fff; }

/* ---------- 11 LISTING PAGE ---------- */
.sx-filter-bar { padding: calc(var(--sx-header-h) + 1.6rem) 0 1rem; }
.sx-filter-bar > .sx-breadcrumb,
.sx-filter-bar > .sx-page-title,
.sx-filter-bar > .sx-page-intro { padding: 0 var(--sx-gutter); }
.sx-filter-bar .sx-chip-row { margin-top: .7rem; }
.sx-filter-select {
    background: var(--sx-card);
    border: 1px solid var(--sx-border);
    color: #fff;
    font-size: .85rem;
    padding: .5rem 1rem;
    border-radius: 8px;
}
.sx-filter-select:focus { outline: none; border-color: var(--sx-accent); box-shadow: none; }

.sx-page-title {
    font-family: var(--sx-font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 1px;
    line-height: 1;
    color: #fff;
    margin: .3rem 0 .5rem;
    font-weight: 400;
}
.sx-page-intro { color: var(--sx-text-muted); font-size: .9rem; max-width: 70ch; margin-bottom: .6rem; }

.sx-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; font-size: .78rem; color: var(--sx-text-muted); }
.sx-breadcrumb li { display: inline-flex; align-items: center; gap: .3rem; max-width: 100%; }
.sx-breadcrumb li + li::before { content: '\203A'; opacity: .6; font-size: .95rem; }
.sx-breadcrumb a { color: var(--sx-text-muted); transition: color .2s ease; }
.sx-breadcrumb a:hover { color: #fff; }
.sx-breadcrumb [aria-current] { color: var(--sx-text-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }

.sx-loader {
    display: flex; align-items: center; justify-content: center;
    padding: 2.5rem 0;
    color: var(--sx-text-muted);
    font-size: .9rem;
    gap: .6rem;
}
.sx-spinner {
    width: 22px; height: 22px;
    border: 3px solid rgba(255,255,255,0.12);
    border-top-color: var(--sx-accent);
    border-radius: 50%;
    animation: sxSpin .8s linear infinite;
}
@keyframes sxSpin { to { transform: rotate(360deg); } }

.sx-empty { text-align: center; padding: 4.5rem 1rem; color: var(--sx-text-muted); }
.sx-empty i { font-size: 3rem; margin-bottom: 1rem; opacity: .35; display: block; }
.sx-empty .sx-btn-play i, .sx-empty .sx-btn-info i { font-size: inherit; margin: 0; opacity: 1; display: inline; }

/* ---------- 12 PLAYER PAGE ---------- */
.sx-player-wrap { background: #000; padding-top: var(--sx-header-h); }
.sx-player-frame {
    position: relative;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    max-height: calc(100vh - var(--sx-header-h));
    background: #000;
}
.sx-player-frame video, .sx-player-frame iframe { width: 100%; height: 100%; display: block; border: 0; }

.sx-player-locked { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sx-player-locked-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(3px) brightness(.55); transform: scale(1.05); }
.sx-player-locked::before {
    content: '';
    position: absolute; inset: 0; z-index: 1;
    background: radial-gradient(circle at center, rgba(7,7,11,.55) 0%, rgba(7,7,11,.92) 75%);
}
.sx-locked-overlay { position: relative; z-index: 2; text-align: center; padding: 1.5rem; max-width: 480px; }
.sx-locked-icon {
    width: 66px; height: 66px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(229,9,20,.15);
    border: 1px solid rgba(255,77,94,.5);
    color: var(--sx-accent-2); font-size: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 0 0 10px rgba(229,9,20,.06);
    animation: sxPulse 2.4s ease-in-out infinite;
}
@keyframes sxPulse { 50% { box-shadow: 0 0 0 18px rgba(229,9,20,0); } }
.sx-locked-overlay h2 { color: #fff; font-size: clamp(1.15rem, 2.4vw, 1.6rem); font-weight: 700; margin-bottom: .5rem; }
.sx-locked-overlay p { color: var(--sx-text-soft); font-size: .9rem; margin-bottom: 1.4rem; }
.sx-locked-overlay .sx-btn-primary { display: inline-flex; align-items: center; width: auto; padding: .85rem 2rem; border-radius: 999px; }
.sx-locked-small { margin: 1rem 0 0 !important; font-size: .82rem !important; color: var(--sx-text-muted) !important; }
.sx-locked-small a { color: var(--sx-accent-2); font-weight: 600; }
.sx-btn-glow { background: var(--sx-accent-grad) !important; box-shadow: 0 12px 30px -8px rgba(229,9,20,.75); }

.sx-player-info { padding: 1.4rem var(--sx-gutter) 1rem; max-width: 1400px; }
.sx-detail { display: grid; grid-template-columns: 220px 1fr; gap: 2.2rem; margin-top: 1.2rem; align-items: start; }
.sx-detail-poster { position: relative; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.6), 0 0 0 1px var(--sx-border); }
.sx-detail-poster img { width: 100%; height: auto; display: block; aspect-ratio: 2/3; object-fit: cover; }
.sx-rank-badge { position: absolute; top: 10px; left: 10px; background: var(--sx-accent-grad); color: #fff; font-size: .72rem; font-weight: 700; padding: .25rem .6rem; border-radius: 6px; }
.sx-detail-main { min-width: 0; }
.sx-player-title { font-family: var(--sx-font-display); font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: .98; color: #fff; letter-spacing: .8px; margin: 0; font-weight: 400; }
.sx-player-meta { color: var(--sx-text-soft); font-size: .88rem; display: flex; gap: .5rem 1.1rem; flex-wrap: wrap; margin: .9rem 0 1.3rem; align-items: center; }
.sx-player-meta i { color: var(--sx-text-muted); margin-right: .2rem; }

.sx-detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-bottom: 1.4rem; }
.sx-btn-pill, .sx-detail-actions .sx-watchlist-btn {
    position: static;
    display: inline-flex; align-items: center; gap: .5rem;
    height: 46px;
    padding: 0 1.2rem;
    border-radius: 10px;
    background: rgba(255,255,255,.07);
    border: 1px solid var(--sx-border-hi);
    color: #fff;
    font-size: .88rem; font-weight: 600;
    transition: all .2s ease;
}
.sx-btn-pill:hover { background: rgba(255,255,255,.14); color: #fff; }
.sx-detail-actions .sx-watchlist-btn.active { background: rgba(229,9,20,.18); border-color: rgba(255,77,94,.6); }
.sx-share-icon {
    width: 46px; height: 46px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: #fff;
    border: 1px solid var(--sx-border-hi);
    background: rgba(255,255,255,.05);
    transition: all .2s ease;
}
.sx-share-icon.wa:hover { background: #25d366; border-color: #25d366; color: #fff; }
.sx-share-icon.tg:hover { background: #229ed9; border-color: #229ed9; color: #fff; }

.sx-player-desc { color: var(--sx-text-soft); font-size: .96rem; line-height: 1.75; max-width: 820px; max-height: 5.3em; overflow: hidden; position: relative; transition: max-height .4s ease; }
.sx-player-desc p { margin: 0; }
.sx-player-desc.open { max-height: 2000px; }
.sx-read-more { background: none; border: none; color: #fff; font-weight: 600; font-size: .85rem; padding: .4rem 0; display: inline-flex; align-items: center; gap: .4rem; }
.sx-read-more i { font-size: .7rem; }

.sx-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem 2rem; margin: 1.6rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--sx-border); max-width: 820px; }
.sx-facts dt { color: var(--sx-text-muted); font-size: .74rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; margin-bottom: .35rem; }
.sx-facts dd { color: #fff; font-size: .9rem; margin: 0; }

.sx-tag {
    display: inline-block;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--sx-border-hi);
    color: var(--sx-text-soft);
    font-size: .74rem;
    font-weight: 500;
    padding: .25rem .75rem;
    border-radius: 999px;
    margin: 0 .35rem .35rem 0;
    transition: all .2s ease;
}
a.sx-tag:hover { background: #fff; color: #000; border-color: #fff; }
.sx-recommend-title { font-size: 1.2rem; font-weight: 600; color: #fff; margin: 2.5rem 0 1rem; padding: 0 var(--sx-gutter); }

/* ---------- 13 AUTH ---------- */
.sx-auth-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 15% 20%, rgba(229,9,20,0.22), transparent 42%),
        radial-gradient(circle at 85% 85%, rgba(120,40,200,0.18), transparent 45%),
        var(--sx-bg);
    padding: calc(var(--sx-header-h) + 2rem) 1rem 3rem;
}
.sx-auth-card {
    background: rgba(18,18,26,0.82);
    border: 1px solid var(--sx-border-hi);
    border-radius: 20px;
    padding: 2.6rem 2.4rem;
    width: 100%;
    max-width: 430px;
    backdrop-filter: blur(16px);
    box-shadow: 0 30px 80px rgba(0,0,0,.55);
    animation: sxRise .5s var(--sx-ease) both;
}
.sx-auth-logo {
    display: flex; align-items: center; justify-content: center;
    font-family: var(--sx-font-display);
    font-size: 2.2rem;
    height: 50px;
    margin-bottom: .4rem;
}
.sx-auth-logo .sx-logo-img { max-height: 48px; max-width: 220px; }
.sx-auth-sub { text-align: center; color: var(--sx-text-muted); font-size: .9rem; margin-bottom: 1.8rem; }

.sx-form-control {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--sx-border-hi);
    color: #fff;
    padding: .8rem 1rem;
    border-radius: 10px;
    font-size: .92rem;
    width: 100%;
    margin-bottom: 1rem;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.sx-form-control:focus { outline: none; border-color: rgba(255,77,94,.7); background: rgba(255,255,255,0.08); box-shadow: 0 0 0 3px rgba(229,9,20,.15); }
.sx-form-control::placeholder { color: #75757f; }

.sx-btn-primary {
    background: var(--sx-accent);
    color: #fff;
    font-weight: 600;
    padding: .82rem;
    border-radius: 10px;
    width: 100%;
    border: none;
    font-size: .94rem;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.sx-btn-primary:hover { background: #c70812; color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(229,9,20,.8); }

.sx-divider { display: flex; align-items: center; gap: 1rem; margin: 1.4rem 0; color: var(--sx-text-muted); font-size: .78rem; letter-spacing: 1px; }
.sx-divider::before, .sx-divider::after { content: ''; flex: 1; height: 1px; background: var(--sx-border-hi); }

.sx-btn-google {
    background: #fff;
    color: #222 !important;
    font-weight: 600;
    padding: .78rem;
    border-radius: 10px;
    width: 100%;
    border: none;
    font-size: .9rem;
    display: flex; align-items: center; justify-content: center; gap: .6rem;
    transition: all .2s ease;
}
.sx-btn-google:hover { background: #ececec; transform: translateY(-1px); }

.sx-auth-alert { background: rgba(229,9,20,0.12); border: 1px solid rgba(229,9,20,0.35); color: #ff8f99; font-size: .86rem; padding: .7rem 1rem; border-radius: 10px; margin-bottom: 1rem; }
.sx-auth-success { background: rgba(20,180,100,0.12); border: 1px solid rgba(20,180,100,0.35); color: #5fe59a; font-size: .86rem; padding: .7rem 1rem; border-radius: 10px; margin-bottom: 1rem; }
.sx-auth-footer-text { text-align: center; color: var(--sx-text-muted); font-size: .86rem; margin: 1.4rem 0 0; }
.sx-auth-footer-text a { color: var(--sx-accent-2); font-weight: 600; }

/* ---------- 14 PLANS & CHECKOUT ---------- */
.sx-plans-section { padding: calc(var(--sx-header-h) + 2.5rem) var(--sx-gutter) 1rem; }
.sx-plans-hero { text-align: center; max-width: 640px; margin: 0 auto 2.8rem; }
.sx-plans-hero h1, .sx-plans-hero h2 {
    font-family: var(--sx-font-display);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    letter-spacing: 1px;
    line-height: 1;
    color: #fff;
    margin-bottom: .6rem;
    font-weight: 400;
}
.sx-plans-hero p { color: var(--sx-text-muted); font-size: .98rem; }

.sx-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.6rem;
    max-width: 1180px;
    margin: 1.5rem auto 0;
}
.sx-plan-card {
    position: relative;
    background: linear-gradient(180deg, var(--sx-card-hi) 0%, var(--sx-bg-soft) 100%);
    border: 1px solid var(--sx-border);
    border-radius: 20px;
    padding: 2.2rem 1.8rem 1.8rem;
    display: flex;
    flex-direction: column;
    transition: transform .3s var(--sx-ease), border-color .3s ease, box-shadow .3s ease;
    overflow: hidden;
}
.sx-plan-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--sx-accent-grad);
    opacity: 0; transition: opacity .25s ease;
}
.sx-plan-card:hover { transform: translateY(-6px); border-color: rgba(255,77,94,0.4); box-shadow: 0 24px 50px rgba(0,0,0,0.45); }
.sx-plan-card:hover::before { opacity: 1; }
.sx-plan-recommended {
    border-color: rgba(255,77,94,.7);
    background: radial-gradient(120% 60% at 50% 0%, rgba(229,9,20,.18), transparent 60%), linear-gradient(180deg, var(--sx-card-hi) 0%, var(--sx-bg-soft) 100%);
    box-shadow: 0 0 0 1px rgba(255,77,94,.5), 0 24px 60px -20px rgba(229,9,20,.45);
}
.sx-plan-recommended::before { opacity: 1; }
.sx-plan-badge {
    position: absolute; top: 18px; right: -36px;
    background: var(--sx-accent-grad);
    color: #fff;
    font-size: .66rem; font-weight: 700;
    padding: .35rem 2.6rem;
    letter-spacing: .6px;
    text-transform: uppercase;
    transform: rotate(40deg);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.sx-plan-icon {
    width: 48px; height: 48px; border-radius: 14px;
    background: rgba(245,197,24,0.12);
    color: var(--sx-gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.1rem;
}
.sx-plan-name { font-size: 1.15rem; font-weight: 700; margin-bottom: .6rem; color: #fff; }
.sx-plan-price { font-size: 2.6rem; font-weight: 700; color: #fff; margin-bottom: .2rem; line-height: 1; letter-spacing: -.5px; }
.sx-plan-price span.sx-plan-price-unit { font-size: .85rem; font-weight: 400; color: var(--sx-text-muted); margin-left: .3rem; letter-spacing: 0; }
.sx-plan-perday { color: var(--sx-accent-2); font-size: .8rem; font-weight: 600; margin-bottom: 1.4rem; }
.sx-plan-duration { display: none; }
.sx-plan-features { list-style: none; padding: 1.2rem 0 0; margin: 0 0 1.6rem; flex-grow: 1; border-top: 1px solid var(--sx-border); }
.sx-plan-features li { color: var(--sx-text-soft); font-size: .88rem; margin-bottom: .8rem; display: flex; align-items: center; gap: .6rem; }
.sx-plan-features i { color: #3ddc84; width: 16px; }
.sx-plan-card .sx-btn-primary { border-radius: 12px; padding: .8rem 1rem; }
.sx-plan-recommended .sx-btn-primary { background: var(--sx-accent-grad); box-shadow: 0 12px 26px -10px rgba(229,9,20,.8); }

.sx-checkout-wrap { max-width: 620px; margin: 0 auto; }
.sx-checkout-summary {
    background: var(--sx-card); border: 1px solid var(--sx-border); border-radius: 14px;
    padding: 1.4rem 1.6rem; display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.8rem;
}
.sx-checkout-summary .name { color: #fff; font-weight: 700; font-size: 1.05rem; }
.sx-checkout-summary .sub { color: var(--sx-text-muted); font-size: .82rem; margin-top: .2rem; }
.sx-checkout-summary .price { color: var(--sx-accent-2); font-weight: 800; font-size: 1.5rem; }
.sx-gateway-list { display: flex; flex-direction: column; gap: .9rem; }
.sx-gateway-option {
    display: flex; align-items: center; gap: 1rem;
    background: var(--sx-card); border: 1px solid var(--sx-border); border-radius: 12px;
    padding: 1rem 1.2rem; text-decoration: none;
    transition: border-color .2s ease, background .2s ease;
}
.sx-gateway-option:hover { border-color: var(--sx-accent); background: rgba(229,9,20,0.06); }
.sx-gateway-icon {
    width: 42px; height: 42px; border-radius: 10px;
    background: rgba(229,9,20,0.12); color: var(--sx-accent-2);
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.sx-gateway-info { flex-grow: 1; }
.sx-gateway-name { color: #fff; font-weight: 600; font-size: .96rem; }
.sx-gateway-desc { color: var(--sx-text-muted); font-size: .8rem; margin-top: .15rem; }
.sx-gateway-arrow { color: var(--sx-text-muted); }

/* ---------- 15 APP DOWNLOAD (home - below the slider) ---------- */
.sx-app { padding: 2.4rem var(--sx-gutter) 0; }
.sx-app-card {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 3rem;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(115deg, #15151d 0%, #111118 55%, #210a10 100%);
    border: 1px solid var(--sx-border);
    box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
}
.sx-app-card::before {
    content: '';
    position: absolute; top: 0; bottom: 0; left: 0;
    width: 14px;
    background: repeating-linear-gradient(to bottom, transparent 0 10px, rgba(255,255,255,.06) 10px 18px);
    border-right: 1px solid var(--sx-border);
}
.sx-app-glow {
    position: absolute;
    width: 520px; height: 520px;
    right: -80px; top: 50%;
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(229,9,20,.38) 0%, rgba(229,9,20,.08) 45%, transparent 70%);
    pointer-events: none;
}
.sx-app-text { position: relative; z-index: 2; max-width: 540px; }
.sx-app-pill {
    display: inline-flex; align-items: center; gap: .45rem;
    font-size: .78rem; font-weight: 500;
    color: #9be49b;
    background: rgba(61,220,132,.1);
    border: 1px solid rgba(61,220,132,.28);
    padding: .3rem .85rem;
    border-radius: 30px;
    margin-bottom: .7rem;
}
.sx-app-pill i { color: #3ddc84; font-size: .95rem; }
.sx-app-title { font-family: var(--sx-font-display); font-size: 2.9rem; line-height: .98; letter-spacing: 1px; color: #fff; margin-bottom: .7rem; font-weight: 400; }
.sx-app-desc { color: #c9c9d1; font-size: .92rem; line-height: 1.6; margin-bottom: 1rem; max-width: 52ch; }
.sx-app-features { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.sx-app-features li {
    display: flex; align-items: center; gap: .55rem;
    font-size: .84rem; color: var(--sx-text-muted);
    background: rgba(255,255,255,.04);
    border: 1px solid var(--sx-border);
    padding: .38rem .8rem;
    border-radius: 10px;
}
.sx-app-features li i { color: var(--sx-accent-2); font-size: .8rem; }
.sx-app-features li b { color: #fff; font-weight: 600; }
.sx-app-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.sx-app-apk {
    display: inline-flex; align-items: center; gap: .75rem;
    height: 50px;
    padding: 0 1.3rem 0 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--sx-accent), #b0060f);
    color: #fff !important;
    box-shadow: 0 10px 28px -8px rgba(229,9,20,.7);
    transition: transform .2s ease, box-shadow .2s ease;
}
.sx-app-apk:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(229,9,20,.85); }
.sx-app-apk i { font-size: 1.3rem; }
.sx-app-apk span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.sx-app-apk small { font-size: .66rem; opacity: .85; font-weight: 400; }
.sx-app-apk b { font-size: 1.02rem; font-weight: 700; }
.sx-app-badge { display: inline-block; height: 50px; transition: transform .2s ease, opacity .2s ease; }
.sx-app-badge img { height: 100%; width: auto; display: block; }
.sx-app-badge:hover { transform: translateY(-2px); opacity: .92; }
.sx-app-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin-top: .7rem; font-size: .76rem; color: var(--sx-text-muted); }
.sx-app-meta span:empty { display: none; }
.sx-app-meta span + span::before { content: '\2022'; margin-right: 1.1rem; opacity: .5; }
.sx-app-qr { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed rgba(255,255,255,.1); max-width: 440px; }
.sx-app-qr img { width: 72px; height: 72px; padding: 6px; background: #fff; border-radius: 10px; flex-shrink: 0; }
.sx-app-qr p { margin: 0; font-size: .8rem; color: var(--sx-text-muted); line-height: 1.6; }

.sx-app-visual { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; min-height: 380px; }
.sx-app-mockup-img { max-width: 100%; max-height: 520px; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); }
.sx-phone {
    position: relative;
    width: 190px; height: 385px;
    border-radius: 34px;
    padding: 10px;
    background: linear-gradient(145deg, #2a2a33, #0c0c10);
    box-shadow: 0 0 0 2px #32323c, 0 40px 60px -20px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.06);
    transform: translateY(4px);
    z-index: 3;
}
.sx-phone-back { position: absolute; opacity: .6; z-index: 1; filter: saturate(.75) brightness(.85); }
.sx-phone-left  { transform: translateX(-150px) translateY(14px) rotate(-10deg) scale(.84); }
.sx-phone-right { transform: translateX(150px)  translateY(14px) rotate(10deg)  scale(.84); }
.sx-phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 60px; height: 16px; border-radius: 12px; background: #000; z-index: 3; }
.sx-phone-screen { width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: var(--sx-bg) center/cover no-repeat; display: flex; flex-direction: column; position: relative; }
.sx-ps-top { display: flex; justify-content: space-between; align-items: center; padding: 32px 12px 6px; color: #fff; font-size: .7rem; }
.sx-ps-logo { font-family: var(--sx-font-display); font-size: 1.05rem; letter-spacing: .5px; color: var(--sx-accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.sx-ps-hero { margin: 0 10px; height: 115px; border-radius: 12px; background: #22222b center/cover no-repeat; position: relative; overflow: hidden; flex-shrink: 0; }
.sx-ps-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85), transparent 60%); }
.sx-ps-hero-info { position: absolute; left: 10px; right: 10px; bottom: 9px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 6px; }
.sx-ps-hero-info b { color: #fff; font-size: .7rem; font-weight: 600; line-height: 1.2; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sx-ps-play { background: #fff; color: #000; font-size: .58rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; white-space: nowrap; }
.sx-ps-row-title { color: #fff; font-size: .62rem; font-weight: 600; padding: 9px 12px 5px; }
.sx-ps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 10px; }
.sx-ps-thumb { aspect-ratio: 2/3; border-radius: 6px; background: #22222b center/cover no-repeat; position: relative; overflow: hidden; }
.sx-ps-thumb i { position: absolute; left: 0; bottom: 0; height: 3px; width: 60%; background: var(--sx-accent); }
.sx-ps-row-wide .sx-ps-thumb { aspect-ratio: 16/10; }
.sx-ps-nav { margin-top: auto; display: flex; justify-content: space-around; padding: 10px 6px 14px; background: rgba(18,18,24,.95); border-top: 1px solid var(--sx-border); color: #666; font-size: .8rem; }
.sx-ps-nav .active { color: #fff; }

/* ---------- 16 ABOUT & FAQ ---------- */
.sx-about { padding-top: 4rem; }
.sx-about-grid {
    margin: 0 var(--sx-gutter);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2.6rem;
    border-radius: 24px;
    background: linear-gradient(160deg, var(--sx-surface) 0%, var(--sx-bg-soft) 100%);
    border: 1px solid var(--sx-border);
}
.sx-about-text h2 { font-family: var(--sx-font-display); font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.02; letter-spacing: .6px; color: #fff; font-weight: 400; margin-bottom: 1rem; }
.sx-about-text p { color: var(--sx-text-muted); font-size: .92rem; line-height: 1.75; }
.sx-about-stats { display: flex; gap: 2rem; margin: 1.4rem 0 .6rem; }
.sx-about-stats div { display: flex; flex-direction: column; }
.sx-about-stats b { font-family: var(--sx-font-display); font-size: 2.3rem; line-height: 1; color: #fff; font-weight: 400; background: var(--sx-accent-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sx-about-stats span { color: var(--sx-text-muted); font-size: .76rem; text-transform: uppercase; letter-spacing: 1px; }
.sx-faq-title { font-size: 1.1rem; font-weight: 600; color: #fff; margin-bottom: 1rem; }
.sx-faq details { border-bottom: 1px solid var(--sx-border); }
.sx-faq summary {
    list-style: none;
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1rem 0;
    color: #fff;
    font-weight: 500;
    font-size: .94rem;
}
.sx-faq summary::-webkit-details-marker { display: none; }
.sx-faq summary i { font-size: .75rem; color: var(--sx-text-muted); transition: transform .25s ease; flex-shrink: 0; }
.sx-faq details[open] summary i { transform: rotate(45deg); color: var(--sx-accent-2); }
.sx-faq details p { color: var(--sx-text-muted); font-size: .88rem; line-height: 1.7; margin: 0 0 1rem; }

/* ---------- 17 FOOTER ---------- */
.sx-footer {
    background: linear-gradient(180deg, var(--sx-bg) 0%, var(--sx-bg-soft) 100%);
    border-top: 1px solid var(--sx-border);
    margin-top: 4.5rem;
    position: relative;
}
.sx-footer::before {
    content: '';
    position: absolute; top: -1px; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--sx-accent), var(--sx-accent-2), #ffb648, transparent);
}
.sx-footer-inner { padding: 3.2rem var(--sx-gutter) 1.8rem; }
.sx-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.sx-footer .sx-logo { height: 36px; max-width: 180px; }
.sx-footer .sx-logo-img { max-height: 36px; }
.sx-footer-heading {
    text-transform: uppercase;
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    margin-bottom: 1.1rem;
    position: relative;
    padding-bottom: .6rem;
}
.sx-footer-heading::after { content: ''; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--sx-accent-grad); border-radius: 2px; }
.sx-muted-text { color: var(--sx-text-muted) !important; font-size: .88rem; line-height: 1.7; opacity: 1; }
.sx-footer-links li { margin-bottom: .62rem; }
.sx-footer-links a { color: var(--sx-text-muted) !important; font-size: .88rem; transition: color .2s ease, padding-left .2s ease; }
.sx-footer-links a:hover { color: #fff !important; padding-left: 4px; }
.sx-footer-social { display: flex; gap: .6rem; }
.sx-footer-social a {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--sx-card);
    border: 1px solid var(--sx-border);
    color: var(--sx-text-muted);
    font-size: .88rem;
    transition: all .25s ease;
}
.sx-footer-social a:hover { background: var(--sx-accent-grad); color: #fff; border-color: transparent; transform: translateY(-3px); }
.sx-footer-divider { border-color: var(--sx-border); opacity: 1; margin: 2rem 0 1.3rem; }
.sx-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; }
.sx-footer-bottom p { font-size: .82rem; }

.sx-footer-app {
    margin-top: 2.4rem;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 1.2rem 2rem;
    padding: 1.3rem 1.6rem;
    border-radius: 18px;
    background: linear-gradient(100deg, rgba(229,9,20,.14) 0%, rgba(255,255,255,.03) 45%, rgba(255,255,255,.02) 100%);
    border: 1px solid rgba(229,9,20,.22);
}
.sx-footer-app-info { display: flex; align-items: center; gap: 1rem; flex: 1 1 320px; }
.sx-footer-app-info h3 { color: #fff; font-weight: 600; font-size: 1rem; margin-bottom: .2rem; }
.sx-footer-app-icon {
    width: 50px; height: 50px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: var(--sx-accent-grad);
    color: #fff; font-size: 1.35rem;
    box-shadow: 0 8px 20px -6px rgba(229,9,20,.6);
}
.sx-footer-app-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.sx-app-apk-sm { height: 46px; padding: 0 1.1rem 0 .95rem; border-radius: 10px; }
.sx-app-apk-sm i { font-size: 1.1rem; }
.sx-app-apk-sm b { font-size: .92rem; }
.sx-app-badge-sm { height: 46px; }
.sx-footer-app-qr { width: 62px; height: 62px; padding: 4px; background: #fff; border-radius: 8px; }

/* ---------- 18 UTILITIES ---------- */
.sx-scroll-top {
    position: fixed;
    right: 20px; bottom: 24px;
    width: 46px; height: 46px;
    border-radius: 50%;
    border: none;
    background: var(--sx-accent-grad);
    color: #fff;
    font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 22px rgba(229,9,20,.4);
    opacity: 0; visibility: hidden;
    transform: translateY(15px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    z-index: 999;
}
.sx-scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

.sx-toast {
    position: fixed; z-index: 1200;
    left: 50%; bottom: 28px;
    transform: translate(-50%, 30px);
    display: flex; align-items: center; gap: .6rem;
    background: rgba(28,28,38,.97);
    border: 1px solid var(--sx-border-hi);
    color: #fff;
    font-size: .88rem; font-weight: 500;
    padding: .75rem 1.2rem;
    border-radius: 999px;
    box-shadow: 0 16px 40px rgba(0,0,0,.55);
    opacity: 0; visibility: hidden;
    transition: all .3s var(--sx-ease);
    white-space: nowrap;
}
.sx-toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sx-toast i { color: #3ddc84; }

.sx-notfound { text-align: center; padding: calc(var(--sx-header-h) + 4rem) 1.2rem 1rem; }
.sx-notfound-code {
    font-family: var(--sx-font-display);
    font-size: clamp(7rem, 22vw, 13rem);
    line-height: .85;
    color: transparent;
    -webkit-text-stroke: 3px #3a3a46;
    background: var(--sx-accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    opacity: .9;
}
.sx-notfound h1 { font-family: var(--sx-font-display); font-size: 2.6rem; color: #fff; font-weight: 400; letter-spacing: 1px; margin: .6rem 0 .4rem; }
.sx-notfound p { color: var(--sx-text-muted); max-width: 480px; margin: 0 auto 1.6rem; }
.sx-notfound-actions { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; }

/* ---------- 19 RESPONSIVE ---------- */
@media (max-width: 1199.98px) {
    .sx-footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .sx-footer-brand { grid-column: 1 / -1; max-width: 520px; }
}

@media (max-width: 991.98px) {
    :root { --sx-gutter: 1.5rem; --sx-header-h: 60px; }

    .sx-header-inner { gap: .8rem; }
    .sx-nav { display: none; }
    .sx-search-toggle { display: inline-flex; }
    .sx-user-name { display: none; }

    /* search becomes a full-width bar below the header */
    .sx-search {
        position: fixed;
        top: 0; left: 0; right: 0;
        width: auto !important;
        height: var(--sx-header-h);
        padding: 0 .75rem;
        display: flex; align-items: center; gap: .5rem;
        background: rgba(9,9,14,.98);
        border-bottom: 1px solid var(--sx-border);
        transform: translateY(-100%);
        visibility: hidden;
        transition: transform .25s var(--sx-ease), visibility 0s linear .25s;
        z-index: 5;
    }
    .sx-search input, .sx-search input:focus { flex: 1; background: #1b1b24; }
    .sx-search-icon { left: calc(.75rem + 15px); top: 50%; }
    body.sx-search-open .sx-search { transform: none; visibility: visible; transition: transform .25s var(--sx-ease); }
    .sx-search-close {
        display: inline-flex; align-items: center; justify-content: center;
        width: 40px; height: 40px; flex-shrink: 0;
        background: none; border: none; color: #fff; font-size: 1.15rem;
    }
    .sx-search-results { left: .75rem; right: .75rem; width: auto; max-width: none; top: calc(100% + 6px); }

    .sx-bottom-nav {
        display: flex;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 1001;
        height: calc(62px + env(safe-area-inset-bottom));
        padding-bottom: env(safe-area-inset-bottom);
        background: rgba(10,10,15,.94);
        backdrop-filter: saturate(160%) blur(16px);
        -webkit-backdrop-filter: saturate(160%) blur(16px);
        border-top: 1px solid var(--sx-border);
    }
    .sx-bottom-nav a, .sx-bottom-nav button {
        flex: 1;
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .22rem;
        color: var(--sx-text-muted);
        font-size: .64rem; font-weight: 500;
        background: none; border: none;
        position: relative;
    }
    .sx-bottom-nav i { font-size: 1.12rem; }
    .sx-bottom-nav .active { color: #fff; }
    .sx-bottom-nav .active::before {
        content: ''; position: absolute; top: 0; left: 30%; right: 30%; height: 2px;
        background: var(--sx-accent-grad); border-radius: 0 0 3px 3px;
    }
    body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
    .sx-scroll-top { bottom: calc(76px + env(safe-area-inset-bottom)); right: 14px; width: 42px; height: 42px; }
    .sx-toast { bottom: calc(80px + env(safe-area-inset-bottom)); }

    .sx-hero-arrow { display: none; }
    .sx-hero-content { padding-bottom: 4.8rem; }
    .sx-hero-dots { bottom: 2.2rem; }

    .sx-app-card { grid-template-columns: 1fr; padding: 2.5rem 2rem 2rem 2.6rem; }
    .sx-app-text { max-width: none; }
    .sx-app-visual { min-height: 360px; order: -1; }
    .sx-phone-left  { transform: translateX(-130px) translateY(14px) rotate(-10deg) scale(.84); }
    .sx-phone-right { transform: translateX(130px)  translateY(14px) rotate(10deg)  scale(.84); }
    .sx-app-glow { right: 50%; top: 22%; transform: translate(50%, -50%); width: 420px; height: 420px; }

    .sx-about-grid { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 1.6rem; }
    .sx-detail { grid-template-columns: 160px 1fr; gap: 1.4rem; }
}

@media (max-width: 767.98px) {
    :root { --sx-gutter: 1rem; }
    body { font-size: 14px; }

    .sx-btn-subscribe-header { padding: .5rem .75rem; }
    .sx-btn-subscribe-header .sx-subscribe-text { display: none; }
    .sx-btn-signin { padding: .5rem 1rem; font-size: .8rem; }
    .sx-icon-btn { width: 38px; height: 38px; }
    .sx-logo { font-size: 1.7rem; height: 32px; max-width: 150px; }
    .sx-logo-img { max-height: 32px; }

    .sx-hero { height: 78vh; min-height: 500px; }
    .sx-hero-slide::after {
        background:
            linear-gradient(to top, var(--sx-bg) 0%, rgba(7,7,11,.85) 30%, rgba(7,7,11,.2) 65%, rgba(7,7,11,.45) 100%);
    }
    .sx-hero-content { padding: 0 var(--sx-gutter) 4.2rem; text-align: center; margin: 0 auto; }
    .sx-hero-meta { justify-content: center; font-size: .8rem; }
    .sx-hero-desc { font-size: .86rem; -webkit-line-clamp: 2; margin-bottom: 1.2rem; }
    .sx-hero-actions { justify-content: center; gap: .55rem; }
    .sx-btn-play, .sx-btn-info { padding: .66rem 1.25rem; font-size: .86rem; }
    .sx-hero .sx-hero-list { width: 42px; height: 42px; }
    .sx-hero-dots { left: 50%; transform: translateX(-50%); bottom: 1.8rem; }

    .sx-section { padding-top: 1.9rem; }
    .sx-section-title { font-size: 1.08rem; }
    .sx-section-head { margin-bottom: .85rem; }
    .sx-row-arrows { display: none; }
    .sx-see-all { padding: .25rem .65rem; font-size: .76rem; }

    .sx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem .6rem; }
    .sx-card-title { font-size: .78rem; }
    .sx-card-sub { font-size: .68rem; }
    .sx-card .sx-watchlist-btn { opacity: 1; transform: none; width: 28px; height: 28px; font-size: .7rem; top: 6px; right: 6px; }
    .sx-badge-rating { top: 6px; left: 6px; font-size: .62rem; padding: .12rem .4rem; }
    .sx-card-play { display: none; }

    .sx-top10-card { height: 172px; padding-right: .7rem; }
    .sx-top10-num { font-size: 9.6rem; -webkit-text-stroke-width: 2px; margin-right: -.8rem; }
    .sx-top10-item:nth-child(10) .sx-top10-num { margin-right: -.4rem; }
    .sx-hero-genre { display: none; }
    .sx-hero-meta > span + span:not(.sx-tag)::before { margin-right: .6rem; }
    .sx-hero-meta { gap: .4rem .6rem; }
    .sx-top10-poster { width: 106px; border-radius: 9px; }
    .sx-top10-info { display: none; }
    .sx-top10-flag { font-size: .62rem; right: 6px; }

    .sx-genre-chip { min-width: 122px; height: 60px; font-size: .86rem; padding: 0 1rem; }

    .sx-app { padding: 1.9rem var(--sx-gutter) 0; }
    .sx-app-card { padding: 2rem 1.3rem 1.6rem 1.8rem; border-radius: 18px; }
    .sx-app-card::before { width: 8px; }
    .sx-app-title { font-size: 2.4rem; }
    .sx-app-qr { display: none; }
    .sx-app-visual { min-height: 330px; }
    .sx-phone { width: 165px; height: 335px; border-radius: 30px; padding: 7px; }
    .sx-phone-screen { border-radius: 24px; }
    .sx-ps-top { padding-top: 30px; }
    .sx-ps-hero { height: 92px; }
    .sx-phone-left  { transform: translateX(-100px) translateY(12px) rotate(-10deg) scale(.82); }
    .sx-phone-right { transform: translateX(100px)  translateY(12px) rotate(10deg)  scale(.82); }

    .sx-detail { grid-template-columns: 1fr; }
    .sx-detail-poster { display: none; }
    .sx-player-meta { font-size: .8rem; gap: .4rem .9rem; }
    .sx-detail-actions .sx-btn-play { flex: 1 1 100%; justify-content: center; }
    .sx-btn-pill, .sx-detail-actions .sx-watchlist-btn { flex: 1; justify-content: center; padding: 0 .8rem; }
    .sx-player-frame { max-height: none; }
    .sx-player-frame.is-locked { aspect-ratio: auto; min-height: 360px; display: flex; }
    .sx-player-frame.is-locked .sx-player-locked { position: relative; inset: auto; flex: 1; padding: 2rem 0; }
    .sx-locked-icon { width: 54px; height: 54px; font-size: 1.2rem; }

    .sx-about { padding-top: 2.6rem; }
    .sx-about-grid { margin: 0 var(--sx-gutter); padding: 1.6rem 1.2rem; border-radius: 18px; }
    .sx-about-stats { gap: 1.4rem; }

    .sx-auth-card { padding: 2rem 1.4rem; border-radius: 16px; }
    .sx-plans-grid { grid-template-columns: 1fr; }
    .sx-plan-recommended { order: -1; }
    .sx-checkout-wrap { padding: 0; }

    .sx-footer-inner { padding-top: 2.4rem; }
    .sx-footer-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem 1.2rem; }
    .sx-footer-app { padding: 1.1rem; }
    .sx-footer-app-qr { display: none; }
    .sx-footer-app-actions { width: 100%; }
    .sx-footer-app-actions .sx-app-apk-sm { flex: 1; justify-content: center; }
    .sx-footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 359.98px) {
    .sx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .7rem; }
}
@media (max-width: 420px) {
    .sx-app-actions { flex-direction: column; align-items: stretch; }
    .sx-app-apk { justify-content: center; }
    .sx-app-badge { align-self: center; }
    .sx-phone-left  { transform: translateX(-82px) translateY(12px) rotate(-10deg) scale(.78); }
    .sx-phone-right { transform: translateX(82px)  translateY(12px) rotate(10deg)  scale(.78); }
    .sx-logo { max-width: 120px; }
}

@media (min-width: 1600px) {
    .sx-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
}

@media (hover: none) {
    .sx-card:hover .sx-card-img-wrap { transform: none; box-shadow: 0 0 0 1px var(--sx-border); }
    .sx-card:hover .sx-card-img-wrap img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .sx-hero-bg { transform: none !important; }
}

/* Plans page alerts line up with the plan grid */
.sx-plans-section > .sx-auth-alert,
.sx-plans-section > .sx-auth-success { max-width: 1180px; margin-left: auto; margin-right: auto; }
/* ---------- PLAN OFFER (CRM > Plan Offer) ---------- */
.sx-offer-banner {
    max-width: 1180px; margin: 0 auto 1.8rem;
    display: flex; align-items: center; gap: 1.1rem;
    padding: 1.1rem 1.4rem; border-radius: 16px;
    background: radial-gradient(120% 140% at 0% 0%, rgba(229,9,20,.28), transparent 60%), linear-gradient(135deg, rgba(255,61,110,.12), rgba(245,197,24,.08));
    border: 1px solid rgba(255,77,94,.45);
    box-shadow: 0 18px 40px -22px rgba(229,9,20,.7);
}
.sx-offer-banner-icon {
    flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px;
    background: var(--sx-accent-grad); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.sx-offer-banner-body { flex: 1; min-width: 0; }
.sx-offer-banner-title {
    display: inline-block; margin-bottom: .3rem;
    font-size: .7rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
    color: var(--sx-gold);
}
.sx-offer-banner-msg { margin: 0; color: #fff; font-size: .96rem; font-weight: 500; line-height: 1.45; }
.sx-offer-countdown {
    flex: 0 0 auto; text-align: center;
    background: rgba(0,0,0,.35); border: 1px solid var(--sx-border-hi);
    border-radius: 12px; padding: .55rem .9rem;
}
.sx-offer-countdown-label { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .6px; color: var(--sx-text-muted); }
.sx-offer-countdown-time { display: block; font-size: 1rem; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }

.sx-plan-offer-tag {
    position: absolute; top: 16px; left: 16px;
    background: #3ddc84; color: #06210f;
    font-size: .68rem; font-weight: 800; letter-spacing: .4px;
    padding: .28rem .6rem; border-radius: 6px;
}
.sx-plan-has-offer .sx-plan-icon { margin-top: 1.2rem; }
.sx-plan-old-price { color: var(--sx-text-muted); font-size: 1rem; text-decoration: line-through; margin-bottom: .2rem; }
.sx-plan-save {
    display: inline-block; align-self: flex-start;
    margin: -.8rem 0 1.3rem; padding: .25rem .6rem; border-radius: 6px;
    background: rgba(61,220,132,.12); color: #3ddc84; font-size: .78rem; font-weight: 600;
}

@media (max-width: 576px) {
    .sx-offer-banner { flex-wrap: wrap; padding: 1rem; }
    .sx-offer-countdown { flex: 1 1 100%; display: flex; align-items: center; justify-content: space-between; }
}

/* ---------- LOGIN: labels, icons, mobile OTP ---------- */
.sx-auth-label { display: block; font-size: .78rem; font-weight: 600; color: var(--sx-text-soft); margin: 0 0 .4rem .1rem; }
.sx-input-icon { position: relative; }
.sx-input-icon > i { position: absolute; left: 1rem; top: 1.05rem; color: #75757f; font-size: .9rem; pointer-events: none; }
.sx-input-icon .sx-form-control { padding-left: 2.6rem; }
.sx-pass-toggle {
    position: absolute; right: .5rem; top: .45rem;
    background: none; border: 0; color: #9a9aa8; padding: .35rem .5rem; border-radius: 8px; cursor: pointer;
}
.sx-pass-toggle:hover { color: #fff; }
.sx-input-icon .sx-pass-toggle ~ .sx-form-control, .sx-input-icon input[type="password"] { padding-right: 2.8rem; }

.sx-btn-otp {
    width: 100%; margin-bottom: .8rem;
    display: flex; align-items: center; justify-content: center; gap: .6rem;
    background: rgba(255,255,255,.04); color: #fff;
    border: 1px solid var(--sx-border-hi); border-radius: 10px;
    padding: .78rem; font-weight: 600; font-size: .9rem;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.sx-btn-otp i { color: var(--sx-accent-2); font-size: 1rem; }
.sx-btn-otp:hover { border-color: rgba(255,77,94,.7); background: rgba(229,9,20,.08); transform: translateY(-1px); }

.sx-auth-back {
    background: none; border: 0; padding: 0; margin: 0 0 1.2rem;
    color: var(--sx-text-muted); font-size: .82rem; font-weight: 500; cursor: pointer;
    display: inline-flex; align-items: center; gap: .45rem;
}
.sx-auth-back:hover { color: #fff; }
.sx-otp-title { font-size: 1.3rem; font-weight: 700; color: #fff; margin: 0 0 .4rem; text-align: center; }
#sxOtpPanel .sx-auth-sub { margin-bottom: 1.4rem; line-height: 1.5; }
.sx-otp-number { color: #fff; font-weight: 600; white-space: nowrap; }

.sx-phone-field { display: flex; gap: .5rem; }
.sx-phone-cc {
    flex: 0 0 auto; display: flex; align-items: center; height: 47px;
    padding: 0 .9rem; border-radius: 10px;
    background: rgba(255,255,255,0.05); border: 1px solid var(--sx-border-hi);
    color: #fff; font-weight: 600; font-size: .92rem;
}
.sx-phone-field .sx-form-control { font-size: 1.02rem; letter-spacing: .5px; }

.sx-otp-boxes { display: flex; justify-content: center; gap: .7rem; margin: .2rem 0 1.3rem; }
.sx-otp-box {
    width: 56px; height: 60px; text-align: center;
    font-size: 1.5rem; font-weight: 700; color: #fff;
    background: rgba(255,255,255,0.05); border: 1px solid var(--sx-border-hi); border-radius: 12px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.sx-otp-box:focus { outline: none; border-color: rgba(255,77,94,.8); background: rgba(255,255,255,0.08); box-shadow: 0 0 0 3px rgba(229,9,20,.18); }
.sx-otp-box.is-error { border-color: rgba(229,9,20,.7); animation: sxShake .35s ease; }
@keyframes sxShake { 0%,100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

.sx-otp-resend { text-align: center; color: var(--sx-text-muted); font-size: .84rem; margin: 1.1rem 0 0; }
.sx-link-btn { background: none; border: 0; padding: 0 .15rem; color: var(--sx-accent-2); font-weight: 600; cursor: pointer; font-size: inherit; }
.sx-link-btn:hover { text-decoration: underline; }
.sx-link-btn:disabled { color: #6c6c78; cursor: not-allowed; text-decoration: none; }
#sxResendTimer { font-variant-numeric: tabular-nums; }

.sx-spinner {
    display: inline-block; width: 14px; height: 14px; vertical-align: -2px;
    border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%;
    animation: sxSpin .7s linear infinite;
}
@keyframes sxSpin { to { transform: rotate(360deg); } }
.sx-btn-primary:disabled { opacity: .75; cursor: wait; transform: none; }

.sx-welcome-icon { text-align: center; font-size: 2.8rem; color: #3ddc84; margin-bottom: .6rem; }
.sx-cred-box { border: 1px solid var(--sx-border-hi); background: rgba(255,255,255,.03); border-radius: 12px; overflow: hidden; }
.sx-cred-row { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .7rem; padding: .7rem 1rem; }
.sx-cred-row + .sx-cred-row { border-top: 1px solid var(--sx-border); }
.sx-cred-label { flex: 0 0 100%; color: var(--sx-text-muted); font-size: .78rem; }
.sx-cred-value { flex: 1; min-width: 0; color: #fff; font-weight: 600; font-size: .98rem; overflow-wrap: anywhere; }
.sx-copy-btn { background: none; border: 0; color: #9a9aa8; padding: .25rem .4rem; border-radius: 6px; cursor: pointer; }
.sx-copy-btn:hover { color: #fff; background: rgba(255,255,255,.06); }
.sx-cred-note {
    display: flex; align-items: center; gap: .5rem;
    margin: .9rem 0 1.3rem; padding: .65rem .9rem; border-radius: 10px;
    background: rgba(245,197,24,.1); border: 1px solid rgba(245,197,24,.3);
    color: var(--sx-gold); font-size: .84rem; font-weight: 600;
}

@media (max-width: 400px) {
    .sx-otp-box { width: 48px; height: 54px; font-size: 1.3rem; }
    .sx-otp-boxes { gap: .5rem; }
}
#sxOtpPanel[hidden], #sxOtpPanel [hidden], #sxEmailPanel[hidden] { display: none !important; }
#sxWelcomeGo { display: block; width: 100%; text-align: center; text-decoration: none; }

/* ---------- OTP login notice (10 seconds after login) ---------- */
.sx-login-notice {
    position: fixed; z-index: 2000; top: calc(var(--sx-header-h) + 14px); right: 18px;
    width: min(380px, calc(100vw - 32px));
    display: flex; gap: .85rem; align-items: flex-start;
    padding: 1rem 2.4rem 1.15rem 1rem; border-radius: 14px; overflow: hidden;
    background: #17171f; border: 1px solid rgba(245,197,24,.45);
    box-shadow: 0 22px 50px rgba(0,0,0,.6);
    animation: sxNoticeIn .45s var(--sx-ease) both;
}
.sx-login-notice.is-hiding { animation: sxNoticeOut .4s ease forwards; }
.sx-login-notice-icon {
    flex: 0 0 40px; width: 40px; height: 40px; border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(245,197,24,.14); color: var(--sx-gold); font-size: 1rem;
}
.sx-login-notice-body { flex: 1; min-width: 0; }
.sx-login-notice-body strong { display: block; color: #fff; font-size: .95rem; margin-bottom: .3rem; }
.sx-login-notice-body span { display: block; color: var(--sx-text-soft); font-size: .82rem; line-height: 1.6; overflow-wrap: anywhere; }
.sx-login-notice-body b { color: #fff; }
.sx-login-notice-close {
    position: absolute; top: .45rem; right: .55rem;
    background: none; border: 0; color: #9a9aa8; font-size: 1.4rem; line-height: 1; cursor: pointer; padding: .2rem .35rem;
}
.sx-login-notice-close:hover { color: #fff; }
.sx-login-notice-bar {
    position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
    background: var(--sx-gold); transform-origin: left;
    animation: sxNoticeBar 10s linear forwards;
}
@keyframes sxNoticeBar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes sxNoticeIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes sxNoticeOut { to { opacity: 0; transform: translateY(-12px); } }
@media (max-width: 576px) { .sx-login-notice { right: 16px; left: 16px; width: auto; } }

.sx-field-hint { margin: -.55rem 0 .9rem .1rem; font-size: .74rem; color: var(--sx-text-muted); line-height: 1.4; }