/* ==========================================================================
   SUNGAITOTO LP7 — Imperial Sapphire Crystal 3D Theme (Pearl & Sapphire Contrast)
   Palette: Royal Sapphire (#1a2a6c) + Faceted Gold (#ffd700) + Pearl Crystal (#ffffff/#eef3ff)
   Style: Bright Pearl-Marble Pavilion vs Luminous Cobalt-Sapphire Facets & 3D Gold Bevels
   (Explicitly distinct from LP1 All-Dark Midnight Navy — preserves layout geometry)
   ========================================================================== */

:root {
    --isc-pearl-bright: #ffffff;
    --isc-pearl: #f4f7ff;
    --isc-pearl-ice: #e6eeff;
    --isc-pearl-tint: #dbe5ff;
    --isc-sapphire-deep: #111d52;
    --isc-sapphire: #1a2a6c;
    --isc-sapphire-mid: #253d9c;
    --isc-sapphire-hi: #3456d4;
    --isc-ink: #132056;
    --isc-ink-soft: #2b3f82;
    --isc-gold-pale: #fff4b8;
    --isc-gold: #ffd700;
    --isc-gold-rich: #d9a400;
    --isc-gold-bronze: #9c7200;
}

body {
    background-color: var(--isc-pearl);
    background-image:
        radial-gradient(ellipse 85% 45% at 50% 0%, rgba(255, 255, 255, 0.95) 0%, rgba(230, 238, 255, 0.8) 55%, rgba(219, 229, 255, 0.95) 100%);
    color: var(--isc-ink);
}

a {
    color: var(--isc-sapphire-mid);
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

a:hover,
a:focus {
    color: var(--isc-gold-bronze);
}

/* --- Topbar: Luminous Pearl-Platinum Crystal Strip ----------------------- */
.topbar-container {
    background: linear-gradient(90deg, #eef3ff 0%, #ffffff 50%, #e7efff 100%);
    border-bottom: 2px solid var(--isc-gold);
    box-shadow: 0 3px 14px rgba(26, 42, 108, 0.12);
}

.topbar-left-section .topbar-item {
    color: var(--isc-sapphire);
}

.topbar-left-section .topbar-item + .topbar-item {
    border-left-color: rgba(26, 42, 108, 0.2);
}

.topbar-left-section .topbar-item .live-chat,
.topbar-left-section .topbar-item a.download-apk-btn,
.topbar-left-section .topbar-item a.telegram-btn,
.topbar-left-section .topbar-item a[rel="nofollow"],
.topbar-left-section .topbar-item a.search_popup_button {
    background: linear-gradient(135deg, #2a46b8 0%, #1a2a6c 65%, #121e54 100%);
    background-image: linear-gradient(135deg, #2a46b8 0%, #1a2a6c 65%, #121e54 100%);
    border: 1px solid var(--isc-gold);
    color: var(--isc-pearl-bright);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 3px 8px rgba(26, 42, 108, 0.22);
    transition: all 0.25s ease;
}

.topbar-left-section .topbar-item .live-chat [data-icon],
.topbar-left-section .topbar-item a [data-icon] {
    filter: brightness(0) saturate(100%) invert(88%) sepia(42%) saturate(1100%) hue-rotate(355deg) brightness(106%) contrast(102%);
    transition: filter 0.25s ease, transform 0.25s ease;
}

.topbar-left-section .topbar-item .live-chat:hover,
.topbar-left-section .topbar-item a.download-apk-btn:hover,
.topbar-left-section .topbar-item a.telegram-btn:hover,
.topbar-left-section .topbar-item a[rel="nofollow"]:hover,
.topbar-left-section .topbar-item a.search_popup_button:hover {
    background: linear-gradient(135deg, var(--isc-pearl-bright) 0%, var(--isc-gold-pale) 26%, var(--isc-gold) 65%, var(--isc-gold-rich) 100%);
    background-image: linear-gradient(135deg, var(--isc-pearl-bright) 0%, var(--isc-gold-pale) 26%, var(--isc-gold) 65%, var(--isc-gold-rich) 100%);
    border-color: var(--isc-sapphire);
    color: var(--isc-sapphire);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 14px rgba(255, 215, 0, 0.45);
}

.topbar-left-section .topbar-item .live-chat:hover [data-icon],
.topbar-left-section .topbar-item a.download-apk-btn:hover [data-icon],
.topbar-left-section .topbar-item a.telegram-btn:hover [data-icon],
.topbar-left-section .topbar-item a[rel="nofollow"]:hover [data-icon],
.topbar-left-section .topbar-item a.search_popup_button:hover [data-icon] {
    filter: brightness(0) saturate(100%) invert(14%) sepia(60%) saturate(2600%) hue-rotate(220deg) brightness(86%) contrast(108%);
    transform: scale(1.06);
}

.topbar-left-section .language-selector-trigger {
    color: var(--isc-sapphire);
    font-weight: 700;
}

.topbar-left-section .language-selector-trigger:hover {
    color: var(--isc-sapphire-hi);
}

.topbar-left-section .language-selector-trigger:after {
    border-top-color: var(--isc-sapphire);
}

.topbar-left-section .language-selector-trigger[data-active='true']:after {
    border-bottom-color: var(--isc-gold-rich);
}

.topbar-left-section .language-selector {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(235, 242, 255, 0.98) 100%);
    border: 2px solid var(--isc-gold);
    box-shadow: 0 14px 34px rgba(26, 42, 108, 0.28);
}

.topbar-left-section .language-selector li {
    border-bottom: 1px solid rgba(26, 42, 108, 0.12);
    color: var(--isc-sapphire);
}

.topbar-left-section .language-selector li:hover {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.25) 0%, rgba(26, 42, 108, 0.08) 100%);
    color: var(--isc-sapphire-deep);
}

/* --- Header: Multi-Faceted Cobalt-Sapphire Prism & Platinum Login -------- */
.site-header {
    background:
        radial-gradient(ellipse 65% 100% at 50% 0%, rgba(255, 255, 255, 0.22) 0%, transparent 65%),
        linear-gradient(120deg, #16245e 0%, #2744b5 28%, #1a2a6c 52%, #3153cf 76%, #142259 100%);
    border-top: 2px solid var(--isc-gold);
    border-bottom: 4px solid var(--isc-gold);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -2px 0 rgba(255, 244, 184, 0.45), 0 10px 28px rgba(26, 42, 108, 0.24);
}

.login-panel .login-button,
.login-panel .register-button {
    font-weight: 700;
    letter-spacing: 0.45px;
    transition: all 0.25s ease;
}

.login-panel .login-button {
    background: linear-gradient(135deg, #ffffff 0%, #edf2ff 55%, #dbe5ff 100%);
    border: 1px solid var(--isc-gold);
    color: var(--isc-sapphire);
    box-shadow: inset 0 1px 0 #ffffff, 0 3px 12px rgba(10, 20, 61, 0.35);
}

.login-panel .login-button:hover,
.login-panel .login-button:focus {
    background: linear-gradient(135deg, #ffffff 0%, #fff4b8 50%, #ffd700 100%);
    border-color: #ffffff;
    color: var(--isc-sapphire-deep);
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.65);
}

.login-panel .register-button {
    background: linear-gradient(135deg, #ffffff 0%, var(--isc-gold-pale) 22%, var(--isc-gold) 62%, var(--isc-gold-rich) 100%);
    border: 1px solid #ffffff;
    color: var(--isc-sapphire-deep);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), inset 0 -2px 5px rgba(136, 98, 0, 0.42), 0 4px 14px rgba(255, 215, 0, 0.42);
}

.login-panel .register-button:hover,
.login-panel .register-button:focus {
    background: linear-gradient(135deg, var(--isc-gold) 0%, #ffffff 48%, var(--isc-gold) 100%);
    color: #0b1540;
    box-shadow: inset 0 1px 1px #ffffff, 0 0 22px rgba(255, 215, 0, 0.75);
}

.menu-slide > i {
    color: var(--isc-gold-pale);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.45);
}

.menu-slide > i:hover {
    color: #ffffff;
}

.top-menu > li > a {
    color: #eef3ff;
    font-weight: 600;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

.site-header .logo > img,
.site-header .logo > picture img {
    max-width: 94%;
    max-height: calc(100% - 20px);
    width: auto;
    height: auto;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    object-fit: contain;
}

.top-menu > li > a > img {
    content: normal !important;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.top-menu > li > a > img.menu-icon-default {
    display: block;
}

.top-menu > li > a > img.menu-icon-active {
    display: none;
}

.top-menu > li[data-active="true"],
.top-menu > li:hover {
    background-image: radial-gradient(circle at top center, rgba(255, 255, 255, 0.25) 0%, rgba(255, 215, 0, 0.24) 40%, rgba(26, 42, 108, 0) 85%);
}

.top-menu > li:hover > a,
.top-menu > li[data-active="true"] > a {
    color: var(--isc-gold);
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
}

.top-menu > li:hover > a > img.menu-icon-default,
.top-menu > li[data-active="true"] > a > img.menu-icon-default {
    display: none;
}

.top-menu > li:hover > a > img.menu-icon-active,
.top-menu > li[data-active="true"] > a > img.menu-icon-active {
    display: block;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.72));
    transform: translateY(-2px);
}

.top-menu .game-list {
    background: linear-gradient(160deg, rgba(26, 42, 108, 0.96) 0%, rgba(16, 28, 78, 0.98) 100%);
    backdrop-filter: blur(12px);
    border-top: 3px solid var(--isc-gold);
    border-bottom: 5px solid var(--isc-gold);
    box-shadow: 0 20px 44px rgba(16, 28, 78, 0.55);
}

.top-menu .game-list > li > a .background {
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.16) 0%, rgba(26, 42, 108, 0.4) 45%, rgba(255, 215, 0, 0.25) 100%);
    border: 1px solid rgba(255, 232, 140, 0.6);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 14px rgba(0, 0, 0, 0.35);
}

.top-menu .game-list > li:hover > a .background {
    border-color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 0 18px rgba(255, 215, 0, 0.55);
}

/* --- Hero Banner --------------------------------------------------------- */
.banner {
    background: var(--isc-sapphire);
    border-bottom: 3px solid var(--isc-gold);
    box-shadow: 0 8px 24px rgba(26, 42, 108, 0.18);
}

.banner .carousel-indicators .active,
.banner .carousel-indicators .slick-active {
    background: var(--isc-gold);
    border-color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

/* --- Home Info Pavilion: Bright Pearl-Crystal Marble Stage --------------- */
.home-info-container {
    background-color: var(--isc-pearl);
    background-image:
        radial-gradient(ellipse 80% 45% at 50% 0%, rgba(255, 255, 255, 0.96) 0%, rgba(235, 241, 255, 0.9) 55%, rgba(219, 229, 255, 0.96) 100%),
        repeating-linear-gradient(135deg, rgba(26, 42, 108, 0.025) 0px, rgba(26, 42, 108, 0.025) 24px, transparent 24px, transparent 48px);
    border-bottom: 3px solid var(--isc-gold);
    padding-bottom: 28px;
}

.announcement-container {
    background: linear-gradient(135deg, #2744b5 0%, #1a2a6c 55%, #121f54 100%);
    border: 2px solid var(--isc-gold);
    border-radius: 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 24px rgba(26, 42, 108, 0.22);
    color: var(--isc-gold-pale);
}

.announcement-container > [data-section="title"] {
    color: var(--isc-gold);
    font-weight: 700;
}

.announcement-container > [data-section="title"] i[data-icon="announcement"] {
    filter: brightness(1.2) saturate(1.25) drop-shadow(0 0 5px rgba(255, 215, 0, 0.55));
}

.announcement-container > [data-section="announcements"],
.tickercontainer {
    background: rgba(13, 24, 68, 0.92);
    border-radius: 6px;
    color: #ffffff;
}

.announcement-container .announcement-list li {
    color: #eef3ff;
}

.announcement-container > [data-section="date"] {
    color: var(--isc-gold-pale);
    font-weight: 600;
}

/* --- 3D Diamond-Bevel Jackpot Vault Floating on Bright Pearl ------------- */
.home-progressive-jackpot {
    background: linear-gradient(135deg, #ffffff 0%, var(--isc-gold-pale) 18%, var(--isc-gold) 44%, #a87b00 62%, var(--isc-gold) 84%, #ffffff 100%);
    box-shadow: 0 18px 38px rgba(26, 42, 108, 0.28), 0 0 24px rgba(255, 215, 0, 0.35);
}

.home-progressive-jackpot .outer-container {
    background: linear-gradient(160deg, #13215c 0%, #1a2a6c 100%);
    box-shadow: inset 0 3px 12px rgba(0, 0, 0, 0.65);
}

.home-progressive-jackpot .inner-container {
    background: linear-gradient(135deg, #3557d9 0%, #1a2a6c 52%, #13215c 100%);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.home-progressive-jackpot .border-container {
    background: radial-gradient(ellipse at center, rgba(46, 78, 201, 0.62) 0%, rgba(15, 28, 82, 0.94) 100%);
    border: 2px solid rgba(255, 244, 184, 0.9);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.14);
}

.home-progressive-jackpot .jackpot-container {
    background: linear-gradient(135deg, #ffffff 0%, var(--isc-gold-pale) 26%, var(--isc-gold) 65%, var(--isc-gold-rich) 100%);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.9), 0 6px 18px rgba(10, 20, 61, 0.45);
}

.home-progressive-jackpot .jackpot-inner-container {
    background: radial-gradient(ellipse at center, #1e348c 0%, #0d194a 100%);
    box-shadow: inset 0 4px 16px rgba(4, 9, 32, 0.75);
}

.home-progressive-jackpot .jackpot-border-container {
    border: 2px dotted rgba(255, 244, 184, 0.82);
}

.home-progressive-jackpot .jackpot-currency,
.progressive-jackpot .jackpot-currency,
.progressive-jackpot .jackpot-container {
    color: var(--isc-gold);
    text-shadow: 0 0 16px rgba(255, 215, 0, 0.65), 0 0 4px rgba(255, 255, 255, 0.4);
}

.home-progressive-jackpot .jackpot-play-section .jackpot-play-text {
    color: var(--isc-gold-pale);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.home-progressive-jackpot .jackpot-play-section .jackpot-play-text label {
    color: #ffffff;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.55);
}

/* --- Game Populer: Frosted Pearl-White Crystal Card ---------------------- */
.popular-game-title-container .container-title span {
    background: linear-gradient(135deg, #2744b5 0%, #1a2a6c 65%, #13215c 100%);
    color: var(--isc-gold);
    border: 2px solid var(--isc-gold);
    border-bottom: 0;
    font-weight: 700;
    letter-spacing: 0.6px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.popular-game-title-container .container-title span:after {
    background: linear-gradient(135deg, #1a2a6c 0%, #13215c 100%);
    border-right: 2px solid var(--isc-gold);
}

.popular-game-title-container .container-content {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(235, 242, 255, 0.94) 100%);
    border: 2px solid var(--isc-gold);
    border-radius: 0 10px 10px 10px;
    box-shadow: inset 0 1px 0 #ffffff, 0 14px 32px rgba(26, 42, 108, 0.14);
}

.popular-game-title-container .container-content .game-list .game-item .game-name {
    color: var(--isc-sapphire);
    font-weight: 700;
}

.popular-game-title-container .container-content .game-list .game-item .provider-name {
    color: var(--isc-ink-soft);
}

.popular-game-title-container .container-content .game-list::-webkit-scrollbar-track {
    background: rgba(26, 42, 108, 0.08);
    border-radius: 5px;
}

.popular-game-title-container .container-content .game-list::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--isc-sapphire), var(--isc-gold-rich), var(--isc-gold));
    border-radius: 5px;
}

.popular-game-title-container .container-content .game-list .wrapper-container {
    background: #ffffff;
    border: 1px solid rgba(26, 42, 108, 0.16);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(26, 42, 108, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.popular-game-title-container .container-content .game-list .game-item:hover .wrapper-container {
    border-color: var(--isc-gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.55), 0 8px 20px rgba(26, 42, 108, 0.18);
}

/* --- Popular Games: Luminous Royal Sapphire Showcase (Overrides black CDN bg) */
.home-info-container .popular-games {
    background-color: var(--isc-sapphire) !important;
    background-image:
        radial-gradient(circle at 18% 18%, rgba(255, 215, 0, 0.18) 0%, transparent 42%),
        radial-gradient(circle at 82% 82%, rgba(255, 255, 255, 0.14) 0%, transparent 45%),
        linear-gradient(135deg, #2744b5 0%, #1a2a6c 52%, #13215c 100%) !important;
    border: 2px solid var(--isc-gold);
    border-radius: 14px;
    padding: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 18px 40px rgba(26, 42, 108, 0.24);
}

.popular-games [data-section="left"] .section-title {
    background: linear-gradient(135deg, #3254d1 0%, #1a2a6c 70%, #13215c 100%);
    color: var(--isc-gold);
    border: 1px solid rgba(255, 215, 0, 0.65);
    border-radius: 8px 8px 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.jackpot-winners {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(235, 242, 255, 0.95) 100%);
    border: 1px solid rgba(255, 215, 0, 0.72);
    border-radius: 0 0 8px 8px;
}

.jackpot-winners .jackpot-winner-title {
    color: var(--isc-sapphire);
    font-weight: 700;
}

.jackpot-winners .winners-ticker-container {
    background-color: #ffffff;
    border: 1px solid rgba(26, 42, 108, 0.16);
    border-radius: 6px;
}

.jackpot-winners .winners-ticker-container ul li {
    background-color: rgba(230, 238, 255, 0.55);
    border-bottom: 1px solid rgba(26, 42, 108, 0.12);
}

.winners-ticker ul li .winner-info {
    color: var(--isc-sapphire);
    font-weight: 600;
}

.winners-ticker ul li .winner-amount {
    color: var(--isc-gold-bronze);
    font-weight: 700;
}

.popular-games .scrtabs-tab-container {
    background: linear-gradient(135deg, rgba(17, 29, 82, 0.85) 0%, rgba(26, 42, 108, 0.95) 100%);
    border: 1px solid rgba(255, 215, 0, 0.58);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.popular-games .scrtabs-tab-scroll-arrow {
    background-color: #2744b5;
    color: var(--isc-gold);
}

.popular-games .scrtabs-tab-scroll-arrow:hover {
    color: #ffffff;
}

.popular-games .nav-tabs > li > a {
    background-color: rgba(15, 26, 74, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.22s ease;
}

.popular-games .nav-tabs > li.active > a,
.popular-games .nav-tabs > li.active > a:hover,
.popular-games .nav-tabs > li.active > a:focus,
.popular-games .nav-tabs > li > a:hover {
    background: linear-gradient(135deg, #3557d9 0%, #1a2a6c 100%);
    border: 1px solid var(--isc-gold);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 0 12px rgba(255, 215, 0, 0.45);
}

.popular-games .tab-pane,
.popular-games .tab-content {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(235, 242, 255, 0.95) 100%);
    border: 1px solid rgba(255, 215, 0, 0.72);
    border-radius: 8px;
}

.popular-games .popular-game-list .game-wrapper {
    border: 1px solid rgba(26, 42, 108, 0.18);
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(26, 42, 108, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.popular-games .popular-game-list .game-item:hover .game-wrapper {
    border-color: var(--isc-gold);
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.55);
}

.popular-games .popular-game-list .game-item:hover .link-container,
.game-list .game-item:hover .link-container {
    background-color: rgba(20, 34, 92, 0.82);
    backdrop-filter: blur(2px);
}

/* --- Play / Demo Buttons & Play Icon Contrast ---------------------------- */
.play-now {
    background: linear-gradient(135deg, #ffffff 0%, var(--isc-gold-pale) 24%, var(--isc-gold) 62%, var(--isc-gold-rich) 100%);
    color: var(--isc-sapphire-deep);
    font-weight: 700;
    border: 1px solid #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 3px 12px rgba(255, 215, 0, 0.45);
    transition: all 0.25s ease;
}

.play-now:before {
    filter: brightness(0) saturate(100%) invert(14%) sepia(60%) saturate(2600%) hue-rotate(220deg) brightness(86%) contrast(108%);
}

.play-now:hover {
    background: linear-gradient(135deg, var(--isc-gold) 0%, #ffffff 48%, var(--isc-gold) 100%);
    color: #091238;
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.78);
}

.free-play {
    background: linear-gradient(135deg, #2744b5 0%, #1a2a6c 100%);
    border: 1px solid rgba(255, 232, 140, 0.75);
    color: #ffffff;
    font-weight: 600;
}

.free-play:hover {
    background: linear-gradient(135deg, #3557d9 0%, #2744b5 100%);
    border-color: var(--isc-gold);
    color: var(--isc-gold-pale);
}

/* --- Download APK: Bright Pearl-Crystal Showcase (Overrides black CDN bg) - */
body .download-apk-container {
    background-color: var(--isc-pearl) !important;
    background-image:
        radial-gradient(circle at 78% 28%, rgba(255, 215, 0, 0.2) 0%, transparent 46%),
        radial-gradient(circle at 20% 80%, rgba(26, 42, 108, 0.08) 0%, transparent 45%),
        linear-gradient(125deg, #ffffff 0%, #eef3ff 54%, #dbe5ff 100%) !important;
    border-top: 1px solid rgba(26, 42, 108, 0.1);
    border-bottom: 3px solid var(--isc-gold);
    box-shadow: inset 0 1px 0 #ffffff;
}

.download-apk {
    color: var(--isc-sapphire);
}

.download-apk .h2,
.download-apk .h3,
.download-apk-detail,
.download-apk-section span {
    color: var(--isc-sapphire);
}

.download-apk .h2 > strong {
    color: var(--isc-sapphire);
    text-shadow: 0 2px 0 rgba(255, 215, 0, 0.45);
}

.download-apk .h3 {
    color: var(--isc-ink-soft);
}

.download-apk-qr-code {
    background: #ffffff;
    border: 2px solid var(--isc-gold);
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 8px 20px rgba(26, 42, 108, 0.16);
}

.download-apk-section i {
    color: var(--isc-gold-bronze);
    font-weight: 700;
}

.download-apk .btn {
    background: linear-gradient(135deg, #2744b5 0%, #1a2a6c 65%, #13215c 100%);
    border: 1px solid var(--isc-gold);
    color: #ffffff;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 14px rgba(26, 42, 108, 0.24);
}

.download-apk .btn:hover {
    background: linear-gradient(135deg, #ffffff 0%, var(--isc-gold-pale) 26%, var(--isc-gold) 65%, var(--isc-gold-rich) 100%);
    color: var(--isc-sapphire-deep);
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.65);
}

/* --- Telegram Banner Strip ----------------------------------------------- */
.telegram-banner-container {
    background: linear-gradient(180deg, #e5ecff 0%, #d8e3ff 100%);
    border-bottom: 3px solid var(--isc-gold);
}

.telegram-banner-container a img {
    border: 2px solid var(--isc-gold);
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(26, 42, 108, 0.2);
}

/* --- Footer: Royal Sapphire Backdrop + Bright Pearl-White Crystal Cards --- */
footer.site-footer {
    border-top: 4px solid var(--isc-gold);
    background-color: var(--isc-sapphire) !important;
    background-image:
        radial-gradient(ellipse 75% 40% at 50% 0%, rgba(56, 92, 224, 0.42) 0%, transparent 62%),
        linear-gradient(180deg, #243ea8 0%, #1a2a6c 45%, #121e54 100%) !important;
}

.site-footer .footer-separator {
    border-top-color: rgba(255, 215, 0, 0.38);
}

.site-footer .footer-links > li > a {
    color: var(--isc-gold-pale);
    font-weight: 600;
}

.site-footer .footer-links > li > a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.65);
}

.site-footer .footer-links > li + li:before {
    color: rgba(255, 215, 0, 0.65);
}

.site-footer .copyright {
    color: #eef3ff;
}

/* Frosted Pearl-White Crystal Card for .site-description (SEO Article) */
.site-footer .site-description {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.97) 0%, rgba(236, 242, 255, 0.96) 100%);
    border: 2px solid var(--isc-gold);
    border-radius: 12px;
    padding: 26px 30px;
    box-shadow: inset 0 1px 0 #ffffff, 0 16px 36px rgba(10, 20, 61, 0.32);
    margin: 10px 0 22px;
}

.site-footer .site-description h1 {
    color: var(--isc-sapphire);
    font-weight: 700;
    border-bottom: 2px solid rgba(255, 215, 0, 0.85);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.site-footer .site-description p {
    color: var(--isc-ink-soft);
    font-size: 14.5px;
    line-height: 1.78;
}

.site-footer .site-description a {
    color: var(--isc-sapphire);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--isc-gold-rich);
}

.site-footer .site-description a:hover {
    color: var(--isc-gold-bronze);
}

/* Pearl-White Cards capped with Royal Sapphire Title Banners (.site-info) */
.site-info-container:not(:last-child):after {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 215, 0, 0.55) 50%, transparent 100%);
}

.site-info {
    background: linear-gradient(160deg, #ffffff 0%, #eff4ff 100%);
    border: 2px solid rgba(255, 215, 0, 0.78);
    border-radius: 12px;
    overflow: hidden;
    padding-bottom: 16px;
    box-shadow: 0 12px 28px rgba(10, 20, 61, 0.3);
}

.site-info .site-info-title {
    background: linear-gradient(135deg, #2744b5 0%, #1a2a6c 70%, #13215c 100%);
    border-bottom: 2px solid var(--isc-gold);
    padding: 14px 18px;
}

.site-info .site-info-title h3 {
    color: #ffffff;
    font-weight: 700;
}

.site-info .site-info-title p {
    color: var(--isc-gold-pale);
}

.site-info .site-info-description {
    margin: 16px 18px;
}

.site-info .site-info-description.with-seperator + .with-seperator {
    border-top-color: rgba(26, 42, 108, 0.16);
}

.site-info .site-info-description h4 {
    color: var(--isc-sapphire);
    font-weight: 700;
}

.site-info .site-info-description p {
    color: var(--isc-ink-soft);
}

.site-info .site-info-description .progressbar {
    background-color: #dbe5ff;
    border: 1px solid rgba(26, 42, 108, 0.18);
    border-radius: 6px;
}

.site-info .site-info-description .percentCount {
    color: var(--isc-sapphire);
    font-weight: 700;
}

/* Contact List inside Pearl-White .site-info Card */
.contact-list {
    padding: 12px 18px 0;
}

.contact-list li a {
    background: linear-gradient(135deg, #2744b5 0%, #1a2a6c 100%);
    border: 1px solid var(--isc-gold);
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(26, 42, 108, 0.18);
    transition: all 0.25s ease;
}

.contact-list li a img {
    filter: brightness(0) invert(1);
    transition: filter 0.25s ease;
}

.contact-list li a:hover {
    background: linear-gradient(135deg, #ffffff 0%, var(--isc-gold-pale) 26%, var(--isc-gold) 65%, var(--isc-gold-rich) 100%);
    border-color: var(--isc-sapphire);
    color: var(--isc-sapphire-deep);
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.55);
}

.contact-list li a:hover img {
    filter: brightness(0) saturate(100%) invert(14%) sepia(60%) saturate(2600%) hue-rotate(220deg) brightness(86%) contrast(108%);
}

/* Social Media & Footer Legal Strip on Sapphire Footer */
.site-footer .social-media-list {
    padding: 0 18px;
}

.site-footer .supported-browser-container h5,
.site-footer .site-info-description > h4,
.site-footer [class*="col-md-"] > h5,
.site-footer [class*="col-md-"] > h4 {
    color: var(--isc-gold-pale);
}

.site-footer .site-info .site-info-description > h4 {
    color: var(--isc-sapphire);
}

.site-footer .amb-engine,
.site-footer .supported-browser {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

/* --- Modals & Popups: Pearl & Sapphire Crystal --------------------------- */
.modal-content,
.simple-modal .modal-content {
    background: linear-gradient(160deg, #ffffff 0%, #edf2ff 100%);
    border: 2px solid var(--isc-gold);
    border-radius: 12px;
    color: var(--isc-sapphire);
    box-shadow: 0 24px 56px rgba(10, 20, 61, 0.55);
}

.modal-header,
.simple-modal .modal-header {
    background: linear-gradient(135deg, #2744b5 0%, #1a2a6c 100%);
    border-bottom: 2px solid var(--isc-gold);
    border-radius: 10px 10px 0 0;
}

.modal-header .modal-title,
.modal-header h4 {
    color: var(--isc-gold);
    font-weight: 700;
}

.modal-header .close {
    color: #ffffff;
    opacity: 0.9;
}

.modal-body,
.modal-body label,
.modal-body p,
.modal-body ol li,
.download-popup-modal .modal-body span {
    color: var(--isc-sapphire);
}

.modal-content .form-control {
    background: #ffffff;
    border: 1px solid rgba(26, 42, 108, 0.28);
    color: var(--isc-sapphire);
}

.modal-content .form-control:focus {
    border-color: var(--isc-gold-rich);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.standard-button-group .btn-primary,
.modal-footer .btn-primary,
.modal-btn {
    background: linear-gradient(135deg, #ffffff 0%, var(--isc-gold-pale) 24%, var(--isc-gold) 64%, var(--isc-gold-rich) 100%);
    color: var(--isc-sapphire-deep);
    font-weight: 700;
    border: 1px solid var(--isc-sapphire);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 12px rgba(255, 215, 0, 0.4);
}

.standard-button-group .btn-primary:hover,
.modal-footer .btn-primary:hover,
.modal-btn:hover {
    background: linear-gradient(135deg, var(--isc-gold) 0%, #ffffff 48%, var(--isc-gold) 100%);
    color: #0b1540;
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.7);
}

.login-modal .btn-secondary {
    border: 1px solid var(--isc-sapphire);
    color: var(--isc-sapphire);
    background: #e7efff;
}

.login-modal .btn-secondary:hover {
    border-color: var(--isc-gold);
    color: #ffffff;
    background: var(--isc-sapphire);
}

.login-modal .forgot-password-link,
.login-modal .forgot-password-link:hover {
    color: var(--isc-sapphire-mid);
}

.login-modal .register-button {
    color: var(--isc-gold-bronze);
    font-weight: 700;
}

.login-modal .register-button:hover {
    color: var(--isc-sapphire);
}

.download-apk-container .popup-modal .modal-body span img {
    filter: brightness(0) saturate(100%) invert(14%) sepia(60%) saturate(2600%) hue-rotate(220deg) brightness(86%) contrast(108%);
}

/* --- Footer Certification, Responsibility, Browser & Provider Strip ------- */
.site-footer .footer-section-title {
    color: var(--isc-gold);
    font-weight: 700;
    letter-spacing: 0.4px;
}

.site-footer .provider-section {
    border-top: 1px solid rgba(255, 215, 0, 0.35);
    padding-top: 18px;
}

.site-footer .provider-container {
    border-color: rgba(255, 215, 0, 0.3);
    background: rgba(15, 27, 76, 0.42);
    border-radius: 10px;
    padding: 12px 16px;
}

.site-footer .provider-container h5 {
    color: var(--isc-gold-pale);
    font-weight: 700;
}

.site-footer .site-info .site-info-description {
    color: var(--isc-ink-soft);
}
