@font-face { font-family: 'Cairo'; src: url('Cairo-Regular.ttf') format('truetype'); font-weight: normal; font-style: normal; }

@font-face { font-family: 'Cairo'; src: url('Cairo-Bold.ttf') format('truetype'); font-weight: bold; font-style: normal; }

html, body { margin: 0; padding: 0; width: 100%; height: 100vh; font-family: 'Cairo', sans-serif; background: linear-gradient(to bottom right, #f0f4f8, #ffffff); overflow: hidden; position: relative; }

.splash-wrapper { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; width: 100%; height: 100vh; padding-top: 60px; text-align: center; z-index: 1; box-sizing: border-box; backdrop-filter: blur(3px); }

.splash-logo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); margin-bottom: 20px; border: 5px solid #B8860B; /* زهبي غامق */ }

.splash-content { background: #ffffff; padding: 40px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); width: 90%; max-width: 600px; display: flex; flex-direction: column; align-items: center; gap: 20px; animation: fadeIn 1s ease-out; }

.splash-content h1 { font-size: 2em; color: #1E3A8A; font-weight: 900; margin: 0; }

.splash-content .typing-text { font-size: 1.2em; color: #111827; font-weight: 600; margin: 0; position: relative; min-height: 2em; white-space: nowrap; }

.splash-content .typing-text::after { content: '|'; position: absolute; color: #3B82F6; animation: blink 0.6s step-end infinite; }

@keyframes blink { 50% { opacity: 0; } }

.splash-subtitle { font-size: 1em; color: #6B7280; font-weight: 500; margin: 0; }

.loader { display: flex; align-items: center; gap: 10px; margin-top: 20px; }

.ecg-spinner { width: 32px; height: 16px; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 20" fill="none" stroke="%233B82F6" stroke-width="2"><path d="M0 10 H8 L10 4 L12 16 L14 8 L16 12 H20 M20 10 H24 L26 4 L28 16 L30 8 L32 12 H40"/></svg>'); background-size: cover; animation: ecgPulse 1.3s ease-in-out infinite; }

@keyframes ecgPulse { 0%, 100% { transform: translateY(0); opacity: 0.85; } 50% { transform: translateY(-3px); opacity: 1; } }

.loader span { font-size: 1em; color: #3B82F6; font-weight: 700; }

.elegant-footer { background: #f9fafb; color: #111827; text-align: center; padding: 20px; width: 100%; position: fixed; bottom: 0; z-index: 2; box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05); }

.elegant-footer p { font-size: 1em; font-weight: 600; margin: 0; color: #111827; }

.elegant-footer .heart { color: #EF4444; font-size: 1.2em; animation: gentlePulse 1.2s ease-in-out infinite; }

@keyframes gentlePulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }

@keyframes fadeIn { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: 1; transform: translateY(0); } }

@media (max-width: 768px) { .splash-content { padding: 30px; }

.splash-content h1 {
    font-size: 1.6em;
}

.splash-content .typing-text {
    font-size: 1em;
}

.splash-subtitle {
    font-size: 0.9em;
}

.elegant-footer p {
    font-size: 0.9em;
}

}

@media (max-width: 480px) { .splash-logo { width: 100px; height: 100px; }

.splash-content {
    padding: 20px;
}

.splash-content h1 {
    font-size: 1.4em;
}

.splash-content .typing-text {
    font-size: 0.95em;
}

.splash-subtitle {
    font-size: 0.85em;
}

.elegant-footer p {
    font-size: 0.85em;
}

}

