* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}



:root {
    --bg: #080d16;
    --card: #111827;
    --card2: #172033;
    --text: #ffffff;
    --muted: #9aa4b8;
    --primary: #4da3ff;
    --primary2: #7dd3fc;
    --silver: #dce7f7;
    --green: #31e981;
    --red: #ff4d5e;
    --line: rgba(255, 255, 255, .1);
}

html[data-theme="light"] {
    --bg: #f4f8ff;
    --card: #ffffff;
    --card2: #eef5ff;
    --text: #07111f;
    --muted: #526174;
    --primary: #147dff;
    --primary2: #00a8ff;
    --silver: #07111f;
    --green: #0bbf6a;
    --red: #ff3b4f;
    --line: rgba(7, 17, 31, .10);
}

html[lang="ar"] body,
html[lang="ar"] * {
    font-family: "Cairo", sans-serif;
}

html[lang="en"] body,
html[lang="en"] * {
    font-family: "Poppins", sans-serif;
}

body {
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at top, rgba(77, 163, 255, .055), transparent 34%),
        linear-gradient(180deg, #0a0f18 0%, #080d16 55%, #060b13 100%) !important;
    overflow-x: hidden;
}

.loader,
.lang-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #080d16;
    display: grid;
    place-items: center;
    transition: .7s ease;
}

.loader.hide,
.lang-loader {
    opacity: 0;
    visibility: hidden;
}

.lang-loader.show {
    opacity: 1;
    visibility: visible;
}

.loader-box {
    font-size: 38px;
    font-weight: bold;
    letter-spacing: 1px;
    color: var(--silver);
    animation: pulse 1s infinite alternate;
}

.lang-box {
    width: 260px;
    padding: 32px 20px;
    border-radius: 24px;
    text-align: center;
    background: var(--card);
    border: 1px solid var(--line);
}

.lang-box i {
    font-size: 44px;
    color: var(--primary2);
    margin-bottom: 12px;
}

.lang-box p {
    color: var(--muted);
}

@keyframes pulse {
    to {
        opacity: .45;
        transform: scale(.96);
    }
}

.header {
    width: min(1160px, 92%);
    margin: 24px auto 0;
    height: 74px;
    border-radius: 22px;
    background: rgba(17, 24, 39, .78);
    border: 1px solid var(--line);
    backdrop-filter: blur(18px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    color: var(--silver);
}

.logo::after {
    content: "";
    display: block;
    width: 44px;
    height: 3px;
    margin: 5px auto 0;
    border-radius: 20px;
    background: linear-gradient(90deg, var(--primary), var(--primary2));
}

.language-box {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 140px;
    height: 44px;
}

html[dir="ltr"] .language-box {
    left: auto;
    right: 22px;
}

.lang-select {
    width: 100%;
    height: 100%;
    border: 1px solid rgba(125, 211, 252, .28);
    border-radius: 14px;
    background: #0d1524;
    color: var(--silver);
    font-weight: bold;
    cursor: pointer;
    outline: none;
    appearance: none;
    padding-inline-start: 18px;
    padding-inline-end: 42px;
}

.language-box i {
    position: absolute;
    top: 50%;
    inset-inline-end: 14px;
    transform: translateY(-50%);
    color: var(--primary2);
    font-size: 22px;
    pointer-events: none;
}

.lang-select option {
    background: #0d1524;
    color: #fff;
}

.hero {
    width: min(880px, 92%);
    margin: 88px auto 52px;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 9px 16px;
    margin-bottom: 20px;
    border-radius: 999px;
    background: rgba(77, 163, 255, .12);
    border: 1px solid rgba(77, 163, 255, .24);
    color: var(--primary2);
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: clamp(38px, 8vw, 78px);
    line-height: 1.08;
    margin-bottom: 18px;
    color: var(--silver);
}

.hero p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
    max-width: 690px;
    margin: auto;
}

.cards {
    width: min(1160px, 92%);
    margin: 0 auto 76px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    min-height: 380px;
    padding: 26px;
    border-radius: 26px;
    background: linear-gradient(180deg, var(--card2), var(--card));
    border: 1px solid var(--line);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .32);
    transition: .35s ease;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(125, 211, 252, .35);
    box-shadow: 0 34px 90px rgba(77, 163, 255, .16);
}

.card-icon {
    width: 82px;
    height: 82px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    color: #07111f;
    font-size: 44px;
}



.status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 16px;
}

.status::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.status.active {
    color: var(--green);
    background: rgba(49, 233, 129, .10);
}

.status.active::before {
    background: var(--green);
    box-shadow: 0 0 12px var(--green);
}

.card h2 {
    font-size: 26px;
    margin-bottom: 12px;
    margin-top: 12px;
}

.card p {
    color: var(--muted);
    line-height: 1.75;
    min-height: 62px;
    margin-bottom: 22px;
}

.platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 24px;
}

.platforms span {
    padding: 8px 12px;
    border-radius: 11px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--line);
    color: var(--silver);
    font-size: 14px;
}

.btn {
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    text-decoration: none;
    color: #07111f;
    font-weight: bold;
    background: linear-gradient(90deg, var(--primary), var(--primary2));
    transition: .3s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.soon-card {
    pointer-events: none;
    opacity: .78;
    display: grid;
    place-items: center;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .02)),
        #0c111d;
    border-style: dashed;
}

.soon-content {
    text-align: center;
}

.soon-content i {
    font-size: 74px;
    color: var(--muted);
    margin-bottom: 16px;
}

.soon-content h2 {
    font-size: 42px;
    color: var(--silver);
    margin-bottom: 8px;
}

.soon-content span {
    color: var(--muted);
    font-weight: bold;
}

.footer {
    width: min(1160px, 92%);
    margin: 0 auto 24px;
    padding: 26px;
    text-align: center;
    border-radius: 22px;
    background: rgba(17, 24, 39, .7);
    border: 1px solid var(--line);
}

.social {
    margin-bottom: 12px;
}

.social a {
    color: var(--primary2);
    font-size: 28px;
    margin: 0 9px;
    transition: .3s ease;
}

.social a:hover {
    color: #fff;
}

.footer p {
    color: var(--muted);
}

.reveal,
.reveal-card {
    opacity: 0;
    transform: translateY(34px);
    transition: .8s ease;
}

.reveal.show,
.reveal-card.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .cards {
        grid-template-columns: 1fr;
    }

    .card {
        min-height: auto;
    }
}

@media (max-width: 600px) {
    .header {
        height: auto;
        padding: 18px;
        flex-direction: column;
        gap: 14px;
    }

    .language-box,
    html[dir="ltr"] .language-box {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        transform: none;
    }

    .hero {
        margin: 58px auto 38px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 16px;
    }

    .cards {
        width: 92%;
        gap: 18px;
    }

    .card {
        padding: 22px;
        border-radius: 22px;
    }
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.logo a {
    color: inherit;
    text-decoration: none;
}

.logo a:visited {
    color: inherit;
}

.hero-top {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.free-badge,
.hero-online {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: bold;
}

.free-badge {
    background: rgba(77, 163, 255, .08);
    color: #7dd3fc;
    border: 1px solid rgba(77, 163, 255, .18);
}

.free-badge i {
    font-size: 18px;
}

.hero-online {
    background: rgba(49, 233, 129, .08);
    color: #31e981;
    border: 1px solid rgba(49, 233, 129, .15);
}

.hero-online i {
    font-size: 10px;
    animation: onlinePulse 1.3s infinite;
}

@keyframes onlinePulse {
    50% {
        opacity: .35;
        transform: scale(.8);
    }
}

.footer .social a,
.footer .social a:visited,
.footer .social a:hover,
.footer .social a:active {
    text-decoration: none !important;
    border-bottom: none !important;
}

.card-actions {
    display: flex;
    gap: 12px;
}

.card-actions .btn {
    flex: 1;
    min-width: 0;
    height: 52px;
    padding: 0 10px;
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.demo-btn {
    background: transparent;
    color: var(--primary2);
    border: 1px solid rgba(125, 211, 252, .35);
}

.demo-btn:hover {
    background: rgba(125, 211, 252, .1);
}

@media (max-width: 420px) {
    .card-actions {
        gap: 10px;
    }

    .card-actions .btn {
        height: 48px;
        font-size: 13px;
        padding: 0 8px;
    }
}

/* ScrollUp */
.scroll-top-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid rgba(125, 211, 252, .35);
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    color: #07111f;
    font-size: 32px;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px) scale(.9);
    transition: .35s ease;
    box-shadow: 0 18px 45px rgba(77, 163, 255, .28);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-top-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 24px 60px rgba(77, 163, 255, .42);
}

html[dir="rtl"] .scroll-top-btn {
    right: 24px;
    left: auto;
}

html[dir="ltr"] .scroll-top-btn {
    right: 24px;
    left: auto;
}

@media (max-width: 600px) {
    .scroll-top-btn {
        width: 48px;
        height: 48px;
        right: 18px;
        bottom: 18px;
        font-size: 28px;
    }
}

/* Professional Page Loader */
.loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top, rgba(77, 163, 255, .24), transparent 34%),
        radial-gradient(circle at bottom, rgba(125, 211, 252, .10), transparent 38%),
        linear-gradient(180deg, #070b13 0%, #080d16 52%, #03050a 100%);
    transition:
        opacity .65s ease,
        visibility .65s ease,
        transform .65s ease;
}

.loader::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(transparent 96%, rgba(77, 163, 255, .055) 100%);
    background-size: 100% 6px;
    opacity: .7;
    pointer-events: none;
}

.loader::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(77, 163, 255, .16), transparent 68%);
    filter: blur(12px);
    animation: loaderGlow 2.6s ease-in-out infinite alternate;
    pointer-events: none;
}

.loader.hide {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.03);
    pointer-events: none;
}

.pro-loader {
    position: relative;
    z-index: 2;
    width: min(320px, calc(100% - 44px));
    padding: 34px 26px 28px;
    border-radius: 30px;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(17, 24, 39, .88), rgba(8, 13, 22, .92)),
        rgba(17, 24, 39, .82);
    border: 1px solid rgba(125, 211, 252, .18);
    box-shadow:
        0 30px 90px rgba(0, 0, 0, .45),
        inset 0 0 40px rgba(77, 163, 255, .045);
    backdrop-filter: blur(18px);
    overflow: hidden;
}

.pro-loader::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
            rgba(77, 163, 255, .55),
            transparent 32%,
            rgba(125, 211, 252, .42),
            transparent 72%);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.loader-orbit {
    position: relative;
    width: 118px;
    height: 118px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
}

.loader-orbit>span {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(125, 211, 252, .18);
}

.loader-orbit>span:nth-child(1) {
    border-top-color: #4da3ff;
    animation: orbitSpin 1.2s linear infinite;
}

.loader-orbit>span:nth-child(2) {
    inset: 10px;
    border-right-color: #7dd3fc;
    animation: orbitSpinReverse 1.8s linear infinite;
}

.loader-orbit>span:nth-child(3) {
    inset: 20px;
    border-bottom-color: #31e981;
    animation: orbitSpin 2.3s linear infinite;
}

.loader-core {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(77, 163, 255, .18), rgba(125, 211, 252, .08)),
        rgba(8, 13, 22, .92);
    border: 1px solid rgba(125, 211, 252, .24);
    box-shadow:
        0 0 28px rgba(77, 163, 255, .22),
        inset 0 0 18px rgba(255, 255, 255, .04);
}

.loader-core img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 14px rgba(125, 211, 252, .45));
}

.loader-brand {
    display: inline-flex;
    flex-direction: row;
    direction: ltr;
    unicode-bidi: isolate;
    align-items: baseline;
    justify-content: center;
    gap: 0;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .5px;
    margin-bottom: 14px;
    padding-bottom: 6px;
    overflow: visible;
    text-shadow: none !important;
}

.loader-brand-vex,
.loader-brand-play {
    display: inline-block;
    line-height: 1.25;
    padding-bottom: 6px;
    text-shadow: none !important;
}

.loader-brand-vex {
    color: #ffffff;
}

.loader-brand-play {
    color: var(--primary2);
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .loader-brand-vex {
    color: #07111f;
}

html[data-theme="light"] .loader-brand-play {
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none !important;
}

.loader-progress {
    position: relative;
    width: 100%;
    height: 7px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .06);
}

.loader-progress span {
    position: absolute;
    inset-block: 0;
    left: -45%;
    width: 45%;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, #4da3ff, #7dd3fc, transparent);
    box-shadow: 0 0 18px rgba(125, 211, 252, .65);
    animation: loaderProgress 1.35s ease-in-out infinite;
}

.loader-text {
    margin-top: 14px;
    color: #93a4b8;
    font-size: 14px;
    font-weight: 800;
}

@keyframes orbitSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes orbitSpinReverse {
    to {
        transform: rotate(-360deg);
    }
}

@keyframes loaderProgress {
    0% {
        left: -45%;
    }

    100% {
        left: 100%;
    }
}

@keyframes loaderGlow {
    from {
        opacity: .45;
        transform: scale(.92);
    }

    to {
        opacity: .9;
        transform: scale(1.08);
    }
}

@media (max-width: 600px) {
    .pro-loader {
        width: min(292px, calc(100% - 36px));
        padding: 30px 22px 24px;
        border-radius: 26px;
    }

    .loader-orbit {
        width: 104px;
        height: 104px;
    }

    .loader-core {
        width: 56px;
        height: 56px;
        border-radius: 16px;
    }

    .loader-core img {
        width: 34px;
        height: 34px;
    }

    .loader-brand {
        font-size: 30px;
    }

    .loader-text {
        font-size: 13px;
    }
}


/* Home Burger Menu + Sidebar */
.menu-toggle {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: 1px solid rgba(125, 211, 252, .28);
    border-radius: 15px;
    background:
        linear-gradient(135deg, rgba(77, 163, 255, .12), rgba(125, 211, 252, .04)),
        #0d1524;
    display: grid;
    place-items: center;
    gap: 0;
    cursor: pointer;
    z-index: 5;
    transition: .3s ease;
    box-shadow: 0 14px 35px rgba(0, 0, 0, .18);
}

.menu-toggle i {
    color: var(--primary2);
    font-size: 30px;
    line-height: 1;
    display: block;
    filter: drop-shadow(0 0 12px rgba(125, 211, 252, .45));
    transition: .3s ease;
}

.menu-toggle:hover i {
    transform: scale(1.08);
}

html[dir="ltr"] .menu-toggle {
    right: auto;
    left: 22px;
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 9997;
    background: rgba(2, 6, 14, .62);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: .35s ease;
}

.sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
}

.side-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 88vw);
    height: 100vh;
    z-index: 9998;
    padding: 24px;
    background:
        radial-gradient(circle at top right, rgba(77, 163, 255, .20), transparent 36%),
        linear-gradient(180deg, rgba(17, 24, 39, .98), rgba(8, 13, 22, .98));
    border-left: 1px solid rgba(125, 211, 252, .18);
    box-shadow: -30px 0 90px rgba(0, 0, 0, .45);
    transform: translateX(105%);
    transition: .45s cubic-bezier(.2, .9, .2, 1);
    overflow-y: auto;
}

.side-menu.show {
    transform: translateX(0);
}

html[dir="ltr"] .side-menu {
    right: auto;
    left: 0;
    border-left: none;
    border-right: 1px solid rgba(125, 211, 252, .18);
    box-shadow: 30px 0 90px rgba(0, 0, 0, .45);
    transform: translateX(-105%);
}

html[dir="ltr"] .side-menu.show {
    transform: translateX(0);
}

.side-menu::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(transparent 96%, rgba(77, 163, 255, .055) 100%);
    background-size: 100% 6px;
    opacity: .65;
    pointer-events: none;
}

.side-menu-head {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.side-brand {
    color: var(--silver);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
    text-shadow: 0 0 24px rgba(77, 163, 255, .28);
}

.side-brand::after {
    content: "";
    display: block;
    width: 54px;
    height: 3px;
    margin-top: 9px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--primary2));
}

.side-close {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(125, 211, 252, .22);
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
    color: var(--primary2);
    font-size: 28px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: .3s ease;
}

.side-close:hover {
    background: var(--primary2);
    color: #07111f;
    transform: rotate(90deg);
}

.side-menu-links {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.side-menu-links a {
    min-height: 64px;
    padding: 14px 16px;
    border-radius: 18px;
    text-decoration: none;
    color: var(--silver);
    background:
        linear-gradient(135deg, rgba(77, 163, 255, .10), rgba(125, 211, 252, .035)),
        rgba(255, 255, 255, .045);
    border: 1px solid rgba(125, 211, 252, .13);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 700;
    transition: .3s ease;
}

.side-menu-links a i {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 25px;
    color: #07111f;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    box-shadow: 0 14px 32px rgba(77, 163, 255, .25);
}

.side-menu-links a:hover {
    transform: translateX(-5px);
    border-color: rgba(125, 211, 252, .38);
    box-shadow: 0 18px 45px rgba(77, 163, 255, .13);
}

html[dir="ltr"] .side-menu-links a:hover {
    transform: translateX(5px);
}

body.sidebar-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .header {
        min-height: 78px;
        padding: 18px 70px 18px 18px;
    }

    html[dir="ltr"] .header {
        padding: 18px 18px 18px 70px;
    }

    .menu-toggle {
        right: 18px;
        top: 18px;
        transform: none;
        width: 44px;
        height: 44px;
    }

    .menu-toggle:hover {
        transform: scale(1.04);
    }

    html[dir="ltr"] .menu-toggle {
        right: auto;
        left: 18px;
    }

    .language-box,
    html[dir="ltr"] .language-box {
        width: 140px;
    }

    .side-menu {
        width: min(330px, 90vw);
        padding: 22px 18px;
    }

    .side-brand {
        font-size: 27px;
    }

    .side-menu-links a {
        min-height: 60px;
        font-size: 14px;
        padding: 13px 14px;
    }

    .side-menu-links a i {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 24px;
    }
}


/* Light / Dark Theme Button */
.theme-toggle {
    position: absolute;
    right: 78px;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: 1px solid rgba(125, 211, 252, .28);
    border-radius: 15px;
    background:
        linear-gradient(135deg, rgba(77, 163, 255, .12), rgba(125, 211, 252, .04)),
        #0d1524;
    color: var(--primary2);
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 5;
    transition: .3s ease;
    box-shadow: 0 14px 35px rgba(0, 0, 0, .18);
}

.theme-toggle i {
    font-size: 27px;
    line-height: 1;
    display: block;
    filter: drop-shadow(0 0 12px rgba(125, 211, 252, .45));
    transition: .3s ease;
}

.theme-toggle:hover {
    transform: translateY(-50%) scale(1.06);
    border-color: rgba(125, 211, 252, .55);
    box-shadow: 0 18px 45px rgba(77, 163, 255, .22);
}

.theme-toggle:hover i {
    transform: rotate(12deg) scale(1.08);
}

html[dir="ltr"] .theme-toggle {
    right: auto;
    left: 78px;
}

/* Light Mode */
html[data-theme="light"] body {
    background:
        radial-gradient(circle at top, rgba(20, 125, 255, .18), transparent 34%),
        linear-gradient(180deg, #f5f9ff 0%, #eef5ff 55%, #eaf2ff 100%);
}

html[data-theme="light"] .header,
html[data-theme="light"] .footer {
    background: rgba(255, 255, 255, .78);
    border-color: rgba(7, 17, 31, .10);
    box-shadow: 0 18px 55px rgba(20, 125, 255, .10);
}

html[data-theme="light"] .lang-select,
html[data-theme="light"] .menu-toggle,
html[data-theme="light"] .theme-toggle {
    background:
        linear-gradient(135deg, rgba(20, 125, 255, .10), rgba(0, 168, 255, .05)),
        #ffffff;
    color: #07111f;
    border-color: rgba(20, 125, 255, .22);
}

html[data-theme="light"] .menu-toggle i,
html[data-theme="light"] .theme-toggle i,
html[data-theme="light"] .language-box i {
    color: #147dff;
}

html[data-theme="light"] .card {
    background: linear-gradient(180deg, #ffffff, #eef5ff);
    border-color: rgba(7, 17, 31, .10);
    box-shadow: 0 28px 80px rgba(20, 125, 255, .10);
}

html[data-theme="light"] .card:hover {
    border-color: rgba(20, 125, 255, .30);
    box-shadow: 0 34px 90px rgba(20, 125, 255, .16);
}

html[data-theme="light"] .platforms span,
html[data-theme="light"] .hero-platforms span {
    background: rgba(20, 125, 255, .08);
    border-color: rgba(20, 125, 255, .12);
    color: #07111f;
}

html[data-theme="light"] .free-badge {
    background: rgba(20, 125, 255, .08);
    color: #147dff;
    border-color: rgba(20, 125, 255, .18);
}

html[data-theme="light"] .hero-online {
    background: rgba(11, 191, 106, .08);
    color: #0bbf6a;
    border-color: rgba(11, 191, 106, .18);
}

html[data-theme="light"] .soon-card {
    background:
        linear-gradient(180deg, rgba(20, 125, 255, .07), rgba(255, 255, 255, .85)),
        #ffffff;
}

html[data-theme="light"] .side-menu {
    background:
        radial-gradient(circle at top right, rgba(20, 125, 255, .18), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(238, 245, 255, .98));
    border-left-color: rgba(20, 125, 255, .18);
}

html[data-theme="light"] .side-menu-head {
    border-bottom-color: rgba(7, 17, 31, .10);
}

html[data-theme="light"] .side-close {
    background: rgba(20, 125, 255, .08);
    border-color: rgba(20, 125, 255, .18);
    color: #147dff;
}

html[data-theme="light"] .side-menu-links a {
    color: #07111f;
    background:
        linear-gradient(135deg, rgba(20, 125, 255, .08), rgba(0, 168, 255, .035)),
        rgba(255, 255, 255, .78);
    border-color: rgba(20, 125, 255, .13);
}

html[data-theme="light"] .sidebar-overlay {
    background: rgba(235, 244, 255, .58);
}

html[data-theme="light"] .loader,
html[data-theme="light"] .lang-loader {
    background:
        radial-gradient(circle at top, rgba(20, 125, 255, .22), transparent 34%),
        linear-gradient(180deg, #f7fbff 0%, #eef5ff 52%, #eaf2ff 100%);
}

html[data-theme="light"] .pro-loader,
html[data-theme="light"] .lang-box {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .90), rgba(238, 245, 255, .94)),
        rgba(255, 255, 255, .88);
    border-color: rgba(20, 125, 255, .18);
}

html[data-theme="light"] .loader-core {
    background:
        linear-gradient(135deg, rgba(20, 125, 255, .14), rgba(0, 168, 255, .08)),
        rgba(255, 255, 255, .94);
}

html[data-theme="light"] .loader-progress {
    background: rgba(7, 17, 31, .08);
    border-color: rgba(7, 17, 31, .06);
}

@media (max-width: 600px) {
    .theme-toggle {
        right: 70px;
        top: 18px;
        transform: none;
        width: 44px;
        height: 44px;
    }

    .theme-toggle:hover {
        transform: scale(1.04);
    }

    html[dir="ltr"] .theme-toggle {
        right: auto;
        left: 70px;
    }
}

/* Better Light Mode Loader */
html[data-theme="light"] .loader,
html[data-theme="light"] .lang-loader {
    background:
        radial-gradient(circle at top, rgba(20, 125, 255, .18), transparent 35%),
        radial-gradient(circle at bottom, rgba(0, 168, 255, .10), transparent 42%),
        linear-gradient(180deg, #f7fbff 0%, #eef6ff 52%, #e8f1ff 100%) !important;
}

html[data-theme="light"] .loader::before {
    background:
        linear-gradient(transparent 96%, rgba(20, 125, 255, .08) 100%);
    background-size: 100% 6px;
    opacity: .55;
}

html[data-theme="light"] .loader::after {
    background: radial-gradient(circle, rgba(20, 125, 255, .18), transparent 68%);
    filter: blur(18px);
    opacity: .75;
}

html[data-theme="light"] .pro-loader {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(238, 246, 255, .96)),
        #ffffff !important;
    border-color: rgba(20, 125, 255, .20) !important;
    box-shadow:
        0 30px 90px rgba(20, 125, 255, .16),
        0 12px 35px rgba(7, 17, 31, .08),
        inset 0 0 35px rgba(20, 125, 255, .055) !important;
}

html[data-theme="light"] .pro-loader::before {
    background: linear-gradient(135deg,
            rgba(20, 125, 255, .55),
            transparent 34%,
            rgba(0, 168, 255, .42),
            transparent 74%);
}

html[data-theme="light"] .loader-orbit>span {
    border-color: rgba(20, 125, 255, .18);
}

html[data-theme="light"] .loader-orbit>span:nth-child(1) {
    border-top-color: #147dff;
}

html[data-theme="light"] .loader-orbit>span:nth-child(2) {
    border-right-color: #00a8ff;
}

html[data-theme="light"] .loader-orbit>span:nth-child(3) {
    border-bottom-color: #0bbf6a;
}

html[data-theme="light"] .loader-core {
    background:
        linear-gradient(135deg, rgba(20, 125, 255, .12), rgba(0, 168, 255, .06)),
        #ffffff !important;
    border-color: rgba(20, 125, 255, .22) !important;
    box-shadow:
        0 0 30px rgba(20, 125, 255, .18),
        inset 0 0 18px rgba(20, 125, 255, .06) !important;
}

html[data-theme="light"] .loader-core img {
    filter: drop-shadow(0 0 12px rgba(20, 125, 255, .28));
}

html[data-theme="light"] .loader-brand {
    color: #07111f !important;
    text-shadow: 0 0 20px rgba(20, 125, 255, .18);
}

html[data-theme="light"] .loader-text {
    color: #526174 !important;
}

html[data-theme="light"] .loader-progress {
    background: rgba(7, 17, 31, .08) !important;
    border-color: rgba(7, 17, 31, .06) !important;
}

html[data-theme="light"] .loader-progress span {
    background: linear-gradient(90deg, transparent, #147dff, #00a8ff, transparent);
    box-shadow: 0 0 18px rgba(20, 125, 255, .42);
}

html[data-theme="light"] .lang-box {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(238, 246, 255, .96)),
        #ffffff !important;
    border-color: rgba(20, 125, 255, .18) !important;
    box-shadow: 0 24px 70px rgba(20, 125, 255, .14);
}

html[data-theme="light"] .lang-box i {
    color: #147dff;
}

html[data-theme="light"] .lang-box p {
    color: #526174;
}

/* Mobile Header Controls Beside Language */
@media (max-width: 600px) {
    .header {
        height: auto;
        min-height: unset;
        padding: 18px;
        display: grid;
        grid-template-columns: 44px 44px 140px;
        justify-content: center;
        align-items: center;
        gap: 12px 10px;
    }

    .logo {
        grid-column: 1 / -1;
        grid-row: 1;
        text-align: center;
        margin-bottom: 2px;
    }

    .menu-toggle,
    .theme-toggle,
    .language-box,
    html[dir="ltr"] .menu-toggle,
    html[dir="ltr"] .theme-toggle,
    html[dir="ltr"] .language-box {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
    }

    .menu-toggle {
        grid-column: 1;
        grid-row: 2;
        width: 44px;
        height: 44px;
    }

    .theme-toggle {
        grid-column: 2;
        grid-row: 2;
        width: 44px;
        height: 44px;
    }

    .language-box,
    html[dir="ltr"] .language-box {
        grid-column: 3;
        grid-row: 2;
        width: 140px;
        height: 44px;
    }

    .menu-toggle:hover,
    .theme-toggle:hover {
        transform: scale(1.04);
    }
}


/* Professional Home Hero */
.hero-pro {
    width: min(1160px, 92%);
    margin: 70px auto 56px;
    min-height: 470px;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    padding: 68px 30px;
    border-radius: 34px;
    text-align: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(77, 163, 255, .22), transparent 28%),
        radial-gradient(circle at 80% 10%, rgba(125, 211, 252, .14), transparent 30%),
        linear-gradient(180deg, rgba(17, 24, 39, .76), rgba(8, 13, 22, .78));
    border: 1px solid rgba(125, 211, 252, .16);
    box-shadow:
        0 34px 100px rgba(0, 0, 0, .34),
        inset 0 0 70px rgba(77, 163, 255, .045);
}

.hero-pro::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(transparent 96%, rgba(77, 163, 255, .055) 100%);
    background-size: 100% 7px;
    opacity: .55;
    pointer-events: none;
}

.hero-pro::after {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, .055);
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(18px);
    opacity: .65;
    pointer-events: none;
}

.hero-glow-1 {
    width: 280px;
    height: 280px;
    right: -90px;
    top: -90px;
    background: rgba(77, 163, 255, .20);
    animation: heroFloat 5s ease-in-out infinite alternate;
}

.hero-glow-2 {
    width: 240px;
    height: 240px;
    left: -80px;
    bottom: -90px;
    background: rgba(125, 211, 252, .16);
    animation: heroFloat 6s ease-in-out infinite alternate-reverse;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    margin: auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 22px;
}

.hero-badge i {
    font-size: 18px;
}

.hero-pro h1 {
    font-size: clamp(42px, 8vw, 82px);
    line-height: 1.05;
    margin-bottom: 20px;
    color: var(--silver);
    letter-spacing: -1px;
    text-shadow: 0 0 35px rgba(77, 163, 255, .16);
}

.hero-pro p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.hero-btn {
    min-width: 210px;
    height: 58px;
    padding: 0 24px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: .3s ease;
}

.hero-btn i {
    font-size: 23px;
}

.hero-btn-primary {
    color: #07111f;
    background: linear-gradient(90deg, var(--primary), var(--primary2), var(--silver));
    box-shadow: 0 20px 55px rgba(77, 163, 255, .28);
}

.hero-btn-secondary {
    color: var(--primary2);
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(125, 211, 252, .26);
    box-shadow: inset 0 0 28px rgba(77, 163, 255, .035);
}

.hero-btn:hover {
    transform: translateY(-5px);
}

.hero-btn-primary:hover {
    box-shadow: 0 28px 70px rgba(77, 163, 255, .38);
}

.hero-btn-secondary:hover {
    background: rgba(125, 211, 252, .10);
    border-color: rgba(125, 211, 252, .45);
}

.hero-stats {
    width: min(620px, 100%);
    margin: 34px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.hero-stats div {
    min-height: 82px;
    padding: 14px 10px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(77, 163, 255, .10), rgba(125, 211, 252, .035)),
        rgba(255, 255, 255, .045);
    border: 1px solid rgba(125, 211, 252, .12);
    display: grid;
    place-items: center;
}

.hero-stats strong {
    color: var(--silver);
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.hero-stats span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

@keyframes heroFloat {
    from {
        transform: translateY(0) scale(.96);
    }

    to {
        transform: translateY(18px) scale(1.06);
    }
}

/* Light Mode Hero */
html[data-theme="light"] .hero-pro {
    background:
        radial-gradient(circle at 20% 20%, rgba(20, 125, 255, .16), transparent 28%),
        radial-gradient(circle at 80% 10%, rgba(0, 168, 255, .10), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(238, 245, 255, .88));
    border-color: rgba(20, 125, 255, .14);
    box-shadow:
        0 34px 100px rgba(20, 125, 255, .12),
        inset 0 0 70px rgba(20, 125, 255, .045);
}

html[data-theme="light"] .hero-pro::before {
    background: linear-gradient(transparent 96%, rgba(20, 125, 255, .075) 100%);
    background-size: 100% 7px;
}

html[data-theme="light"] .hero-btn-secondary {
    color: #147dff;
    background: rgba(20, 125, 255, .06);
    border-color: rgba(20, 125, 255, .20);
}

html[data-theme="light"] .hero-stats div {
    background:
        linear-gradient(135deg, rgba(20, 125, 255, .08), rgba(0, 168, 255, .035)),
        rgba(255, 255, 255, .72);
    border-color: rgba(20, 125, 255, .12);
}

/* Mobile Hero */
@media (max-width: 600px) {
    .hero-pro {
        width: calc(100% - 20px);
        margin: 46px auto 38px;
        min-height: auto;
        padding: 48px 18px;
        border-radius: 26px;
    }

    .hero-pro h1 {
        font-size: 40px;
        line-height: 1.12;
    }

    .hero-pro p {
        font-size: 15px;
        line-height: 1.8;
    }

    .hero-actions {
        margin-top: 26px;
        gap: 12px;
    }

    .hero-btn {
        width: 100%;
        min-width: unset;
        height: 56px;
        font-size: 15px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        margin-top: 26px;
    }

    .hero-stats div {
        min-height: 70px;
    }
}

/* Explore Tools Button - Light Mode */
html[data-theme="light"] .hero-btn-primary {
    position: relative;
    overflow: hidden;
    color: #ffffff !important;
    background:
        linear-gradient(135deg, #0057ff 0%, #147dff 48%, #00c2ff 100%) !important;
    border: 1px solid rgba(20, 125, 255, .55);
    box-shadow:
        0 22px 60px rgba(20, 125, 255, .34),
        0 8px 22px rgba(0, 168, 255, .18),
        inset 0 1px 0 rgba(255, 255, 255, .32) !important;
    text-shadow: 0 1px 2px rgba(0, 34, 90, .28);
}

html[data-theme="light"] .hero-btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg,
            transparent 0%,
            rgba(255, 255, 255, .42) 45%,
            transparent 70%);
    transform: translateX(-120%);
    transition: .65s ease;
}

html[data-theme="light"] .hero-btn-primary:hover::before {
    transform: translateX(120%);
}

html[data-theme="light"] .hero-btn-primary:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 168, 255, .75);
    box-shadow:
        0 30px 75px rgba(20, 125, 255, .46),
        0 12px 34px rgba(0, 168, 255, .24),
        inset 0 1px 0 rgba(255, 255, 255, .42) !important;
}

html[data-theme="light"] .hero-btn-primary i,
html[data-theme="light"] .hero-btn-primary span {
    position: relative;
    z-index: 2;
}

html[data-theme="light"] .hero-btn-primary i {
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 34, 90, .28));
}

/* Clean Light Mode Shadows */
html[data-theme="light"] .header,
html[data-theme="light"] .footer,
html[data-theme="light"] .card,
html[data-theme="light"] .soon-card,
html[data-theme="light"] .hero-pro,
html[data-theme="light"] .hero-stats div,
html[data-theme="light"] .menu-toggle,
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .side-menu-links a,
html[data-theme="light"] .lang-box,
html[data-theme="light"] .pro-loader {
    box-shadow:
        0 18px 50px rgba(20, 125, 255, .08),
        0 6px 18px rgba(7, 17, 31, .045) !important;
}

html[data-theme="light"] .card:hover,
html[data-theme="light"] .hero-btn:hover,
html[data-theme="light"] .side-menu-links a:hover,
html[data-theme="light"] .menu-toggle:hover,
html[data-theme="light"] .theme-toggle:hover {
    box-shadow:
        0 22px 58px rgba(20, 125, 255, .13),
        0 8px 22px rgba(7, 17, 31, .055) !important;
}

html[data-theme="light"] .side-menu {
    box-shadow:
        -22px 0 60px rgba(20, 125, 255, .10),
        -8px 0 22px rgba(7, 17, 31, .045) !important;
}

html[dir="ltr"][data-theme="light"] .side-menu {
    box-shadow:
        22px 0 60px rgba(20, 125, 255, .10),
        8px 0 22px rgba(7, 17, 31, .045) !important;
}

html[data-theme="light"] .scroll-top-btn {
    box-shadow:
        0 16px 38px rgba(20, 125, 255, .22),
        0 6px 16px rgba(7, 17, 31, .06) !important;
}

html[data-theme="light"] .scroll-top-btn:hover {
    box-shadow:
        0 22px 52px rgba(20, 125, 255, .30),
        0 8px 20px rgba(7, 17, 31, .07) !important;
}

html[data-theme="light"] .side-menu-links a i {
    box-shadow:
        0 12px 28px rgba(20, 125, 255, .20) !important;
}

html[data-theme="light"] .loader-core {
    box-shadow:
        0 0 26px rgba(20, 125, 255, .16),
        inset 0 0 16px rgba(20, 125, 255, .045) !important;
}

html[data-theme="light"] .loader-progress span {
    box-shadow:
        0 0 16px rgba(20, 125, 255, .35) !important;
}

html[data-theme="light"] .logo,
html[data-theme="light"] .side-brand,
html[data-theme="light"] .hero-pro h1,
html[data-theme="light"] .loader-brand {
    text-shadow: none !important;
}

html[data-theme="light"] .menu-toggle i,
html[data-theme="light"] .theme-toggle i,
html[data-theme="light"] .loader-core img {
    filter: none !important;
}

/* Remove Burger + Theme Toggle Shadows */
.menu-toggle,
.theme-toggle,
.menu-toggle:hover,
.theme-toggle:hover,
html[data-theme="light"] .menu-toggle,
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .menu-toggle:hover,
html[data-theme="light"] .theme-toggle:hover {
    box-shadow: none !important;
}

.menu-toggle i,
.theme-toggle i,
html[data-theme="light"] .menu-toggle i,
html[data-theme="light"] .theme-toggle i {
    filter: none !important;
    text-shadow: none !important;
}

/* Main Script Button - Light Mode */
html[data-theme="light"] .card-actions .btn:not(.demo-btn) {
    position: relative;
    overflow: hidden;
    color: #ffffff !important;
    background:
        linear-gradient(135deg, #0057ff 0%, #147dff 48%, #00b8ff 100%) !important;
    border: 1px solid rgba(20, 125, 255, .42) !important;
    box-shadow:
        0 14px 34px rgba(20, 125, 255, .20),
        inset 0 1px 0 rgba(255, 255, 255, .28) !important;
}

html[data-theme="light"] .card-actions .btn:not(.demo-btn)::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg,
            transparent 0%,
            rgba(255, 255, 255, .34) 45%,
            transparent 70%);
    transform: translateX(-120%);
    transition: .6s ease;
}

html[data-theme="light"] .card-actions .btn:not(.demo-btn):hover::before {
    transform: translateX(120%);
}

html[data-theme="light"] .card-actions .btn:not(.demo-btn):hover {
    transform: translateY(-3px);
    border-color: rgba(0, 184, 255, .60) !important;
    box-shadow:
        0 18px 42px rgba(20, 125, 255, .28),
        inset 0 1px 0 rgba(255, 255, 255, .35) !important;
}

html[data-theme="light"] .card-actions .btn:not(.demo-btn) span,
html[data-theme="light"] .card-actions .btn:not(.demo-btn) i {
    position: relative;
    z-index: 2;
}

/* Mobile Header: Controls Top / Logo Bottom */
@media (max-width: 600px) {
    .header {
        height: auto;
        min-height: unset;
        padding: 18px;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center;
        justify-content: center;
        gap: 12px 10px;
    }

    .language-box,
    .theme-toggle,
    .menu-toggle,
    html[dir="ltr"] .language-box,
    html[dir="ltr"] .theme-toggle,
    html[dir="ltr"] .menu-toggle {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
    }

    .language-box,
    html[dir="ltr"] .language-box {
        order: 1;
        width: 150px;
        height: 44px;
        flex: 0 0 150px;
    }

    .theme-toggle {
        order: 2;
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
    }

    .menu-toggle {
        order: 3;
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
    }

    .logo {
        order: 4;
        width: 100%;
        flex: 0 0 100%;
        text-align: center;
        margin-top: 2px;
    }

    .menu-toggle:hover,
    .theme-toggle:hover {
        transform: scale(1.04) !important;
    }
}

/* Premium Sidebar Links - Light Mode */
html[data-theme="light"] .side-menu-links a {
    position: relative;
    overflow: hidden;
    color: #07111f !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(242, 248, 255, .92)) !important;
    border: 1px solid rgba(20, 125, 255, .14) !important;
    box-shadow: none !important;
}

html[data-theme="light"] .side-menu-links a::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: .3s ease;
    pointer-events: none;
}

html[data-theme="light"] .side-menu-links a:hover {
    transform: translateX(-5px);
    color: #07111f !important;
    border-color: rgba(20, 125, 255, .24) !important;
    box-shadow: none !important;
}

html[dir="ltr"][data-theme="light"] .side-menu-links a:hover {
    transform: translateX(5px);
}

html[data-theme="light"] .side-menu-links a:hover::before {
    opacity: 1;
}

/* Telegram */
html[data-theme="light"] .side-menu-links a:nth-child(1) {
    background:
        linear-gradient(135deg, rgba(34, 158, 217, .12), rgba(255, 255, 255, .94)) !important;
    border-color: rgba(34, 158, 217, .20) !important;
}

html[data-theme="light"] .side-menu-links a:nth-child(1)::before {
    background:
        radial-gradient(circle at right, rgba(34, 158, 217, .18), transparent 48%);
}

html[data-theme="light"] .side-menu-links a:nth-child(1) i {
    color: #ffffff !important;
    background: linear-gradient(135deg, #229ed9, #4db8ff) !important;
    box-shadow: none !important;
}

html[data-theme="light"] .side-menu-links a:nth-child(1):hover {
    border-color: rgba(34, 158, 217, .38) !important;
    background:
        linear-gradient(135deg, rgba(34, 158, 217, .18), rgba(255, 255, 255, .96)) !important;
}

/* YouTube */
html[data-theme="light"] .side-menu-links a:nth-child(2) {
    background:
        linear-gradient(135deg, rgba(255, 0, 0, .10), rgba(255, 255, 255, .94)) !important;
    border-color: rgba(255, 0, 0, .18) !important;
}

html[data-theme="light"] .side-menu-links a:nth-child(2)::before {
    background:
        radial-gradient(circle at right, rgba(255, 0, 0, .14), transparent 48%);
}

html[data-theme="light"] .side-menu-links a:nth-child(2) i {
    color: #ffffff !important;
    background: linear-gradient(135deg, #ff0033, #ff4b4b) !important;
    box-shadow: none !important;
}

html[data-theme="light"] .side-menu-links a:nth-child(2):hover {
    border-color: rgba(255, 0, 0, .32) !important;
    background:
        linear-gradient(135deg, rgba(255, 0, 0, .16), rgba(255, 255, 255, .96)) !important;
}

/* Text Above Glow */
html[data-theme="light"] .side-menu-links a span,
html[data-theme="light"] .side-menu-links a i {
    position: relative;
    z-index: 2;
}

/* Hero Background Same As Header */
.hero-pro {
    background: rgba(17, 24, 39, .78) !important;
    border: 1px solid var(--line) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: none !important;
}

.hero-pro::before,
.hero-pro::after,
.hero-glow {
    display: none !important;
}

/* Light Mode Hero Same As Header */
html[data-theme="light"] .hero-pro {
    background: rgba(255, 255, 255, .78) !important;
    border-color: rgba(7, 17, 31, .10) !important;
    box-shadow: 0 18px 55px rgba(20, 125, 255, .10) !important;
}

/* Mobile Padding Fix */
@media (max-width: 600px) {
    .hero-pro {
        width: calc(100% - 28px) !important;
        padding: 46px 26px !important;
        border-radius: 26px !important;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding-inline: 4px;
    }
}

/* Compact Hero Stats On Mobile */
@media (max-width: 600px) {
    .hero-stats {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 7px !important;
        margin-top: 22px !important;
    }

    .hero-stats div {
        min-height: 48px !important;
        padding: 8px 4px !important;
        border-radius: 13px !important;
        gap: 2px !important;
    }

    .hero-stats strong {
        font-size: 15px !important;
        line-height: 1 !important;
    }

    .hero-stats span {
        font-size: 10px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 360px) {
    .hero-stats {
        gap: 5px !important;
    }

    .hero-stats div {
        padding: 7px 3px !important;
        border-radius: 12px !important;
    }

    .hero-stats strong {
        font-size: 14px !important;
    }

    .hero-stats span {
        font-size: 9px !important;
    }
}

/* Correct Tool Card Header */
.tool-card-head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
    direction: ltr;
}

.tool-card-head h2 {
    margin: 0 !important;
    flex: 1;
    text-align: left;
    font-size: 26px;
    line-height: 1.15;
    letter-spacing: .3px;
}

.tool-card-head .card-icon {
    width: 82px;
    height: 82px;
    min-width: 82px;
    margin: 0 !important;
    border-radius: 22px;
}

.tool-badges-row {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    margin-bottom: 22px;
}

.tool-badges-row .free-badge,
.tool-badges-row .hero-online {
    margin: 0;
    white-space: nowrap;
}

/* Mobile */
@media (max-width: 600px) {
    .tool-card-head {
        gap: 14px;
        margin-bottom: 14px;
    }

    .tool-card-head h2 {
        font-size: 22px;
    }

    .tool-card-head .card-icon {
        width: 68px;
        height: 68px;
        min-width: 68px;
        border-radius: 18px;
    }

    .tool-badges-row {
        gap: 8px !important;
        margin-bottom: 20px;
    }

    .tool-badges-row .free-badge,
    .tool-badges-row .hero-online {
        padding: 7px 11px;
        font-size: 12px;
    }

    .tool-badges-row .free-badge i {
        font-size: 15px;
    }
}

/* Bigger Script Name On Mobile */
@media (max-width: 600px) {
    .tool-card-head h2 {
        font-size: 32px !important;
        line-height: 1.15 !important;
        font-weight: 700 !important;
        letter-spacing: .2px !important;
    }
}

@media (max-width: 360px) {
    .tool-card-head h2 {
        font-size: 26px !important;
    }
}

/* Compatible Platforms Section */
.compat-section {
    width: min(1160px, 92%);
    margin: 0 auto 66px;
}

.compat-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 22px;
}

.compat-title h2 {
    color: var(--silver);
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

.compat-title span {
    width: 86px;
    height: 2px;
    position: relative;
    background: linear-gradient(90deg, transparent, rgba(147, 51, 234, .75), transparent);
}

.compat-title span::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #9333ea;
    box-shadow: 0 0 16px rgba(147, 51, 234, .95);
    transform: translateY(-50%);
}

.compat-title span:first-child::after {
    right: 0;
}

.compat-title span:last-child::after {
    left: 0;
}

.compat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.compat-card {
    min-height: 128px;
    padding: 24px 18px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(17, 24, 39, .68), rgba(8, 13, 22, .78)),
        rgba(17, 24, 39, .68);
    border: 1px solid rgba(125, 211, 252, .12);
    display: grid;
    place-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: .32s ease;
}

.compat-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(147, 51, 234, .13), transparent 45%),
        radial-gradient(circle at 50% 100%, rgba(77, 163, 255, .08), transparent 40%);
    pointer-events: none;
}

.compat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(147, 51, 234, .34);
}

.platform-logo {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-family: "Poppins", sans-serif !important;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 700;
    font-style: italic;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.platform-linebet {
    text-shadow:
        0 10px 0 rgba(70, 64, 255, .35),
        0 0 26px rgba(255, 255, 255, .08);
}

.platform-melbet span {
    color: #ffffff;
}

.platform-melbet b {
    color: #8b35ff;
    font-weight: 700;
    text-shadow: 0 0 18px rgba(139, 53, 255, .36);
}

.platform-1xbet span {
    color: #ffffff;
}

.platform-1xbet b {
    color: #147dff;
    font-weight: 700;
    text-shadow: 0 0 18px rgba(20, 125, 255, .38);
}

.compat-status {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #7c5cff;
    font-size: 16px;
    font-weight: 700;
}

.compat-status i {
    font-size: 20px;
    color: #6c63ff;
    filter: drop-shadow(0 0 10px rgba(108, 99, 255, .55));
}

/* Light Mode */
html[data-theme="light"] .compat-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(238, 245, 255, .88)),
        #ffffff;
    border-color: rgba(20, 125, 255, .12);
}

html[data-theme="light"] .compat-card::before {
    background:
        radial-gradient(circle at 50% 0%, rgba(147, 51, 234, .10), transparent 45%),
        radial-gradient(circle at 50% 100%, rgba(20, 125, 255, .08), transparent 40%);
}

html[data-theme="light"] .compat-card:hover {
    border-color: rgba(147, 51, 234, .24);
}

html[data-theme="light"] .platform-logo {
    color: #07111f;
}

html[data-theme="light"] .platform-linebet {
    color: #07111f;
    text-shadow:
        0 8px 0 rgba(70, 64, 255, .16),
        0 0 20px rgba(20, 125, 255, .08);
}

html[data-theme="light"] .platform-melbet span,
html[data-theme="light"] .platform-1xbet span {
    color: #07111f;
}

html[data-theme="light"] .compat-status {
    color: #6d4cff;
}

/* Mobile */
@media (max-width: 700px) {
    .compat-section {
        width: calc(100% - 20px);
        margin-bottom: 52px;
    }

    .compat-title {
        gap: 10px;
        margin-bottom: 18px;
    }

    .compat-title h2 {
        font-size: 19px;
        white-space: nowrap;
    }

    .compat-title span {
        width: 42px;
    }

    .compat-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .compat-card {
        min-height: 104px;
        padding: 20px 14px;
        border-radius: 17px;
    }

    .platform-logo {
        font-size: 38px;
        margin-bottom: 14px;
    }

    .compat-status {
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .compat-title h2 {
        font-size: 17px;
    }

    .compat-title span {
        width: 30px;
    }

    .platform-logo {
        font-size: 34px;
    }
}

/* Fix Compatible Platforms Colors - Use Site Blue Only */
.compat-title span {
    background: linear-gradient(90deg,
            transparent,
            rgba(77, 163, 255, .75),
            transparent) !important;
}

.compat-title span::after {
    background: var(--primary) !important;
    box-shadow: 0 0 16px rgba(77, 163, 255, .75) !important;
}

.compat-card::before {
    background:
        radial-gradient(circle at 50% 0%, rgba(77, 163, 255, .13), transparent 45%),
        radial-gradient(circle at 50% 100%, rgba(125, 211, 252, .08), transparent 40%) !important;
}

.compat-card:hover {
    border-color: rgba(77, 163, 255, .34) !important;
}

.platform-melbet b {
    color: var(--primary2) !important;
    text-shadow: 0 0 18px rgba(77, 163, 255, .32) !important;
}

.compat-status {
    color: var(--primary2) !important;
}

.compat-status i {
    color: var(--primary) !important;
    filter: drop-shadow(0 0 10px rgba(77, 163, 255, .45)) !important;
}

/* Light Mode - No Shadows + Same Site Colors */
html[data-theme="light"] .compat-card,
html[data-theme="light"] .compat-card:hover,
html[data-theme="light"] .platform-logo,
html[data-theme="light"] .platform-linebet,
html[data-theme="light"] .platform-melbet b,
html[data-theme="light"] .platform-1xbet b,
html[data-theme="light"] .compat-status,
html[data-theme="light"] .compat-status i,
html[data-theme="light"] .compat-title span::after {
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
}

html[data-theme="light"] .compat-title span {
    background: linear-gradient(90deg,
            transparent,
            rgba(20, 125, 255, .55),
            transparent) !important;
}

html[data-theme="light"] .compat-title span::after {
    background: #147dff !important;
}

html[data-theme="light"] .compat-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(238, 245, 255, .90)),
        #ffffff !important;
    border-color: rgba(20, 125, 255, .14) !important;
}

html[data-theme="light"] .compat-card::before {
    background:
        radial-gradient(circle at 50% 0%, rgba(20, 125, 255, .08), transparent 45%),
        radial-gradient(circle at 50% 100%, rgba(0, 168, 255, .06), transparent 40%) !important;
}

html[data-theme="light"] .compat-card:hover {
    border-color: rgba(20, 125, 255, .28) !important;
}

html[data-theme="light"] .platform-melbet b,
html[data-theme="light"] .platform-1xbet b {
    color: #147dff !important;
}

html[data-theme="light"] .compat-status,
html[data-theme="light"] .compat-status i {
    color: #147dff !important;
}

/* Remove LINEBET Text Shadow */
.platform-linebet,
html[data-theme="light"] .platform-linebet {
    text-shadow: none !important;
    filter: none !important;
    box-shadow: none !important;
}

/* Fix Compatible Section Site Padding */
@media (max-width: 700px) {
    .compat-section {
        width: 92% !important;
        max-width: 1160px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .compat-card {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }
}

@media (max-width: 360px) {
    .compat-section {
        width: 92% !important;
    }

    .compat-card {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* MELBET - Orange BET */
.platform-melbet b,
html[data-theme="light"] .platform-melbet b {
    color: #ff9f1c !important;
    text-shadow: none !important;
    filter: none !important;
}

/* Dark mode slight professional glow only */
html:not([data-theme="light"]) .platform-melbet b {
    text-shadow: 0 0 16px rgba(255, 159, 28, .35) !important;
}

/* Bonus Dialog */
.bonus-open-btn {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.bonus-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: .35s ease;
}

.bonus-modal.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.bonus-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 14, .72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.bonus-dialog {
    position: relative;
    width: min(460px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 34px 24px 24px;
    border-radius: 30px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(77, 163, 255, .18), transparent 38%),
        linear-gradient(180deg, rgba(17, 24, 39, .96), rgba(8, 13, 22, .98));
    border: 1px solid rgba(125, 211, 252, .18);
    box-shadow:
        0 34px 100px rgba(0, 0, 0, .40),
        inset 0 0 45px rgba(77, 163, 255, .045);
    transform: translateY(28px) scale(.94);
    transition: .42s cubic-bezier(.2, .9, .2, 1);
}

.bonus-modal.show .bonus-dialog {
    transform: translateY(0) scale(1);
}

.bonus-close {
    position: absolute;
    top: 16px;
    inset-inline-end: 16px;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    border: 1px solid rgba(125, 211, 252, .20);
    background: rgba(255, 255, 255, .055);
    color: var(--primary2);
    font-size: 26px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: .3s ease;
}

.bonus-close:hover {
    background: var(--primary2);
    color: #07111f;
    transform: rotate(90deg);
}

.bonus-gift-wrap {
    width: 98px;
    height: 98px;
    margin: 0 auto 18px;
    position: relative;
    display: grid;
    place-items: center;
}

.bonus-gift-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(77, 163, 255, .20);
    filter: blur(14px);
    animation: bonusGlow 1.6s ease-in-out infinite alternate;
}

.bonus-gift-icon {
    position: relative;
    width: 74px;
    height: 74px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    color: #07111f;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    border: 1px solid rgba(255, 255, 255, .24);
    animation: giftFloat 1.7s ease-in-out infinite alternate;
}

.bonus-gift-icon i {
    font-size: 42px;
}

.bonus-mini-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--primary2);
    background: rgba(77, 163, 255, .09);
    border: 1px solid rgba(77, 163, 255, .18);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
}

.bonus-dialog h2 {
    color: var(--silver);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 12px;
}

.bonus-dialog p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
    margin: 0 auto 18px;
}

.bonus-platforms {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 18px;
}

.bonus-platforms span {
    padding: 8px 13px;
    border-radius: 12px;
    color: var(--silver);
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(125, 211, 252, .12);
    font-size: 13px;
    font-weight: 700;
}

.promo-code-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(77, 163, 255, .14), rgba(125, 211, 252, .045)),
        rgba(255, 255, 255, .045);
    border: 1px solid rgba(125, 211, 252, .18);
    margin-bottom: 14px;
}

.promo-code-box div {
    text-align: start;
}

.promo-code-box small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 5px;
}

.promo-code-box strong {
    display: block;
    color: var(--silver);
    font-family: "Poppins", sans-serif !important;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.promo-copy-btn {
    width: 92px;
    height: 48px;
    border: none;
    border-radius: 15px;
    color: #07111f;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s ease;
}

.promo-copy-btn i {
    font-size: 21px;
}

.promo-copy-btn:hover {
    transform: translateY(-3px);
}

.bonus-note {
    font-size: 13px !important;
    margin-bottom: 0 !important;
}

@keyframes giftFloat {
    from {
        transform: translateY(0) rotate(-4deg);
    }

    to {
        transform: translateY(-8px) rotate(5deg);
    }
}

@keyframes bonusGlow {
    from {
        opacity: .45;
        transform: scale(.9);
    }

    to {
        opacity: .95;
        transform: scale(1.08);
    }
}

/* Light Mode Bonus Dialog */
html[data-theme="light"] .bonus-modal-backdrop {
    background: rgba(235, 244, 255, .72);
}

html[data-theme="light"] .bonus-dialog {
    background:
        radial-gradient(circle at 50% 0%, rgba(20, 125, 255, .12), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(238, 245, 255, .96));
    border-color: rgba(20, 125, 255, .16);
    box-shadow: none !important;
}

html[data-theme="light"] .bonus-close {
    background: rgba(20, 125, 255, .08);
    border-color: rgba(20, 125, 255, .16);
    color: #147dff;
}

html[data-theme="light"] .bonus-platforms span {
    color: #07111f;
    background: rgba(20, 125, 255, .07);
    border-color: rgba(20, 125, 255, .12);
}

html[data-theme="light"] .promo-code-box {
    background:
        linear-gradient(135deg, rgba(20, 125, 255, .09), rgba(0, 168, 255, .035)),
        rgba(255, 255, 255, .76);
    border-color: rgba(20, 125, 255, .14);
}

html[data-theme="light"] .promo-code-box strong {
    color: #07111f;
}

html[data-theme="light"] .bonus-gift-glow,
html[data-theme="light"] .bonus-gift-icon,
html[data-theme="light"] .promo-copy-btn {
    box-shadow: none !important;
}

/* Mobile */
@media (max-width: 480px) {
    .bonus-dialog {
        padding: 30px 18px 20px;
        border-radius: 26px;
    }

    .bonus-dialog h2 {
        font-size: 28px;
    }

    .bonus-dialog p {
        font-size: 14px;
    }

    .promo-code-box {
        padding: 14px;
        gap: 10px;
    }

    .promo-code-box strong {
        font-size: 31px;
    }

    .promo-copy-btn {
        width: 82px;
        height: 46px;
        font-size: 13px;
    }
}

/* Features Dialog */
.features-open-btn {
    border: 1px solid rgba(125, 211, 252, .35);
    cursor: pointer;
    font-family: inherit;
}

.features-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: .35s ease;
}

.features-modal.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.features-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 14, .74);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.features-dialog {
    position: relative;
    width: min(720px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 34px 24px 24px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 50% 0%, rgba(77, 163, 255, .16), transparent 38%),
        linear-gradient(180deg, rgba(17, 24, 39, .96), rgba(8, 13, 22, .98));
    border: 1px solid rgba(125, 211, 252, .18);
    box-shadow:
        0 34px 100px rgba(0, 0, 0, .42),
        inset 0 0 45px rgba(77, 163, 255, .045);
    transform: translateY(26px) scale(.94);
    transition: .42s cubic-bezier(.2, .9, .2, 1);
}

.features-modal.show .features-dialog {
    transform: translateY(0) scale(1);
}

.features-close {
    position: absolute;
    top: 16px;
    inset-inline-end: 16px;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    border: 1px solid rgba(125, 211, 252, .20);
    background: rgba(255, 255, 255, .055);
    color: var(--primary2);
    font-size: 26px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: .3s ease;
}

.features-close:hover {
    background: var(--primary2);
    color: #07111f;
    transform: rotate(90deg);
}

.features-head {
    text-align: center;
    margin-bottom: 22px;
}

.features-mini-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--primary2);
    background: rgba(77, 163, 255, .09);
    border: 1px solid rgba(77, 163, 255, .18);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
}

.features-head h2 {
    color: var(--silver);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.18;
    margin-bottom: 10px;
}

.features-head p {
    max-width: 560px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.feature-box {
    min-height: 118px;
    padding: 16px 10px;
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(77, 163, 255, .12), rgba(125, 211, 252, .04)),
        rgba(255, 255, 255, .045);
    border: 1px solid rgba(125, 211, 252, .14);
    display: grid;
    place-items: center;
    text-align: center;
    gap: 9px;
}

.feature-box i {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    color: #07111f;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    font-size: 25px;
}

.feature-box strong {
    color: var(--silver);
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.usage-block {
    border-radius: 24px;
    padding: 18px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(125, 211, 252, .12);
}

.usage-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
}

.usage-title i {
    color: var(--primary2);
    font-size: 25px;
}

.usage-title h3 {
    color: var(--silver);
    font-size: 22px;
    font-weight: 700;
}

.usage-steps {
    display: grid;
    gap: 12px;
}

.usage-step {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 13px;
    padding: 14px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(77, 163, 255, .08), rgba(125, 211, 252, .025)),
        rgba(255, 255, 255, .035);
    border: 1px solid rgba(125, 211, 252, .10);
}

.usage-step>span {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #07111f;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    font-family: "Poppins", sans-serif !important;
    font-size: 17px;
    font-weight: 700;
}

.usage-step h4 {
    color: var(--silver);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 5px;
}

.usage-step p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
    margin: 0;
}

.usage-alert {
    margin-top: 14px;
    padding: 14px;
    border-radius: 18px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(77, 163, 255, .08);
    border: 1px solid rgba(77, 163, 255, .16);
}

.usage-alert i {
    color: var(--primary2);
    font-size: 23px;
    margin-top: 2px;
}

.usage-alert p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
}

/* Light Mode */
html[data-theme="light"] .features-modal-backdrop {
    background: rgba(235, 244, 255, .74);
}

html[data-theme="light"] .features-dialog {
    background:
        radial-gradient(circle at 50% 0%, rgba(20, 125, 255, .10), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(238, 245, 255, .96));
    border-color: rgba(20, 125, 255, .16);
    box-shadow: none !important;
}

html[data-theme="light"] .features-close,
html[data-theme="light"] .feature-box,
html[data-theme="light"] .usage-block,
html[data-theme="light"] .usage-step,
html[data-theme="light"] .usage-alert {
    box-shadow: none !important;
}

html[data-theme="light"] .features-close {
    background: rgba(20, 125, 255, .08);
    border-color: rgba(20, 125, 255, .16);
    color: #147dff;
}

html[data-theme="light"] .feature-box {
    background:
        linear-gradient(135deg, rgba(20, 125, 255, .08), rgba(0, 168, 255, .03)),
        rgba(255, 255, 255, .76);
    border-color: rgba(20, 125, 255, .12);
}

html[data-theme="light"] .usage-block {
    background: rgba(255, 255, 255, .64);
    border-color: rgba(20, 125, 255, .12);
}

html[data-theme="light"] .usage-step {
    background:
        linear-gradient(135deg, rgba(20, 125, 255, .07), rgba(0, 168, 255, .025)),
        rgba(255, 255, 255, .72);
    border-color: rgba(20, 125, 255, .10);
}

html[data-theme="light"] .usage-alert {
    background: rgba(20, 125, 255, .065);
    border-color: rgba(20, 125, 255, .13);
}

/* Mobile */
@media (max-width: 600px) {
    .features-dialog {
        padding: 30px 16px 18px;
        border-radius: 26px;
    }

    .features-head h2 {
        font-size: 26px;
    }

    .features-head p {
        font-size: 14px;
    }

    .features-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .feature-box {
        min-height: 88px;
        padding: 11px 5px;
        border-radius: 15px;
    }

    .feature-box i {
        width: 36px;
        height: 36px;
        border-radius: 12px;
        font-size: 20px;
    }

    .feature-box strong {
        font-size: 11px;
    }

    .usage-block {
        padding: 14px;
    }

    .usage-step {
        grid-template-columns: 46px 1fr;
        gap: 10px;
        padding: 12px;
    }

    .usage-step>span {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        font-size: 15px;
    }

    .usage-step h4 {
        font-size: 15px;
    }

    .usage-step p {
        font-size: 13px;
    }
}

/* Mobile Features Dialog Safe Spacing + Inner Scroll */
@media (max-width: 600px) {
    .features-modal {
        align-items: start !important;
        place-items: unset !important;
        padding:
            calc(env(safe-area-inset-top, 0px) + 28px) 14px calc(env(safe-area-inset-bottom, 0px) + 24px) !important;
        overflow-y: auto !important;
    }

    .features-dialog {
        width: 100% !important;
        max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 130px) !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 30px 16px 18px !important;
        border-radius: 26px !important;
        margin: 0 auto !important;
    }

    .features-dialog::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    .features-head {
        padding-top: 4px;
    }

    .features-close {
        top: 14px !important;
        inset-inline-end: 14px !important;
    }
}

.blue-word {
    display: inline-block;
    color: var(--primary2);
    background: none;
    -webkit-text-fill-color: currentColor;
    text-shadow: none;
    position: relative;
    line-height: 1.35;
    padding-bottom: 6px;
    vertical-align: baseline;
}

.hero-stats.hero-stats-pro {
    width: min(760px, 100%);
    margin: 34px auto 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
}

.hero-stat-card {
    min-width: 0;
    padding: 24px 18px 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(125, 211, 252, .14);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    box-shadow: none !important;
}

.hero-stat-icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    background: rgba(77, 163, 255, .10);
    border: 1px solid rgba(125, 211, 252, .18);
    color: var(--primary2);
    box-shadow: none !important;
}

.hero-stat-icon i {
    font-size: 34px;
    line-height: 1;
    text-shadow: none !important;
    filter: none !important;
}

.hero-stat-number {
    color: var(--silver) !important;
    font-size: 44px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    margin: 0 !important;
}

.hero-stat-title {
    color: var(--silver) !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    margin: 0 !important;
}

.hero-stat-desc {
    margin: 0 !important;
    color: var(--muted) !important;
    font-size: 17px !important;
    font-weight: 700;
    line-height: 1.7 !important;
}

html[data-theme="light"] .hero-stat-card {
    background: rgba(20, 125, 255, .045);
    border-color: rgba(20, 125, 255, .14);
    box-shadow: none !important;
}

html[data-theme="light"] .hero-stat-icon {
    background: rgba(20, 125, 255, .08);
    border-color: rgba(20, 125, 255, .16);
    color: var(--primary);
    box-shadow: none !important;
}

html[data-theme="light"] .hero-stat-icon i,
html[data-theme="light"] .hero-stat-number,
html[data-theme="light"] .hero-stat-title,
html[data-theme="light"] .hero-stat-desc {
    text-shadow: none !important;
    filter: none !important;
    box-shadow: none !important;
}

@media (max-width: 600px) {
    .hero-stats.hero-stats-pro {
        width: 100% !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        margin-top: 26px !important;
    }

    .hero-stat-card {
        padding: 18px 12px 16px;
        border-radius: 20px;
        gap: 8px;
    }

    .hero-stat-icon {
        width: 56px;
        height: 56px;
        border-radius: 18px;
    }

    .hero-stat-icon i {
        font-size: 28px;
    }

    .hero-stat-number {
        font-size: 34px !important;
    }

    .hero-stat-title {
        font-size: 22px !important;
    }

    .hero-stat-desc {
        font-size: 13px !important;
        line-height: 1.6 !important;
    }
}


.logo {
    line-height: 1.25;
    overflow: visible;
}

.logo a {
    display: inline-flex;
    flex-direction: row;
    direction: ltr;
    unicode-bidi: isolate;
    align-items: baseline;
    line-height: 1.25;
    padding-bottom: 4px;
    color: inherit;
    text-decoration: none;
    overflow: visible;
}

.logo-vex,
.logo-play {
    display: inline-block;
    line-height: 1.25;
    padding-bottom: 4px;
    text-shadow: none !important;
}

.logo-vex {
    color: #ffffff;
}

.logo-play {
    color: var(--primary2);
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .logo-vex {
    color: #07111f;
}

.script-card,
.script-card:hover {
    min-height: 380px !important;
    height: 100%;
    padding: 22px !important;
    border-radius: 26px !important;
    background: linear-gradient(180deg, var(--card2), var(--card)) !important;
    border: 1px solid var(--line) !important;
    box-shadow: none !important;
    transform: none !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.script-card *,
.script-card *::before,
.script-card *::after {
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
}

.script-card-main {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.script-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 15px;
    border-radius: 999px;
    background: rgba(77, 163, 255, .08);
    border: 1px solid rgba(125, 211, 252, .14);
    color: var(--primary2);
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
}

.script-status-badge b {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary2);
}

.script-head-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 142px;
    align-items: center;
    gap: 16px;
    direction: ltr;
}

.script-title-wrap {
    min-width: 0;
}

.script-card-title {
    margin: 0 !important;
    direction: ltr;
    font-family: "Poppins", sans-serif !important;
    font-size: 32px !important;
    line-height: 1.05 !important;
    letter-spacing: -1px;
    font-weight: 900;
}

.script-card-title span,
.script-card-title b {
    display: block;
    font: inherit;
    line-height: inherit;
}

.script-card-title span {
    color: var(--silver);
}

.script-card-title b {
    color: var(--primary2);
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.script-card-visual {
    display: grid;
    place-items: center;
    justify-self: end;
}

.script-logo-box {
    width: 142px;
    height: 142px;
    border-radius: 30px;
    display: grid;
    place-items: center;
    background: rgba(77, 163, 255, .07);
    border: 1px solid rgba(125, 211, 252, .14);
    overflow: hidden;
}

.script-logo-box img {
    width: 91%;
    height: 91%;
    object-fit: contain;
    display: block;
}

.script-card-desc {
    min-height: auto !important;
    margin: 0 !important;
    color: var(--muted) !important;
    font-size: 14px !important;
    font-weight: 700;
    line-height: 1.75 !important;
    direction: rtl;
    text-align: start;
}

html[dir="ltr"] .script-card-desc {
    direction: ltr;
}

.script-features-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

.script-feature-mini {
    min-width: 0;
    min-height: 76px;
    padding: 9px 4px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(125, 211, 252, .12);
    display: grid;
    place-items: center;
    text-align: center;
    gap: 6px;
}

.script-feature-mini i {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--primary2);
    background: rgba(77, 163, 255, .08);
    border: 1px solid rgba(125, 211, 252, .13);
    font-size: 19px;
}

.script-feature-mini span {
    color: var(--silver);
    font-size: 10px;
    font-weight: 900;
    line-height: 1.25;
    white-space: nowrap;
}

.script-platforms-box {
    padding: 13px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(125, 211, 252, .12);
    text-align: center;
}

.script-platforms-title {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 10px;
}

.script-platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    direction: ltr;
}

.script-platforms-grid span {
    min-height: 38px;
    border-radius: 13px;
    border: 1px solid rgba(125, 211, 252, .12);
    background: rgba(255, 255, 255, .035);
    color: var(--silver);
    display: grid;
    place-items: center;
    font-family: "Poppins", sans-serif !important;
    font-size: 11px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -.4px;
}

.script-card-actions {
    margin-top: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    direction: rtl;
}

.script-action-btn {
    min-width: 0;
    min-height: 48px;
    border-radius: 15px;
    border: 1px solid rgba(125, 211, 252, .16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-decoration: none;
    font-family: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: .25s ease;
}

.script-action-btn i {
    font-size: 19px;
}

.script-download-btn {
    color: #07111f;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
}

.script-features-btn {
    color: var(--primary2);
    background: rgba(255, 255, 255, .035);
}

.script-action-btn:hover {
    transform: translateY(-3px);
}

html[data-theme="light"] .script-card,
html[data-theme="light"] .script-card:hover {
    background: linear-gradient(180deg, #ffffff, #eef5ff) !important;
    border-color: rgba(7, 17, 31, .10) !important;
    box-shadow: none !important;
}

html[data-theme="light"] .script-status-badge,
html[data-theme="light"] .script-feature-mini i {
    background: rgba(20, 125, 255, .08);
    border-color: rgba(20, 125, 255, .14);
    color: var(--primary);
}

html[data-theme="light"] .script-status-badge b {
    background: var(--primary);
}

html[data-theme="light"] .script-feature-mini,
html[data-theme="light"] .script-platforms-box,
html[data-theme="light"] .script-platforms-grid span,
html[data-theme="light"] .script-features-btn,
html[data-theme="light"] .script-logo-box {
    background: rgba(20, 125, 255, .045);
    border-color: rgba(20, 125, 255, .12);
}

html[data-theme="light"] .script-card-title span,
html[data-theme="light"] .script-feature-mini span,
html[data-theme="light"] .script-platforms-grid span {
    color: #07111f;
}

html[data-theme="light"] .script-features-btn {
    color: var(--primary);
}

@media (max-width: 600px) {
    .script-card {
        padding: 22px !important;
        border-radius: 22px !important;
    }

    .script-head-row {
        grid-template-columns: minmax(0, 1fr) 136px;
        gap: 14px;
    }

    .script-logo-box {
        width: 136px;
        height: 136px;
        border-radius: 28px;
    }

    .script-card-title {
        font-size: 31px !important;
    }
}

@media (max-width: 380px) {
    .script-head-row {
        grid-template-columns: minmax(0, 1fr) 118px;
        gap: 12px;
    }

    .script-logo-box {
        width: 118px;
        height: 118px;
        border-radius: 24px;
    }

    .script-card-title {
        font-size: 28px !important;
    }

    .script-card-desc {
        font-size: 13px !important;
        line-height: 1.65 !important;
    }

    .script-feature-mini span {
        font-size: 9px;
    }

    .script-platforms-grid span {
        font-size: 10px;
    }

    .script-action-btn {
        font-size: 11px;
    }
}

.script-badges-row {
    grid-area: badge;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    width: fit-content;
}

.script-badges-row .script-status-badge {
    margin: 0 !important;
}

.script-free-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: fit-content;
    min-height: 34px;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--primary2);
    background: rgba(77, 163, 255, .08);
    border: 1px solid rgba(125, 211, 252, .18);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.script-free-badge i {
    font-size: 17px;
    color: var(--primary2);
    line-height: 1;
}

html[data-theme="light"] .script-free-badge {
    color: #147dff;
    background: rgba(20, 125, 255, .08);
    border-color: rgba(20, 125, 255, .18);
}

html[data-theme="light"] .script-free-badge i {
    color: #147dff;
}

@media (max-width: 480px) {
    .script-badges-row {
        gap: 7px;
    }

    .script-free-badge {
        min-height: 32px;
        padding: 7px 11px;
        font-size: 12px;
    }

    .script-free-badge i {
        font-size: 16px;
    }
}

.script-benefits-block {
    border-radius: 24px;
    padding: 18px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(125, 211, 252, .12);
    box-shadow: none !important;
}

.script-benefits-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
}

.script-benefits-title i {
    color: var(--primary2);
    font-size: 25px;
    text-shadow: none !important;
    filter: none !important;
}

.script-benefits-title h3 {
    color: var(--silver);
    font-size: 22px;
    font-weight: 900;
    margin: 0;
}

.script-benefits-list {
    display: grid;
    gap: 11px;
}

.script-benefit-item {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 12px;
    align-items: center;
    padding: 13px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .032);
    border: 1px solid rgba(125, 211, 252, .10);
    box-shadow: none !important;
}

.script-benefit-item>span {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    color: #07111f;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    font-family: "Poppins", sans-serif !important;
    font-size: 16px;
    font-weight: 900;
    box-shadow: none !important;
    text-shadow: none !important;
}

.script-benefit-item p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.8;
}

.script-benefit-note {
    margin-top: 3px;
    padding: 14px;
    border-radius: 18px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(77, 163, 255, .07);
    border: 1px solid rgba(77, 163, 255, .14);
    box-shadow: none !important;
}

.script-benefit-note i {
    color: var(--primary2);
    font-size: 23px;
    margin-top: 2px;
    text-shadow: none !important;
    filter: none !important;
}

.script-benefit-note p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.8;
}

html[data-theme="light"] .script-benefits-block {
    background: rgba(255, 255, 255, .64);
    border-color: rgba(20, 125, 255, .12);
    box-shadow: none !important;
}

html[data-theme="light"] .script-benefit-item {
    background: rgba(20, 125, 255, .045);
    border-color: rgba(20, 125, 255, .10);
    box-shadow: none !important;
}

html[data-theme="light"] .script-benefit-note {
    background: rgba(20, 125, 255, .065);
    border-color: rgba(20, 125, 255, .13);
    box-shadow: none !important;
}

html[data-theme="light"] .script-benefits-title i,
html[data-theme="light"] .script-benefit-note i {
    color: var(--primary);
}

@media (max-width: 600px) {
    .script-benefits-block {
        padding: 14px;
    }

    .script-benefits-title h3 {
        font-size: 18px;
    }

    .script-benefit-item {
        grid-template-columns: 44px 1fr;
        gap: 10px;
        padding: 12px;
    }

    .script-benefit-item>span {
        width: 40px;
        height: 40px;
        border-radius: 13px;
        font-size: 14px;
    }

    .script-benefit-item p {
        font-size: 13px;
        line-height: 1.7;
    }

    .script-benefit-note p {
        font-size: 12px;
    }
}

.features-dialog {
    scrollbar-width: thin;
    scrollbar-color: rgba(125, 211, 252, .55) rgba(255, 255, 255, .045);
}

.features-dialog::-webkit-scrollbar {
    width: 8px;
}

.features-dialog::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .045);
    border-radius: 999px;
    margin: 18px 0;
}

.features-dialog::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--primary2));
    border-radius: 999px;
    border: 2px solid rgba(17, 24, 39, .96);
}

.features-dialog::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary2), var(--primary));
}

html[data-theme="light"] .features-dialog {
    scrollbar-color: rgba(20, 125, 255, .55) rgba(20, 125, 255, .08);
}

html[data-theme="light"] .features-dialog::-webkit-scrollbar-track {
    background: rgba(20, 125, 255, .08);
}

html[data-theme="light"] .features-dialog::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--primary2));
    border-color: rgba(255, 255, 255, .96);
}

.features-dialog {
    max-height: 78vh !important;
    overflow-y: auto !important;
}

@media (max-width: 600px) {
    .features-dialog {
        max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 130px) !important;
        overflow-y: auto !important;
    }
}


html[data-theme="light"] .script-download-btn {
    color: #ffffff !important;
    background: linear-gradient(135deg, #147dff 0%, #00a8ff 100%) !important;
    border: 1px solid rgba(20, 125, 255, .38) !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
}

html[data-theme="light"] .script-download-btn i,
html[data-theme="light"] .script-download-btn span {
    color: #ffffff !important;
    text-shadow: none !important;
    filter: none !important;
}

html[data-theme="light"] .script-download-btn:hover {
    background: linear-gradient(135deg, #006cff 0%, #00a8ff 100%) !important;
    border-color: rgba(20, 125, 255, .55) !important;
    box-shadow: none !important;
}

/* Premium Light Mode - Features Dialog */
html[data-theme="light"] .features-modal-backdrop {
    background: rgba(226, 238, 255, .78) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

html[data-theme="light"] .features-dialog {
    background:
        radial-gradient(circle at top, rgba(20, 125, 255, .08), transparent 36%),
        linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%) !important;
    border: 1px solid rgba(20, 125, 255, .16) !important;
    box-shadow: none !important;
    color: #07111f !important;
}

html[data-theme="light"] .features-close {
    background: rgba(20, 125, 255, .08) !important;
    border: 1px solid rgba(20, 125, 255, .16) !important;
    color: #147dff !important;
    box-shadow: none !important;
}

html[data-theme="light"] .features-close:hover {
    background: #147dff !important;
    color: #ffffff !important;
}

html[data-theme="light"] .features-mini-label {
    color: #147dff !important;
    background: rgba(20, 125, 255, .08) !important;
    border-color: rgba(20, 125, 255, .18) !important;
    box-shadow: none !important;
}

html[data-theme="light"] .features-head h2,
html[data-theme="light"] .script-benefits-title h3 {
    color: #07111f !important;
    text-shadow: none !important;
}

html[data-theme="light"] .features-head p {
    color: #526174 !important;
}

html[data-theme="light"] .feature-box {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(235, 244, 255, .88)) !important;
    border: 1px solid rgba(20, 125, 255, .13) !important;
    box-shadow: none !important;
}

html[data-theme="light"] .feature-box i {
    color: #ffffff !important;
    background: linear-gradient(135deg, #147dff, #00a8ff) !important;
    box-shadow: none !important;
}

html[data-theme="light"] .feature-box strong {
    color: #07111f !important;
}

html[data-theme="light"] .script-benefits-block {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(238, 245, 255, .78)) !important;
    border: 1px solid rgba(20, 125, 255, .13) !important;
    box-shadow: none !important;
}

html[data-theme="light"] .script-benefits-title i {
    color: #147dff !important;
    filter: none !important;
    text-shadow: none !important;
}

html[data-theme="light"] .script-benefit-item {
    background: #ffffff !important;
    border: 1px solid rgba(20, 125, 255, .11) !important;
    box-shadow: none !important;
}

html[data-theme="light"] .script-benefit-item>span {
    color: #ffffff !important;
    background: linear-gradient(135deg, #147dff, #00a8ff) !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

html[data-theme="light"] .script-benefit-item p {
    color: #526174 !important;
}

html[data-theme="light"] .script-benefit-note {
    background: rgba(20, 125, 255, .065) !important;
    border: 1px solid rgba(20, 125, 255, .13) !important;
    box-shadow: none !important;
}

html[data-theme="light"] .script-benefit-note i {
    color: #147dff !important;
    filter: none !important;
}

html[data-theme="light"] .script-benefit-note p {
    color: #526174 !important;
}

/* Custom Scrollbar - Light Mode */
html[data-theme="light"] .features-dialog {
    scrollbar-color: rgba(20, 125, 255, .55) rgba(20, 125, 255, .08) !important;
}

html[data-theme="light"] .features-dialog::-webkit-scrollbar-track {
    background: rgba(20, 125, 255, .08) !important;
}

html[data-theme="light"] .features-dialog::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #147dff, #00a8ff) !important;
    border: 2px solid #ffffff !important;
}

/* Premium Light Mode - Bonus / Promo Dialog */
html[data-theme="light"] .bonus-modal-backdrop {
    background: rgba(226, 238, 255, .78) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

html[data-theme="light"] .bonus-dialog {
    background:
        radial-gradient(circle at top, rgba(20, 125, 255, .08), transparent 38%),
        linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%) !important;
    border: 1px solid rgba(20, 125, 255, .16) !important;
    box-shadow: none !important;
    color: #07111f !important;
}

html[data-theme="light"] .bonus-close {
    background: rgba(20, 125, 255, .08) !important;
    border: 1px solid rgba(20, 125, 255, .16) !important;
    color: #147dff !important;
    box-shadow: none !important;
}

html[data-theme="light"] .bonus-close:hover {
    background: #147dff !important;
    color: #ffffff !important;
}

html[data-theme="light"] .bonus-gift-glow {
    background: rgba(20, 125, 255, .12) !important;
    filter: blur(14px) !important;
    box-shadow: none !important;
}

html[data-theme="light"] .bonus-gift-icon {
    color: #ffffff !important;
    background: linear-gradient(135deg, #147dff, #00a8ff) !important;
    border: 1px solid rgba(20, 125, 255, .18) !important;
    box-shadow: none !important;
}

html[data-theme="light"] .bonus-mini-label {
    color: #147dff !important;
    background: rgba(20, 125, 255, .08) !important;
    border: 1px solid rgba(20, 125, 255, .18) !important;
    box-shadow: none !important;
}

html[data-theme="light"] .bonus-dialog h2 {
    color: #07111f !important;
    text-shadow: none !important;
}

html[data-theme="light"] .bonus-dialog p {
    color: #526174 !important;
}

html[data-theme="light"] .bonus-platforms span {
    color: #07111f !important;
    background: #ffffff !important;
    border: 1px solid rgba(20, 125, 255, .12) !important;
    box-shadow: none !important;
}

html[data-theme="light"] .promo-code-box {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(238, 245, 255, .86)) !important;
    border: 1px solid rgba(20, 125, 255, .16) !important;
    box-shadow: none !important;
}

html[data-theme="light"] .promo-code-box small {
    color: #526174 !important;
}

html[data-theme="light"] .promo-code-box strong {
    color: #07111f !important;
    text-shadow: none !important;
}

html[data-theme="light"] .promo-copy-btn {
    color: #ffffff !important;
    background: linear-gradient(135deg, #147dff, #00a8ff) !important;
    border: 1px solid rgba(20, 125, 255, .28) !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

html[data-theme="light"] .promo-copy-btn i,
html[data-theme="light"] .promo-copy-btn span {
    color: #ffffff !important;
    filter: none !important;
    text-shadow: none !important;
}

html[data-theme="light"] .promo-copy-btn:hover {
    background: linear-gradient(135deg, #006cff, #00a8ff) !important;
    box-shadow: none !important;
}

html[data-theme="light"] .bonus-note {
    color: #526174 !important;
}

html:not([data-theme="light"]) {
    --card: #050811;
    --card2: #090d16;
    --line: rgba(125, 211, 252, .09);
}

html:not([data-theme="light"]) .header,
html:not([data-theme="light"]) .footer,
html:not([data-theme="light"]) .hero-pro,
html:not([data-theme="light"]) .card,
html:not([data-theme="light"]) .script-card,
html:not([data-theme="light"]) .soon-card,
html:not([data-theme="light"]) .compat-card,
html:not([data-theme="light"]) .features-dialog,
html:not([data-theme="light"]) .bonus-dialog,
html:not([data-theme="light"]) .side-menu,
html:not([data-theme="light"]) .lang-box,
html:not([data-theme="light"]) .pro-loader {
    background:
        linear-gradient(180deg, rgba(8, 12, 20, .94), rgba(3, 5, 10, .98)) !important;
    border-color: rgba(125, 211, 252, .09) !important;
    box-shadow: none !important;
}

html:not([data-theme="light"]) .script-feature-mini,
html:not([data-theme="light"]) .script-platforms-box,
html:not([data-theme="light"]) .script-platforms-grid span,
html:not([data-theme="light"]) .script-logo-box,
html:not([data-theme="light"]) .feature-box,
html:not([data-theme="light"]) .script-benefits-block,
html:not([data-theme="light"]) .script-benefit-item,
html:not([data-theme="light"]) .script-benefit-note,
html:not([data-theme="light"]) .promo-code-box,
html:not([data-theme="light"]) .bonus-platforms span,
html:not([data-theme="light"]) .side-menu-links a {
    background: rgba(255, 255, 255, .025) !important;
    border-color: rgba(125, 211, 252, .085) !important;
    box-shadow: none !important;
}

html:not([data-theme="light"]) .script-status-badge,
html:not([data-theme="light"]) .script-free-badge,
html:not([data-theme="light"]) .features-mini-label,
html:not([data-theme="light"]) .bonus-mini-label,
html:not([data-theme="light"]) .badge,
html:not([data-theme="light"]) .free-badge {
    background: rgba(77, 163, 255, .055) !important;
    border-color: rgba(125, 211, 252, .11) !important;
}

html:not([data-theme="light"]) .menu-toggle,
html:not([data-theme="light"]) .theme-toggle,
html:not([data-theme="light"]) .lang-select {
    background:
        linear-gradient(180deg, rgba(10, 15, 25, .95), rgba(4, 7, 12, .98)) !important;
    border-color: rgba(125, 211, 252, .12) !important;
    box-shadow: none !important;
}

html:not([data-theme="light"]) .features-modal-backdrop,
html:not([data-theme="light"]) .bonus-modal-backdrop,
html:not([data-theme="light"]) .sidebar-overlay {
    background: rgba(1, 2, 5, .78) !important;
}

/* Dark Mode Background */
html:not([data-theme="light"]) body {
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at top, rgba(77, 163, 255, .045), transparent 30%),
        linear-gradient(180deg, #03050a 0%, #020307 55%, #000103 100%) !important;
    overflow-x: hidden;
}

/* Light Mode Background */
html[data-theme="light"] body {
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at top, rgba(20, 125, 255, .14), transparent 34%),
        linear-gradient(180deg, #f5f9ff 0%, #eef5ff 55%, #eaf2ff 100%) !important;
    overflow-x: hidden;
}

html[data-theme="light"] body {
    background:
        radial-gradient(circle at top, rgba(20, 125, 255, .025), transparent 32%),
        linear-gradient(180deg, #fbfcff 0%, #f7f9fc 55%, #f3f5f8 100%) !important;
}

/* قلل الزرقة من الكونتينرات */
html[data-theme="light"] .header,
html[data-theme="light"] .footer,
html[data-theme="light"] .hero-pro,
html[data-theme="light"] .card,
html[data-theme="light"] .script-card,
html[data-theme="light"] .soon-card,
html[data-theme="light"] .compat-card,
html[data-theme="light"] .features-dialog,
html[data-theme="light"] .bonus-dialog,
html[data-theme="light"] .side-menu,
html[data-theme="light"] .lang-box,
html[data-theme="light"] .pro-loader {
    background:
        linear-gradient(180deg, #ffffff 0%, #f6f7fa 100%) !important;
    border-color: rgba(7, 17, 31, .09) !important;
    box-shadow: none !important;
}

/* قلل الزرقة من العناصر الداخلية */
html[data-theme="light"] .script-feature-mini,
html[data-theme="light"] .script-logo-box,
html[data-theme="light"] .script-features-btn,
html[data-theme="light"] .feature-box,
html[data-theme="light"] .script-benefits-block,
html[data-theme="light"] .script-benefit-item,
html[data-theme="light"] .script-benefit-note,
html[data-theme="light"] .promo-code-box,
html[data-theme="light"] .bonus-platforms span,
html[data-theme="light"] .side-menu-links a {
    background: #ffffff !important;
    border-color: rgba(7, 17, 31, .08) !important;
    box-shadow: none !important;
}

/* خليه أزرق خفيف جدًا للبادجات فقط */
html[data-theme="light"] .badge,
html[data-theme="light"] .free-badge,
html[data-theme="light"] .script-status-badge,
html[data-theme="light"] .script-free-badge,
html[data-theme="light"] .features-mini-label,
html[data-theme="light"] .bonus-mini-label {
    background: rgba(20, 125, 255, .035) !important;
    border-color: rgba(20, 125, 255, .09) !important;
}

/* قلل زرقة الـ overlays */
html[data-theme="light"] .features-modal-backdrop,
html[data-theme="light"] .bonus-modal-backdrop,
html[data-theme="light"] .sidebar-overlay {
    background: rgba(246, 248, 252, .82) !important;
}

/* Header Solid Background - No Gradient */
html:not([data-theme="light"]) .header {
    background: #050811 !important;
    border-color: rgba(125, 211, 252, .09) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

html[data-theme="light"] .header {
    background: #ffffff !important;
    border-color: rgba(7, 17, 31, .09) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* أزرار الهيدر بدون تدرج كمان */
html:not([data-theme="light"]) .menu-toggle,
html:not([data-theme="light"]) .theme-toggle,
html:not([data-theme="light"]) .lang-select {
    background: #070b13 !important;
    border-color: rgba(125, 211, 252, .12) !important;
    box-shadow: none !important;
}

html[data-theme="light"] .menu-toggle,
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .lang-select {
    background: #ffffff !important;
    border-color: rgba(7, 17, 31, .10) !important;
    box-shadow: none !important;
}

.tools-heading-section {
    width: min(1160px, 92%);
    margin: 0 auto 24px;
    scroll-margin-top: 26px;
}

.tools-heading-section .compat-title {
    margin-bottom: 0 !important;
}

.tools-heading-section .compat-title h2 {
    color: var(--silver) !important;
    text-shadow: none !important;
}

.tools-heading-section .compat-title span {
    background: linear-gradient(90deg,
            transparent,
            rgba(77, 163, 255, .75),
            transparent) !important;
}

.tools-heading-section .compat-title span::after {
    background: var(--primary) !important;
    box-shadow: 0 0 16px rgba(77, 163, 255, .65) !important;
}

html[data-theme="light"] .tools-heading-section .compat-title h2 {
    color: #07111f !important;
    text-shadow: none !important;
}

html[data-theme="light"] .tools-heading-section .compat-title span {
    background: linear-gradient(90deg,
            transparent,
            rgba(20, 125, 255, .45),
            transparent) !important;
}

html[data-theme="light"] .tools-heading-section .compat-title span::after {
    background: #147dff !important;
    box-shadow: none !important;
}

@media (max-width: 700px) {
    .tools-heading-section {
        width: 92%;
        margin-bottom: 18px;
    }

    .tools-heading-section .compat-title {
        gap: 10px;
    }

    .tools-heading-section .compat-title h2 {
        font-size: 19px;
        white-space: nowrap;
    }

    .tools-heading-section .compat-title span {
        width: 42px;
    }
}

@media (max-width: 360px) {
    .tools-heading-section .compat-title h2 {
        font-size: 17px;
    }

    .tools-heading-section .compat-title span {
        width: 30px;
    }
}

/* Loader Background Same As Current Website Background */
html:not([data-theme="light"]) .loader,
html:not([data-theme="light"]) .lang-loader {
    background:
        radial-gradient(circle at top, rgba(77, 163, 255, .045), transparent 30%),
        linear-gradient(180deg, #03050a 0%, #020307 55%, #000103 100%) !important;
}

html[data-theme="light"] .loader,
html[data-theme="light"] .lang-loader {
    background:
        radial-gradient(circle at top, rgba(20, 125, 255, .025), transparent 32%),
        linear-gradient(180deg, #fbfcff 0%, #f7f9fc 55%, #f3f5f8 100%) !important;
}

/* Remove different loader overlay effects */
.loader::before,
.loader::after {
    display: none !important;
}

/* Strict Light Mode - No Shadows */
html[data-theme="light"] .promo-page *,
html[data-theme="light"] .promo-page *::before,
html[data-theme="light"] .promo-page *::after {
    box-shadow: none !important;
    text-shadow: none !important;
}

html[data-theme="light"] .promo-hero,
html[data-theme="light"] .promo-code-card,
html[data-theme="light"] .promo-bonus-card,
html[data-theme="light"] .promo-benefit-card,
html[data-theme="light"] .promo-platform-card,
html[data-theme="light"] .promo-cta-card {
    background: linear-gradient(180deg, var(--card2), var(--card)) !important;
    border-color: var(--line) !important;
}

html[data-theme="light"] .promo-gift-aura {
    filter: blur(10px) !important;
    opacity: .35 !important;
}

html[data-theme="light"] .promo-gift-box i,
html[data-theme="light"] .promo-rocket i {
    filter: none !important;
}

html[data-theme="light"] .promo-copy-btn,
html[data-theme="light"] .promo-activate-btn,
html[data-theme="light"] .promo-toast {
    box-shadow: none !important;
    text-shadow: none !important;
}