/* ============================================================
   KECKEX Landing Page — Premium Edition V2
   Page-specific styles (shared tokens in public.css)
   ============================================================ */



/* ============================================================
   HERO
   ============================================================ */
.lp-hero {
    background: linear-gradient(170deg, #f0f7e4 0%, #e8f5d6 30%, #f8fdf3 60%, #f0f9ff 100%);
    padding: 1.5rem 1.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.lp-hero--compact .lp-hero__inner { padding-bottom: 1rem; }
.lp-hero::before {
    content: '';
    position: absolute;
    top: -50%; right: -30%;
    width: 80%; height: 200%;
    background: radial-gradient(circle, rgba(139, 195, 74, 0.12) 0%, transparent 60%);
    pointer-events: none;
}
.lp-hero::after {
    content: '';
    position: absolute;
    bottom: -40%; left: -20%;
    width: 60%; height: 180%;
    background: radial-gradient(circle, rgba(107, 142, 35, 0.07) 0%, transparent 60%);
    pointer-events: none;
}
.lp-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    padding-bottom: 3.5rem;
}
.lp-hero__logo {
    max-height: 40px;
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.08));
}
.lp-hero__title {
    font-size: clamp(2rem, 5.5vw, 3.2rem);
    font-weight: 900;
    color: var(--kx-dark);
    line-height: 1.12;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}
.lp-hero__title span {
    background: linear-gradient(135deg, var(--kx-green), var(--kx-green-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.lp-hero__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: var(--kx-text-muted);
    max-width: 540px;
    margin: 0 auto 1rem;
    line-height: 1.7;
}
.lp-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2.5rem;
    background: linear-gradient(135deg, var(--kx-green), #7BA428);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(107, 142, 35, 0.3);
    transition: all 0.3s ease;
}
.lp-hero__cta:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(107, 142, 35, 0.4);
}

/* ── Pain Point Bar ── */
.lp-painbar {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    padding: 1.5rem 1rem;
    background: #fff;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -4px 30px rgba(0,0,0,0.04);
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.lp-painbar__item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--kx-text);
}
.lp-painbar__icon {
    width: 32px; height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* ============================================================
   FEATURE CARDS (used inside carousel)
   ============================================================ */
.lp-features__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}
.lp-features__grid--compact {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.lp-fcard {
    padding: 1.25rem;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--kx-radius);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.lp-fcard::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139,195,74,0.03), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.lp-fcard:hover {
    border-color: rgba(139,195,74,0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}
.lp-fcard:hover::before { opacity: 1; }
.lp-fcard__icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(107,142,35,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--kx-green);
    margin-bottom: 0.75rem;
}
.lp-fcard h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--kx-dark);
}
.lp-fcard p {
    font-size: 0.82rem;
    color: var(--kx-text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ============================================================
   AUDIENCE CARDS (used inside carousel)
   ============================================================ */
.lp-audience__inner {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.lp-audience__inner--compact {
    margin-top: 1.5rem;
}
.lp-acard {
    text-align: center;
    padding: 1.5rem 1.25rem;
    border: 1px solid var(--kx-card-border);
    border-radius: var(--kx-radius);
    background: rgba(255,255,255,0.8);
    transition: all 0.35s;
}
.lp-acard:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    border-color: rgba(139,195,74,0.3);
}
.lp-acard__icon {
    width: 44px; height: 44px;
    margin: 0 auto 0.75rem;
    border-radius: 12px;
    background: rgba(107,142,35,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--kx-green);
}
.lp-acard h3 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--kx-dark);
    margin-bottom: 0.35rem;
}
.lp-acard__tagline {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--kx-green);
    margin-bottom: 0.2rem;
}
.lp-acard__desc {
    font-size: 0.78rem;
    color: var(--kx-text-muted);
    margin: 0;
}

/* ============================================================
   CAROUSEL
   ============================================================ */
.lp-carousel-section {
    background: linear-gradient(170deg, #f8fdf3 0%, #ffffff 50%, #fafafa 100%);
    padding: 3rem 1.5rem;
    position: relative;
    overflow: hidden;
}
.lp-carousel-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: var(--kx-radius);
}
.lp-carousel {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.lp-carousel__slide {
    min-width: 100%;
    padding: 2.5rem 3rem;
    box-sizing: border-box;
}
.lp-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0 0.5rem;
}
.lp-carousel__dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(107,142,35,0.2);
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}
.lp-carousel__dot.active {
    background: var(--kx-green);
    transform: scale(1.3);
    box-shadow: 0 0 0 3px rgba(107,142,35,0.15);
}
.lp-carousel__dot:hover { background: rgba(107,142,35,0.5); }
.lp-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--kx-text-muted);
    transition: all 0.25s;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.lp-carousel__arrow:hover {
    background: #fff;
    color: var(--kx-green);
    border-color: var(--kx-green);
    box-shadow: 0 4px 14px rgba(107,142,35,0.15);
}
.lp-carousel__arrow--prev { left: 0.75rem; }
.lp-carousel__arrow--next { right: 0.75rem; }

/* Slide-specific: Quote */
.lp-slide-quote {
    text-align: center;
    padding: 1.5rem 0 2rem;
}
.lp-slide-quote blockquote {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-weight: 500;
    font-style: italic;
    color: var(--kx-text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    border: none;
    padding: 0;
}

/* Slide-specific: Benefits Bar */
.lp-benefits-bar {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    padding: 1rem 0;
}
.lp-benefits-bar__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--kx-dark);
}



/* ============================================================
   DEVICE GRID
   ============================================================ */
.lp-section--devices {
    padding: 7rem 1.5rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 20;
}
.lp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 680px;
}
.lp-grid__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: var(--kx-card-bg);
    border: 2px solid var(--kx-card-border);
    border-radius: var(--kx-radius);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.lp-grid__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 195, 74, 0.04), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.lp-grid__item:hover {
    border-color: rgba(139, 195, 74, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07), 0 0 30px rgba(107, 142, 35, 0.12);
}
.lp-grid__item:hover::after { opacity: 1; }
.lp-grid__item.active {
    border-color: var(--kx-green);
    background: linear-gradient(135deg, rgba(139, 195, 74, 0.06), rgba(107, 142, 35, 0.03));
    box-shadow: 0 0 0 4px var(--kx-green-glow), 0 10px 35px rgba(107, 142, 35, 0.18);
    transform: translateY(-4px) scale(1.03);
}
.lp-grid__item.active::after { opacity: 1; }
.lp-grid__item.active .lp-grid__thumb {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 12px rgba(107, 142, 35, 0.2));
}
.lp-grid__item.active .lp-grid__icon { color: var(--kx-green); transform: scale(1.15); }
.lp-grid__thumb {
    width: 200px; height: 200px;
    object-fit: contain;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
    max-width: 100%;
}
.lp-grid__item:hover .lp-grid__thumb {
    transform: scale(1.12) translateY(-4px);
    filter: drop-shadow(0 12px 30px rgba(107, 142, 35, 0.25));
}
.lp-grid__icon {
    width: 200px; height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--kx-text-muted);
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 16px;
}
.lp-grid__name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--kx-dark);
    line-height: 1.3;
}
.lp-devices {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2.5rem;
    align-items: start;
}

/* ── Price Badge on Grid Item ── */
.lp-grid__price {
    font-size: 1rem;
    font-weight: 900;
    color: var(--kx-green);
    margin-top: 0.3rem;
}
.lp-grid__leasing {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    margin-top: 0.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
    animation: leasingPulse 2s ease-in-out infinite;
}
.lp-grid__leasing:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.5);
}
@keyframes leasingPulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3); }
    50% { box-shadow: 0 4px 20px rgba(99, 102, 241, 0.5); }
}

/* ============================================================
   SPOTLIGHT HERO
   ============================================================ */
.lp-spotlight {
    background: linear-gradient(160deg, #0c0c0c 0%, #181818 30%, #1e1e1e 60%, #0e0e0e 100%);
    padding: 4.5rem 2rem;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    border-top: 3px solid var(--kx-green);
    border-bottom: 3px solid rgba(151, 215, 0, 0.3);
}
/* Engineering texture — brushed metal (spotlight_texture.png) */
.lp-spotlight::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/static/img/spotlight_texture.png') repeat;
    opacity: 0.65;
    pointer-events: none;
    z-index: 0;
}
.lp-spotlight::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(151, 215, 0, 0.4), transparent);
}
.lp-spotlight__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.lp-spotlight__image {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 8px 30px rgba(0,0,0,0.5));
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.02);
}
/* ── Premium Showcase Frame: traveling light around image ── */
.lp-spotlight__inner {
    position: relative;
}
.lp-spotlight__image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}
.lp-spotlight__image-wrap::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 15px;
    padding: 1px;
    background: conic-gradient(
        from var(--spotlight-angle, 0deg),
        transparent 0%,
        transparent 30%,
        rgba(255, 255, 255, 0.25) 45%,
        rgba(151, 215, 0, 0.35) 50%,
        rgba(255, 255, 255, 0.25) 55%,
        transparent 70%,
        transparent 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: frameSpin 8s linear infinite;
    pointer-events: none;
    z-index: 2;
}
@keyframes frameSpin {
    0%   { --spotlight-angle: 0deg; }
    100% { --spotlight-angle: 360deg; }
}
@property --spotlight-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
.lp-spotlight__content {
    color: #fff;
}
.lp-spotlight__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #fff;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    padding: 0.4rem 1.2rem;
    border-radius: 4px;
    border: none;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    animation: badgeGlow 2s ease-in-out infinite;
}
@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 3px 10px rgba(245, 158, 11, 0.25); }
    50% { box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4); }
}
.lp-spotlight__name {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}
.lp-spotlight__desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 420px;
}
.lp-spotlight__pricing {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.3rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.lp-spotlight__price {
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.lp-spotlight__price small {
    font-size: 0.4em;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
}
.lp-spotlight__rate {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    animation: spotlightRatePulse 2s ease-in-out infinite;
}
.lp-spotlight__rate:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.6);
}
.lp-spotlight__rate strong {
    color: #fff;
    font-size: 1.1em;
}
@keyframes spotlightRatePulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3); }
    50% { box-shadow: 0 5px 20px rgba(99, 102, 241, 0.5); }
}
.lp-spotlight__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--kx-green), #7BA428);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(107, 142, 35, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.lp-spotlight__cta:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(107, 142, 35, 0.4);
}

/* ── Action Buttons Row (Anfragen / YouTube / PDF) ── */
.lp-spotlight__actions {
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-top: 1.2rem;
}
.lp-spotlight__cta {
    grid-column: 1 / -1;
    justify-content: center;
}

/* ── Media Pill Buttons (YouTube / Brochure) ── */
.lp-spotlight__icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    white-space: nowrap;
}
.lp-spotlight__icon-btn i {
    font-size: 1rem;
}
.lp-spotlight__icon-btn--yt {
    background: rgba(255, 0, 0, 0.12);
    color: #FF3333;
    border: 1px solid rgba(255, 0, 0, 0.2);
}
.lp-spotlight__icon-btn--yt:hover {
    background: #FF0000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
}
.lp-spotlight__icon-btn--pdf {
    background: rgba(107, 142, 35, 0.12);
    color: var(--kx-green);
    border: 1px solid rgba(107, 142, 35, 0.2);
}
.lp-spotlight__icon-btn--pdf:hover {
    background: var(--kx-green);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 142, 35, 0.3);
}

/* ============================================================
   TRUST BAR — Big numbers strip
   ============================================================ */
.lp-trustbar {
    background: linear-gradient(135deg, #111827, #1e293b);
    padding: 2.5rem 1.5rem;
}
.lp-trustbar__inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.lp-trustbar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.lp-trustbar__num {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--kx-green);
    line-height: 1;
}
.lp-trustbar__label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.3rem;
}
.lp-trustbar__divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.1);
}

/* ============================================================
   AUDIENCE STRIP — Compact horizontal
   ============================================================ */
.lp-audience-strip {
    padding: 2rem 1.5rem;
    background: #f8fafc;
}
.lp-audience-strip__inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.lp-audience-strip__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--kx-dark);
}
.lp-audience-strip__item i {
    font-size: 1.5rem;
    color: var(--kx-green);
    flex-shrink: 0;
}
.lp-audience-strip__item strong {
    white-space: nowrap;
}
.lp-audience-strip__item span {
    color: var(--kx-text-muted);
    font-size: 0.82rem;
}

/* ============================================================
   QUOTE STRIP — Bold centered quote
   ============================================================ */
.lp-quote-strip {
    padding: 3rem 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #f0f7e4, #f8fdf3);
}
.lp-quote-strip blockquote {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 800;
    font-style: italic;
    color: var(--kx-dark);
    line-height: 1.4;
    max-width: 700px;
    margin: 0 auto;
    letter-spacing: -0.02em;
}

/* ============================================================
   LEASING CALCULATOR MODAL
   ============================================================ */
.lp-leasing-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    padding: 1rem;
}
.lp-leasing-modal.active { display: flex; }
.lp-leasing-card {
    background: #fff;
    border-radius: 20px;
    max-width: 520px;
    width: 100%;
    padding: 2.5rem;
    box-shadow: 0 25px 80px rgba(0,0,0,0.2);
    position: relative;
    animation: fadeSlideUp 0.3s ease-out;
}
.lp-leasing-card__close {
    position: absolute;
    top: 1rem; right: 1rem;
    background: none; border: none;
    font-size: 1.5rem; color: #94a3b8;
    cursor: pointer; line-height: 1;
    transition: color 0.2s;
}
.lp-leasing-card__close:hover { color: #1e293b; }
.lp-leasing-card__title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--kx-dark);
    margin-bottom: 0.5rem;
}
.lp-leasing-card__sub {
    font-size: 0.82rem;
    color: var(--kx-text-muted);
    margin-bottom: 1.5rem;
}
.lp-leasing-slider {
    margin-bottom: 1.5rem;
}
.lp-leasing-slider label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--kx-text-muted);
    letter-spacing: 0.04em;
}
.lp-leasing-slider input[type="range"] {
    width: 100%;
    accent-color: var(--kx-green);
    margin: 0.5rem 0;
}
.lp-leasing-slider .lp-slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: #94a3b8;
}
.lp-leasing-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}
.lp-leasing-table tr { border-bottom: 1px solid #f1f5f9; }
.lp-leasing-table tr:last-child { border-bottom: none; }
.lp-leasing-table td {
    padding: 0.7rem 0;
    font-size: 0.88rem;
}
.lp-leasing-table td:first-child {
    color: var(--kx-text-muted);
    font-weight: 500;
}
.lp-leasing-table td:last-child {
    text-align: right;
    font-weight: 700;
    color: var(--kx-dark);
}
.lp-leasing-table tr.lp-leasing-total {
    border-top: 2px solid var(--kx-green);
    border-bottom: none;
}
.lp-leasing-table tr.lp-leasing-total td {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--kx-green);
    padding-top: 1rem;
}
.lp-leasing-hint {
    font-size: 0.72rem;
    color: #94a3b8;
    text-align: center;
    line-height: 1.5;
}

/* ── Detail Panel ── */
.lp-detail {
    background: var(--kx-card-bg);
    border: 1px solid var(--kx-card-border);
    border-radius: var(--kx-radius);
    padding: 2.5rem;
    box-shadow: 0 15px 50px -15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 2rem;
    min-height: 350px;
}
.lp-detail__empty {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; height: 350px;
    color: var(--kx-text-muted); text-align: center; gap: 0.75rem;
}
.lp-detail__empty i { font-size: 2.5rem; opacity: 0.25; }
.lp-detail__image {
    width: 100%; max-height: 260px; object-fit: contain;
    border-radius: 14px; margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #f9fafb, #f3f4f6); padding: 1rem;
}
.lp-detail__name {
    font-size: 1.4rem; font-weight: 800; color: var(--kx-dark);
    margin-bottom: 0.35rem; letter-spacing: -0.01em;
}
.lp-detail__category {
    display: inline-block; font-size: 0.68rem; font-weight: 700;
    color: var(--kx-green); background: rgba(107, 142, 35, 0.1);
    padding: 0.25rem 0.75rem; border-radius: 50px;
    text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1.25rem;
}
.lp-detail__desc { font-size: 0.93rem; color: var(--kx-text-muted); line-height: 1.7; }
.lp-detail__desc p { margin-bottom: 0.35rem; }
.lp-detail__list { list-style: none; padding: 0; margin: 0.75rem 0; }
.lp-detail__list li {
    position: relative; padding-left: 1.7rem; margin-bottom: 0.5rem;
    font-size: 0.9rem; color: var(--kx-text); line-height: 1.5;
}
.lp-detail__list li::before { content: '✅'; position: absolute; left: 0; font-size: 0.85rem; }
.lp-detail__list li.lp-bullet::before { content: attr(data-bullet); }
.lp-detail__content { animation: fadeSlideUp 0.35s ease-out; }
.lp-detail__link {
    display: inline-flex; align-items: center; gap: 0.4rem;
    margin-top: 1.25rem; padding: 0.55rem 1.3rem;
    background: linear-gradient(135deg, var(--kx-green), #7BA428);
    color: #fff; border-radius: 6px; font-size: 0.82rem; font-weight: 600;
    text-decoration: none; transition: all 0.3s;
    box-shadow: 0 3px 12px rgba(107, 142, 35, 0.25);
}
.lp-detail__link:hover {
    color: #fff; transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(107, 142, 35, 0.35);
}


/* ── Detail Panel: Action Button Layout ── */
.lp-detail__actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.25rem;
}
.lp-detail__actions .lp-detail__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.8rem;
    background: linear-gradient(135deg, var(--kx-green), #7BA428);
    color: #fff;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 3px 12px rgba(107, 142, 35, 0.25);
    transition: all 0.3s;
    width: 100%;
}
.lp-detail__actions .lp-detail__cta-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 142, 35, 0.35);
}
.lp-detail__media-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
}
/* "Mehr erfahren" spans full width like CTA */
.lp-detail__media-btns .lp-detail__link {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
    margin-top: 0;
}
.lp-detail__media-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.lp-detail__media-btn i { font-size: 0.95rem; }
.lp-detail__media-btn--yt {
    background: rgba(255, 0, 0, 0.08);
    color: #e53e3e;
    border: 1px solid rgba(255, 0, 0, 0.15);
}
.lp-detail__media-btn--yt:hover {
    background: #FF0000; color: #fff;
    transform: translateY(-1px);
}
.lp-detail__media-btn--pdf {
    background: rgba(107, 142, 35, 0.08);
    color: var(--kx-green);
    border: 1px solid rgba(107, 142, 35, 0.15);
}
.lp-detail__media-btn--pdf:hover {
    background: var(--kx-green); color: #fff;
    transform: translateY(-1px);
}
/* ============================================================
   BENEFIT ICON (shared, used in carousel slide 3)
   ============================================================ */
.lp-benefit__icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(107,142,35,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--kx-green);
    flex-shrink: 0;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.lp-form-section {
    background: linear-gradient(170deg, #f0f7e4 0%, #f8fdf3 50%, #f0f9ff 100%);
    padding: 4rem 1.5rem;
    position: relative;
    overflow: hidden;
}
.lp-form-section::before {
    content: '';
    position: absolute;
    top: -40%; left: -20%;
    width: 60%; height: 180%;
    background: radial-gradient(circle, rgba(139, 195, 74, 0.06) 0%, transparent 65%);
    pointer-events: none;
}
.lp-form-card {
    max-width: 720px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--kx-radius);
    padding: 2.75rem;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.5);
    position: relative;
}
.lp-form-card .form-control,
.lp-form-card .form-control:focus {
    border-radius: 12px; padding: 0.7rem 1rem;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    font-size: 0.92rem; transition: all 0.25s;
    background: rgba(255, 255, 255, 0.7);
}
.lp-form-card .form-control:focus {
    border-color: var(--kx-green);
    box-shadow: 0 0 0 4px rgba(107, 142, 35, 0.12);
    background: #fff;
}
.lp-form-card .form-label {
    font-size: 0.82rem; font-weight: 600;
    color: var(--kx-text-muted); margin-bottom: 0.35rem;
}
.lp-radio-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.lp-radio-pill { position: relative; }
.lp-radio-pill input { position: absolute; opacity: 0; pointer-events: none; }
.lp-radio-pill label {
    display: inline-block; padding: 0.5rem 1.1rem;
    border: 1.5px solid rgba(0, 0, 0, 0.1); border-radius: 50px;
    font-size: 0.82rem; font-weight: 500; color: var(--kx-text-muted);
    cursor: pointer; transition: all 0.25s;
    background: rgba(255, 255, 255, 0.6);
}
.lp-radio-pill input:checked + label {
    border-color: var(--kx-green); background: rgba(107, 142, 35, 0.12);
    color: var(--kx-green); font-weight: 700;
    box-shadow: 0 2px 8px rgba(107, 142, 35, 0.12);
}
.lp-radio-pill label:hover { border-color: rgba(139, 195, 74, 0.5); }
.lp-submit-btn {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.85rem 2.5rem;
    background: linear-gradient(135deg, var(--kx-green), #7BA428);
    color: #fff; border: none; border-radius: 50px;
    font-size: 1rem; font-weight: 700; cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(107, 142, 35, 0.35);
}
.lp-submit-btn:hover {
    background: linear-gradient(135deg, var(--kx-green-light), var(--kx-green));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 142, 35, 0.4);
}
.lp-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.lp-success {
    text-align: center; padding: 2.5rem;
    animation: fadeSlideUp 0.4s ease-out;
}
.lp-success__icon { font-size: 3.5rem; color: var(--kx-green); margin-bottom: 1rem; }
.lp-dsgvo {
    display: flex; align-items: flex-start; gap: 0.6rem;
    font-size: 0.8rem; color: var(--kx-text-muted); line-height: 1.5;
}
.lp-dsgvo input[type="checkbox"] {
    margin-top: 3px; accent-color: var(--kx-green);
    width: 16px; height: 16px;
}


/* ============================================================
   VISUAL POLISH — Effects & Animations
   ============================================================ */

/* ── #1: Spotlight — clean, no glow (premium feel) ── */

/* ── #5: CTA Buttons — Clean, no shimmer (premium feel) ── */
.lp-hero__cta,
.lp-spotlight__cta,
.lp-submit-btn {
    position: relative;
    overflow: hidden;
}

/* ── Mobile: Spotlight actions wrap nicely ── */

/* ============================================================
   RESPONSIVE (legacy breakpoints — cleaned up)
   ============================================================ */
@media (max-width: 1000px) {
    .lp-devices { grid-template-columns: 1fr; }
    .lp-grid { max-width: 100%; }
    .lp-detail { position: static; }
    .lp-spotlight__inner { grid-template-columns: 1fr; text-align: center; }
    .lp-spotlight__image-wrap {
        width: 70%;
        margin: 0 auto;
    }
    .lp-spotlight__image {
        width: 100%;
        max-height: none;
        margin: 0 auto;
        display: block;
    }
    .lp-spotlight__desc { margin-left: auto; margin-right: auto; }
    .lp-spotlight__pricing { justify-content: center; }
    .lp-spotlight__content { align-items: center; }
    .lp-spotlight__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        width: 100%;
        justify-content: center;
    }
    .lp-spotlight__cta {
        grid-column: 1 / -1;
        width: 100%;
        justify-content: center;
    }
    .lp-spotlight__icon-btn {
        justify-content: center;
    }
}
@media (max-width: 768px) {
    .lp-spotlight { padding: 2.5rem 1.25rem; }
    .lp-spotlight__name { font-size: 1.8rem; }
    .lp-spotlight__image { width: 100%; max-height: none; }
}
@media (max-width: 600px) {
    .lp-hero { padding: 2.5rem 1rem 0; }
    .lp-grid { grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
    .lp-grid__item { padding: 1rem 0.5rem; gap: 0.5rem; }
    .lp-grid__thumb { width: 100%; height: auto; aspect-ratio: 1; }
    .lp-grid__icon { width: 100%; height: auto; aspect-ratio: 1; font-size: 2.5rem; }
    .lp-grid__name { font-size: 0.75rem; }
    .lp-form-card { padding: 1.75rem; }
    .lp-section--devices { padding: 2.5rem 1rem; }
    .lp-detail { padding: 1.5rem; }
    .lp-spotlight__image { width: 100%; max-height: none; }
    .lp-spotlight__pricing { flex-direction: column; align-items: center; gap: 0.75rem; }
}

/* ============================================================
   FOOTER LINKS (Datenschutz, Impressum, Cookie-Einstellungen)
   ============================================================ */
.kx-footer__links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}
/* Footer gets same engineering texture */
.kx-footer {
    position: relative;
    overflow: hidden;
}
.kx-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/static/img/spotlight_texture.png') repeat;
    opacity: 0.65;
    pointer-events: none;
    z-index: 0;
}
.kx-footer__inner {
    position: relative;
    z-index: 1;
}
.kx-footer__links a {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}
.kx-footer__links a:hover {
    color: rgba(255, 255, 255, 0.95);
}
.kx-footer__sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.7rem;
}

/* ============================================================
   MARQUEE — Scrolling USP strip
   ============================================================ */
.lp-marquee {
    background: linear-gradient(135deg, #111827, #1e293b);
    overflow: hidden;
    padding: 0.9rem 0;
    white-space: nowrap;
}
.lp-marquee__track {
    display: inline-flex;
    gap: 0;
    animation: marqueeScroll 30s linear infinite;
}
.lp-marquee__track span {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    padding: 0 1rem;
    flex-shrink: 0;
}
.lp-marquee__track span i {
    color: var(--kx-green);
    margin-right: 0.35rem;
}
.lp-marquee__dot {
    color: rgba(255,255,255,0.2) !important;
    font-size: 1.2rem !important;
    padding: 0 0.5rem !important;
}
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   COMPACT FOOTER (Audience + Quote)
   ============================================================ */
.lp-compact-footer {
    padding: 1.5rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid rgba(0,0,0,0.04);
}
.lp-compact-footer__inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.lp-compact-footer__audiences {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.lp-compact-footer__audiences span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: var(--kx-dark);
}
.lp-compact-footer__audiences i {
    color: var(--kx-green);
    font-size: 1rem;
}
.lp-compact-footer__quote {
    font-size: 0.82rem;
    font-style: italic;
    color: var(--kx-text-muted);
    font-weight: 600;
}

/* ============================================================
   MOBILE RESPONSIVE — all new components
   ============================================================ */
@media (max-width: 992px) {
    .lp-devices {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .lp-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .lp-grid__thumb, .lp-grid__icon {
        width: 100%; height: auto; aspect-ratio: 1;
    }
    .lp-detail {
        position: static;
    }
}

@media (max-width: 768px) {
    /* Hero */
    .lp-hero { padding: 2rem 1rem 0; }
    .lp-hero--compact .lp-hero__inner { padding-bottom: 1.5rem; }
    .lp-hero__title { font-size: 1.6rem; }
    .lp-hero__subtitle { font-size: 0.88rem; }

    /* Grid */
    .lp-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    .lp-grid__thumb, .lp-grid__icon {
        width: 100%; height: auto; aspect-ratio: 1;
    }
    .lp-grid__item { padding: 0.75rem; }
    .lp-grid__name { font-size: 0.78rem; }
    .lp-grid__price { font-size: 0.85rem; }
    .lp-grid__leasing { font-size: 0.7rem; padding: 0.2rem 0.6rem; }

    /* Detail */
    .lp-detail { padding: 1.5rem; min-height: auto; }
    .lp-detail__image { max-height: 200px; }

    /* Spotlight */
    .lp-spotlight__image { width: 100%; max-height: none; }
    .lp-spotlight__content { align-items: center; }
    .lp-spotlight__name { font-size: 1.5rem; margin-bottom: 0.5rem; }
    .lp-spotlight__desc { font-size: 0.9rem; margin-bottom: 1rem; }
    .lp-spotlight__badge { margin-bottom: 0.75rem; font-size: 0.65rem; padding: 0.3rem 0.8rem; }
    .lp-spotlight__pricing { flex-direction: column; align-items: center; gap: 0.5rem; padding: 0.6rem 0; }
    .lp-spotlight__price { font-size: 2rem; }
    .lp-spotlight__actions { margin-top: 0.8rem; }

    /* Section spacing after spotlight */
    .lp-section--devices { padding-top: 3.5rem; }

    /* Compact footer */
    .lp-compact-footer__inner { flex-direction: column; text-align: center; }
    .lp-compact-footer__audiences { justify-content: center; }

    /* Leasing modal */
    .lp-leasing-card { padding: 1.5rem; }
    .lp-leasing-card__title { font-size: 1rem; }

    /* Section titles */
    .lp-section__title { font-size: 1.3rem; }
    .lp-section__subtitle { font-size: 0.82rem; }

    /* Contact form */
    .lp-form-card { padding: 1.5rem; }
}

@media (max-width: 480px) {
    .lp-hero__title { font-size: 1.35rem; }
    .lp-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    .lp-grid__thumb, .lp-grid__icon {
        width: 100%; height: auto; aspect-ratio: 1;
    }
    .lp-grid__name { font-size: 0.72rem; }
    .lp-grid__price { font-size: 0.78rem; }
    .lp-grid__leasing { font-size: 0.65rem; padding: 0.15rem 0.5rem; }
    .lp-spotlight__image { width: 100%; max-height: none; }
    .lp-spotlight__name { font-size: 1.3rem; }
    .lp-spotlight__price { font-size: 1.7rem; }
    .lp-compact-footer__audiences { gap: 1rem; }
    .lp-marquee__track span { font-size: 0.75rem; padding: 0 0.75rem; }
}

/* ══════════════════════════════════════════════════════════════
   KECKEX CHALLENGE GAME
   ══════════════════════════════════════════════════════════════ */
.lp-game-section {
    padding: 3rem 1.5rem;
    max-width: 900px;
    margin: 0 auto 3rem auto;
    text-align: center;
}
.lp-game-section .lp-section__title {
    margin-bottom: 0.5rem;
}
.lp-game-section .lp-section__subtitle {
    margin-bottom: 2rem;
    color: #64748b;
}

.keckex-game-container {
    position: relative;
    width: 100%;
    height: 460px;
    background-color: #cbd5e1;
    background-image: 
        radial-gradient(ellipse at center, rgba(255, 255, 255, 0.4) 0%, transparent 80%),
        url("data:image/svg+xml,%3Csvg width='42' height='44' viewBox='0 0 42 44' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='Page-1' fill='none' fill-rule='evenodd'%3E%3Cg id='brick-wall' fill='%2394a3b8' fill-opacity='0.3'%3E%3Cpath d='M0 0h42v44H0V0zm1 1h40v20H1V1zM0 23h20v20H0V23zm22 0h20v20H22V23z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    border-radius: 20px;
    border: 3px solid #94a3b8;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.1);
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    box-shadow: inset 0 6px 15px rgba(0,0,0,0.3);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.keckex-game-container.is-playing {
    border-color: var(--kx-green);
    box-shadow: inset 0 0 30px rgba(139, 195, 74, 0.15); /* roughly match var(--kx-green) */
    cursor: crosshair !important;
}

.keckex-game-container.fever-mode-active {
    border-color: #f59e0b !important;
    box-shadow: inset 0 0 50px rgba(245, 158, 11, 0.4), 0 0 20px rgba(245, 158, 11, 0.4) !important;
    animation: feverPulse 0.5s infinite alternate;
}
@keyframes feverPulse {
    from { box-shadow: inset 0 0 30px rgba(245, 158, 11, 0.3); }
    to { box-shadow: inset 0 0 80px rgba(245, 158, 11, 0.6), 0 0 30px rgba(245, 158, 11, 0.6); }
}

.keckex-game-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    z-index: 10;
    backdrop-filter: blur(6px);
    border-radius: 17px;
    transition: opacity 0.3s;
    padding: 1rem 0;
}

.kg-start-btn {
    background: linear-gradient(135deg, var(--kx-green), #7BA428);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.3rem;
    font-weight: 800;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(139, 195, 74, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.kg-start-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 25px rgba(139, 195, 74, 0.5);
}

.kg-hud {
    display: flex;
    justify-content: space-between;
    z-index: 5;
}
.kg-hud-box {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-weight: 800;
    color: var(--kx-dark);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 100px;
    justify-content: center;
}

.keckex-target {
    position: absolute;
    font-size: 3rem;
    cursor: inherit;
    line-height: 1;
    transform-origin: bottom center;
    animation: targetPopIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 8px 12px rgba(0,0,0,0.35));
    user-select: none;
    touch-action: manipulation;
}
@keyframes targetPopIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.steam-lance {
    position: absolute;
    width: 14px;
    height: 45px;
    background: linear-gradient(180deg, #94a3b8 0%, #475569 100%);
    border-radius: 8px;
    border: 2px solid #334155;
    pointer-events: none;
    z-index: 1000;
    transform-origin: top center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.steam-lance::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: -3px;
    width: 16px;
    height: 16px;
    background: #334155;
    border-radius: 4px;
}

.steam-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 999;
}
.steam-particle-light {
    width: 25px;
    height: 25px;
    background: radial-gradient(circle, rgba(255,255,255,0.7) 0%, rgba(200,200,200,0) 70%);
    animation: steamIdle 0.4s ease-out forwards;
}
.steam-particle-heavy {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255,255,255,0.95) 0%, rgba(200,200,200,0) 70%);
    animation: steamActive 0.6s ease-out forwards;
}
@keyframes steamIdle {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.6; }
    100% { transform: translate(-50%, -80%) scale(1.5); opacity: 0; }
}
@keyframes steamActive {
    0% { transform: translate(-50%, -50%) scale(0.2); opacity: 1; }
    50% { transform: translate(-50%, -100%) scale(1.5); opacity: 0.9; }
    100% { transform: translate(-50%, -150%) scale(2.5); opacity: 0; }
}

@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}
.keckex-game-container.shake {
    animation: shake 0.2s;
}

.boss-target {
    font-size: 4.5rem;
    filter: drop-shadow(0 12px 18px rgba(220, 38, 38, 0.5));
}

.dirt-target {
    background-color: transparent !important;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23381a07' d='M35 15 C45 5, 55 5, 65 15 C75 10, 85 20, 80 35 C95 45, 90 65, 75 70 C80 90, 60 95, 45 85 C30 95, 10 80, 15 65 C5 50, 10 30, 25 35 C20 20, 30 10, 35 15 Z' /%3E%3Ccircle cx='18' cy='22' r='4' fill='%23291104'/%3E%3Ccircle cx='82' cy='78' r='5' fill='%2352270b'/%3E%3Ccircle cx='85' cy='28' r='3' fill='%23381a07'/%3E%3C/svg%3E") !important;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 0 !important;
    box-shadow: none !important;
    filter: drop-shadow(0 8px 12px rgba(0,0,0,0.3));
    margin-top: -10px;
}

.ant-target {
    font-size: 2.2rem;
    animation: targetPopIn 0.3s forwards, antWiggle 0.15s infinite linear 0.3s;
}
@keyframes antWiggle {
    0% { transform: scale(1) rotate(-15deg) translate(-2px, -2px); }
    50% { transform: scale(1) rotate(15deg) translate(2px, 2px); }
    100% { transform: scale(1) rotate(-15deg) translate(-2px, -2px); }
}

/* Hall Of Fame */
.kg-hall-of-fame {
    margin-top: 1.5rem;
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    text-align: left;
}
.kg-hall-of-fame-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--kx-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.kg-leaderboard-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 250px;
    overflow-y: auto;
}
.kg-leaderboard-item {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0.8rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
}
.kg-leaderboard-item:last-child {
    border-bottom: none;
}
.kg-leaderboard-item:nth-child(even) {
    background-color: #f8fafc;
}
.kg-leaderboard-rank {
    font-weight: 700;
    color: #94a3b8;
    width: 25px;
    display: inline-block;
}
.kg-leaderboard-rank.top-1 { color: #f59e0b; }
.kg-leaderboard-rank.top-2 { color: #94a3b8; }
.kg-leaderboard-rank.top-3 { color: #b45309; }

.kg-leaderboard-name {
    font-weight: 600;
    color: var(--kx-dark);
    flex: 1;
}
.kg-leaderboard-score {
    font-weight: 800;
    color: var(--kx-green);
}

.combo-indicator {
    position: absolute;
    top: 5rem;
    left: 50%;
    transform: translateX(-50%) scale(0);
    font-weight: 900;
    font-size: 1.4rem;
    color: #f59e0b;
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.6), 0 4px 10px rgba(0,0,0,0.3);
    pointer-events: none;
    z-index: 102;
    opacity: 0;
}
@keyframes comboPop {
    0% { transform: translateX(-50%) scale(0); opacity: 0; }
    10% { transform: translateX(-50%) scale(1.5); opacity: 1; }
    85% { transform: translateX(-50%) scale(1); opacity: 1; }
    100% { transform: translateX(-50%) scale(1); opacity: 0; }
}

.floating-score {
    position: absolute;
    color: var(--kx-green);
    font-weight: 900;
    font-size: 1.2rem;
    pointer-events: none;
    animation: floatUp 1.2s ease-out forwards;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4), 0 0 10px rgba(139, 195, 74, 0.4);
    z-index: 101;
}
.combo-score {
    color: #ef4444;
    font-size: 1.4rem;
    animation: floatUpCombo 1.8s ease-out forwards;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5), 0 0 15px rgba(239, 68, 68, 0.5);
}
@keyframes floatUp {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-50px) scale(1.2); opacity: 0; }
}
@keyframes floatUpCombo {
    0% { transform: translateY(0) scale(1.5); opacity: 1; }
    100% { transform: translateY(-70px) scale(2); opacity: 0; }
}

@keyframes kidBlink {
    0% { transform: scale(1); box-shadow: 0 0 0 rgba(245, 158, 11, 0); }
    100% { transform: scale(1.05); box-shadow: 0 0 15px rgba(245, 158, 11, 0.6); }
}
.kid-help-btn {
    animation: kidBlink 1.2s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8fafc;
    color: #f59e0b !important;
    border: 2px dashed #f59e0b;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.kid-help-btn:hover {
    background: #fef3c7;
    transform: scale(1.08) !important;
}
