/* =====================================================
   HOME - QUICK BUTTONS
   ===================================================== */

/* Carousel wrapper */
.home-menu-holder {
    position: relative;
}

/* Carousel track */
.home-menu ul,
.home-menu > app-widget-host {
    background-color: var(--c-primary-c);
    margin: 0;
    padding: 5px;
    display: flex;
    align-items: center;
    overflow-x: auto;
}

/* Individual carousel cards */
.home-menu ul li,
.home-menu > app-widget-host .today-coupon-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 25%;
    min-width: 120px;
    margin: 0 2px;
    background-color: var(--c-neutral-600);
    border-radius: 12px;
    padding: 2px;
}

/* Today Coupon inner wrapper */
.home-menu > app-widget-host .today-coupon-mobile > app-widget-host {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 12px;
    background-color: var(--c-neutral-700);
    gap: 6px;
}

/* Today Coupon image */
.home-menu > app-widget-host .today-coupon-mobile .beto-image img {
    width: 24px;
}

/* Menu link typography and layout */
.home-menu ul.menu li a.menu-link,
.home-menu > app-widget-host .today-coupon-mobile > app-widget-host .menu-link {
    background-color: transparent;
    color: var(--c-white-e);
    font-size: 11px;
    white-space: nowrap;
    width: 100%;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    padding: 0;
    position: relative;
}

/* Inner menu link wrapper */
.home-menu > app-widget-host .today-coupon-mobile > app-widget-host .menu-link > app-widget-host {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* HOME MENU — Hide horizontal scrollbar */
.home-menu ul,
.home-menu > app-widget-host {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}
.home-menu ul::-webkit-scrollbar,
.home-menu > app-widget-host::-webkit-scrollbar {
    display: none !important;
}
/* HOME MENU — Typography */
.home-menu ul.menu li a.menu-link,
.home-menu > app-widget-host .today-coupon-mobile > app-widget-host .menu-link {
    font-family: "Geologica", sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--c-neutral-100);
    white-space: nowrap;
    width: 100%;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    padding: 0;
    position: relative;
}
/* HOME MENU — Hide Today Coupon tag */
.home-menu > app-widget-host .today-coupon-mobile .tab-tag {
    display: none !important;
}
/* HOME MENU — Main background */
.home-menu ul,
.home-menu > app-widget-host {
    background-color: var(--c-primary-c);
    padding: 8px;
}
/* HOME MENU — Remove inner Today Coupon background */
.home-menu > app-widget-host .today-coupon-mobile > app-widget-host {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    gap: 4px;
    padding: 12px 12px 10px 12px;
}
/* HOME MENU — Single gradient card and border */
.home-menu ul li,
.home-menu > app-widget-host .today-coupon-mobile {
    position: relative;
    box-sizing: border-box;
    border: 2px solid transparent;
    border-radius: 12px;

background:
	linear-gradient(
        0deg,
        var(--c-neutral-800) 0%,
        var(--c-neutral-700) 100%
    ) padding-box,
    linear-gradient(
        0deg,
        var(--c-neutral-700) 0%,
        var(--c-neutral-600) 100%
    ) border-box;

    margin: 0 4px;
    padding: 0 !important;

    flex-shrink: 0;
    height: 72px;
    min-height: 72px;
    max-height: 72px;
    min-width: 100px;
    max-width: none;
}

/* CHALLENGES — Subtle inner yellow glow */
.home-menu > app-widget-host .today-coupon-mobile.challenges {
    box-shadow:
        inset 0 0 12px rgba(255, 183, 27, 0.10),
        inset 0 0 3px rgba(255, 183, 27, 0.16);
}

/* CHALLENGES — Animated border gradient */
@property --challenge-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.home-menu > app-widget-host .today-coupon-mobile.challenges {
    position: relative;
    isolation: isolate;
}

/* Moving highlight restricted to the border */
.home-menu > app-widget-host .today-coupon-mobile.challenges::before {
    content: "";
    position: absolute;
    inset: -2px;
    padding: 2px;
    border-radius: 14px;

    background: conic-gradient(
        from var(--challenge-angle),
        transparent 0deg,
        transparent 235deg,
        rgba(255, 183, 27, 0.15) 255deg,
         var(--c-brand-500) 275deg,
         var(--c-brand-400) 285deg,
         var(--c-brand-500) 295deg,
        rgba(255, 183, 27, 0.15) 315deg,
        transparent 335deg,
        transparent 360deg
    );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;
    z-index: 2;

    animation: challengesBorderTravel 4s linear infinite;
}

@keyframes challengesBorderTravel {
    to {
        --challenge-angle: 360deg;
    }
}