/* جولدن — style.css (مشترك: عربي + English) — حركات transform/opacity فقط */
:root {
    --g1: #14341f;
    --g2: #1f5a34;
    --g3: #2f8a4f;
    --gold: #fff200;
    --gold2: #f6d77a;
    --bg: #fbf6e8;
    --card: #fff;
    --ink: #17261c;
    --muted: #58675d;
    --line: rgba(20, 52, 31, .12);
    --accent: #1f5a34;
    --chip: rgba(47, 138, 79, .1);
    --shadow: 0 14px 36px rgba(20, 52, 31, .1);
    --ease: cubic-bezier(.22, 1, .36, 1);
    --spring: cubic-bezier(.175, .885, .32, 1.275);
    --flip: 1;
    --st: env(safe-area-inset-top, 0px);
    --sb: env(safe-area-inset-bottom, 0px);
    --f-body: 'Tajawal', system-ui, sans-serif;
    --f-head: 'Cairo', sans-serif
}
.wa-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.wa-row .wa{
  min-height:44px;          /* الحد الأدنى لمساحة اللمس */
  padding:14px 10px;
  flex-direction:column;
  text-align:center;
  gap:4px;
}
.wa-row .wa b{font-size:.95rem}
.wa-row .wa small{font-size:.8rem;opacity:.9;direction:ltr;unicode-bidi:isolate}
.wa-note{
  display:flex;align-items:center;justify-content:center;gap:8px;
  margin:10px 0 0;font-size:.85rem;opacity:.8;
}

/* شاشات صغيرة جداً: زر تحت زر */
@media (max-width:340px){
  .wa-row{grid-template-columns:1fr}
}

html[dir=ltr] {
    --flip: -1;
    --f-body: 'Inter', system-ui, sans-serif;
    --f-head: 'Poppins', sans-serif
}

html.dark {
    --bg: #0c1810;
    --card: #14261b;
    --ink: #eaf3ec;
    --muted: #a6bcad;
    --line: rgba(255, 255, 255, .1);
    --accent: #86d9a0;
    --chip: rgba(134, 217, 160, .12);
    --shadow: 0 14px 36px rgba(0, 0, 0, .45)
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0;
    font-family: var(--f-body);
    color: var(--ink);
    background: var(--bg);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
    transition: background-color .4s, color .4s
}

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

.skip-link {
    position: fixed;
    top: -60px;
    inset-inline-start: 12px;
    z-index: 100001;
    background: var(--gold);
    color: #222;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 800
}

.skip-link:focus {
    top: calc(12px + var(--st))
}

/* ---- Splash ---- */
.splash {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: radial-gradient(500px 360px at 50% 40%, rgba(227, 167, 47, .28), transparent 70%), var(--bg);
    animation: out .7s var(--ease) 1.4s forwards
}

html.no-splash .splash {
    display: none
}

@keyframes out {
    to {
        opacity: 0;
        transform: scale(1.05);
        visibility: hidden
    }
}

.splash .logo {
    animation: pop .9s var(--spring) both
}

.splash b.nm {
    font-family: var(--f-head);
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--accent);
    animation: rise .8s var(--ease) .3s both
}

.splash .bar {
    width: 130px;
    height: 3px;
    border-radius: 3px;
    background: var(--line);
    overflow: hidden
}

.splash .bar i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--g3), var(--gold));
    transform-origin: right;
    animation: load 1.2s var(--ease) forwards
}

html[dir=ltr] .splash .bar i {
    transform-origin: left
}

@keyframes load {
    from {
        transform: scaleX(0)
    }
}

@keyframes pop {
    from {
        opacity: 0;
        transform: scale(.5)
    }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(14px)
    }
}

/* ---- الخلفية ---- */
.bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    contain: strict;
    background: radial-gradient(520px 380px at 50% -40px, rgba(227, 167, 47, .22), transparent 70%), var(--bg);
    transition: background-color .4s
}

.bg-img {
    position: absolute;
    inset: 0;
    background: url("../img/back.jpg") center/cover no-repeat;
    opacity: .13
}

html.dark .bg-img {
    opacity: .16
}

.glow {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
    animation: drift 20s ease-in-out infinite
}

.gl1 {
    width: 420px;
    height: 420px;
    top: -160px;
    left: -120px;
    background: radial-gradient(circle, rgba(47, 138, 79, .35), transparent 68%)
}

.gl2 {
    width: 380px;
    height: 380px;
    bottom: -140px;
    right: -120px;
    background: radial-gradient(circle, rgba(227, 167, 47, .32), transparent 68%);
    animation-delay: -8s
}

@keyframes drift {
    50% {
        transform: translate3d(60px, 50px, 0) scale(1.1)
    }
}

.fl {
    position: absolute;
    font-style: normal;
    opacity: .55;
    font-size: var(--s, 30px);
    left: var(--x);
    bottom: -50px;
    animation: float var(--t) linear var(--dl) infinite;
    will-change: transform;
    translate: calc(var(--qx, 0)*var(--k, 1)*1px) calc(var(--qy, 0)*var(--k, 1)*1px)
}

.f1 {
    --x: 8%;
    --s: 26px;
    --t: 19s;
    --dl: -2s;
    --k: .5
}

.f2 {
    --x: 78%;
    --s: 34px;
    --t: 23s;
    --dl: -9s;
    --k: 1
}

.f3 {
    --x: 40%;
    --s: 24px;
    --t: 26s;
    --dl: -14s;
    --k: .7
}

.f4 {
    --x: 90%;
    --s: 28px;
    --t: 21s;
    --dl: -5s;
    --k: .6
}

.f5 {
    --x: 22%;
    --s: 34px;
    --t: 28s;
    --dl: -18s;
    --k: 1.1
}

.f6 {
    --x: 60%;
    --s: 30px;
    --t: 24s;
    --dl: -11s;
    --k: .8
}

@keyframes float {
    0% {
        transform: translate3d(0, 0, 0) rotate(0);
        opacity: 0
    }

    10% {
        opacity: .55
    }

    50% {
        transform: translate3d(24px, -55vh, 0) rotate(120deg)
    }

    100% {
        transform: translate3d(-18px, -115vh, 0) rotate(260deg);
        opacity: 0
    }
}

html.dark .fl {
    opacity: .4
}

.progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 9999;
    transform: scaleX(0);
    transform-origin: right;
    background: linear-gradient(90deg, var(--g3), var(--gold))
}

html[dir=ltr] .progress {
    transform-origin: left
}

/* ---- الهيكل ---- */
.wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    padding: calc(86px + var(--st)) 20px calc(50px + var(--sb))
}

.reveal {
    opacity: 0;
    translate: 0 24px
}

html:not(.js) .reveal {
    opacity: 1;
    translate: none
}

.reveal.in {
    animation: in .8s var(--ease) var(--d, 0s) both
}

@keyframes in {
    to {
        opacity: 1;
        translate: 0 0
    }
}

.topbar {
    position: absolute;
    top: calc(22px + var(--st));
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 60
}

.tools {
    display: flex;
    gap: 10px
}

.btn-i {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--ink);
    font-size: 1.15rem;
    display: grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 6px 18px rgba(20, 52, 31, .1);
    transition: transform .35s var(--spring), background .3s, color .3s
}

.btn-i:hover {
    background: var(--gold);
    color: #222;
    transform: rotate(14deg) scale(1.06)
}

.btn-i:active {
    transform: scale(.9)
}

.btn-i i {
    display: inline-block;
    transition: transform .6s var(--spring)
}

.btn-i.flip i {
    transform: rotate(360deg)
}

.lang {
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: 40px;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: 0 6px 18px rgba(20, 52, 31, .1)
}

.lang a {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 0 15px;
    border-radius: 30px;
    font-size: .82rem;
    font-weight: 700;
    color: var(--muted);
    transition: background .3s, color .3s
}

.lang a.active {
    background: linear-gradient(145deg, var(--g3), var(--g2));
    color: #fff;
    pointer-events: none
}

.lang a:not(.active):hover {
    background: var(--chip);
    color: var(--ink)
}

/* ---- Hero ---- */
.hero {
    text-align: center
}

.orbit-box {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto 6px;
    display: grid;
    place-items: center
}

.orbit-box::before {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    border: 2px dashed var(--line)
}

.orbit {
    position: absolute;
    inset: 0;
    animation: spin 30s linear infinite
}

.orbit-box:hover .orbit,
.orbit-box:hover .orbit i {
    animation-play-state: paused
}

.orbit span {
    position: absolute;
    inset: 0;
    transform: rotate(calc(var(--i)*45deg))
}

.orbit i {
    position: absolute;
    top: -6px;
    left: 50%;
    margin-left: -26px;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    font-size: 2rem;
    font-style: normal;
    border-radius: 50%;
    background: var(--card);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
    animation: counter 30s linear infinite
}

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

@keyframes counter {
    from {
        transform: rotate(calc(var(--i)*-45deg))
    }

    to {
        transform: rotate(calc(var(--i)*-45deg - 360deg))
    }
}

.logo {
    position: relative;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
    cursor: pointer;
    background: radial-gradient(circle at 30% 25%, var(--gold2), var(--gold) 60%, #b98312);
    box-shadow: 0 18px 40px rgba(227, 167, 47, .45), inset 0 -6px 14px rgba(0, 0, 0, .12);
    border: 0;
    padding: 0;
    -webkit-user-select: none;
    user-select: none
}

.hero .logo {
    animation: pulse 3.6s ease-in-out infinite
}

.logo b {
    font-family: 'Cairo', sans-serif;
    font-weight: 900;
    font-size: 4.2rem;
    line-height: 1;
    color: var(--g1)
}

.logo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.logo:active {
    transform: scale(.93)
}

@keyframes pulse {
    50% {
        transform: scale(1.05)
    }
}

.badge {
    display: inline-block;
    margin: 10px 0 8px;
    padding: 8px 16px;
    border-radius: 30px;
    background: var(--g2);
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(31, 90, 52, .3)
}

h1 {
    font-family: var(--f-head);
    font-weight: 900;
    font-size: 3.4rem;
    line-height: 1.2;
    margin: 0;
    background: linear-gradient(110deg, var(--accent) 0%, var(--g3) 40%, var(--gold) 70%, var(--accent));
    background-size: 240% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: foil 8s linear infinite
}

@keyframes foil {
    to {
        background-position: -240% 0
    }
}

.tag {
    margin: 2px 0 6px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--muted);
    font-size: .9rem;
    direction: ltr
}

.typed {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    font-family: var(--f-head);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--accent)
}

.caret {
    width: 2px;
    height: 1.2em;
    background: currentColor;
    animation: caret 1s steps(2) infinite
}

@keyframes caret {
    50% {
        opacity: 0
    }
}

.cta-row {
    display: flex;
    gap: 10px;
    margin-top: 18px
}

.cta {
    position: relative;
    overflow: hidden;
    flex: 1;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 16px;
    font-weight: 800;
    font-size: .92rem;
    border: 1px solid var(--line);
    transition: transform .35s var(--spring), box-shadow .35s
}

.cta.p {
    background: linear-gradient(135deg, #128c4a, hsl(142, 70%, 49%));
    color: #fff;
    border: 0;
    box-shadow: 0 10px 24px rgba(37, 211, 102, .35)
}

.cta.s {
    background: var(--card);
    color: var(--accent)
}

.cta:hover {
    transform: translateY(-4px)
}

.cta:active {
    transform: scale(.96)
}

/* ---- شريط ---- */
.ticker {
    direction: ltr;
    overflow: hidden;
    margin: 26px -20px;
    padding: 12px 0;
    background: var(--g1);
    color: var(--gold2);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent)
}

.track {
    display: flex;
    width: max-content;
    animation: tick 30s linear infinite
}

.track span {
    white-space: nowrap;
    font-weight: 800;
    font-size: .95rem;
    padding-inline: 6px
}

html[dir=rtl] .track span {
    direction: rtl
}

.track i {
    color: var(--gold);
    font-style: normal;
    margin: 0 8px
}

@keyframes tick {
    to {
        transform: translateX(-50%)
    }
}

/* ---- الأقسام ---- */
.panel {
    padding: 22px 20px;
    border-radius: 26px;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    margin-bottom: 26px;
    transition: background-color .4s, border-color .4s
}

.panel h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    font-family: var(--f-head);
    font-size: 1.3rem;
    color: var(--accent)
}

.panel h2 i {
    color: var(--gold)
}

.panel p {
    margin: 0 0 16px;
    line-height: 2;
    color: var(--muted)
}

.chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.chips li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border-radius: 30px;
    background: var(--chip);
    color: var(--accent);
    font-weight: 800;
    font-size: .85rem
}

.chips i {
    color: var(--gold)
}

.sec {
    margin: 26px 4px 12px;
    font-weight: 800;
    color: var(--accent);
    font-size: .9rem;
    display: flex;
    align-items: center;
    gap: 10px
}

html[dir=ltr] .sec {
    letter-spacing: 1.5px;
    text-transform: uppercase
}

.sec::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(270deg, var(--line), transparent)
}

html[dir=ltr] .sec::after {
    background: linear-gradient(90deg, var(--line), transparent)
}

.cats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 26px
}

.cat {
    padding: 16px 14px;
    border-radius: 20px;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: 0 6px 18px rgba(20, 52, 31, .06);
    transition: transform .35s var(--spring), border-color .35s, box-shadow .35s;
    text-align: center
}

.cat:last-child {
    grid-column: 1/-1
}

.cat .e {
    display: block;
    font-size: 2.2rem;
    margin-bottom: 6px;
    transition: transform .5s var(--spring)
}

.cat b {
    display: block;
    font-size: .92rem;
    color: var(--accent)
}

.cat small {
    color: var(--muted);
    font-size: .76rem
}

.cat:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: var(--shadow)
}

.cat:hover .e {
    transform: scale(1.25) rotate(-10deg)
}

/* ---- الروابط ---- */
.official {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(135deg, var(--g1), var(--g3));
    box-shadow: 0 16px 36px rgba(31, 90, 52, .35);
    transition: transform .4s var(--spring);
    position: relative;
    overflow: hidden
}

.official::after,
.wa::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .26), transparent);
    transform: translateX(-300%) skewX(-18deg);
    animation: sheen 5s ease-in-out 1.5s infinite;
    pointer-events: none
}

@keyframes sheen {
    0% {
        transform: translateX(-300%) skewX(-18deg)
    }

    35%,
    100% {
        transform: translateX(400%) skewX(-18deg)
    }
}

.official:hover {
    transform: translateY(-5px) scale(1.01)
}

.official .ico {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 1.7rem;
    background: rgba(255, 255, 255, .16);
    color: var(--gold2)
}

.txt {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0
}

.official small {
    font-size: .76rem;
    color: var(--gold2);
    font-weight: 700
}

.official b {
    font-size: 1.05rem;
    direction: ltr
}

html[dir=rtl] .official b {
    text-align: right
}

.go {
    font-size: 1.8rem;
    color: var(--gold2);
    transition: transform .4s var(--spring)
}

.official:hover .go {
    transform: translateX(calc(-6px*var(--flip)))
}

.card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 68px;
    padding: 12px 15px;
    margin-bottom: 11px;
    border-radius: 20px;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: 0 6px 18px rgba(20, 52, 31, .06);
    transition: transform .35s var(--spring), box-shadow .35s, border-color .35s;
    overflow: hidden;
    transform: perspective(700px) translateX(var(--tx, 0)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg))
}

.card::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 18%;
    bottom: 18%;
    width: 3px;
    border-radius: 4px;
    background: var(--brand)
}

.card:hover {
    --tx: calc(-6px*var(--flip));
    border-color: var(--brand);
    box-shadow: var(--shadow)
}

.card:active,
.wa:active,
.share:active,
.official:active {
    transform: scale(.97)
}

.card .ico {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    font-size: 1.45rem;
    color: var(--brand);
    background: color-mix(in srgb, var(--brand) 14%, transparent);
    transition: .35s
}

html.dark .card[style*="#111"] {
    --brand: #fff !important
}

.card:hover .ico {
    background: var(--brand);
    color: #fff;
    transform: rotate(-6deg) scale(1.06)
}

.card b {
    font-size: 1rem
}

.card small {
    font-size: .78rem;
    color: var(--muted);
    direction: ltr;
    text-align: left
}

html[dir=rtl] .card small {
    text-align: right
}

.arr {
    color: var(--g3);
    opacity: .5;
    transition: .35s
}

.card:hover .arr {
    opacity: 1;
    transform: translateX(calc(-5px*var(--flip)))
}

.wa {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 26px;
    padding: 26px 20px;
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(135deg, #128c4a, #25D366);
    box-shadow: 0 18px 40px rgba(37, 211, 102, .35);
    transition: transform .4s var(--spring)
}

.wa:hover {
    transform: translateY(-6px) scale(1.012)
}

.wa b {
    font-family: var(--f-head);
    font-size: 1.35rem;
    font-weight: 900
}

.wa small {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .84rem;
    font-weight: 600;
    text-align: center
}

.rings {
    position: relative;
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center
}

.rings i:nth-child(1),
.rings i:nth-child(2) {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #fff;
    opacity: 0;
    animation: ripple 2.6s cubic-bezier(.25, .8, .35, 1) infinite
}

.rings i:nth-child(2) {
    animation-delay: 1.3s
}

.rings .bi {
    font-size: 3rem;
    position: relative;
    animation: wob 2.2s ease-in-out infinite
}

@keyframes ripple {
    0% {
        transform: scale(.55);
        opacity: .8
    }

    100% {
        transform: scale(1.4);
        opacity: 0
    }
}

@keyframes wob {
    50% {
        transform: scale(1.1) rotate(-5deg)
    }
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    animation: blink 1.8s ease-in-out infinite
}

@keyframes blink {
    50% {
        opacity: .25
    }
}

.share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    margin-top: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--card);
    color: var(--accent);
    font: 700 .9rem var(--f-body);
    cursor: pointer;
    transition: transform .3s, box-shadow .3s
}

.share:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow)
}

.foot {
    text-align: center;
    margin-top: 34px;
    font-size: .74rem;
    letter-spacing: 1.4px;
    color: var(--muted);
    direction: ltr
}

/* ---- عائم ---- */
.sticky {
    position: fixed;
    left: 50%;
    bottom: calc(18px + var(--sb));
    z-index: 90;
    translate: -50% 120px;
    opacity: 0;
    visibility: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 40px;
    font-weight: 800;
    font-size: .9rem;
    color: #fff;
    background: linear-gradient(135deg, #128c4a, #25D366);
    box-shadow: 0 14px 34px rgba(37, 211, 102, .45);
    transition: translate .55s var(--spring), opacity .4s, visibility .4s
}

.sticky.show {
    translate: -50% 0;
    opacity: 1;
    visibility: visible
}

.sticky i {
    font-size: 1.3rem
}

.top {
    position: fixed;
    bottom: calc(24px + var(--sb));
    inset-inline-end: 18px;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: 0;
    background: linear-gradient(135deg, var(--gold), #c58a14);
    color: #222;
    font-size: 1.1rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity .4s, visibility .4s, transform .4s var(--spring);
    z-index: 100;
    box-shadow: 0 12px 28px rgba(227, 167, 47, .45)
}

.top.show {
    opacity: 1;
    visibility: visible;
    transform: none
}

.toast {
    position: fixed;
    left: 50%;
    bottom: calc(84px + var(--sb));
    translate: -50% 90px;
    opacity: 0;
    padding: 12px 22px;
    border-radius: 30px;
    background: var(--g1);
    color: var(--gold2);
    font-weight: 800;
    font-size: .86rem;
    transition: translate .45s var(--spring), opacity .4s;
    z-index: 999;
    white-space: nowrap
}

.toast.show {
    translate: -50% 0;
    opacity: 1
}

.fx {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 99990;
    overflow: hidden
}

.fx i {
    position: absolute;
    font-style: normal;
    font-size: 26px
}

.rp {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: rgba(255, 255, 255, .35);
    transform: scale(0);
    animation: rp .7s ease-out forwards
}

@keyframes rp {
    to {
        transform: scale(1);
        opacity: 0
    }
}

:is(a, button):focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px
}

.is-off,
.is-off *,
html.paused * {
    animation-play-state: paused !important
}

/* ---- نسخة خفيفة + حركة أقل ---- */
html.lite .f4,
html.lite .f5,
html.lite .f6,
html.lite .gl2 {
    display: none
}

html.lite .orbit-box {
    width: 250px;
    height: 250px
}

html.lite .orbit i {
    width: 46px;
    height: 46px;
    margin-left: -23px;
    font-size: 1.7rem
}

html.lite h1 {
    animation: none;
    background-position: 30% 0
}

html.lite .splash {
    animation-delay: 1.1s
}

@media(max-width:360px) {
    h1 {
        font-size: 2.8rem
    }

    .orbit-box {
        transform: scale(.88)
    }

    .lang a {
        padding: 0 11px
    }
}

@media(prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important
    }

    .fl,
    .splash {
        display: none
    }

    .reveal {
        opacity: 1;
        translate: none
    }

    .track {
        animation: none
    }
}