/* =============================================
   COUNTDOWN BANNER – Kezdő csoport visszaszámláló
   ============================================= */

.countdown-banner {
    width: 100%;
    position: fixed;
    top: 72px; /* navbar magassága – állítsd ha szükséges */
    left: 0;
    right: 0;
    z-index: 999;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.4s ease, border-color 0.4s ease;
    overflow: hidden;
}

/* Scrollozott állapot – #6B6560 háttér */
.countdown-banner.scrolled {
    background: #2c2a29;
    border-bottom: 1px solid rgba(205, 133, 63, 0.2);
}

/* Fényes sáv animáció (csak scrollozott állapotban látható) */
.countdown-banner.scrolled::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(205, 133, 63, 0.06),
        transparent
    );
    animation: bannerShine 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes bannerShine {
    0%   { left: -60%; }
    100% { left: 160%; }
}

.countdown-banner-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0.85rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* ── Bal oldal – szöveg ── */
.countdown-banner-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.countdown-banner-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.countdown-banner-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.countdown-banner-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.countdown-banner-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-color, #CD853F);
    opacity: 0.9;
}

.countdown-banner-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.countdown-banner-title span {
    color: var(--accent-color, #CD853F);
}

/* ── Elválasztó ── */
.countdown-banner-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

/* ── Jobb oldal – visszaszámláló ── */
.countdown-banner-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-shrink: 0;
}

.countdown-banner-label-right {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

/* Időegységek konténere */
.countdown-units {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Egy időegység blokk */
.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.countdown-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    min-width: 2.2ch;
    text-align: center;
    letter-spacing: -0.02em;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.countdown-number.flip {
    transform: scale(1.15);
    color: var(--accent-color, #CD853F);
}

.countdown-unit-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.52rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

/* Elválasztó kettőspont */
.countdown-separator {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: rgba(205, 133, 63, 0.7);
    line-height: 1;
    margin-bottom: 0.9rem;
    animation: separatorBlink 1s ease-in-out infinite;
}

/* ── CTA gomb ── */
.countdown-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    background: linear-gradient(135deg, #814E34 0%, #CD853F 100%);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 50px;
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 3px 12px rgba(205, 133, 63, 0.35);
    white-space: nowrap;
}

.countdown-banner-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(205, 133, 63, 0.55);
    color: #ffffff;
    text-decoration: none;
}

.countdown-banner-cta:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 767.98px) {
    .countdown-banner-cta {
        width: 100%;
        justify-content: center;
        font-size: 0.82rem;
        padding: 0.55rem 1rem;
    }
}

@keyframes separatorBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

/* Lejárt állapot */
.countdown-expired {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4ddb77;
    letter-spacing: 0.05em;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .countdown-banner-inner {
        padding: 0.75rem 1.5rem;
        gap: 1.25rem;
    }

    .countdown-banner-label-right {
        display: none;
    }

    .countdown-banner-title {
        font-size: 0.88rem;
    }
}

@media (max-width: 767.98px) {
    .countdown-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.9rem 1.25rem;
        gap: 0.75rem;
    }

    .countdown-banner-divider {
        display: none;
    }

    .countdown-banner-right {
        width: 100%;
        justify-content: flex-start;
        gap: 0.75rem;
    }

    .countdown-number {
        font-size: 1.2rem;
    }
}

@media (max-width: 400px) {
    .countdown-banner-icon {
        display: none;
    }

    .countdown-number {
        font-size: 1.05rem;
        min-width: 2ch;
    }
}