/* ============================================================
   LapRove — FX layer: polish, motion, micro-interactions
   ============================================================ */

/* ---------- Scroll progress bar ---------- */
#scrollProgress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2.5px;
    width: 0%;
    background: linear-gradient(90deg, #2456f0, #0898c9);
    z-index: 400;
    border-radius: 0 3px 3px 0;
    transition: width 0.08s linear;
    box-shadow: 0 0 10px rgba(36, 86, 240, 0.5);
}

/* ---------- Back to top ---------- */
#backTop {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 300;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--sh-2);
    color: var(--ink-2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(14px) scale(0.92);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, color 0.2s ease;
}

#backTop.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

#backTop:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

#backTop svg {
    width: 19px;
    height: 19px;
}

/* ---------- Button shine sweep ---------- */
.btn-primary,
.btn-dark,
.store-badge.badge-google {
    position: relative;
    overflow: hidden;
}

.btn-primary::after,
.btn-dark::after,
.store-badge.badge-google::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 45%;
    height: 100%;
    background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.28) 50%, transparent 100%);
    transform: skewX(-20deg);
    transition: left 0.6s cubic-bezier(0.22, 0.8, 0.36, 1);
    pointer-events: none;
}

.btn-primary:hover::after,
.btn-dark:hover::after,
.store-badge.badge-google:hover::after {
    left: 130%;
}

/* ---------- Card hover glow & top accent ---------- */
.card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--grad-btn);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(36, 86, 240, 0.06), 0 18px 44px rgba(36, 86, 240, 0.12);
    border-color: rgba(36, 86, 240, 0.22);
}

.card:hover .card-ic {
    transform: translateY(-2px) scale(1.06);
}

.card .card-ic {
    transition: transform 0.3s cubic-bezier(0.22, 0.8, 0.36, 1);
}

/* ---------- Scene card hover arrow ---------- */
.scene-card {
    position: relative;
}

.scene-card .scene-body {
    position: relative;
}

.scene-card .scene-body::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    width: 30px;
    height: 30px;
    transform: translateY(-50%) translateX(6px);
    border-radius: 10px;
    background: var(--brand-soft);
    color: var(--brand);
    opacity: 0;
    transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.22, 0.8, 0.36, 1);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232456f0' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><line x1='5' y1='12' x2='19' y2='12'/><polyline points='12 5 19 12 12 19'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 15px;
}

.scene-card:hover .scene-body::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.scene-card:hover .scene-body {
    padding-right: 62px;
}

.scene-body {
    transition: padding 0.28s ease;
}

/* ---------- Marquee keyword strip ---------- */
.marquee {
    overflow: hidden;
    background: #0c1526;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
    position: relative;
}

.marquee::before,
.marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.marquee::before {
    left: 0;
    background: linear-gradient(90deg, #0c1526, transparent);
}

.marquee::after {
    right: 0;
    background: linear-gradient(270deg, #0c1526, transparent);
}

.marquee-track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: marqueeMove 32s linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marqueeMove {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
}

.marquee-item::after {
    content: '✦';
    color: #2f66f2;
    font-size: 13px;
    letter-spacing: 0;
}

/* ---------- Dark band animated glow blobs ---------- */
.band-dark::before,
.band-dark::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    pointer-events: none;
    animation: blobDrift 14s ease-in-out infinite alternate;
}

.band-dark::before {
    width: 560px;
    height: 560px;
    left: -180px;
    top: -220px;
    background: radial-gradient(circle, rgba(36, 86, 240, 0.4) 0%, rgba(36, 86, 240, 0.14) 42%, transparent 68%);
}

.band-dark::after {
    width: 480px;
    height: 480px;
    right: -160px;
    bottom: -200px;
    background: radial-gradient(circle, rgba(8, 152, 201, 0.36) 0%, rgba(8, 152, 201, 0.12) 42%, transparent 68%);
    animation-delay: -7s;
}

@keyframes blobDrift {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(50px, 34px) scale(1.14); }
}

/* ---------- CTA banner breathing glow ---------- */
.cta-banner::after {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    width: 640px;
    height: 640px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(8, 152, 201, 0.28) 0%, transparent 65%);
    animation: breathe 7s ease-in-out infinite;
    pointer-events: none;
}

@keyframes breathe {
    0%, 100% { opacity: 0.55; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

/* ---------- Hero visual parallax wrapper ---------- */
.hero-visual .parallax-inner {
    will-change: transform;
    transition: transform 0.25s cubic-bezier(0.22, 0.8, 0.36, 1);
}

/* ---------- Video shell hover ring ---------- */
.video-shell {
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.video-shell:hover {
    box-shadow: 0 8px 24px rgba(11, 21, 38, 0.12), 0 40px 90px rgba(36, 86, 240, 0.22);
    transform: translateY(-3px);
}

/* ---------- Shot card image zoom ---------- */
.shot-card img,
.fb-media img {
    transition: transform 0.7s cubic-bezier(0.22, 0.8, 0.36, 1);
}

.shot-card:hover img,
.fb-media:hover img {
    transform: scale(1.03);
}

/* ---------- Stagger helper (delay set inline by JS) ---------- */
.reveal.stagger-ready {
    will-change: opacity, transform;
}

/* ---------- FAQ hover nudge ---------- */
.faq-item:hover {
    border-color: var(--line-strong);
    box-shadow: var(--sh-1);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .marquee-track,
    .band-dark::before,
    .band-dark::after,
    .cta-banner::after {
        animation: none !important;
    }

    #scrollProgress {
        transition: none;
    }
}

/* ============================================================
   [TEMPORARY] Google Play re-review: hide all store links.
   Delete this whole block to restore the buttons.
   ============================================================ */
a[href*="play.google.com"] {
    display: none !important;
}
