.counting-days {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: center;
    padding: 4rem 2rem;
}

.slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1/1;
    margin-bottom: 2rem;
}

.slider::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.1);
    z-index: 1;
}

.slider h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;

    color: var(--color-light);
    font-family: var(--font-display);
    font-size: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    pointer-events: none;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 5s ease-out;
}

.slide.active {
    opacity: 1;
    transform: scale(1.08);
}

.counting-days a {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 0.8rem;
    text-decoration: none;
    color: var(--color-contrast);
    background-color: var(--color-accent);
    padding: 0.5rem 1rem;
    transition: background 0.5s ease, color 0.5s ease;
}

.counting-days a:hover {
    color: var(--color-accent);
    background-color: var(--color-contrast);
}

.counting-days i {
    margin-right: 5px;
}