/**
 * WAVE ENGINE HIGH-MOTION EDITION (style.css)
 * System: High-End iOS Architecture + Micro-Interaction Animations
 */

:root {
    --apple-bg: #0b0b0c;
    --apple-card: rgba(28, 28, 30, 0.55);
    --apple-card-solid: #1c1c1e;
    --apple-tint: #0071e3;
    --apple-text: #ffffff;
    --apple-subtext: #8e8e93;
    --glass-border: rgba(255, 255, 255, 0.06);
    --ios-curve: cubic-bezier(0.25, 1, 0.5, 1);
    --ios-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --nav-height: 64px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--apple-bg);
    background-image: 
        radial-gradient(at 0% 0%, rgba(31, 31, 35, 0.6) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(0, 113, 227, 0.12) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--apple-text);
    overflow-x: hidden;
    min-height: 100vh;
}

/* --- ⚡ PAGE-LOAD SPLASH INTRO --- */
.splash-intro {
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: splashExit 0.7s var(--ios-curve) 1.1s forwards;
}
.splash-logo {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: #fff;
    opacity: 0;
    animation: splashLogoIn 0.8s var(--ios-spring) 0.15s forwards, splashLogoGlow 1.2s ease-in-out 0.9s;
}
@keyframes splashLogoIn {
    0% { opacity: 0; transform: scale(0.7) translateY(10px); letter-spacing: 10px; }
    100% { opacity: 1; transform: scale(1) translateY(0); letter-spacing: 4px; }
}
@keyframes splashLogoGlow {
    0% { text-shadow: 0 0 0 rgba(0,113,227,0); }
    50% { text-shadow: 0 0 30px rgba(0,113,227,0.9); }
    100% { text-shadow: 0 0 0 rgba(0,113,227,0); }
}
@keyframes splashExit {
    0% { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
    .splash-intro { display: none; }
}

/* --- ⚡ GLASS NAVIGATION --- */
.ios-glass-navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: var(--nav-height);
    z-index: 100;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.nav-blur-backer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 11, 12, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: -1;
}

.nav-content-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(180deg, #ffffff 0%, #a1a1a5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-right-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 20px;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s var(--ios-curve);
}

.nav-right-pill:hover { 
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}
.nav-right-pill:active { transform: scale(0.94); }

.cart-badge-count {
    background: var(--apple-tint);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
    transition: transform 0.3s var(--ios-spring);
}

/* --- 📱 VIEWPORT LAYOUT --- */
.store-app-scroll-viewport {
    padding-top: calc(var(--nav-height) + 20px);
    width: 100%;
    position: relative;
    z-index: 10;
}

/* --- 🎬 PRO HERO SHOWCASE BLOCK --- */
.store-hero-typography {
    max-width: 1200px;
    margin: 40px auto 32px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text-block {
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
    animation: iosFadeUp 0.8s var(--ios-curve) forwards;
}

#hero-display-title {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    background: linear-gradient(120deg, #ffffff 0%, #8e8e93 25%, #ffffff 50%, #8e8e93 75%, #ffffff 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    clip-path: inset(0 100% 0 0);
    animation: heroGradientSweep 6s linear infinite, heroTextDraw 1.3s var(--ios-curve) 1.2s forwards;
}
@keyframes heroGradientSweep {
    to { background-position: -300% center; }
}
@keyframes heroTextDraw {
    to { clip-path: inset(0 0% 0 0); }
}

/* --- ✨ AMBIENT FLOATING GLOW ORBS --- */
.ambient-glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
}
.ambient-glow-orb.orb-1 {
    width: 420px; height: 420px;
    top: -10%; left: -8%;
    background: radial-gradient(circle, var(--apple-tint), transparent 70%);
    animation: orbDrift1 14s ease-in-out infinite;
}
.ambient-glow-orb.orb-2 {
    width: 340px; height: 340px;
    bottom: -5%; right: -6%;
    background: radial-gradient(circle, #bf5af2, transparent 70%);
    animation: orbDrift2 18s ease-in-out infinite;
}
@keyframes orbDrift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 40px) scale(1.15); }
}
@keyframes orbDrift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, -30px) scale(1.1); }
}

#hero-display-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--apple-subtext);
    line-height: 1.5;
}

.ios-hero-wrapper {
    width: 100%;
    height: 280px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    animation: iosHeroEntry 0.9s var(--ios-curve) 0.1s forwards;
    transition: transform 0.5s var(--ios-curve), box-shadow 0.5s var(--ios-curve);
}

.ios-hero-wrapper:hover {
    transform: scale(1.01) translateY(-2px);
    box-shadow: 0 40px 80px rgba(0, 113, 227, 0.15);
}

#live-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay-darkness {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 11, 12, 0) 50%, rgba(11, 11, 12, 0.5) 100%);
}

/* --- 🔍 FILTERING BAR MATRIX --- */
.store-filter-wrapper {
    background: rgba(18, 18, 20, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(15px);
    animation: iosFadeUp 0.8s var(--ios-curve) 0.2s forwards;
}

.filter-row-scroller::-webkit-scrollbar { display: none; }

.category-pill, .condition-pill {
    background: rgba(255, 255, 255, 0.04);
    color: #a1a1a5;
    border: 1px solid var(--glass-border);
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.4s var(--ios-curve);
}

.category-pill:hover, .condition-pill:hover {
    background: rgba(255, 255, 255, 0.09);
    color: #ffffff;
    transform: translateY(-1px);
}

.category-pill:active, .condition-pill:active { transform: scale(0.95); }

.category-pill.active, .condition-pill.active {
    background: var(--apple-tint) !important;
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.4);
}

/* --- 📦 HARDWARE OVERVIEW CATALOG GRID --- */
.storefront-product-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 20;
}

.ios-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.ios-vape-card {
    background: var(--apple-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 110px;
    align-items: center;
    position: relative;
    z-index: 25;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    animation: iosCardEntry 0.7s var(--ios-curve) forwards;
    transition: transform 0.45s var(--ios-spring), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.45s ease;
}

.ios-vape-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 113, 227, 0.4);
    background-color: rgba(36, 36, 40, 0.8);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 113, 227, 0.15);
}

.ios-vape-card:active {
    transform: translateY(-3px) scale(0.99);
}

.card-info-side { display: flex; flex-direction: column; pointer-events: none; }
.card-specs { font-size: 0.75rem; font-weight: 700; color: var(--apple-subtext); text-transform: uppercase; letter-spacing: 0.5px; }
.ios-vape-card h3 { font-size: 1.35rem; font-weight: 700; margin: 6px 0; color: white; letter-spacing: -0.2px; }
.card-price { font-size: 1.15rem; font-weight: 700; color: #ffffff; margin-top: 4px; }

.card-img-side {
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
    pointer-events: none;
    transition: transform 0.45s var(--ios-spring);
}

.ios-vape-card:hover .card-img-side {
    transform: scale(1.08) rotate(2deg);
}

.card-img-side img { max-width: 85%; max-height: 85%; object-fit: contain; }

.card-cta-side { 
    grid-column: 1 / span 2; 
    margin-top: 18px; 
    display: flex; 
    justify-content: flex-end; 
    position: relative;
    z-index: 30;
}

.ios-buy-pill { 
    background: #ffffff; 
    color: #000000; 
    border: none; 
    padding: 8px 26px; 
    border-radius: 20px; 
    font-weight: 700; 
    font-size: 0.9rem;
    cursor: pointer; 
    transition: transform 0.25s var(--ios-spring), background 0.2s ease, box-shadow 0.2s ease;
    animation: buyPillPulse 2.8s ease-in-out infinite;
}
@keyframes buyPillPulse {
    0%, 100% { box-shadow: 0 0 0 rgba(255,255,255,0); }
    50% { box-shadow: 0 0 16px rgba(255,255,255,0.35); }
}

.ios-buy-pill:hover { 
    background: #ffffff; 
    transform: scale(1.06);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
}
.ios-buy-pill:active { transform: scale(0.95); }

/* --- 🛒 ORDER CONSOLE DRAWER OVERLAY --- */
.ios-cart-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 440px;
    height: 100vh;
    background: rgba(15, 15, 17, 0.85);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--glass-border);
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ios-cart-drawer.open { right: 0; }
.drawer-header { padding: 24px; border-bottom: 1px solid var(--glass-border); display: flex; justify-content: space-between; align-items: center; }
.drawer-scroll-body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 14px; }

.bag-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 16px;
    border-radius: 18px;
    display: flex;
    justify-content: space-between;
    border: 1px solid var(--glass-border);
    animation: iosCardEntry 0.4s var(--ios-curve) forwards;
}

.drawer-footer-panel { padding: 24px; border-top: 1px solid var(--glass-border); }
.total-summary-row { display: flex; justify-content: space-between; margin-bottom: 20px; font-size: 1.1rem; font-weight: 600; }

.drawer-modal-blur-dimmer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    opacity: 0;
    pointer-events: none;
    z-index: 998;
    transition: opacity 0.5s ease, backdrop-filter 0.5s ease;
}
.ios-cart-drawer.open ~ .drawer-modal-blur-dimmer { 
    opacity: 1; 
    pointer-events: auto;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* --- 📦 SHOWROOM SPECIFICATION MODAL --- */
.ios-product-modal-viewport {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    pointer-events: none;
}

.modal-card-surface {
    background: #1c1c1e;
    border: 1px solid var(--glass-border);
    width: 100%;
    max-width: 480px;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    --origin-x: 50%;
    --origin-y: 50%;
    transform: scale(0.94);
    opacity: 0;
    clip-path: circle(0% at var(--origin-x) var(--origin-y));
    transition: clip-path 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s var(--ios-spring), opacity 0.3s ease;
}

.ios-product-modal-viewport.open { pointer-events: auto; }
.ios-product-modal-viewport.open .modal-card-surface {
    transform: scale(1);
    opacity: 1;
    clip-path: circle(150% at var(--origin-x) var(--origin-y));
}

.modal-nav-bar { position: absolute; top: 16px; right: 16px; z-index: 10; }
.modal-dismiss-circle { background: rgba(0, 0, 0, 0.5); border: none; color: white; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; transition: transform 0.2s ease; }
.modal-dismiss-circle:hover { transform: scale(1.1); }

.gallery-carousel-viewport { position: relative; width: 100%; height: 320px; background: #111112; overflow: hidden; }
.carousel-track-wrapper { display: flex; height: 100%; transition: transform 0.4s var(--ios-curve); }
.ios-slide-box { min-width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.ios-slide-box img { max-width: 90%; max-height: 90%; object-fit: contain; }

.carousel-dots-row { position: absolute; bottom: 16px; left: 0; width: 100%; display: flex; justify-content: center; gap: 6px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); transition: all 0.3s ease; }
.dot.active { background: #ffffff; width: 14px; border-radius: 3px; }

.modal-meta-content-wrapper { padding: 24px; }
.modal-bottom-sticky-bar { padding: 20px; border-top: 1px solid rgba(255, 255, 255, 0.06); display: flex; justify-content: center; }

.modal-window-dimmer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    opacity: 0;
    pointer-events: none;
    z-index: 999;
    transition: opacity 0.4s ease, backdrop-filter 0.4s ease;
}
.ios-product-modal-viewport.open ~ .modal-window-dimmer-backdrop { 
    opacity: 1; 
    pointer-events: auto;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.ios-action-btn-primary { 
    background: var(--apple-tint); 
    color: white; 
    border: none; 
    width: 100%; 
    padding: 16px; 
    border-radius: 16px; 
    font-weight: 700; 
    cursor: pointer; 
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; 
}
.ios-action-btn-primary:hover { 
    background: #0077ed; 
    box-shadow: 0 8px 20px rgba(0, 113, 227, 0.3);
}
.ios-action-btn-primary:active { transform: scale(0.98); }

.badge-new { background: rgba(48, 209, 88, 0.15); color: #30d158; padding: 3px 8px; border-radius: 6px; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; }
.badge-used { background: rgba(255, 159, 10, 0.15); color: #ff9f0a; padding: 3px 8px; border-radius: 6px; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; }

/* --- 🎬 KEYFRAMES FOR ADVANCED CORE ENGINE --- */
@keyframes iosCardEntry { to { opacity: 1; transform: translateY(0); } }
@keyframes iosFadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes iosHeroEntry { to { opacity: 1; transform: scale(1) translateY(0); } }

/* --- 📱 MOBILE COHESION AND SPACING RECONSTRUCT --- */
@media (max-width: 820px) {
    .store-hero-typography { 
        grid-template-columns: 1fr; 
        gap: 32px; 
        margin-top: 10px; 
        margin-bottom: 20px;
    }
    #hero-display-title { font-size: 2.6rem; text-align: center; }
    #hero-display-subtitle { text-align: center; font-size: 1.1rem; }
    
    /* Pushes video down structurally on devices so layout flows beautifully */
    .ios-hero-wrapper { 
        height: 230px; 
        order: 2; /* Puts typography first, smoothly drops video underneath */
        margin-top: 10px;
    }
}

@media (max-width: 550px) {
    .ios-product-grid { grid-template-columns: 1fr; }
    .modal-card-surface { 
        border-radius: 28px 28px 0 0; 
        position: fixed; 
        bottom: 0; 
        transform: translateY(100%); 
    }
    .ios-product-modal-viewport.open .modal-card-surface { transform: translateY(0); }
}/* --- 💎 CYBER-GLASS ASMR APP INTERACTIONS --- */

.bag-item {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 16px !important;
    border-radius: 24px !important;
    flex-direction: column !important;
    gap: 14px !important;
    opacity: 0;
    transform: translateX(30px) scale(0.95);
    animation: iosItemSlideIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(var(--item-index) * 0.07s);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.bag-item:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(0, 113, 227, 0.3) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), inset 0 0 12px rgba(255, 255, 255, 0.02);
}

/* Picture Aspect Frame Correction */
.bag-item-img-wrapper {
    width: 68px;
    height: 68px;
    background: linear-gradient(145deg, #161617, #242426);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.bag-item-img-wrapper img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bag-item:hover .bag-item-img-wrapper img {
    transform: scale(1.15) rotate(-4deg);
}

/* Tactile iOS Quantity Module */
.asmr-quantity-stepper {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 14px;
    padding: 2px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.step-btn {
    background: none; 
    border: none; 
    color: #fff; 
    width: 32px; 
    height: 32px; 
    font-size: 1.1rem;
    font-weight: 500; 
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.step-btn:hover { background: rgba(255, 255, 255, 0.08); color: var(--apple-tint); }
.step-btn:active { transform: scale(0.78); background: rgba(255, 255, 255, 0.15); }

.step-count {
    color: #fff; 
    min-width: 28px; 
    text-align: center; 
    font-size: 0.9rem; 
    font-weight: 700;
}

.asmr-remove-btn {
    background: none; 
    border: none; 
    color: #ff453a; 
    font-size: 0.85rem; 
    font-weight: 600; 
    cursor: pointer; 
    padding: 6px 12px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.asmr-remove-btn:hover { background: rgba(255, 69, 58, 0.1); transform: translateY(-1px); }
.asmr-remove-btn:active { transform: scale(0.93); }

/* --- 🎭 MOTION KEYFRAMES & ENGINE CHANNELS --- */
@keyframes iosItemSlideIn {
    0% { opacity: 0; transform: translateX(30px) scale(0.95); }
    100% { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes floatVapor {
    0%, 100% { transform: translateY(0) rotate(0deg); filter: opacity(0.8); }
    50% { transform: translateY(-8px) rotate(8deg); filter: opacity(1) drop-shadow(0 0 15px rgba(0, 113, 227, 0.6)); }
}

.cart-badge-count.badge-pop {
    animation: badgeTapticSnap 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes badgeTapticSnap {
    0% { transform: scale(1); }
    40% { transform: scale(1.4); background-color: #30d158; box-shadow: 0 0 15px #30d158; }
    100% { transform: scale(1); }
}

.asmr-btn-click { animation: targetTactile 0.35s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
@keyframes targetTactile {
    0% { transform: scale(1); }
    30% { transform: scale(0.92); filter: brightness(1.15); }
    100% { transform: scale(1); }
}

/* --- 💀 SKELETON LOADING STATE --- */
.skeleton-card { animation: iosCardEntry 0.5s var(--ios-curve) forwards; pointer-events: none; }
.skeleton-line, .skeleton-block {
    background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.09) 37%, rgba(255,255,255,0.04) 63%);
    background-size: 400% 100%;
    animation: skeletonShimmer 1.6s ease-in-out infinite;
    border-radius: 8px;
}
.skeleton-block { width: 100%; height: 100%; border-radius: 16px; }
@keyframes skeletonShimmer {
    0% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- 👀 SCROLL-TRIGGERED CARD REVEAL --- */
.ios-vape-card.reveal-on-scroll {
    opacity: 0;
    transform: translateY(36px);
    animation: none; /* defer to the observer-driven transition instead of the blanket keyframe */
    transition: opacity 0.7s var(--ios-curve), transform 0.7s var(--ios-curve);
}
.ios-vape-card.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- 🧭 CONDENSED NAV ON SCROLL --- */
.ios-glass-navigation { transition: height 0.35s var(--ios-curve); }
.ios-glass-navigation.nav-condensed { height: calc(var(--nav-height) - 10px); }
.ios-glass-navigation.nav-condensed .nav-blur-backer { background: rgba(11, 11, 12, 0.92); }
.ios-glass-navigation.nav-condensed .brand-logo { font-size: 1.3rem; }

/* --- 🎥 HERO VIDEO PARALLAX LAYER --- */
#live-hero-video { transition: transform 0.1s linear; will-change: transform; }

/* --- 💧 RIPPLE FX ON BUY BUTTON --- */
.ios-buy-pill { position: relative; overflow: hidden; }
.ripple-fx {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    transform: scale(0);
    animation: rippleExpand 0.6s ease-out forwards;
    pointer-events: none;
}
@keyframes rippleExpand {
    to { transform: scale(2.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}