:root {
    --bg: #efedee;
    --text: #3e3f41;
    --accent: #d8693b;
}

body {
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    /* تم نقل إخفاء المؤشر الافتراضي إلى الجافاسكربت لضمان عمله */
}

::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}


.link-underline {
    position: relative;
    display: inline-block;
}

.link-underline::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    transform-origin: bottom right;
    transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

.link-underline:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.link-underline:hover {
    color: var(--accent);
}

.btn-hover-brackets span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-hover-brackets:hover span:first-child {
    transform: translateX(-5px);
}

.btn-hover-brackets:hover span:last-child {
    transform: translateX(5px);
}

.text-huge {
    font-size: clamp(2rem, 5vw, 5rem);
    line-height: 1.1;
}

.text-giant {
    font-size: clamp(1.8rem, 4vw, 4rem);
    line-height: 1.1;
}

.clip-wrap {
    overflow: hidden;
}

.perspective-1000 {
    perspective: 1000px;
}

.transform-style-3d {
    transform-style: preserve-3d;
}

.glow-text {
    text-shadow: 0 0 20px rgba(216, 105, 59, 0.9);
}

.code-panel {
    background: linear-gradient(135deg, rgba(239, 237, 238, 0.08) 0%, rgba(239, 237, 238, 0.02) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(216, 105, 59, 0.3);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(216, 105, 59, 0.08);
}

.tech-grid {
    background-image: linear-gradient(to right, rgba(62, 63, 65, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(62, 63, 65, 0.05) 1px, transparent 1px);
    background-size: 4rem 4rem;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 100%);
}

.tech-grid-dark {
    background-image: linear-gradient(to right, rgba(239, 237, 238, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(239, 237, 238, 0.05) 1px, transparent 1px);
    background-size: 4rem 4rem;
    mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, #000 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, #000 20%, transparent 100%);
}