/* ═══════════════════════════════════════════════════════════════
   LMX Hero Block — Frontend Styles
   Flite.bike inspired: marquee ticker, glow effects, staggered
   animations, animated gradient mesh background
   ═══════════════════════════════════════════════════════════════ */
.lmxhb { position: relative; overflow: hidden; background: var(--lmx-black, #0a0a0a); padding: 0; }

/* ── Animated gradient mesh background ── */
.lmxhb__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.lmxhb__bg::before {
    content: ''; position: absolute; width: 150%; height: 150%; top: -25%; left: -25%;
    background: radial-gradient(ellipse 600px 400px at 20% 50%, rgba(240,165,0,0.12) 0%, transparent 70%),
                radial-gradient(ellipse 500px 500px at 80% 30%, rgba(240,165,0,0.06) 0%, transparent 70%),
                radial-gradient(ellipse 400px 300px at 60% 80%, rgba(255,184,32,0.04) 0%, transparent 70%);
    animation: lmxhb-mesh 12s ease-in-out infinite alternate;
}
@keyframes lmxhb-mesh { 0% { transform: translate(0,0) rotate(0deg); } 100% { transform: translate(3%,-2%) rotate(2deg); } }

/* Sunburst */
.lmxhb__sunburst { position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background: repeating-conic-gradient(from 0deg at 50% 65%, rgba(240,165,0,0.04) 0deg, rgba(240,165,0,0.04) 6deg, transparent 6deg, transparent 12deg);
    opacity: 0; animation: lmxhb-fade-in 2s 0.5s ease forwards; }
@keyframes lmxhb-fade-in { to { opacity: 1; } }
.lmxhb--clean .lmxhb__sunburst, .lmxhb--clean .lmxhb__bg::before { display: none; }

/* ── Scrolling Marquee Ticker (Flite-style) ── */
.lmxhb__ticker { position: relative; z-index: 2; background: var(--lmx-accent, #f0a500); overflow: hidden; white-space: nowrap; padding: 7px 0; }
.lmxhb__ticker-track { display: inline-flex; animation: lmxhb-ticker 25s linear infinite; }
.lmxhb__ticker-item { display: inline-flex; align-items: center; gap: 8px; padding: 0 28px;
    font-family: var(--lmx-font-body, 'Source Sans 3', sans-serif); font-weight: 700; font-size: 0.78rem;
    color: var(--lmx-black, #0a0a0a); text-transform: uppercase; letter-spacing: 0.08em; }
.lmxhb__ticker-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--lmx-black, #0a0a0a); opacity: 0.4; }
@keyframes lmxhb-ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── Top section ── */
.lmxhb__top { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
    max-width: 1280px; margin: 0 auto; padding: 4rem 2rem 3rem; align-items: center; }

/* ── Staggered entrance ── */
.lmxhb__headline, .lmxhb__subtitle, .lmxhb__cta {
    opacity: 0; transform: translateY(30px); animation: lmxhb-rise 0.8s cubic-bezier(0.16,1,0.3,1) forwards; }
.lmxhb__headline { animation-delay: 0.2s; }
.lmxhb__subtitle { animation-delay: 0.4s; }
.lmxhb__cta      { animation-delay: 0.6s; }
@keyframes lmxhb-rise { to { opacity: 1; transform: translateY(0); } }

/* ── Headline ── */
.lmxhb__headline { font-family: var(--lmx-font-display, 'Oswald', sans-serif); font-weight: 900;
    font-size: clamp(3rem, 8vw, 6.5rem); line-height: 0.95; letter-spacing: -0.02em;
    text-transform: uppercase; color: var(--lmx-text-bright, #fff); margin: 0 0 1.25rem; }
.lmxhb__headline-accent { color: var(--lmx-accent, #f0a500);
    text-shadow: 0 0 40px rgba(240,165,0,0.3), 0 0 80px rgba(240,165,0,0.1); }

.lmxhb__subtitle { font-family: var(--lmx-font-body, 'Source Sans 3', sans-serif);
    font-size: 1rem; line-height: 1.65; color: var(--lmx-muted, #999); max-width: 460px; margin: 0 0 2rem; }

/* ── CTA with glow ── */
.lmxhb__cta { display: flex; gap: 0.75rem; }
.lmxhb__btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 2.25rem;
    background: var(--lmx-accent, #f0a500); color: var(--lmx-black, #0a0a0a);
    font-family: var(--lmx-font-body); font-weight: 700; font-size: 0.9rem; border-radius: 999px;
    text-decoration: none; transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
    box-shadow: 0 0 0 0 rgba(240,165,0,0.4); }
.lmxhb__btn:hover { background: var(--lmx-accent-hover, #ffb820); color: var(--lmx-black, #0a0a0a);
    transform: translateY(-2px); box-shadow: 0 8px 30px rgba(240,165,0,0.35); }

/* ── Hero image with float + glow ── */
.lmxhb__hero-image { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center;
    opacity: 0; animation: lmxhb-img-in 1s 0.4s cubic-bezier(0.16,1,0.3,1) forwards; }
@keyframes lmxhb-img-in { 0% { opacity: 0; transform: scale(0.9) translateY(20px); } 100% { opacity: 1; transform: scale(1) translateY(0); } }

.lmxhb__hero-image img { max-width: 100%; max-height: 420px; object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(0,0,0,0.6)); animation: lmxhb-float 4s ease-in-out infinite; }
@keyframes lmxhb-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.lmxhb__hero-image::before { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%;
    background: radial-gradient(circle, rgba(240,165,0,0.15) 0%, transparent 70%); filter: blur(40px); z-index: -1;
    animation: lmxhb-glow 3s ease-in-out infinite alternate; }
@keyframes lmxhb-glow { 0% { opacity: 0.5; transform: scale(0.9); } 100% { opacity: 1; transform: scale(1.1); } }

/* ═══ PRODUCT CAROUSEL ═══ */
.lmxhb__products { position: relative; z-index: 1; background: var(--lmx-dark-alt, #1a1a1a);
    padding: 1.5rem 0; border-top: 1px solid var(--lmx-border, #333); overflow: hidden; }
.lmxhb__carousel { display: flex; gap: 0.75rem; max-width: 1280px; margin: 0 auto; padding: 0 2rem;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.lmxhb__carousel::-webkit-scrollbar { display: none; }

.lmxhb__card { position: relative; flex: 0 0 auto; width: 310px; display: flex; align-items: center; gap: 0.75rem;
    padding: 0.65rem; background: var(--lmx-surface, #222); border: 1px solid var(--lmx-border, #333);
    border-radius: var(--lmx-radius-lg, 12px); scroll-snap-align: start;
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
    opacity: 0; transform: translateY(20px); animation: lmxhb-card-in 0.6s ease forwards; }
.lmxhb__card:nth-child(1) { animation-delay: 0.8s; }
.lmxhb__card:nth-child(2) { animation-delay: 0.9s; }
.lmxhb__card:nth-child(3) { animation-delay: 1.0s; }
.lmxhb__card:nth-child(4) { animation-delay: 1.1s; }
.lmxhb__card:nth-child(5) { animation-delay: 1.2s; }
.lmxhb__card:nth-child(6) { animation-delay: 1.3s; }
@keyframes lmxhb-card-in { to { opacity: 1; transform: translateY(0); } }

.lmxhb__card:hover { border-color: var(--lmx-accent, #f0a500); transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3), 0 0 0 1px rgba(240,165,0,0.2); }

.lmxhb__card-badge { position: absolute; top: 6px; left: 6px; z-index: 3; padding: 2px 6px;
    font-size: 0.6rem; font-weight: 800; border-radius: 4px; background: var(--lmx-status-deal, #f0a500);
    color: var(--lmx-black, #0a0a0a); line-height: 1.4; }

.lmxhb__card-thumb { flex-shrink: 0; width: 80px; height: 80px; border-radius: var(--lmx-radius, 6px);
    overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; }
.lmxhb__card-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.lmxhb__card-noimg { font-size: 2rem; opacity: 0.25; }

.lmxhb__card-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.2rem; }
.lmxhb__card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.4rem; }
.lmxhb__card-name { font-family: var(--lmx-font-body); font-weight: 700; font-size: 0.82rem; line-height: 1.3;
    color: var(--lmx-text-bright, #fff); text-decoration: none; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.2s; }
.lmxhb__card-name:hover { color: var(--lmx-accent, #f0a500); }

.lmxhb__card-price { font-weight: 800; font-size: 1rem; color: var(--lmx-text-bright, #fff); white-space: nowrap; flex-shrink: 0; }
.lmxhb__card-was { font-size: 0.7rem; color: var(--lmx-muted, #999); text-decoration: line-through; }
.lmxhb__card-desc { font-size: 0.7rem; color: var(--lmx-muted, #999); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.lmxhb__card-buy { display: inline-block; margin-top: 0.25rem; padding: 0.3rem 0.7rem;
    font-family: var(--lmx-font-body); font-size: 0.7rem; font-weight: 700;
    background: var(--lmx-accent, #f0a500); color: var(--lmx-black, #0a0a0a);
    border: none; border-radius: var(--lmx-radius, 6px); text-decoration: none; width: fit-content; transition: all 0.2s; }
.lmxhb__card-buy:hover { background: var(--lmx-accent-hover, #ffb820); color: var(--lmx-black, #0a0a0a); transform: translateY(-1px); }

/* ═══ EFFECT TOGGLES ═══ */
.lmxhb--no-stagger .lmxhb__headline,
.lmxhb--no-stagger .lmxhb__subtitle,
.lmxhb--no-stagger .lmxhb__cta,
.lmxhb--no-stagger .lmxhb__hero-image,
.lmxhb--no-stagger .lmxhb__card { opacity: 1; transform: none; animation: none; }
.lmxhb--no-float .lmxhb__hero-image img { animation: none; }
.lmxhb--no-float .lmxhb__hero-image::before { display: none; }
.lmxhb--no-card-fx .lmxhb__card:hover { transform: none; box-shadow: none; }
.lmxhb--no-btn-glow .lmxhb__btn:hover { box-shadow: none; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
    .lmxhb__top { grid-template-columns: 1fr; text-align: center; padding: 3rem 1.5rem 2rem; }
    .lmxhb__subtitle { margin-left: auto; margin-right: auto; }
    .lmxhb__cta { justify-content: center; }
    .lmxhb__hero-image img { max-height: 300px; }
    .lmxhb__card { width: 280px; }
    .lmxhb__hero-image::before { width: 200px; height: 200px; }
}
@media (max-width: 600px) {
    .lmxhb__top { padding: 2rem 1rem 1.5rem; }
    .lmxhb__headline { font-size: clamp(2.5rem, 14vw, 4rem); }
    .lmxhb__hero-image img { max-height: 220px; }
    .lmxhb__products { padding: 1.25rem 0; }
    .lmxhb__carousel { flex-direction: column; overflow-x: visible; gap: 0.5rem; padding: 0 1rem; }
    .lmxhb__card { width: 100%; opacity: 1; transform: none; animation: none; }
    .lmxhb__card-thumb { width: 70px; height: 70px; }
    .lmxhb__ticker-item { font-size: 0.7rem; padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .lmxhb__headline, .lmxhb__subtitle, .lmxhb__cta, .lmxhb__hero-image, .lmxhb__card { opacity: 1; transform: none; animation: none; }
    .lmxhb__hero-image img, .lmxhb__hero-image::before, .lmxhb__bg::before, .lmxhb__sunburst { animation: none; }
    .lmxhb__ticker-track { animation: none; }
}
