/* Контейнер для видео-фона */
#video-bg-container {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2;
    overflow: hidden;
}

#background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Затемняем видео для читаемости */
    transition: opacity 1s ease-in-out;
}

.video-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
    z-index: -1;
}

.horoscope-page {
    overflow-y: auto;
    background: #000; /* Резервный фон */
}

.horoscope-page .container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 4vh 20px;
    box-sizing: border-box;
    gap: 15px;
}

/* Магический Шар */
.horoscope-page .magic-ball {
    width: 240px; 
    height: 240px;
    background: radial-gradient(circle at 30% 30%, rgba(125, 95, 255, 0.2), rgba(20, 20, 40, 0.8));
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    box-shadow: 0 0 60px rgba(0,0,0,0.8), inset 0 0 30px rgba(125, 95, 255, 0.2);
    position: relative;
    border: 1px solid rgba(125, 95, 255, 0.1);
}

.ball-inner-content {
    opacity: 0;
    transition: all 1s ease-in-out;
    font-size: 6rem;
    text-shadow: 0 0 30px rgba(125, 95, 255, 0.8);
}
.ball-inner-content.visible { opacity: 1; transform: scale(1.1); }

/* Ввод */
.input-section {
    display: flex;
    gap: 15px;
    backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 25px;
}

input[type="date"] {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: 1px solid rgba(125, 95, 255, 0.4);
    border-radius: 15px;
    padding: 8px 12px;
    color-scheme: dark;
}

#horoBtn {
    background: rgba(125, 95, 255, 0.2);
    color: white;
    border: 1px solid rgba(125, 95, 255, 0.5);
    border-radius: 15px;
    padding: 8px 20px;
    cursor: pointer;
    transition: 0.3s;
}

#horoBtn:hover {
    background: rgba(125, 95, 255, 0.4);
    box-shadow: 0 0 15px rgba(125, 95, 255, 0.5);
}

/* Карточка предсказания */
.prediction-card {
    background: rgba(10, 10, 30, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(125, 95, 255, 0.3);
    border-radius: 20px; 
    padding: 20px;
    max-width: 500px;
    width: 100%;
    color: #e0e0e0;
    line-height: 1.5;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.footer-nav {
    display: flex;
    gap: 15px;
}

.nav-btn {
    text-decoration: none;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: 0.3s;
}
.nav-btn:hover { color: #7d5fff; }