body { font-family: 'Cairo', ui-sans-serif, system-ui, sans-serif !important; }
::view-transition-old(root) { animation: 0.25s ease-out both vt-fade-out; }
::view-transition-new(root) { animation: 0.35s ease-out 0.15s both vt-fade-in; }
@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-fade-in { from { opacity: 0; } }
.nav-scroll { background: rgba(6,22,46,0.97) !important; backdrop-filter: blur(16px) !important; border-bottom: 1px solid rgba(255,255,255,0.06) !important; box-shadow: 0 4px 24px rgba(0,0,0,0.2) !important; }
.nav-top { background: rgba(6,22,46,0.85) !important; backdrop-filter: blur(12px) !important; transition: all 0.3s ease-in-out !important; }
.nav-solid { background: rgba(6,22,46,0.97) !important; backdrop-filter: blur(16px) !important; border-bottom: 1px solid rgba(255,255,255,0.06) !important; box-shadow: 0 4px 24px rgba(0,0,0,0.2) !important; }
.page-header { padding: 28px 0 28px; text-align: center; }
@media (min-width: 768px) { .page-header { padding: 40px 0 40px; } }
.page-header-inner { max-width: 75rem; margin: 0 auto; padding: 0 1.5rem; }
.page-header .section-title { font-size: 1.75rem; font-weight: 800; color: var(--navy); }
.accent-line { width: 60px; height: 3px; background: var(--gold); border-radius: 4px; margin: 16px auto 0; }
.section { max-width: 75rem; margin: 0 auto; padding: 60px 1.5rem; }
.card { background: #fff; border-radius: 16px; border: 1px solid #f0f0f0; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.card-body { padding: 28px; }
@media (max-width: 1024px) {
    .mobile-menu { display: block; position: fixed; top: 0; right: 0; bottom: 0; width: 300px; background: var(--navy); z-index: 100; padding: 2rem; transform: translateX(100%); transition: transform 0.3s ease; overflow-y: auto; }
    [dir="rtl"] .mobile-menu { transform: translateX(-100%); }
    .mobile-menu.open { transform: translateX(0); }
    .mobile-overlay { display: block; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 99; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
    .mobile-overlay.open { opacity: 1; pointer-events: auto; }
}
[x-cloak] { display: none !important; }
@media (max-width: 767px) { .stats-grid { margin-top: -24px; } }
@media (min-width: 768px) { .stats-grid { margin-top: -48px; } }

/* Scroll progress bar */
#scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 9999; pointer-events: none; }
#scroll-progress-inner { height: 100%; width: 0%; background: linear-gradient(90deg, var(--gold), #E8C76A); border-radius: 0 2px 2px 0; transition: width 0.1s linear; }

/* Animated SVG icons */
.icon-float { animation: icon-float 3s ease-in-out infinite; }
.icon-float-delayed { animation: icon-float 3s ease-in-out 1.5s infinite; }
@keyframes icon-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.icon-pulse { animation: icon-pulse 2s ease-in-out infinite; }
@keyframes icon-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.08); opacity: 0.85; } }
.icon-glow { animation: icon-glow 3s ease-in-out infinite; }
@keyframes icon-glow { 0%, 100% { filter: drop-shadow(0 0 2px var(--gold)/0.3); } 50% { filter: drop-shadow(0 0 8px var(--gold)/0.6); } }
.icon-spin-slow { animation: icon-spin 8s linear infinite; }
@keyframes icon-spin { to { transform: rotate(360deg); } }
.icon-draw path { stroke-dasharray: 100; stroke-dashoffset: 100; animation: icon-draw 1.5s ease forwards; }
.icon-draw:hover path { stroke-dashoffset: 0; }
.icon-draw-group:hover .icon-draw-item { stroke-dashoffset: 0; }
.scrollbar-none { -ms-overflow-style: none; scrollbar-width: none; }
.scrollbar-none::-webkit-scrollbar { display: none; }

/* Animated gradient backgrounds */
.gradient-shift { background-size: 200% 200%; animation: gradient-shift 8s ease-in-out infinite; }
@keyframes gradient-shift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.gradient-shift-fast { background-size: 200% 200%; animation: gradient-shift 4s ease-in-out infinite; }
.gradient-ocean { background: linear-gradient(135deg, #0A1628, #0F1F3D, #132A4A, #1B3A5C, #0F1D3D, #0A1628); background-size: 300% 300%; animation: gradient-ocean 12s ease infinite; }
@keyframes gradient-ocean { 0% { background-position: 0% 50%; } 25% { background-position: 100% 0%; } 50% { background-position: 100% 100%; } 75% { background-position: 0% 100%; } 100% { background-position: 0% 50%; } }
.gradient-gold { background: linear-gradient(135deg, #C49A3E, var(--gold), #E8C76A, var(--gold), #C49A3E); background-size: 300% 300%; animation: gradient-ocean 6s ease infinite; }
.gradient-cream { background: linear-gradient(135deg, var(--cream), #fff, #F0F4F8, var(--cream)); background-size: 300% 300%; animation: gradient-ocean 10s ease infinite; }

/* Cursor glow */
#cursor-glow { position: fixed; width: 32px; height: 32px; border-radius: 50%; pointer-events: none; z-index: 99999; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(212,168,87,0.25), transparent 70%); transition: width 0.3s, height 0.3s, opacity 0.3s; opacity: 0; will-change: transform, left, top; }
#cursor-glow.active { opacity: 1; }
#cursor-glow.hovering { width: 48px; height: 48px; background: radial-gradient(circle, rgba(212,168,87,0.15), transparent 70%); }

/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) { #cursor-glow { display: none !important; } }

/* Announcement bar animations */
@keyframes ann-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}
@keyframes ann-pulse {
    0%, 100% { opacity: 0.75; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}
@keyframes ann-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
