/*
 * Reigiri Template v1.0 — Ultra Premium Gold & Silver Trading Theme
 * Copyright (C) 2026 Reigiri Team — GPL-2.0-or-later
 */
:root,
[data-color-scheme="dark"] {
    --gold: #D4AF37;
    --gold-light: #F0D060;
    --gold-dark: #B8962E;
    --gold-glow: rgba(212, 175, 55, 0.3);
    --silver: #C0C0C0;
    --silver-light: #E8E8E8;
    --silver-dark: #8A8A8A;
    --bg-dark: #053b8c;
    --bg-darker: #032861;
    --card-bg: #0b2c60;
    --card-border: rgba(212, 175, 55, 0.12);
    --glass-bg: rgba(18, 18, 35, 0.6);
    --glass-border: rgba(212, 175, 55, 0.08);
    --shadow-gold: 0 8px 40px rgba(212, 175, 55, 0.15);
    --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.3);
    --radius: 1rem;
    --radius-lg: 1.5rem;
    --radius-sm: 0.5rem;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font-display: "Vazirmatn", "Segoe UI", system-ui, sans-serif;
    --text-primary: #fff;
    --text-secondary: #C8C8D0;
    --text-muted: rgba(255, 255, 255, 0.45);
    --body-bg: #0458da;
    --hero-overlay: rgba(11, 11, 20, 0.4);
    --live-ticker-bg: linear-gradient(90deg, rgba(212, 175, 55, 0.08), rgba(192, 192, 192, 0.04), rgba(212, 175, 55, 0.08));
    --footer-bg: #032861;
    --menu-bg: #032861;
}

[data-color-scheme="light"] {
    --gold: #D4AF37;
    --gold-light: #B8962E;
    --gold-dark: #8B6914;
    --gold-glow: rgba(212, 175, 55, 0.15);
    --silver: #607D8B;
    --silver-light: #78909C;
    --silver-dark: #455A64;
    --bg-dark: #F5F5F5;
    --bg-darker: #FFFFFF;
    --card-bg: rgba(255, 255, 255, 0.95);
    --card-border: rgba(212, 175, 55, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(212, 175, 55, 0.12);
    --shadow-gold: 0 8px 40px rgba(212, 175, 55, 0.08);
    --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.08);
    --text-primary: #1a1a1a;
    --text-secondary: #444;
    --text-muted: rgba(0, 0, 0, 0.4);
    --body-bg: #F5F5F5;
    --hero-overlay: rgba(255, 255, 255, 0.6);
    --live-ticker-bg: linear-gradient(90deg, rgba(212, 175, 55, 0.04), rgba(192, 192, 192, 0.02), rgba(212, 175, 55, 0.04));
    --footer-bg: #FAFAFA;
    --menu-bg: rgba(255, 255, 255, 0.92);
}

[data-color-scheme="light"] body {
    color: var(--text-secondary);
}

[data-color-scheme="light"] .hero-section .hero-overlay {
    background: radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.04) 0%, transparent 60%), radial-gradient(ellipse at 80% 80%, rgba(192, 192, 192, 0.02) 0%, transparent 50%), linear-gradient(180deg, var(--hero-overlay) 0%, var(--bg-dark) 80%, var(--bg-dark) 100%);
}

[data-color-scheme="light"] .hero-section .hero-content .hero-title {
    color: var(--text-primary);
}

[data-color-scheme="light"] .hero-section .hero-content .hero-subtitle {
    color: var(--text-muted);
}

[data-color-scheme="light"] .hero-section .hero-content .hero-stat-label {
    color: var(--text-muted);
}

[data-color-scheme="light"] .hero-section .hero-scroll-indicator {
    color: var(--text-muted);
}

[data-color-scheme="light"] .reigiri-navbar .nav-link {
    color: var(--text-secondary) !important;
}

[data-color-scheme="light"] .reigiri-navbar .nav-link:hover,
[data-color-scheme="light"] .reigiri-navbar .nav-link.active {
    color: var(--gold) !important;
}

[data-color-scheme="light"] .reigiri-menu .dropdown-menu {
    background: var(--bg-darker);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

[data-color-scheme="light"] .kpi-section {
    background: var(--bg-dark);
}

[data-color-scheme="light"] .kpi-card {
    background: var(--card-bg);
}

[data-color-scheme="light"] .kpi-card .kpi-label {
    color: var(--text-muted);
}

[data-color-scheme="light"] .kpi-card .kpi-value {
    color: var(--text-primary);
}

[data-color-scheme="light"] .kpi-card .kpi-footer {
    color: var(--text-muted);
}

[data-color-scheme="light"] .market-depth-section {
    background: var(--bg-darker);
}

[data-color-scheme="light"] .depth-card {
    background: var(--card-bg);
}

[data-color-scheme="light"] .depth-card .depth-header .depth-title {
    color: var(--text-primary);
}

[data-color-scheme="light"] .depth-card .depth-row .depth-level {
    color: var(--text-muted);
}

[data-color-scheme="light"] .depth-card .depth-row .depth-amount {
    color: var(--text-primary);
}

[data-color-scheme="light"] .depth-card .depth-row .depth-total {
    color: var(--text-muted);
}

[data-color-scheme="light"] .trust-section {
    background: var(--bg-dark);
}

[data-color-scheme="light"] .trust-section .trust-item .trust-label {
    color: var(--text-muted);
}

[data-color-scheme="light"] .newsletter-section {
    background: linear-gradient(135deg, rgba(184, 150, 46, 0.04), transparent 50%), var(--bg-dark);
}

[data-color-scheme="light"] .newsletter-section .newsletter-content .newsletter-title {
    color: var(--text-primary);
}

[data-color-scheme="light"] .newsletter-section .newsletter-content .newsletter-desc {
    color: var(--text-muted);
}

[data-color-scheme="light"] .newsletter-section .newsletter-content .newsletter-form .newsletter-input {
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-primary);
}

[data-color-scheme="light"] .reigiri-footer {
    background: var(--footer-bg);
}

[data-color-scheme="light"] .reigiri-footer .footer-desc {
    color: var(--text-muted);
}

[data-color-scheme="light"] .reigiri-footer .footer-title {
    color: var(--text-primary);
}

[data-color-scheme="light"] .reigiri-footer .footer-links li a {
    color: var(--text-muted);
}

[data-color-scheme="light"] .reigiri-footer .footer-bottom {
    color: var(--text-muted);
}

[data-color-scheme="light"] .reigiri-footer .footer-bottom .footer-bottom-links a {
    color: var(--text-muted);
}

[data-color-scheme="light"] .reigiri-footer .footer-social a {
    color: var(--text-muted);
}

[data-color-scheme="light"] .reigiri-footer .footer-social a:hover {
    color: #06060E;
}

[data-color-scheme="light"] .component-area {
    background: var(--card-bg);
}

[data-color-scheme="light"] .sidebar .mod-sidebar-card {
    background: var(--card-bg);
}

[data-color-scheme="light"] .card-module {
    background: var(--card-bg);
}

[data-color-scheme="light"] .live-ticker {
    background: var(--live-ticker-bg);
}

[data-color-scheme="light"] .live-ticker .ticker-item .ticker-label {
    color: var(--text-muted);
}

[data-color-scheme="light"] .section-header .section-title {
    color: var(--text-primary);
}

[data-color-scheme="light"] .section-header .section-desc {
    color: var(--text-muted);
}

[data-color-scheme="light"] .hero-section .hero-content .hero-stats .hero-stat .hero-stat-label {
    color: var(--text-muted);
}

[data-color-scheme="light"] .trust-section .trust-item .trust-number {
    -webkit-text-fill-color: var(--gold);
}

[data-color-scheme="light"] .preloader {
    background: var(--bg-darker);
}

[data-color-scheme="light"] .reigiri-sidebar-menu .nav-item > a {
    color: var(--text-muted);
}

[data-color-scheme="light"] .reigiri-sidebar-menu .nav-item > a:hover {
    color: var(--gold);
}

[data-color-scheme="light"] .reigiri-sidebar-menu .nav-item.active > a,
[data-color-scheme="light"] .reigiri-sidebar-menu .nav-item.current > a {
    color: var(--gold);
}

[data-color-scheme="light"] .reigiri-sidebar-menu .nav-item.active > a::before {
    background: var(--gold);
}

[data-color-scheme="light"] .reigiri-sidebar-menu .reigiri-sidebar-toggle {
    color: var(--text-muted);
}

[data-color-scheme="light"] .reigiri-sidebar-menu .reigiri-sidebar-sub {
    border-right-color: rgba(212, 175, 55, 0.12);
}

[data-color-scheme="light"] ::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

[data-color-scheme="light"] .kpi-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 0 40px rgba(212, 175, 55, 0.02);
}

.reigiri-color-scheme-toggle {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: rgba(255, 255, 255, 0.5);
    padding: 0;
}

.reigiri-color-scheme-toggle svg {
    transition: transform 0.3s ease;
}

.reigiri-color-scheme-toggle .icon-sun {
    display: block;
}

.reigiri-color-scheme-toggle .icon-moon {
    display: none;
}

.reigiri-color-scheme-toggle:hover {
    background: rgba(212, 175, 55, 0.08);
    color: var(--gold);
    border-color: rgba(212, 175, 55, 0.2);
}

[data-color-scheme="light"] .reigiri-color-scheme-toggle {
    background: rgba(0, 0, 0, 0.03);
    color: rgba(0, 0, 0, 0.4);
}

[data-color-scheme="light"] .reigiri-color-scheme-toggle .icon-sun {
    display: none;
}

[data-color-scheme="light"] .reigiri-color-scheme-toggle .icon-moon {
    display: block;
}

[data-color-scheme="light"] .reigiri-color-scheme-toggle:hover {
    background: rgba(212, 175, 55, 0.08);
    color: var(--gold);
}

* {
    box-sizing: border-box
}

::selection {
    background: rgba(212, 175, 55, 0.25);
    color: #fff
}

html {
    scroll-behavior: smooth
}

body {
    font-family: var(--font-display);
    background: var(--body-bg);
    color: var(--text-secondary);
    overflow-x: hidden;
    direction: rtl
}

body::-webkit-scrollbar {
    width: 6px
}

body::-webkit-scrollbar-track {
    background: var(--bg-darker)
}

body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold), var(--gold-dark));
    border-radius: 3px
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition)
}

a:hover {
    color: var(--gold-light);
    text-shadow: 0 0 20px var(--gold-glow)
}

.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    transition: opacity 0.6s ease, visibility 0.6s ease
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none
}

.preloader .preloader-logo {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulseText 1.5s ease-in-out infinite
}

.preloader .preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden
}

.preloader .preloader-bar .preloader-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
    border-radius: 2px;
    animation: loadBar 1.8s ease-in-out forwards
}

@keyframes loadBar {
    0% {
        width: 0%
    }
    50% {
        width: 70%
    }
    100% {
        width: 100%
    }
}

@keyframes pulseText {
    0%, 100% {
        transform: scale(1)
    }
    50% {
        transform: scale(1.03)
    }
}

.reigiri-menu {
    gap: 0.25rem
}

.reigiri-menu .nav-link {
    gap: 0.45rem;
    padding: 0.7rem 1rem !important;
    border-radius: 0.5rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)
}

.reigiri-menu .nav-link .nav-label {
    position: relative;
    z-index: 1
}

.reigiri-menu .nav-link .dropdown-arrow {
    transition: transform 0.3s ease;
    opacity: 0.5
}

.reigiri-menu .nav-link .nav-active-dot {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 8px var(--gold-glow)
}

.reigiri-menu .nav-link:hover {
    background: rgba(212, 175, 55, 0.06);
    color: var(--gold) !important
}

.reigiri-menu .nav-link:hover .dropdown-arrow {
    opacity: 1;
    transform: rotate(-180deg)
}

.reigiri-menu .nav-link.active {
    background: rgba(212, 175, 55, 0.08);
    color: var(--gold) !important
}

.reigiri-menu .dropdown-menu {
    background: rgba(11, 11, 20, 0.95);
    backdrop-filter: blur(30px) saturate(1.2);
    -webkit-backdrop-filter: blur(30px) saturate(1.2);
    border: 1px solid rgba(212, 175, 55, 0.08);
    border-radius: 0.75rem;
    padding: 0.5rem;
    margin-top: 0.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 175, 55, 0.02);
    min-width: 220px;
    animation: menuFadeIn 0.25s ease;
    overflow: hidden
}

.reigiri-menu .dropdown-menu .nav-item {
    margin: 2px 0
}

.reigiri-menu .dropdown-menu .nav-item .nav-link {
    padding: 0.55rem 0.85rem !important;
    border-radius: 0.4rem;
    font-size: 0.85rem
}

.reigiri-menu .dropdown-menu .nav-item .nav-link .nav-active-dot {
    display: none
}

.reigiri-menu .dropdown-menu .nav-item .nav-link .sub-icon {
    flex-shrink: 0
}

.reigiri-menu .dropdown-menu .nav-item .nav-link:hover {
    background: rgba(212, 175, 55, 0.08);
    padding-right: 1.25rem !important
}

.reigiri-menu .dropdown-menu .nav-item.active > .nav-link {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-light) !important
}

.reigiri-menu .dropdown-menu .dropdown-submenu-menu {
    position: absolute;
    top: 0;
    right: 100%;
    margin-top: 0;
    margin-right: 0.25rem;
    min-width: 200px
}

.reigiri-menu .dropdown.show > .nav-link .dropdown-arrow, .reigiri-menu .dropdown-submenu.show > .nav-link .dropdown-arrow {
    transform: rotate(-180deg);
    opacity: 1
}

.reigiri-menu .mega-grid {
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    gap: 0.25rem;
    min-width: 400px
}

@media (min-width: 992px) {
    .reigiri-menu .mega-grid {
        grid-template-columns:repeat(3, 1fr);
        min-width: 500px
    }
}

.reigiri-menu .dropstart {
    position: relative
}

.reigiri-menu .dropstart > .dropdown-menu {
    top: 0;
    right: 100%;
    left: auto;
    margin-top: -0.25rem;
    margin-right: 0.25rem
}

.reigiri-menu .dropstart .dropdown-arrow {
    transform: rotate(90deg);
    margin-right: auto
}

.reigiri-menu .dropstart:hover > .dropdown-menu {
    display: block
}

@keyframes menuFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.97)
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 991.98px) {
    .reigiri-menu .dropdown-menu {
        background: transparent;
        backdrop-filter: none;
        border: none;
        box-shadow: none;
        padding-right: 1rem;
        animation: none
    }

    .reigiri-menu .dropdown-menu .dropdown-submenu-menu {
        position: static;
        right: 0;
        margin-right: 0;
        padding-right: 0.5rem
    }

    .reigiri-menu .mega-grid {
        grid-template-columns:1fr;
        min-width: auto
    }

    .reigiri-menu .dropstart .dropdown-arrow {
        transform: rotate(0deg)
    }

    .reigiri-menu .nav-link {
        padding: 0.65rem 0.75rem !important
    }
}

.reigiri-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 0;
    direction: rtl;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease
}

.reigiri-navbar.navbar-transparent {
    background: transparent;
    backdrop-filter: none
}

.reigiri-navbar.navbar-solid {
    background: var(--menu-bg);
    backdrop-filter: blur(30px) saturate(1.2);
    -webkit-backdrop-filter: blur(30px) saturate(1.2);
    box-shadow: 0 1px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(212, 175, 55, 0.06)
}

.reigiri-navbar .navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 0
}

.reigiri-navbar .navbar-brand img {
    height: 38px;
    width: auto;
    filter: drop-shadow(0 0 8px var(--gold-glow))
}

.reigiri-navbar .nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 500;
    padding: 1.2rem 1.35rem !important;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: var(--transition)
}

.reigiri-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border-radius: 1px;
    transition: width 0.4s ease
}

.reigiri-navbar .nav-link:hover, .reigiri-navbar .nav-link.active {
    color: var(--gold) !important;
    text-shadow: 0 0 20px var(--gold-glow)
}

.reigiri-navbar .nav-link:hover::after, .reigiri-navbar .nav-link.active::after {
    width: 50%
}

.reigiri-navbar .navbar-toggler {
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--gold);
    padding: 0.5rem;
    border-radius: 0.5rem
}

.reigiri-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem var(--gold-glow)
}

.reigiri-navbar .navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23D4AF37' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E")
}

.live-ticker {
    width: 100%;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.08), rgba(192, 192, 192, 0.04), rgba(212, 175, 55, 0.08));
    border-top: 1px solid rgba(212, 175, 55, 0.06);
    border-bottom: 1px solid rgba(212, 175, 55, 0.06);
    padding: 0.4rem 0;
    overflow: hidden;
    direction: ltr;
    position: relative
}

.live-ticker .ticker-track {
    display: flex;
    gap: 3rem;
    white-space: nowrap;
    animation: tickerScroll 40s linear infinite;
    width: max-content
}

.live-ticker .ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    font-weight: 500
}

.live-ticker .ticker-item .ticker-label {
    color: rgba(255, 255, 255, 0.5)
}

.live-ticker .ticker-item .ticker-price {
    color: var(--gold);
    font-weight: 700;
    font-variant-numeric: tabular-nums
}

.live-ticker .ticker-item .ticker-change {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 0.25rem
}

.live-ticker .ticker-item .ticker-change.up {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.12)
}

.live-ticker .ticker-item .ticker-change.down {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.12)
}

.live-ticker:hover .ticker-track {
    animation-play-state: paused
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0)
    }
    100% {
        transform: translateX(-50%)
    }
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 180px
}

.hero-section .hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none
}

.hero-section .hero-parallax-bg {
    position: absolute;
    inset: -20%;
    background-position: center;
    background-size: cover;
    will-change: transform;
    z-index: 0
}

.hero-section .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.06) 0%, transparent 60%), radial-gradient(ellipse at 80% 80%, rgba(192, 192, 192, 0.03) 0%, transparent 50%), linear-gradient(180deg, var(--hero-overlay) 0%, rgba(11, 11, 20, 0.95) 80%, var(--body-bg) 100%)
}

.hero-section .hero-particles-container {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden
}

.hero-section .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 950px;
    margin: 0 auto
}

.hero-section .hero-content .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem 0.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px)
}

.hero-section .hero-content .hero-badge .badge-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite
}

.hero-section .hero-content .hero-title {
    font-size: clamp(2.2rem, 5.5vw, 4.8rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.12;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px
}

.hero-section .hero-content .hero-title .gold-text {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px var(--gold-glow))
}

.hero-section .hero-content .hero-title .silver-text {
    background: linear-gradient(135deg, #fff, var(--silver), var(--silver-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.hero-section .hero-content .hero-title .typing-cursor {
    display: inline-block;
    width: 3px;
    height: 0.8em;
    background: var(--gold);
    margin-right: 4px;
    animation: blink 0.8s step-end infinite;
    vertical-align: baseline
}

.hero-section .hero-content .hero-subtitle {
    font-size: clamp(0.95rem, 1.6vw, 1.25rem);
    color: rgba(255, 255, 255, 0.5);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.9
}

.hero-section .hero-content .hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap
}

.hero-section .hero-content .hero-cta, .hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #06060E;
    font-weight: 800;
    font-size: 0.95rem;
    border: none;
    border-radius: 0.6rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden
}

.hero-section .hero-content .hero-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease
}

.hero-section .hero-content .hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px var(--gold-glow);
    color: #06060E
}

.hero-section .hero-content .hero-cta:hover::before {
    transform: translateX(100%)
}

.hero-section .hero-content .hero-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--gold);
    font-weight: 700;
    font-size: 0.9rem;
    border: 1.5px solid rgba(212, 175, 55, 0.3);
    border-radius: 0.6rem;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px
}

.hero-section .hero-content .hero-cta-outline:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--gold-glow)
}

.hero-section .hero-content .hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3.5rem;
    flex-wrap: wrap
}

.hero-section .hero-content .hero-stats .hero-stat {
    text-align: center
}

.hero-section .hero-content .hero-stats .hero-stat .hero-stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-variant-numeric: tabular-nums
}

.hero-section .hero-content .hero-stats .hero-stat .hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.2rem;
    letter-spacing: 0.5px
}

.hero-section .hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: floatDown 3s ease-in-out infinite;
    cursor: pointer
}

.hero-section .hero-scroll-indicator .scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--gold), transparent);
    animation: scrollLine 2s ease-in-out infinite
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1)
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8)
    }
}

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

@keyframes floatDown {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

@keyframes scrollLine {
    0%, 100% {
        transform: scaleY(1);
        opacity: 1
    }
    50% {
        transform: scaleY(0.3);
        opacity: 0.3
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem
}

.section-header .section-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 100px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1rem
}

.section-header .section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 0.75rem
}

.section-header .section-desc {
    color: rgba(255, 255, 255, 0.45);
    max-width: 550px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.7
}

.kpi-section {
    padding: 6rem 0;
    position: relative;
    direction: rtl;
    background: var(--bg-darker);
    background: linear-gradient(180deg, var(--silver-light) 0%, var(--bg-darker) -5%,var(--bg-darker) 90%, var(--silver-light) 160%);
    overflow: hidden
}

.kpi-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100px;
    background: linear-gradient(180deg, var(--gold), transparent)
}

.kpi-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 2rem 1.8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    backdrop-filter: blur(4px)
}

.kpi-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(135deg, transparent 0%, rgba(212, 175, 55, 0.2) 50%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease
}

.kpi-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease
}

.kpi-card .kpi-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.04));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold);
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.08)
}

.kpi-card .kpi-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor
}

.kpi-card .kpi-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.75rem
}

.kpi-card .kpi-value {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.5px
}

.kpi-card .kpi-value .kpi-currency {
    font-size: 0.6em;
    color: var(--gold);
    font-weight: 600
}

.kpi-card .kpi-value .kpi-change {
    font-size: 0.45em;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.15rem 0.5rem;
    border-radius: 0.3rem;
    margin-right: 0.3rem
}

.kpi-card .kpi-value .kpi-change.up {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1)
}

.kpi-card .kpi-value .kpi-change.down {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1)
}

.kpi-card .kpi-chart-mini {
    height: 40px;
    margin-top: 1rem;
    opacity: 0.5
}

.kpi-card .kpi-chart-mini canvas {
    width: 100%;
    height: 100%
}

.kpi-card .kpi-footer {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.25)
}

.kpi-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(212, 175, 55, 0.04)
}

.kpi-card:hover::before {
    opacity: 1
}

.kpi-card:hover::after {
    transform: scaleX(1)
}

.kpi-card:hover .kpi-icon {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.08));
    transform: scale(1.1) rotate(-5deg)
}

/* ═══ Tracking Result Card [Premium] ═══ */
.tracking-result-wrapper {
    padding: 0;
    margin-top: 2.5rem
}

.tracking-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1.25rem;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(8px);
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
    direction: rtl
}

.tracking-card:hover {
    border-color: rgba(212, 175, 55, 0.18);
    box-shadow: 0 8px 50px rgba(0, 0, 0, 0.35), 0 0 60px rgba(212, 175, 55, 0.04)
}

.tracking-card-accent {
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold-dark), var(--gold));
    background-size: 200% 100%;
    animation: trackingShimmer 3s ease-in-out infinite
}

@keyframes trackingShimmer {
    0%, 100% { background-position: -200% 0 }
    50% { background-position: 200% 0 }
}

/* ─── Header ─── */
.tracking-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1.25rem 2rem 0
}

.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.85rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px
}

.badge-verified {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.06));
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--gold-light)
}

.badge-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.7rem;
    border-radius: 2rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.06)
}

.tracking-card-time {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 500;
    direction: ltr
}

/* ─── Divider ─── */
.tracking-card-divider {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem 0
}

.tracking-divider-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.4);
    flex-shrink: 0
}

.tracking-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.02), rgba(212, 175, 55, 0.08))
}

/* ─── Tracking Code Hero ─── */
.tracking-code-area {
    padding: 1.25rem 2rem 0.5rem
}

.tracking-code-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 0.35rem
}

.tracking-code-row {
    display: flex;
    align-items: center;
    gap: 0.75rem
}

.tracking-code-display {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--gold);
    font-variant-numeric: tabular-nums;
    letter-spacing: 2px;
    font-family: var(--font-display);
    text-shadow: 0 0 50px rgba(212, 175, 55, 0.15);
    line-height: 1.3;
    direction: ltr;
    display: inline-block
}

.tracking-copy-btn {
    position: relative;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 0.5rem;
    color: var(--gold);
    cursor: pointer;
    transition: var(--transition);
    padding: 0
}

.tracking-copy-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.25);
    transform: scale(1.05)
}

.tracking-copy-btn:active {
    transform: scale(0.95)
}

.tracking-copy-tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 0.25rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    direction: rtl
}

.tracking-copy-btn:hover .tracking-copy-tooltip {
    opacity: 1
}

/* ─── Detail Grid ─── */
.tracking-detail-grid {
    padding: 1rem 2rem 1.25rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem
}

.tracking-detail-cell {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(212, 175, 55, 0.04);
    border-radius: 0.65rem;
    transition: var(--transition)
}

.tracking-detail-cell:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(212, 175, 55, 0.09)
}

.tracking-detail-cell--full {
    grid-column: 1 / -1
}

.cell-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.06);
    border-radius: 0.4rem;
    color: var(--gold)
}

.cell-body {
    flex: 1;
    min-width: 0
}

.cell-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 0.15rem
}

.cell-value {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.6;
    word-break: break-word
}

.cell-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.15rem 0.65rem;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 2rem;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 600;
    direction: ltr
}

.cell-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #22c55e
}

.cell-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
    animation: pulse 2s ease-in-out infinite
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1) }
    50% { opacity: 0.6; transform: scale(1.3) }
}

/* ─── Image ─── */
.tracking-image {
    max-width: 100%;
    max-height: 240px;
    border-radius: 0.5rem;
    border: 1px solid var(--card-border);
    object-fit: cover;
    margin-top: 0.25rem;
    transition: transform 0.4s ease, border-color 0.3s ease
}

.tracking-image:hover {
    transform: scale(1.015);
    border-color: rgba(212, 175, 55, 0.2)
}

/* ─── Footer ─── */
.tracking-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1rem 2rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    margin-top: 0
}

.tracking-footer-msg {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 500
}

.tracking-newsearch-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.5rem;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit
}

.tracking-newsearch-btn:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.15);
    color: var(--gold)
}

/* ─── Not Found ─── */
.tracking-nf-body {
    padding: 2.5rem 2rem 3rem;
    text-align: center
}

.tracking-nf-icon-row {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem
}

.tracking-nf-icon-circle {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.1);
    border-radius: 1rem
}

.tracking-nf-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ef4444;
    margin: 0 0 0.5rem
}

.tracking-nf-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 360px;
    margin: 0 auto 1.25rem;
    line-height: 1.7
}

.tracking-nf-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.08);
    border-radius: 2rem;
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 500;
    direction: rtl
}

/* ─── Staggered Entry Animation ─── */
.tracking-enter {
    opacity: 0;
    transform: translateY(12px);
    animation: trackingFadeIn 0.5s ease forwards;
    animation-delay: calc(var(--order, 0) * 0.12s)
}

@keyframes trackingFadeIn {
    to { opacity: 1; transform: translateY(0) }
}

/* ─── Light Mode Overrides ─── */
[data-color-scheme="light"] .tracking-card {
    background: var(--card-bg)
}

[data-color-scheme="light"] .tracking-card:hover {
    box-shadow: 0 8px 40px rgba(212, 175, 55, 0.08)
}

[data-color-scheme="light"] .tracking-detail-cell {
    background: rgba(0, 0, 0, 0.015);
    border-color: rgba(0, 0, 0, 0.06)
}

[data-color-scheme="light"] .tracking-detail-cell:hover {
    background: rgba(0, 0, 0, 0.025);
    border-color: rgba(212, 175, 55, 0.1)
}

[data-color-scheme="light"] .tracking-card-footer {
    border-top-color: rgba(0, 0, 0, 0.04)
}

[data-color-scheme="light"] .tracking-newsearch-btn {
    background: rgba(0, 0, 0, 0.025);
    border-color: rgba(0, 0, 0, 0.06)
}

[data-color-scheme="light"] .tracking-newsearch-btn:hover {
    background: rgba(212, 175, 55, 0.06);
    border-color: rgba(212, 175, 55, 0.12)
}

[data-color-scheme="light"] .badge-verified {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.04))
}

[data-color-scheme="light"] .cell-value {
    color: var(--text-primary)
}

[data-color-scheme="light"] .tracking-nf-hint {
    background: rgba(212, 175, 55, 0.04);
    border-color: rgba(212, 175, 55, 0.06)
}

.market-depth-section {
    padding: 6rem 0;
    position: relative;
    direction: rtl;
    background: var(--bg-dark)
}

.market-depth-section .depth-grid {
    display: grid;
    grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem
}

.market-depth-section .depth-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.8rem;
    transition: var(--transition)
}

.market-depth-section .depth-card .depth-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem
}

.market-depth-section .depth-card .depth-header .depth-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff
}

.market-depth-section .depth-card .depth-header .depth-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--gold)
}

.market-depth-section .depth-card .depth-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0;
    font-size: 0.85rem;
    position: relative
}

.market-depth-section .depth-card .depth-row .depth-level {
    color: rgba(255, 255, 255, 0.6);
    width: 50px
}

.market-depth-section .depth-card .depth-row .depth-amount {
    color: #fff;
    font-weight: 600;
    width: 80px;
    text-align: left;
    direction: ltr
}

.market-depth-section .depth-card .depth-row .depth-total {
    color: rgba(255, 255, 255, 0.4);
    width: 80px;
    text-align: left;
    direction: ltr
}

.market-depth-section .depth-card .depth-row .depth-bar-bg {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    border-radius: 2px;
    opacity: 0.12
}

.market-depth-section .depth-card .depth-row .depth-bar-bg.bid {
    background: #22c55e;
    right: auto;
    left: 0
}

.market-depth-section .depth-card .depth-row .depth-bar-bg.ask {
    background: #ef4444;
    right: 0
}

.market-depth-section .depth-card:hover {
    border-color: rgba(212, 175, 55, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3)
}

.trust-section {
    padding: 5rem 0;
    direction: rtl;
    background: var(--bg-darker);
    position: relative;
    overflow: hidden
}

.trust-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.02), transparent 60%);
    pointer-events: none
}

.trust-section .trust-grid {
    display: grid;
    grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem
}

.trust-section .trust-item {
    text-align: center;
    padding: 2rem 1.5rem
}

.trust-section .trust-item .trust-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), transparent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    border: 1px solid rgba(212, 175, 55, 0.06)
}

.trust-section .trust-item .trust-number {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-variant-numeric: tabular-nums
}

.trust-section .trust-item .trust-label {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    margin-top: 0.25rem
}

.newsletter-section {
    padding: 6rem 0;
    direction: rtl;
    position: relative;
    background: linear-gradient(135deg, rgba(184, 150, 46, 0.08), transparent 50%), var(--body-bg);
    overflow: hidden
}

.newsletter-section .newsletter-bg-shape {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.04), transparent);
    top: -200px;
    left: -100px;
    animation: shapeFloat 8s ease-in-out infinite
}

.newsletter-section .newsletter-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 550px;
    margin: 0 auto
}

.newsletter-section .newsletter-content .newsletter-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem
}

.newsletter-section .newsletter-content .newsletter-desc {
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.7
}

.newsletter-section .newsletter-content .newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 480px;
    margin: 0 auto
}

.newsletter-section .newsletter-content .newsletter-form .newsletter-input {
    flex: 1;
    padding: 0.9rem 1.2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 0.5rem;
    color: #fff;
    font-size: 0.9rem;
    direction: rtl;
    transition: var(--transition)
}

.newsletter-section .newsletter-content .newsletter-form .newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.2)
}

.newsletter-section .newsletter-content .newsletter-form .newsletter-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 30px var(--gold-glow);
    background: rgba(255, 255, 255, 0.06)
}

.newsletter-section .newsletter-content .newsletter-form .newsletter-btn {
    padding: 0.9rem 1.8rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #06060E;
    font-weight: 800;
    font-size: 0.85rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap
}

.newsletter-section .newsletter-content .newsletter-form .newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--gold-glow)
}

@keyframes shapeFloat {
    0%, 100% {
        transform: translate(0, 0)
    }
    50% {
        transform: translate(30px, -30px)
    }
}

.reigiri-footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(212, 175, 55, 0.06);
    padding: 5rem 0 2rem;
    direction: rtl
}

.reigiri-footer .footer-brand {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem
}

.reigiri-footer .footer-desc {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.88rem;
    line-height: 1.8;
    max-width: 320px
}

.reigiri-footer .footer-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 0.75rem
}

.reigiri-footer .footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 25px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px
}

.reigiri-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0
}

.reigiri-footer .footer-links li {
    margin-bottom: 0.65rem
}

.reigiri-footer .footer-links li a {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.88rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem
}

.reigiri-footer .footer-links li a:hover {
    color: var(--gold);
    padding-right: 5px
}

.reigiri-footer .footer-social {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.25rem
}

.reigiri-footer .footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    transition: var(--transition)
}

.reigiri-footer .footer-social a:hover {
    background: var(--gold);
    color: #06060E;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--gold-glow)
}

.reigiri-footer .footer-social a svg {
    width: 16px;
    height: 16px;
    fill: currentColor
}

.reigiri-footer .footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.82rem
}

.reigiri-footer .footer-bottom .footer-bottom-links {
    display: flex;
    gap: 1.5rem
}

.reigiri-footer .footer-bottom .footer-bottom-links a {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.82rem
}

.reigiri-footer .footer-bottom .footer-bottom-links a:hover {
    color: var(--gold)
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 999;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 20px var(--gold-glow)
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) rotate(90deg);
}

.back-to-top svg {
    width: 18px;
    height: 18px;
    fill: #06060E;
    transform: rotate(-90deg)
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 30px var(--gold-glow)
}

.component-area {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 2rem;
    min-height: 400px
}

.sidebar .mod-sidebar-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition)
}

.sidebar .mod-sidebar-card:hover {
    border-color: rgba(212, 175, 55, 0.12)
}

.sidebar .mod-sidebar-card .mod-sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--card-border)
}

.error-page, .offline-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 2rem;
    direction: rtl
}

.error-page .error-code, .offline-page .error-code {
    font-size: clamp(5rem, 15vw, 10rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    filter: drop-shadow(0 10px 40px var(--gold-glow))
}

.error-page .error-title, .error-page .offline-title, .offline-page .error-title, .offline-page .offline-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border)
}

.glass-strong {
    background: rgba(18, 18, 35, 0.85);
    backdrop-filter: blur(30px) saturate(1.2);
    -webkit-backdrop-filter: blur(30px) saturate(1.2);
    border: 1px solid rgba(212, 175, 55, 0.06)
}

[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1)
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

[data-animate-delay="100"] {
    transition-delay: 0.1s
}

[data-animate-delay="200"] {
    transition-delay: 0.2s
}

[data-animate-delay="300"] {
    transition-delay: 0.3s
}

[data-animate-delay="400"] {
    transition-delay: 0.4s
}

[data-animate-delay="500"] {
    transition-delay: 0.5s
}

[data-animate-delay="600"] {
    transition-delay: 0.6s
}

[data-animate-delay="700"] {
    transition-delay: 0.7s
}

[data-animate-delay="800"] {
    transition-delay: 0.8s
}

.spinner-gold {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(212, 175, 55, 0.1);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.7s linear infinite
}

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

@media (max-width: 991px) {
    .reigiri-navbar.navbar-solid {
        background: var(--menu-bg)
    }

    .reigiri-navbar .nav-link {
        padding: 0.8rem 1rem !important
    }

    .hero-section .hero-content .hero-stats {
        gap: 1.5rem
    }

    .kpi-card {
        padding: 1.5rem
    }

    .newsletter-section .newsletter-content .newsletter-form {
        flex-direction: column
    }

    .newsletter-section .newsletter-content .newsletter-form .newsletter-input {
        width: 100%
    }

    .reigiri-footer .footer-bottom {
        flex-direction: column;
        text-align: center
    }
}

@media (max-width: 575px) {
    .hero-section {
        min-height: 85vh
    }

    .hero-section .hero-content {
        padding: 1rem
    }

    .kpi-section {
        padding: 3rem 0
    }
}

.card-module {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    transition: var(--transition);
    backdrop-filter: blur(4px)
}

.card-module:hover {
    border-color: rgba(212, 175, 55, 0.12);
    box-shadow: var(--shadow-card)
}

.card-module .card-module-title {
    padding: 1.2rem 1.5rem;
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
    border-bottom: 1px solid var(--card-border)
}

.card-module .card-module-body {
    padding: 1.5rem
}

.reigiri-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    direction: rtl
}

.reigiri-sidebar-menu .nav-item {
    position: relative;
    margin: 2px 0
}

.reigiri-sidebar-menu .nav-item > a, .reigiri-sidebar-menu .nav-item > span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.85rem;
    border-radius: 0.4rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: all 0.25s ease;
    min-height: 38px
}

.reigiri-sidebar-menu .nav-item > a:hover {
    background: rgba(212, 175, 55, 0.06);
    color: var(--gold);
    padding-right: 1.1rem
}

.reigiri-sidebar-menu .nav-item.active > a,
.reigiri-sidebar-menu .nav-item.current > a {
    background: rgba(212, 175, 55, 0.08);
    color: var(--gold);
    font-weight: 600
}

.reigiri-sidebar-menu .nav-item.active > a::before,
.reigiri-sidebar-menu .nav-item.current > a::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 18px;
    background: var(--gold);
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 10px var(--gold-glow)
}

.reigiri-sidebar-menu .nav-item.parent > a {
    padding-left: 2rem
}

.reigiri-sidebar-menu .reigiri-sidebar-toggle {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    border-radius: 0.3rem;
    transition: all 0.25s ease;
    z-index: 2;
    padding: 0
}

.reigiri-sidebar-menu .reigiri-sidebar-toggle:hover {
    background: rgba(212, 175, 55, 0.08);
    color: var(--gold)
}

.reigiri-sidebar-menu .reigiri-sidebar-toggle[aria-expanded="true"] .reigiri-sidebar-chevron {
    transform: rotate(-180deg)
}

.reigiri-sidebar-menu .reigiri-sidebar-chevron {
    transition: transform 0.3s ease;
    pointer-events: none
}

.reigiri-sidebar-menu .reigiri-sidebar-sub {
    list-style: none;
    padding: 0;
    padding-right: 0.75rem;
    margin: 2px 0 4px;
    border-right: 1px solid rgba(212, 175, 55, 0.08)
}

.reigiri-sidebar-menu .reigiri-sidebar-sub .nav-item > a {
    padding: 0.45rem 0.75rem;
    font-size: 0.84rem
}
