/* Live Gold & Silver prices hero - everything is scoped to .sig-lp */
.sig-lp {
    --lp-accent: #ff8a03;
    --lp-accent-rgb: 255, 138, 3;
    --lp-text: #f4f4f4;
    --lp-muted: #a3a3a3;
    --lp-line: rgba(255, 255, 255, .1);
    --lp-up: #34d17b;
    --lp-down: #ff5d5d;
    /* distance from the top of the page to the content - raise it if the navbar overlaps */
    --lp-nav-offset: clamp(50px, 8vh, 170px);

    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: min(100vh, 980px);
    padding: var(--lp-nav-offset) 16px clamp(56px, 8vw, 110px);
    color: var(--lp-text);
    background: #0d0d0d;
}
.navbar{
    position: fixed !important;
    top: 2px !important;
    left: calc(50%) !important;
    transform: translateX(-50%) !important;
    z-index: 9999 !important;
    width: 100% !important;
}
.sig-lp[data-metal="silver"] { --lp-accent: #dcdcdc; --lp-accent-rgb: 220, 220, 220; }
.sig-lp *, .sig-lp *::before, .sig-lp *::after { box-sizing: border-box; }

/* background glow (gold + silver layers cross-fade) */
.sig-lp::before, .sig-lp::after {
    content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
    transition: opacity .6s ease;
}
.sig-lp::before {
    background:
        radial-gradient(60% 55% at 78% 8%, rgba(255, 138, 3, .20), transparent 62%),
        radial-gradient(45% 45% at 8% 92%, rgba(255, 138, 3, .10), transparent 60%);
}
.sig-lp::after {
    opacity: 0;
    background:
        radial-gradient(60% 55% at 78% 8%, rgba(220, 220, 220, .16), transparent 62%),
        radial-gradient(45% 45% at 8% 92%, rgba(220, 220, 220, .08), transparent 60%);
}
.sig-lp[data-metal="silver"]::before { opacity: 0; }
.sig-lp[data-metal="silver"]::after { opacity: 1; }
.sig-lp .lp-bg-grid {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
}

.sig-lp .lp-wrap {
    width: 100%; max-width: 1180px; margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
}
.sig-lp .lp-sr {
    position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- left column ---------- */
.sig-lp .lp-eyebrow {
    --lp-dot: #34d17b;
    display: inline-flex; align-items: center; gap: 10px;
    margin: 0 0 20px !important; padding: 8px 14px;
    border: 1px solid var(--lp-line); border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    font-size: 13px; letter-spacing: .04em; color: var(--lp-muted);
}
.sig-lp .lp-eyebrow[data-state="connecting"] { --lp-dot: #f5b73b; }
.sig-lp .lp-eyebrow[data-state="error"] { --lp-dot: #ff5d5d; }
.sig-lp .lp-dot { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--lp-dot); }
.sig-lp .lp-dot::after {
    content: ""; position: absolute; inset: -4px; border-radius: 50%;
    border: 1px solid var(--lp-dot); opacity: .6; animation: lpPulse 2s ease-out infinite;
}
.sig-lp .lp-title {
    margin: 0 0 18px !important; padding: 0 !important;
    font-size: clamp(2.1rem, 4.8vw, 3.7rem) !important;
    line-height: 1.1 !important; font-weight: 700 !important; letter-spacing: -.02em;
    color: var(--lp-text) !important;
    background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important;
    -webkit-text-fill-color: var(--lp-text) !important;
    text-align: start !important;
}
.sig-lp[dir="rtl"] .lp-title { letter-spacing: 0; line-height: 1.25 !important; }
.sig-lp .lp-title em {
    font-style: normal; color: var(--lp-accent) !important;
    -webkit-text-fill-color: var(--lp-accent) !important; transition: color .4s;
}
.sig-lp .lp-lead {
    max-width: 540px; margin: 0 0 28px !important;
    font-size: clamp(1rem, 1.5vw, 1.125rem); line-height: 1.7; color: #c4c4c4;
}

.sig-lp .lp-rates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 24px; }
.sig-lp .lp-rate {
    padding: 18px 18px 16px; border: 1px solid var(--lp-line); border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
}
.sig-lp .lp-rate-title {
    display: flex; align-items: center; gap: 10px;
    margin: 0 0 14px !important; padding: 0 !important;
    font-size: 1rem !important; font-weight: 600 !important; line-height: 1.3 !important;
    color: var(--lp-text) !important; background: none !important;
    -webkit-text-fill-color: var(--lp-text) !important; text-align: start !important;
}
.sig-lp .lp-rate-title small { font-weight: 400; font-size: .8rem; color: var(--lp-muted); }
.sig-lp .lp-rate dl { display: grid; gap: 10px; margin: 0; padding: 0; }
.sig-lp .lp-rate-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.sig-lp .lp-rate dt { margin: 0; font-size: .85rem; font-weight: 400; color: var(--lp-muted); }
.sig-lp .lp-rate dd {
    margin: 0; direction: ltr; unicode-bidi: isolate; white-space: nowrap;
    font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 600; font-variant-numeric: tabular-nums;
}
.sig-lp .lp-rate dd b { font-weight: 600; }
.sig-lp .lp-cur { margin-inline-end: 5px; font-size: .62em; font-weight: 500; color: var(--lp-muted); }

.sig-lp .lp-badges { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 0; padding: 0; list-style: none; }
.sig-lp .lp-badges li { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; font-size: .9rem; color: #bdbdbd; }
.sig-lp .lp-badges svg { flex: none; width: 18px; height: 18px; color: var(--lp-accent); transition: color .4s; }

/* price tick flash */
.sig-lp .is-up { animation: lpUp 1s ease; }
.sig-lp .is-down { animation: lpDown 1s ease; }

/* ---------- calculator card ---------- */
.sig-lp .lp-card {
    position: relative; min-width: 0;
    padding: clamp(18px, 3vw, 30px); border-radius: 30px;
    border: 1px solid var(--lp-line);
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025));
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .1);
}
.sig-lp .lp-card::before {
    content: ""; position: absolute; inset: -1px; padding: 1px; border-radius: inherit; pointer-events: none;
    background: linear-gradient(160deg, rgba(var(--lp-accent-rgb), .55), transparent 35%, transparent 70%, rgba(var(--lp-accent-rgb), .25));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
}

.sig-lp .lp-tabs {
    position: relative; display: grid; grid-template-columns: 1fr 1fr;
    margin: 0 0 18px; padding: 5px; border-radius: 999px;
    background: rgba(0, 0, 0, .4); border: 1px solid var(--lp-line);
}
.sig-lp .lp-tabs-thumb {
    position: absolute; top: 5px; bottom: 5px; inset-inline-start: 5px; width: calc(50% - 5px);
    border-radius: 999px; background: var(--lp-accent);
    box-shadow: 0 6px 20px -6px rgba(var(--lp-accent-rgb), .7);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1), background-color .4s;
}
.sig-lp .lp-tabs[data-metal="silver"] .lp-tabs-thumb { transform: translateX(100%); }
.sig-lp[dir="rtl"] .lp-tabs[data-metal="silver"] .lp-tabs-thumb { transform: translateX(-100%); }
.sig-lp .lp-tab {
    position: relative; z-index: 1; min-height: 44px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin: 0 !important; padding: 10px 12px !important;
    border: 0 !important; border-radius: 999px !important; background: transparent !important;
    font: inherit; font-size: .95rem; font-weight: 600; line-height: 1.2;
    color: var(--lp-muted) !important; cursor: pointer; transition: color .25s;
}
.sig-lp .lp-tab.is-active { color: #141414 !important; }

.sig-lp .lp-field {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 18px; border-radius: 20px;
    background: rgba(0, 0, 0, .38); border: 1px solid var(--lp-line);
    transition: border-color .2s, box-shadow .2s;
}
.sig-lp .lp-field:focus-within {
    border-color: rgba(var(--lp-accent-rgb), .7);
    box-shadow: 0 0 0 4px rgba(var(--lp-accent-rgb), .12);
}
.sig-lp .lp-field-main { flex: 1; min-width: 0; }
.sig-lp .lp-field-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 6px; }
.sig-lp .lp-field-top label { margin: 0 !important; padding: 0 !important; font-size: .85rem; font-weight: 600; color: var(--lp-text); }
.sig-lp .lp-hint { font-size: .78rem; color: var(--lp-muted); }
.sig-lp .lp-input {
    display: block; width: 100% !important; height: auto !important;
    margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
    outline: 0 !important; box-shadow: none !important; background: transparent !important;
    -webkit-appearance: none; appearance: none; -moz-appearance: textfield;
    font: inherit; font-size: clamp(1.55rem, 3.4vw, 2.2rem) !important; font-weight: 600 !important; line-height: 1.2 !important;
    color: var(--lp-text) !important; font-variant-numeric: tabular-nums; text-align: start;
}
.sig-lp .lp-input::placeholder { color: rgba(255, 255, 255, .25); }

.sig-lp .lp-chip {
    flex: none; display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 14px 9px 10px; border-radius: 999px; white-space: nowrap;
    background: rgba(255, 255, 255, .08); border: 1px solid var(--lp-line);
    font-size: .95rem; font-weight: 600;
}
.sig-lp[dir="rtl"] .lp-chip { padding: 9px 10px 9px 14px; }
.sig-lp .lp-coin {
    display: block; flex: none; width: 22px; height: 22px; border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
}
.sig-lp .lp-coin--gold { background: radial-gradient(circle at 30% 30%, #ffe29a, #ff8a03 72%); }
.sig-lp .lp-coin--silver { background: radial-gradient(circle at 30% 30%, #fff, #b3b3b3 72%); }
.sig-lp .lp-coin--aed { background: radial-gradient(circle at 30% 30%, #4a4a4a, #1b1b1b 72%); }

.sig-lp .lp-swap {
    position: relative; z-index: 2; display: grid; place-items: center;
    width: 46px; height: 46px; margin: -12px auto !important; padding: 0 !important;
    border: 0 !important; border-radius: 50% !important;
    background: var(--lp-accent) !important; color: #141414 !important; cursor: pointer;
    box-shadow: 0 0 0 6px #151412, 0 10px 24px -8px rgba(var(--lp-accent-rgb), .8);
    transition: transform .25s ease, background-color .4s;
}
.sig-lp .lp-swap:hover { transform: scale(1.07); }
.sig-lp .lp-swap svg { transition: transform .4s cubic-bezier(.4, 0, .2, 1); }
.sig-lp .lp-swap.is-flipped svg { transform: rotate(180deg); }

.sig-lp .lp-meta {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px;
    margin: 26px 2px 0; font-size: .88rem; color: var(--lp-muted);
}
.sig-lp .lp-meta strong { font-weight: 600; color: var(--lp-text); font-variant-numeric: tabular-nums; }
.sig-lp .lp-notice {
    margin: 14px 0 0 !important; padding: 10px 14px; border-radius: 12px;
    background: rgba(255, 93, 93, .1); border: 1px solid rgba(255, 93, 93, .3);
    font-size: .85rem; color: #ffb3b3;
}
.sig-lp .lp-notice[hidden] { display: none; }
.sig-lp .lp-cta { display: flex; justify-content: center; margin-top: 40px; }
.sig-lp .lp-disclaimer { margin: 16px 0 0 !important; font-size: .75rem; line-height: 1.5; text-align: center; color: #8a8a8a; }

@keyframes lpPulse { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes lpUp { 0%, 35% { color: var(--lp-up); } 100% { color: inherit; } }
@keyframes lpDown { 0%, 35% { color: var(--lp-down); } 100% { color: inherit; } }


.nav-button{
    min-width: 200px;
}
@media screen and (min-width: 500px) and (max-width: 1300px) {
    .sig-lp{
        padding-top: 110px;
    }
}
/* ---------- responsive ---------- */
@media (max-width: 960px) {
    .sig-lp { min-height: 0; align-items: flex-start; }
    .sig-lp .lp-wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .sig-lp .lp-copy { text-align: center; }
    .sig-lp .lp-title { text-align: center !important; }
    .sig-lp .lp-lead { margin-inline: auto; }
    .sig-lp .lp-badges { justify-content: center; }
    .sig-lp .lp-card { max-width: 560px; width: 100%; margin-inline: auto; }
}
@media (max-width: 420px) {
    .sig-lp { padding-inline: 12px; padding-top: 117px; }
    .sig-lp .lp-rates { gap: 10px; }
    .sig-lp .lp-rate { padding: 14px 12px; border-radius: 18px; }
    .sig-lp .lp-rate-row { flex-direction: column; align-items: flex-start; gap: 2px; }
    .sig-lp .lp-rate dl { gap: 12px; }
    .sig-lp .lp-field { padding: 14px; gap: 10px; }
    .sig-lp .lp-chip { padding: 8px 10px 8px 8px; font-size: .88rem; }
    .sig-lp .lp-card { border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .sig-lp *, .sig-lp *::before, .sig-lp *::after { animation: none !important; transition: none !important; }
}

.body.ar {
    font-family: Inter, sans-serif !important;
}