/* Global Background Style - Dark Theme with Floating Hebrew Letters */
/* Professional dark glassmorphism design */

:root {
    --glow-color: #7c3aed;
    --glow-color-2: #3b82f6;
    --glow-cyan: #06b6d4;
    --glow-green: #10b981;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --bg-dark: #0d1117;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-subtle: rgba(255, 255, 255, 0.08);
}

/* Base body */
body {
    background: #0d1117 !important;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text-primary);
}

/* Dark gradient background */
.background-dark {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -5;
    background: linear-gradient(180deg, #0d0d1a 0%, #1a1a2e 30%, #16213e 70%, #0f0f23 100%);
}

/* Floating Hebrew Letters Container */
.hebrew-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    overflow: hidden;
    pointer-events: none;
}

/* Individual floating letter */
.float-letter {
    position: absolute;
    font-family: 'Times New Roman', 'David', serif;
    font-weight: bold;
    opacity: 0;
    animation: floatUp var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
    color: var(--letter-color);
    text-shadow: 0 0 20px var(--letter-color);
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: var(--max-opacity);
    }
    90% {
        opacity: var(--max-opacity);
    }
    100% {
        transform: translateY(-100px) rotate(var(--rotation));
        opacity: 0;
    }
}

/* Stars */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -4;
    overflow: hidden;
    pointer-events: none;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle var(--duration) ease-in-out infinite;
    opacity: 0;
}

@keyframes twinkle {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: var(--max-opacity); transform: scale(1); }
}

/* Glow effects */
.glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.glow {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.4;
    transition: all 3s ease;
}

.glow-1 {
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--glow-color);
}

.glow-2 {
    top: 20%;
    right: -200px;
    background: var(--glow-color-2);
    opacity: 0.2;
}

.glow-3 {
    bottom: -300px;
    left: -200px;
    background: var(--glow-cyan);
    opacity: 0.15;
}

/* Legacy support - hide old elements if they exist */
.sky-bg,
.divine-light,
.light-rays,
.sparkles {
    display: none !important;
}
