/* Tech Works Banner */
.tech-banner {
    background: linear-gradient(90deg, var(--warning), var(--warning-secondary));
    color: #fff;
    font: var(--text-caption);
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.3s ease;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.tech-banner.active {
    max-height: 40px;
    opacity: 1;
    padding: var(--space-8);
}

/* Screens Wrapper for flex layout */
.screens-wrapper {
    position: relative;
    flex: 1;
    overflow: hidden;
}

/* CTA Tariff Block */
.cta-tariff-block {
    position: relative;
    top: -24px;
    z-index: 10;
    margin-bottom: 0px;
    background-color: #0a0d1444;
    backdrop-filter: blur(12px);
    padding-top: 24px;
    padding-bottom: 12px;
}

.gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background: linear-gradient(45deg,
            #9e42fa55 0%,
            #4c86ea55 15%,
            #4facfe55 30%,
            #00f2fe55 45%,
            #9e42fa55 60%,
            #4c86ea55 75%,
            #4facfe55 90%,
            #00f2fe55 100%);
    background-size: 1800% 1800%;
    opacity: 0.3;
    filter: blur(30px);
    z-index: 0;
    /* Или -1, если у контента z-index выше */

    animation: moveGradient 5s linear infinite;
    pointer-events: none;
    /* Важно! Чтобы можно было кликать сквозь фон */
    will-change: background-position;
    /* Оптимизация для плавности */
}

@keyframes moveGradient {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

/* Status Elements */
.dot.danger {
    background: var(--danger);
    box-shadow: 0 0 8px var(--danger);
}

.dot.warning {
    background: var(--warning);
    box-shadow: 0 0 8px var(--warning);
}

/* Daily Bonus */
.bonus-days {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-12);
}

.bonus-day {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
}

.bonus-day.active {
    background: var(--accent-main);
    color: #000;
    border-color: var(--accent-main);
    font-weight: bold;
}

.bonus-day.claimed {
    border-color: var(--success);
    color: var(--success);
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 8px;
}

.progress-fill {
    width: 65%;
    height: 100%;
    background: var(--accent-main);
    border-radius: 4px;
}

.bonus-reward-card {
    margin: var(--space-24) 0px;
}

.info-help-btn {
    width: 24px;
    height: 24px;
    font-size: 14px;
    padding: 14px;
    margin-bottom: var(--space-12);
}

#tech-modal h3 {
    margin: var(--space-12) 0px;
    color: var(--accent-main);
    font: var(--text-h2);
}

#tech-modal ul {
    padding-left: 20px;
    list-style-type: disc;
}

#tech-modal li {
    color: rgba(255, 255, 255, 0.6);
    font: var(--text-caption);
}

@keyframes shimmer {
    0% {
        left: 0%;
    }

    100% {
        left: 150%;
    }
}

/* Сам блик */
.tech-banner::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    /* Выносим за пределы видимости слева */
    width: 100%;
    height: 100%;

    /* Создаем градиент блика */
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 100%);

    /* Запускаем бесконечную анимацию */
    animation: shimmer 2s infinite;
}
