:root {
    --primary-dark: #050a14;
    --secondary-dark: #111827;
    --gold-start: #d4af37;
    --gold-end: #f9e395;
    --gold-gradient: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728);
    --neon-glow: 0 0 15px rgba(212, 175, 55, 0.35);
    --text-light: #ffffff;
    --glass-bg: rgba(17, 24, 39, 0.78);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Cairo', sans-serif; scroll-behavior: smooth; }

body { background-color: var(--primary-dark); color: var(--text-light); overflow-x: hidden; position: relative; }

/* ===== خلفية حية احترافية ===== */
.bg-animation { position: fixed; inset: 0; z-index: -2; background: radial-gradient(circle at 50% 40%, #1a233a 0%, #050a14 100%); overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.35; animation: floatOrb 12s infinite ease-in-out alternate; }
.orb-1 { width: 420px; height: 420px; background: #b38728; top: -120px; right: -120px; }
.orb-2 { width: 320px; height: 320px; background: #1e3a8a; bottom: -60px; left: -60px; animation-delay: -6s; }
.orb-3 { width: 220px; height: 220px; background: #7c2d12; top: 40%; left: 30%; animation-delay: -3s; }
.noise-overlay { position: absolute; inset: 0; opacity: 0.06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes floatOrb { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(40px, 60px) scale(1.15); } }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.gold-gradient { background: var(--gold-gradient); color: #000; font-weight: 800; }
.glass-effect { background: var(--glass-bg); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border-bottom: 1px solid rgba(255,255,255,0.08); }
.glass-card { background: rgba(255,255,255,0.03); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.06); border-radius: 20px; transition: var(--transition); }

/* ===== النافبار ===== */
.navbar { position: fixed; top: 0; width: 100%; z-index: 1000; padding: 15px 0; transition: var(--transition); }
.nav-container { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.7rem; font-weight: 900; cursor: pointer; }
.logo-emoji { font-size: 2.1rem; filter: drop-shadow(0 0 8px rgba(212,175,55,0.6)); animation: float 4s ease-in-out infinite; }
.logo-text { background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { text-decoration: none; color: #ccc; font-weight: 700; transition: 0.3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -6px; right: 0; width: 0; height: 2px; background: var(--gold-gradient); transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--gold-start); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* ===== قائمة المستخدم ===== */
.user-menu-wrapper { position: relative; }
.user-btn { background: rgba(255,255,255,0.05); border: 1px solid var(--gold-start); color: var(--gold-start); padding: 8px 20px; border-radius: 50px; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: 0.3s; font-weight: 700; font-family: 'Cairo'; }
.user-btn:hover { background: var(--gold-gradient); color: #000; box-shadow: var(--neon-glow); }
.arrow { transition: 0.3s; }
.dropdown-menu { position: absolute; top: 130%; left: 0; width: 340px; background: #111827; border: 1px solid var(--gold-start); border-radius: 16px; padding: 25px; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: 0.35s; box-shadow: 0 20px 50px rgba(0,0,0,0.8); z-index: 1001; }
.dropdown-menu.show { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-header { text-align: center; margin-bottom: 15px; color: var(--gold-start); font-weight: 800; }
.auth-tabs { display: flex; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.tab-btn { flex: 1; background: none; border: none; color: #777; padding: 10px; cursor: pointer; font-weight: 800; font-family: 'Cairo'; transition: 0.3s; font-size: 1rem; }
.tab-btn.active { color: var(--gold-start); border-bottom: 2px solid var(--gold-start); }
.auth-form { display: none; }
.auth-form.active { display: block; animation: fadeIn 0.4s ease; }
.input-group { position: relative; margin-bottom: 15px; }
.input-group i { position: absolute; top: 50%; right: 15px; transform: translateY(-50%); color: var(--gold-start); }
.input-group input { width: 100%; padding: 12px 45px 12px 15px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; color: #fff; outline: none; transition: 0.3s; font-family: 'Cairo'; }
.input-group input:focus { border-color: var(--gold-start); box-shadow: 0 0 10px rgba(212,175,55,0.25); }
.remember-me { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: #aaa; margin-bottom: 18px; }
.remember-me input { accent-color: var(--gold-start); width: 16px; height: 16px; cursor: pointer; }
.submit-btn { width: 100%; padding: 12px; border: none; border-radius: 10px; cursor: pointer; font-size: 1rem; transition: 0.3s; font-family: 'Cairo'; }
.submit-btn:hover { transform: translateY(-2px); box-shadow: var(--neon-glow); }
.outline-btn { background: transparent; border: 1px solid var(--gold-start); color: var(--gold-start); }
.outline-btn:hover { background: var(--gold-gradient); color: #000; }

/* ===== الهيرو ===== */
.hero { height: 100vh; min-height: 640px; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url('https://image.qwenlm.ai/public_source/c401ccd3-9192-462c-9a89-8345d47e9959/61fa952b8-a6c2-43bb-9659-cfd83f2c5ba01337.png') center/cover no-repeat; z-index: -2; animation: zoomEffect 22s infinite alternate; }
.overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(5,10,20,0.75), rgba(5,10,20,0.55) 50%, #050a14); z-index: -1; }
.coming-badge { display: inline-block; padding: 10px 28px; border-radius: 50px; background: rgba(212,175,55,0.12); border: 1px solid var(--gold-start); color: var(--gold-end); font-weight: 800; margin-bottom: 25px; animation: pulseGlow 2s infinite; }
@keyframes pulseGlow { 0%,100% { box-shadow: 0 0 6px rgba(212,175,55,0.25); } 50% { box-shadow: 0 0 28px rgba(212,175,55,0.65); } }
.hero-content h1 { font-size: 3.4rem; font-weight: 900; line-height: 1.4; margin-bottom: 20px; text-shadow: 0 6px 20px rgba(0,0,0,0.6); }
.gold-text { color: var(--gold-start); text-shadow: 0 0 25px rgba(212,175,55,0.5); }
.subtitle { font-size: 1.25rem; color: #e5e7eb; max-width: 800px; margin: 0 auto 40px; line-height: 2; }
.cta-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; }
.btn { display: inline-block; padding: 14px 35px; border-radius: 50px; text-decoration: none; font-weight: 800; transition: var(--transition); font-size: 1.05rem; }
.primary-btn:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(212,175,55,0.45); }
.secondary-btn { border: 2px solid rgba(255,255,255,0.35); color: #fff; backdrop-filter: blur(5px); }
.secondary-btn:hover { background: #fff; color: #000; }

/* التوك توك الجاري */
.tuk-run { position: absolute; bottom: 18px; right: -120px; z-index: 2; animation: run 14s linear infinite; }
.tuk-run span { display: inline-block; font-size: 3.2rem; filter: drop-shadow(0 6px 12px rgba(0,0,0,0.6)); animation: bounce 0.5s ease-in-out infinite alternate; }
@keyframes run { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-100vw - 240px)); } }
@keyframes bounce { from { transform: translateY(0); } to { transform: translateY(-6px); } }
.scroll-hint { position: absolute; bottom: 25px; left: 50%; transform: translateX(-50%); color: var(--gold-start); font-size: 1.4rem; animation: hint 1.6s infinite; }
@keyframes hint { 0%,100% { opacity: 0.4; transform: translate(-50%, 0); } 50% { opacity: 1; transform: translate(-50%, 8px); } }

/* شريط العبارات */
.text-marquee { background: var(--gold-gradient); color: #000; padding: 14px 0; overflow: hidden; direction: rtl; }
.text-marquee .track { display: inline-block; white-space: nowrap; animation: scroll 22s linear infinite; font-weight: 900; font-size: 1.15rem; }

/* ===== الأقسام ===== */
.section { padding: 100px 0; position: relative; z-index: 1; }
.section-header { margin-bottom: 55px; }
.section-header.center { text-align: center; }
.tagline { color: var(--gold-start); font-weight: 800; display: block; margin-bottom: 8px; font-size: 1.1rem; }
.section-header h2 { font-size: 2.6rem; font-weight: 900; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h3 { color: var(--gold-end); font-size: 1.6rem; margin-bottom: 20px; }
.about-text p { color: #d1d5db; line-height: 2; margin-bottom: 15px; font-size: 1.1rem; }
.about-image { position: relative; }
.about-image img { width: 100%; border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.1); transition: var(--transition); }
.about-image:hover img { transform: scale(1.02); }
.floating-card { position: absolute; bottom: -25px; right: -15px; background: var(--gold-gradient); padding: 18px 25px; border-radius: 18px; color: #000; text-align: center; box-shadow: 0 15px 30px rgba(0,0,0,0.4); animation: float 4s ease-in-out infinite; font-weight: 900; }
.floating-card i { font-size: 1.4rem; display: block; margin-bottom: 5px; }
.features-list { margin-top: 20px; }
.features-list li { list-style: none; margin-bottom: 16px; display: flex; align-items: center; gap: 14px; font-size: 1.15rem; font-weight: 700; color: #eee; }
.features-list i { color: var(--gold-start); font-size: 1.4rem; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { padding: 40px 30px; text-align: center; position: relative; overflow: hidden; }
.service-card:hover { transform: translateY(-10px); border-color: var(--gold-start); box-shadow: var(--neon-glow); }
.service-card::before { content: ''; position: absolute; top: 0; right: 0; width: 100%; height: 3px; background: var(--gold-gradient); transform: scaleX(0); transition: 0.5s; }
.service-card:hover::before { transform: scaleX(1); }
.service-card h3 { font-size: 1.4rem; margin-bottom: 12px; color: var(--gold-end); }
.service-card p { color: #9ca3af; line-height: 1.9; }
.icon-box { width: 90px; height: 90px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 25px; font-size: 2.3rem; box-shadow: 0 10px 25px rgba(212,175,55,0.35); transition: var(--transition); }
.service-card:hover .icon-box { transform: rotate(360deg); }

/* ===== العد التنازلي ===== */
.countdown-section { background: radial-gradient(circle at 50% 0%, rgba(212,175,55,0.08), transparent 60%); }
.count-sub { color: #9ca3af; max-width: 650px; margin: 15px auto 0; line-height: 1.9; font-size: 1.1rem; }
.countdown { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin: 45px 0 30px; }
.count-box { min-width: 130px; padding: 28px 15px; text-align: center; background: rgba(255,255,255,0.04); border: 1px solid rgba(212,175,55,0.45); border-radius: 20px; backdrop-filter: blur(10px); box-shadow: inset 0 0 25px rgba(212,175,55,0.06); }
.count-box .num { font-size: 3.2rem; font-weight: 900; color: var(--gold-start); display: block; line-height: 1; text-shadow: 0 0 20px rgba(212,175,55,0.4); }
.count-box .label { color: #aaa; font-weight: 800; margin-top: 10px; display: block; }
.num.tick { animation: tick 0.5s ease; }
@keyframes tick { 0% { transform: scale(1); } 40% { transform: scale(1.25); color: #fff; } 100% { transform: scale(1); } }
.opening-date { text-align: center; font-size: 1.25rem; font-weight: 900; color: var(--gold-end); margin-bottom: 35px; }
.notify-form { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.notify-form input { padding: 15px 28px; width: min(400px, 100%); border-radius: 50px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.05); color: #fff; font-size: 1rem; outline: none; transition: 0.3s; font-family: 'Cairo'; text-align: center; }
.notify-form input:focus { border-color: var(--gold-start); box-shadow: var(--neon-glow); }
.gift-note { text-align: center; margin-top: 25px; color: #fbbf24; font-weight: 800; animation: pulseGlow 2.5s infinite; display: inline-block; width: 100%; }

/* ===== المعرض ===== */
.gallery-section { padding: 90px 0; background: rgba(0,0,0,0.35); overflow: hidden; position: relative; z-index: 1; }
.marquee { width: 100%; overflow: hidden; direction: ltr; mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent); }
.marquee .track { display: inline-block; white-space: nowrap; animation: scroll 35s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.g-item { position: relative; display: inline-block; margin: 0 12px; height: 280px; vertical-align: top; }
.g-item img { height: 100%; max-width: 420px; border-radius: 16px; object-fit: cover; border: 2px solid rgba(255,255,255,0.1); transition: 0.4s; filter: sepia(15%); }
.g-item:hover img { filter: sepia(0%) brightness(1.1); border-color: var(--gold-start); transform: scale(1.03); }
.g-item figcaption { position: absolute; bottom: 0; right: 0; left: 0; padding: 35px 15px 12px; background: linear-gradient(transparent, rgba(0,0,0,0.9)); border-radius: 0 0 16px 16px; color: var(--gold-end); font-weight: 800; opacity: 0; transform: translateY(10px); transition: 0.4s; white-space: normal; }
.g-item:hover figcaption { opacity: 1; transform: translateY(0); }

/* ===== كلمنا ===== */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; padding: 55px; gap: 55px; }
.contact-wrapper:hover { border-color: rgba(212,175,55,0.4); }
.contact-info h2 { font-size: 2rem; margin-bottom: 15px; color: var(--gold-end); }
.contact-info p { color: #9ca3af; line-height: 1.9; margin-bottom: 10px; }
.info-item { display: flex; align-items: center; gap: 18px; margin: 20px 0; font-size: 1.15rem; font-weight: 700; }
.info-item i { color: var(--gold-start); font-size: 1.6rem; }
.social-links { margin-top: 25px; }
.social-links a { display: inline-flex; width: 42px; height: 42px; background: rgba(255,255,255,0.08); color: #fff; align-items: center; justify-content: center; border-radius: 50%; margin-left: 10px; transition: 0.3s; text-decoration: none; }
.social-links a:hover { background: var(--gold-gradient); color: #000; transform: translateY(-4px); }
.contact-form input, .contact-form textarea { width: 100%; padding: 16px; margin-bottom: 18px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; color: #fff; outline: none; transition: 0.3s; font-family: 'Cairo'; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold-start); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.full-width { width: 100%; border: none; cursor: pointer; }

footer { background: #02040a; padding: 35px 0; text-align: center; color: #6b7280; border-top: 1px solid rgba(255,255,255,0.05); position: relative; z-index: 1; font-weight: 700; }

/* ===== حركات عامة ===== */
@keyframes zoomEffect { 0% { transform: scale(1); } 100% { transform: scale(1.12); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ===== التجاوب ===== */
.mobile-toggle { display: none; font-size: 1.5rem; color: var(--gold-start); cursor: pointer; }
@media (max-width: 900px) {
    .nav-links { display: none; position: absolute; top: 100%; right: 0; width: 100%; background: rgba(5,10,20,0.97); flex-direction: column; padding: 25px; gap: 20px; text-align: center; border-bottom: 1px solid var(--gold-start); }
    .nav-links.open { display: flex; animation: fadeIn 0.3s ease; }
    .mobile-toggle { display: block; }
    .hero-content h1 { font-size: 2.2rem; }
    .about-grid, .contact-wrapper { grid-template-columns: 1fr; }
    .row { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 1.9rem; }
    .count-box { min-width: 105px; }
    .count-box .num { font-size: 2.4rem; }
    .contact-wrapper { padding: 30px; }
    .g-item { height: 220px; }
}