/* Explain: Base styles, typography, and scroll animations. */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    color: var(--text-color);
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(181, 130, 47, 0.16), transparent 26rem),
        radial-gradient(circle at 88% 8%, rgba(23, 82, 102, 0.14), transparent 24rem),
        var(--background-color);
    color: var(--text-color);
    font-family: var(--font-body);
    text-rendering: optimizeLegibility;
}

button,
a,
select {
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

::selection {
    background: var(--accent-color);
    color: #ffffff;
}

/* إخفاء صورة/رمز الإتاحة الأزرق إذا عُرض داخل الصفحة */
img[src*="6adc497207977"],
a[href*="6adc497207977"] {
    display: none !important;
}

/* حركات ظهور هادئة عند التمرير */
.js-reveal [data-reveal] {
    opacity: 0;
}

.js-reveal [data-reveal].is-visible {
    animation: appRevealUp 700ms ease both;
    animation-delay: var(--reveal-delay, 0s);
}

@keyframes appRevealUp {
    from {
        opacity: 0;
        translate: 0 24px;
    }

    to {
        opacity: 1;
        translate: 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .js-reveal [data-reveal] {
        opacity: 1;
    }

    .js-reveal [data-reveal].is-visible {
        animation: none;
    }
}