/* =============================================================
   LANDING.CSS — Dedicated styles for index.php (Public Portal)
   Overrides the app-layout grid to make homepage truly full-width
   Covers: Layout, Hero, Search, Trending, Featured, Feed, Ads
   Fully responsive: Desktop → Tablet → Mobile
   ============================================================= */

/* ─── DEDICATED LANDING PAGE HEADER ───────────────────────── */
.lp-navbar {
    position: fixed;
    top: var(--topbar-h, 0px); left: 0; right: 0;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1), top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}
.lp-navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    height: 70px;
}
.lp-nav-container {
    width: 100%;
    max-width: 1400px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.lp-logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.4rem; font-weight: 900;
    color: #ffffff; text-decoration: none;
    letter-spacing: -0.5px;
    transition: transform 0.3s ease, color 0.3s ease;
}
.lp-logo i { color: #ffffff; font-size: 1.6rem; transition: color 0.3s ease; }
.lp-logo span { color: #ffffff; transition: color 0.3s ease; }
.lp-logo:hover { transform: scale(1.02); }

.lp-navbar.scrolled .lp-logo { color: var(--text-main); }
.lp-navbar.scrolled .lp-logo i { color: var(--primary); }
.lp-navbar.scrolled .lp-logo span { color: var(--primary); }

.lp-nav-links {
    display: flex; gap: 40px; align-items: center;
}
.lp-nav-link {
    font-size: 0.95rem; font-weight: 600;
    color: rgba(255, 255, 255, 0.85); text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 6px 4px;
}
.lp-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: #ffffff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: center;
}
.lp-nav-link:hover { color: #ffffff; }
.lp-nav-link:hover::after { transform: scaleX(1); }

.lp-navbar.scrolled .lp-nav-link {
    color: var(--text-main);
}
.lp-navbar.scrolled .lp-nav-link::after {
    background: var(--primary);
}
.lp-navbar.scrolled .lp-nav-link:hover {
    color: var(--primary);
}

.lp-nav-actions {
    display: flex; align-items: center; gap: 20px;
}
.btn-lp-login {
    font-size: 0.95rem; font-weight: 700; color: rgba(255, 255, 255, 0.85); text-decoration: none;
    transition: color 0.3s ease;
}
.btn-lp-login:hover { color: #ffffff; }

.lp-navbar.scrolled .btn-lp-login {
    color: var(--text-main);
}
.lp-navbar.scrolled .btn-lp-login:hover {
    color: var(--primary);
}

.btn-lp-join-header {
    background: #ffffff;
    color: var(--text-main) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.95rem; font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-lp-join-header:hover {
    background: var(--primary);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99,102,241,0.25);
}

.lp-navbar.scrolled .btn-lp-join-header {
    background: var(--text-main);
    color: #ffffff !important;
}
.lp-navbar.scrolled .btn-lp-join-header:hover {
    background: var(--primary);
}
.lp-nav-avatar {
    width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
    border: 2px solid var(--border); transition: border-color 0.3s;
}
.lp-nav-avatar:hover { border-color: var(--primary); }

/* Landing Page Wrapper (Pushes down content below fixed header) */
.lp-wrapper {
    padding-top: 100px;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ─── DEDICATED LANDING FOOTER ───────────────────────── */
.lp-footer {
    background: #0f172a; /* Dark sleek background */
    color: #e2e8f0;
    padding: 80px 20px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 60px;
}
.lp-footer-container {
    max-width: 1400px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px; padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.lp-footer-col h4 {
    color: #fff; font-size: 1.05rem; font-weight: 700; margin-bottom: 20px; letter-spacing: 0.5px;
}
.lp-footer-col a {
    display: block; color: #94a3b8; text-decoration: none; font-size: 0.9rem; margin-bottom: 12px;
    transition: color 0.3s, transform 0.3s;
}
.lp-footer-col a:hover { color: #fff; transform: translateX(4px); }
.lp-footer-logo {
    display: flex; align-items: center; gap: 8px; font-size: 1.5rem; font-weight: 800;
    color: #fff; text-decoration: none; margin-bottom: 20px;
}
.lp-footer-logo i { color: var(--primary-light); }
.lp-footer-desc {
    color: #94a3b8; font-size: 0.95rem; line-height: 1.6; margin-bottom: 24px; max-width: 320px;
}
.lp-social-links { display: flex; gap: 16px; }
.lp-social-links a {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.05); color: #fff;
    transition: all 0.3s; margin-bottom: 0;
}
.lp-social-links a:hover { background: var(--primary); transform: translateY(-4px) !important; }
.lp-footer-bottom {
    max-width: 1400px; margin: 0 auto; padding-top: 24px;
    text-align: center; color: #64748b; font-size: 0.85rem;
}

@media (max-width: 992px) {
    .lp-footer-container { grid-template-columns: 1fr 1fr; }
    .lp-nav-links { display: none; } /* Hide center links on mobile */
}
@media (max-width: 768px) {
    .lp-navbar { height: 70px; }
    .lp-nav-container { padding: 0 16px; }
    .btn-lp-join-header { padding: 8px 16px; font-size: 0.85rem; }
    .lp-footer-container { grid-template-columns: 1fr; gap: 30px; }
    .lp-wrapper { padding-top: 80px; }
}

/* ─── DEDICATED LAYOUT FOR LANDING PAGE ───────────────────
   We use a 2-col grid: content | right-sidebar
   ─────────────────────────────────────────────────────────── */
.lp-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    grid-template-areas: "main right";
    gap: 30px;
    align-items: start;
    padding-top: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Dynamic Sidebar Layout */
@media (min-width: 992px) {
    .lp-wrapper {
        display: grid;
        grid-template-columns: 1fr 300px;
        grid-template-areas: "main right";
        gap: 30px;
    }
    /* If sidebar is empty, make main take full width */
    .lp-wrapper:not(:has(.lp-sidebar-card, .lp-ad-placeholder, .lp-footer-links)) {
        grid-template-columns: 1fr;
    }
    .right-sidebar:empty {
        display: none;
    }
}
@media (max-width: 991px) {
    .lp-wrapper {
        grid-template-columns: 1fr;
    }
    .right-sidebar { display: none; }
}


.portal-main {
    grid-area: main;
    min-width: 0;
    padding-bottom: 60px;
}

.right-sidebar {
    grid-area: right;
    position: sticky;
    top: 100px; /* Header height + 20px */
}

/* ─── SECTION HEADER ─────────────────────────────────── */
.lp-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0 20px;
}
.lp-section-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-main);
}
.lp-section-header a {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.2s;
}
.lp-section-header a:hover { opacity: 0.7; }

/* ─── HERO ───────────────────────────────────────────── */
.lp-hero {
    position: relative;
    width: 100%;
    min-height: 640px;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--topbar-h, 0px) + 130px) 40px 80px;
    margin-bottom: 0px;
    box-shadow: 0 40px 80px -20px rgba(79, 70, 229, 0.4);
    transition: padding-top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.lp-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.lp-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    /* dark cinematic gradient overlay */
    background: linear-gradient(135deg,
        rgba(15, 23, 42, 0.8) 0%, 
        rgba(79, 70, 229, 0.4) 100%);
    backdrop-filter: blur(2px);
}

.lp-hero-grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1240px;
    width: 100%;
}

.lp-hero-content {
    text-align: left;
    animation: heroFadeRight 0.9s ease both;
}

@keyframes heroFadeRight {
    from { opacity: 0; transform: translateX(-36px); }
    to   { opacity: 1; transform: translateX(0); }
}

.lp-hero-title {
    font-size: clamp(3.2rem, 6vw, 4.8rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.lp-hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255,255,255,0.92);
    max-width: 520px;
    margin: 0 0 36px 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.lp-hero-trust-points {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: heroFadeRight 1s ease 0.4s both;
}
.lp-hero-trust-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.lp-hero-trust-points li i {
    color: #22c55e;
    font-size: 1.25rem;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(34,197,94,0.6);
}

/* ─── NEW HERO MEDIA COMPOSITION ───────────────────────── */
.lp-hero-media {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: heroFadeLeft 0.9s ease both;
    animation-delay: 0.2s;
}

@keyframes heroFadeLeft {
    from { opacity: 0; transform: translateX(50px); filter: blur(5px); }
    to   { opacity: 1; transform: translateX(0); filter: blur(0); }
}

.hero-composition {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.hero-custom-img {
    width: 100%;
    max-width: 360px;
    height: auto;
    border-radius: 32px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
    transform: rotate(-3deg) translateY(0);
    transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
    z-index: 2;
    background: #fff;
    padding: 6px;
}
.hero-composition:hover .hero-custom-img {
    transform: rotate(0deg) translateY(-8px);
}

.hero-avatar {
    position: absolute;
    left: -40px;
    bottom: -20px;
    width: 220px;
    height: 280px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    z-index: 10;
    border: 5px solid #fff;
    transform: rotate(-6deg);
    animation: floatAvatar 6s ease-in-out infinite alternate;
}
@keyframes floatAvatar {
    0% { transform: translateY(0) rotate(-6deg); }
    100% { transform: translateY(-16px) rotate(-4deg); }
}

.lp-mockup-phone {
    width: 280px;
    height: 560px;
    background: #0f172a;
    border-radius: 46px;
    border: 10px solid #1e293b;
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.7), inset 0 0 0 2px rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
    transform: rotate(4deg) translateY(0);
    z-index: 5;
    animation: floatPhone 7s ease-in-out infinite alternate;
}
@keyframes floatPhone {
    0% { transform: translateY(0) rotate(4deg); }
    100% { transform: translateY(-12px) rotate(2deg); }
}

.lp-mockup-notch {
    position: absolute;
    top: -2px; left: 50%;
    transform: translateX(-50%);
    width: 130px; height: 26px;
    background: #1e293b;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 15;
}
.lp-mockup-screen {
    width: 100%; height: 100%;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 36px;
    overflow: hidden;
}
.mock-header {
    background: #fff; padding: 38px 18px 12px;
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 900; color: #0f172a; font-size: 1.15rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.mock-header img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #e2e8f0; }
.mock-search {
    margin: 16px; padding: 12px 14px; background: #f1f5f9;
    border-radius: 20px; font-size: 0.85rem; color: #94a3b8;
    display: flex; gap: 10px; align-items: center; font-weight: 500;
    border: 1px solid #e2e8f0;
}
.mock-feed { padding: 0 16px; flex: 1; overflow: hidden; display: flex; flex-direction: column; gap: 14px; }
.mock-card {
    background: #fff; border-radius: 18px; overflow: hidden;
    box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}
.mock-card img { width: 100%; height: 110px; object-fit: cover; }
.mock-desc { padding: 12px; }
.mock-desc b { display: block; font-size: 0.95rem; color: #0f172a; margin-bottom: 4px; font-weight: 800; }
.mock-desc span { font-size: 0.75rem; color: #64748b; font-weight: 600; display: flex; gap: 6px; align-items: center; }
.mock-tabbar {
    background: #fff; height: 60px;
    display: flex; justify-content: space-around; align-items: center;
    font-size: 1.2rem; color: #cbd5e1;
    border-top: 1px solid #f1f5f9;
}

.hero-dec-badge {
    position: absolute;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 14px 22px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.05rem;
    color: #1e293b;
    z-index: 10;
    border: 1.5px solid rgba(255,255,255,0.8);
}

.hero-dec-badge.top-right {
    top: 20px;
    right: -20px;
    animation: floatBadge 4s ease-in-out infinite alternate;
}

.hero-dec-badge.bottom-left {
    bottom: 80px;
    left: -70px;
    animation: floatBadge 5s ease-in-out infinite alternate-reverse;
}

@keyframes floatBadge {
    0% { transform: translateY(0); }
    100% { transform: translateY(-16px); }
}

/* ─── HERO SEARCH BAR ────────────────────────────────── */
.lp-search-wrap { position: relative; max-width: 100%; margin: 0; }
.lp-search-box {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1.5px solid rgba(255,255,255,0.9);
    border-radius: 60px;
    padding: 11px 11px 11px 32px;
    box-shadow: 0 24px 50px rgba(0,0,0,0.22);
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease;
    gap: 12px;
}
.lp-search-box:focus-within {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 32px 60px rgba(0,0,0,0.26), 0 0 0 3px rgba(147, 51, 234, 0.3);
    background: #fff;
    border-color: rgba(147,51,234,0.4);
}
.lp-search-icon { color: #94a3b8; font-size: 1.4rem; flex-shrink: 0; }
.lp-search-input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 14px 0 !important;
    font-size: 1.15rem !important;
    color: #0f172a !important;
    font-weight: 600;
    outline: none;
    min-width: 0;
}
.lp-search-input::placeholder { color: #94a3b8; font-weight: 500; }
.lp-search-btn {
    padding: 18px 44px;
    font-size: 1.1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4F46E5, #9333EA);
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(147,51,234,0.4);
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.lp-search-btn:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 16px 32px rgba(147,51,234,0.6);
}
.lp-search-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0; right: 0;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 50px rgba(0,0,0,0.14), 0 0 0 1px rgba(0,0,0,0.06);
    overflow: hidden;
    z-index: 2000;
    text-align: left;
    color: #1e293b;
}

/* ─── CATEGORIES GRID ──────────────────────────────── */
.lp-categories {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}
.lp-cat-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 24px 14px 20px;
    text-align: center;
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.lp-cat-card::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(79,70,229,0.1), rgba(147,51,234,0.05));
    opacity: 0;
    transition: opacity 0.4s;
}
.lp-cat-card:hover { 
    transform: translateY(-8px) scale(1.02); 
    box-shadow: 0 25px 50px rgba(0,0,0,0.08); 
    background: #fff;
    border-color: rgba(79,70,229,0.3);
}
.lp-cat-card:hover::before { opacity: 1; }
.lp-cat-icon {
    width: 64px; height: 64px;
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 16px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
}
.lp-cat-card:hover .lp-cat-icon { 
    transform: scale(1.15) rotate(5deg); 
    box-shadow: 0 12px 24px rgba(79,70,229,0.2);
}

/* ─── TRENDING GRID ──────────────────────────────────── */
.lp-trending-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.lp-trending-card {
    position: relative;
    height: 250px;
    border-radius: 30px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    display: block;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.lp-trending-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}
.lp-trending-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.lp-trending-card:hover img { transform: scale(1.14); }
.lp-trending-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 44px 20px 22px;
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.4) 55%, transparent 100%);
    transition: padding 0.3s ease;
}
.lp-trending-card:hover .lp-trending-info { padding-bottom: 28px; }
.lp-trending-info h4 {
    font-size: 1.3rem; font-weight: 800;
    margin-bottom: 5px;
    text-shadow: 0 4px 8px rgba(0,0,0,0.5);
}
.lp-trending-info p {
    font-size: 0.85rem; font-weight: 600;
    opacity: 0.9;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* ─── FEATURED TRIPS ─────────────────────────────────── */
.lp-featured-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.lp-featured-scroll::-webkit-scrollbar { display: none; }
.lp-feat-card {
    position: relative;
    flex-shrink: 0;
    width: 310px;
    height: 430px;
    border-radius: 28px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    box-shadow: 0 14px 36px rgba(0,0,0,0.12);
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), box-shadow 0.5s ease;
}
.lp-feat-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.22);
}
.lp-feat-card img.feat-bg {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.lp-feat-card:hover img.feat-bg { transform: scale(1.09); }
.feat-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.28) 0%, transparent 30%, rgba(0,0,0,0.88) 100%);
    display: flex; flex-direction: column;
    justify-content: space-between;
    padding: 24px; color: #fff;
    transition: background 0.4s;
}
.lp-feat-card:hover .feat-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.38) 0%, transparent 38%, rgba(0,0,0,0.96) 100%);
}
.feat-user {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.16);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.22);
    padding: 8px 16px 8px 8px; border-radius: 50px;
    width: fit-content;
    transition: all 0.3s ease;
}
.lp-feat-card:hover .feat-user { background: rgba(255,255,255,0.26); border-color: rgba(255,255,255,0.45); }
.feat-user img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.8); object-fit: cover; }
.feat-user span { font-size: 0.85rem; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.feat-bottom h4 {
    font-size: 1.45rem; font-weight: 800;
    line-height: 1.2; margin-bottom: 10px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.6);
}
.feat-bottom p {
    font-size: 0.9rem; font-weight: 700;
    opacity: 0.92; display: flex; align-items: center; gap: 8px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* ─── BANNER AD ──────────────────────────────────── */
.lp-banner-wrap { margin-bottom: 28px; position: relative; border-radius: 28px; overflow: hidden; }

.lp-banner-ad {
    position: relative;
    min-height: 220px;
    display: flex !important;
    align-items: flex-end;
    background: #0f172a;
    border-radius: 28px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(139,92,246,0.15);
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.lp-banner-ad:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(139,92,246,0.2); }

/* Image covers the full card as background */
.lp-banner-ad > img {
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important; height: 100% !important;
    object-fit: cover !important;
    z-index: 0 !important;
    filter: brightness(0.75);
    transition: transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.lp-banner-ad:hover > img { transform: scale(1.04); }

/* Dark gradient overlay for readability */
.lp-banner-ad::before {
    content: '';
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to right,
        rgba(10,10,30,0.85) 0%,
        rgba(10,10,30,0.6) 50%,
        rgba(10,10,30,0.2) 100%);
    border-radius: 28px;
}

/* Sponsored badge — pinned top-left */
.lp-sponsored-label {
    position: absolute;
    top: 20px; left: 20px;
    z-index: 10;
    font-size: 0.62rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: rgba(99,102,241,0.9);
    backdrop-filter: blur(8px);
    padding: 5px 14px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    display: inline-flex; align-items: center; gap: 6px;
    box-shadow: none;
}
.lp-sponsored-label::before {
    content: '●';
    font-size: 0.45rem;
    animation: pulse 2s infinite;
}

/* Content area overlaid on image */
.lp-banner-content {
    background: linear-gradient(135deg, #ffffff, #fdfbfb);
    display: flex; flex-direction: column; justify-content: center;
    position: relative;
}
.lp-banner-content::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at top right, rgba(139,92,246,0.06), transparent 60%);
    pointer-events: none;
}
.lp-banner-content h4 { font-size: 1.6rem; font-weight: 900; color: #1e293b; margin-bottom: 12px; letter-spacing: -0.5px; }
.lp-banner-content p { font-size: 1rem; color: #64748b; line-height: 1.6; margin-bottom: 24px; font-weight: 500; }

/* ─── SIDEBAR (Right) ────────────────────────────────── */
body[data-page="home"] .right-sidebar {
    position: sticky;
    top: calc(var(--navbar-h) + var(--topbar-h) + 20px);
    height: fit-content;
    padding-top: 0;
    background: transparent;
    border: none;
}
.lp-sidebar-card {
    background: #fff;
    border: 1.5px solid rgba(0,0,0,0.05);
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 6px 22px rgba(0,0,0,0.05);
    margin-bottom: 18px;
}
.lp-sidebar-card .lp-ad-img {
    width: 100%; border-radius: 14px; overflow: hidden; margin-bottom: 14px;
}
.lp-sidebar-card .lp-ad-img img {
    width: 100%; height: 160px; object-fit: cover;
    transition: transform 0.5s ease;
}
.lp-sidebar-card:hover .lp-ad-img img { transform: scale(1.06); }
.lp-sidebar-card h4 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.lp-sidebar-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 14px; }

.lp-ad-placeholder {
    background: linear-gradient(135deg, #eef2ff, #fdf2f8);
    border: 2px dashed #c7d2fe;
    border-radius: 22px;
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 18px;
}
.lp-ad-placeholder .ad-icon {
    width: 48px; height: 48px; background: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: var(--primary);
    margin: 0 auto 14px;
    box-shadow: 0 4px 12px rgba(79,70,229,0.12);
}

/* ─── CTA STRIP ──────────────────────────────────────── */
.lp-cta-strip {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 20px;
    padding: 40px 50px;
    margin: 40px 0;
    background: linear-gradient(135deg, #e0e7ff, #f3e8ff);
    border-radius: 30px;
    border: 1px solid #c7d2fe;
    box-shadow: 0 14px 30px rgba(79,70,229,0.1);
}
.lp-cta-strip p { font-size: 1.4rem; font-weight: 800; color: #1e293b; letter-spacing: -0.5px; }
.lp-cta-strip > div { display: flex; gap: 16px; align-items: center; }
.btn-lp-join {
    padding: 15px 36px;
    font-size: 1rem; font-weight: 800;
    background: linear-gradient(135deg, #4f46e5, #2563eb);
    color: #fff !important; border: none; border-radius: 50px; cursor: pointer;
    box-shadow: 0 8px 24px rgba(79,70,229,0.38);
    text-decoration: none; display: inline-block;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
}
.btn-lp-join:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 14px 30px rgba(79,70,229,0.52);
}
.btn-lp-post {
    padding: 15px 36px; font-size: 1rem; font-weight: 800;
    background: #fff; color: #4f46e5 !important;
    border: 2px solid #c7d2fe; border-radius: 50px; cursor: pointer;
    text-decoration: none; display: inline-block;
    transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.btn-lp-post:hover { background: #f0f4ff; border-color: #4f46e5; transform: translateY(-3px); }

/* ─── LIVE TRIP FEED ────────────────────────────────── */
.lp-feed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Default 3 for desktop */
    gap: 24px;
    margin-top: 24px;
}
@media (max-width: 991px) {
    .lp-feed-grid { grid-template-columns: repeat(2, 1fr); } /* 2 for tablet */
}
@media (max-width: 640px) {
    .lp-feed-grid { grid-template-columns: 1fr; } /* 1 for mobile */
}

/* SKELETON LOADERS */
.skeleton-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
}
.skeleton-shimmer {
    background: #f1f5f9;
    background-image: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
}
@keyframes shimmer {
    0% { background-position: -100% 0; }
    100% { background-position: 100% 0; }
}
.skeleton-header { padding: 16px; display: flex; align-items: center; gap: 12px; }
.skeleton-ava { width: 40px; height: 40px; border-radius: 50%; }
.skeleton-line { height: 12px; border-radius: 6px; margin-bottom: 8px; }
.skeleton-image { height: 200px; width: 100%; }
.skeleton-body { padding: 16px; }

/* END OF FEED MESSAGE */
.lp-feed-end {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px dashed var(--border);
    margin: 30px 0;
    animation: pageFadeIn 0.8s ease;
}
.lp-feed-end i { font-size: 2.5rem; color: var(--primary); margin-bottom: 16px; display: block; }
.lp-feed-end h4 { font-size: 1.25rem; font-weight: 800; color: #1e293b; margin: 0 0 8px; }
.lp-feed-end p { font-size: 0.95rem; color: #64748b; margin: 0; }
.lp-feed-grid .feed-card { margin-bottom: 0; height: 100%; display: flex; flex-direction: column; }
.lp-feed-grid .card-image-wrap img { height: 240px; }
.lp-feed-grid .card-body { flex: 1; display: flex; flex-direction: column; }
.lp-feed-grid .ad-card {
    border: 2px solid #c7d2fe; background: #f5f3ff; position: relative;
}
.lp-feed-grid .ad-card::before {
    content: 'SPONSORED'; position: absolute; top: 12px; right: 12px;
    background: linear-gradient(135deg, #4f46e5, #2563eb);
    color: #fff; font-size: 0.6rem; font-weight: 800;
    padding: 4px 10px; border-radius: 6px; letter-spacing: 1px; z-index: 2;
}

/* ─── FOOTER LINKS ───────────────────────────────────── */
.lp-footer-links {
    font-size: 0.78rem; color: var(--text-muted);
    line-height: 2.2; font-weight: 500; padding-left: 4px; margin-top: 20px;
}
.lp-footer-links a { color: inherit; text-decoration: none; margin-right: 12px; transition: color 0.2s; }
.lp-footer-links a:hover { color: var(--primary); }

/* ============================================================
   RESPONSIVE: TABLET (≤ 1100px)
   ============================================================ */
@media (max-width: 1100px) {
    .lp-wrapper {
        grid-template-columns: 1fr;
        grid-template-areas: "main" "right";
        gap: 20px;
    }
    .right-sidebar { position: static; padding-top: 0; }
    
    .lp-hero-title { font-size: 3rem; }
}

@media (max-width: 992px) {
    .lp-hero-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .lp-hero-content { animation: heroFadeUp 0.9s ease both; text-align: center; }
    .lp-search-wrap { margin: 0 auto; }
    .lp-hero-subtitle { margin: 0 auto 30px auto; }
    .hero-composition { transform: scale(0.9); }
    
    .lp-hero { min-height: 460px; padding: 70px 24px; }
    .lp-categories { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .lp-trending-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .lp-trending-card { height: 200px; }
    .lp-feed-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .lp-feed-grid .card-image-wrap img { height: 200px; }
    .lp-cta-strip { flex-direction: column; text-align: center; }
}

/* ============================================================
   RESPONSIVE: MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
    .lp-wrapper {
        grid-template-columns: 1fr;
        grid-template-areas: "main"; /* Only main on mobile unless needed */
        padding-left: 15px;
        padding-right: 15px;
        gap: 0;
    }
    .right-sidebar {
        display: none !important; /* Hide ads sidebar on mobile to prioritize content */
    }

    .lp-hero {
        padding: 100px 20px 60px;
        border-radius: 0 0 32px 32px;
        margin-bottom: 30px;
    }
    .lp-hero-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .lp-hero-trust-points { justify-content: center; }
    
    .hero-composition { transform: scale(0.9); margin: 30px auto 0; max-width: 320px; }
    .hero-avatar { left: -20px; width: 150px; height: 190px; }
    .lp-mockup-phone { width: 230px; box-shadow: 0 30px 60px rgba(0,0,0,0.2); }
    
    .lp-hero-title { font-size: 2.3rem; line-height: 1.1; letter-spacing: -0.5px; }
    .lp-hero-subtitle { font-size: 1.05rem; margin-top: 15px; line-height: 1.5; }
    
    .lp-search-box {
        flex-direction: column;
        padding: 10px;
        border-radius: 20px;
        background: rgba(255,255,255,0.9);
    }
    .lp-search-input {
        padding: 14px 15px !important;
        border: 1px solid #e2e8f0 !important;
        margin-bottom: 8px;
        border-radius: 12px !important;
        background: #fff !important;
    }
    .lp-search-btn { width: 100%; border-radius: 12px; padding: 14px; font-weight: 700; }

    .lp-categories { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .lp-cat-card { padding: 20px 10px; }

    /* Better horizontal scrolling for mobile */
    .lp-trending-grid {
        display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch;
        gap: 15px; padding: 10px 0 20px; margin-right: -20px; margin-left: -5px;
    }
    .lp-trending-card { flex: 0 0 160px; height: 180px; }
    
    .lp-testimonials { padding: 40px 15px; }
    .testimonial-card { padding: 20px; }
    .testi-text { font-size: 1rem; }
}

@media (max-width: 480px) {
    .lp-hero-title { font-size: 2.1rem; }
    .lp-cat-icon { width: 44px; height: 44px; font-size: 1.2rem; }
}


/* ============================================================
   ANIMATION SYSTEM — Premium scroll-reveal + micro-interactions
   ============================================================ */

/* ─── 1. SCROLL PROGRESS BAR ─────────────────────────── */
#lp-scroll-progress {
    position: fixed;
    top: calc(var(--topbar-h, 0px) + var(--navbar-h));
    left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #4f46e5, #a855f7, #ec4899);
    transform-origin: left;
    transform: scaleX(0);
    z-index: 999;
    transition: transform 0.08s linear, top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 3px 3px 0;
    box-shadow: 0 0 10px rgba(168,85,247,0.7);
}

/* ─── 2. HERO STAGGERED ENTRANCE ─────────────────────── */
.lp-hero-badge    { animation: fadeSlideUp 0.7s 0.1s  cubic-bezier(0.16,1,0.3,1) both; }
.lp-hero-title    { animation: fadeSlideUp 0.8s 0.28s cubic-bezier(0.16,1,0.3,1) both; }
.lp-hero-subtitle { animation: fadeSlideUp 0.8s 0.44s cubic-bezier(0.16,1,0.3,1) both; }
.lp-search-wrap   { animation: fadeSlideUp 0.9s 0.6s  cubic-bezier(0.16,1,0.3,1) both; }

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(34px); filter: blur(5px); }
    to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

/* ─── 3. FLOATING ORBS INSIDE HERO ───────────────────── */
.lp-hero::before {
    content: '';
    position: absolute;
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(139,92,246,0.32) 0%, transparent 70%);
    border-radius: 50%;
    top: -90px; left: -90px;
    animation: floatOrb 8s ease-in-out infinite alternate;
    pointer-events: none; z-index: 1;
}
.lp-hero-overlay::before {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(236,72,153,0.28) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -60px; right: 8%;
    animation: floatOrb 10s 2s ease-in-out infinite alternate-reverse;
    pointer-events: none;
}
@keyframes floatOrb {
    from { transform: translateY(0) scale(1); opacity: 0.8; }
    to   { transform: translateY(32px) scale(1.14); opacity: 1; }
}

/* ─── 4. BADGE SHIMMER ────────────────────────────────── */
.lp-hero-badge { position: relative; overflow: hidden; }
.lp-hero-badge::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.4) 50%, transparent 65%);
    transform: translateX(-100%);
    animation: shimmer 3.5s 1.8s ease infinite;
}

/* ─── 5. SEARCH BTN SHIMMER ──────────────────────────── */
.lp-search-btn { position: relative; overflow: hidden; }
.lp-search-btn::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.22) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: shimmer 3s 2.5s ease infinite;
}
@keyframes shimmer {
    0%   { transform: translateX(-100%); }
    55%  { transform: translateX(200%); }
    100% { transform: translateX(200%); }
}

/* ─── 6. SCROLL REVEAL (UP/LEFT/RIGHT/SCALE) ────────── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(5px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    filter: blur(5px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    filter: blur(5px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    filter: blur(5px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible, 
.reveal-left.visible, 
.reveal-right.visible,
.reveal-scale.visible {
    opacity: 1;
    transform: translate(0) scale(1);
    filter: blur(0);
}

/* Specific Section Reveal Enhancements */
.lp-section-header.reveal { transform: translateX(-30px); }
.lp-section-header.visible { transform: translateX(0); }

/* ─── 7. STAGGER CHILDREN ────────────────────────────── */
.stagger-children > * {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
    transition:
        opacity   0.6s cubic-bezier(0.16,1,0.3,1),
        transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0.04s; opacity:1; transform:none; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.12s; opacity:1; transform:none; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.20s; opacity:1; transform:none; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.28s; opacity:1; transform:none; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.36s; opacity:1; transform:none; }

/* ─── 8. CATEGORY CARDS BOUNCE IN ────────────────────── */
.lp-categories.visible .lp-cat-card:nth-child(1) { animation: bounceIn 0.65s 0.04s cubic-bezier(0.34,1.56,0.64,1) both; }
.lp-categories.visible .lp-cat-card:nth-child(2) { animation: bounceIn 0.65s 0.12s cubic-bezier(0.34,1.56,0.64,1) both; }
.lp-categories.visible .lp-cat-card:nth-child(3) { animation: bounceIn 0.65s 0.20s cubic-bezier(0.34,1.56,0.64,1) both; }
.lp-categories.visible .lp-cat-card:nth-child(4) { animation: bounceIn 0.65s 0.28s cubic-bezier(0.34,1.56,0.64,1) both; }
.lp-categories.visible .lp-cat-card:nth-child(5) { animation: bounceIn 0.65s 0.36s cubic-bezier(0.34,1.56,0.64,1) both; }
@keyframes bounceIn {
    from { opacity:0; transform: scale(0.72) translateY(18px); }
    to   { opacity:1; transform: scale(1) translateY(0); }
}

/* ─── 9. CTA STRIP SWEEP GLOW ────────────────────────── */
.lp-cta-strip { position: relative; overflow: hidden; }
.lp-cta-strip::before {
    content: '';
    position: absolute;
    width: 220%; height: 100%;
    top: 0; left: -60%;
    background: linear-gradient(105deg, transparent 35%, rgba(79,70,229,0.08) 50%, transparent 65%);
    animation: ctaSweep 5s ease-in-out infinite;
    pointer-events: none;
}
@keyframes ctaSweep {
    0%, 100% { transform: translateX(-20%); }
    50%       { transform: translateX(20%); }
}

/* ─── 10. PAGE FADE IN ────────────────────────────────── */
.portal-main { animation: pageFadeIn 0.55s ease both; }
@keyframes pageFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ─── 11. SIDEBAR CARD HOVER ─────────────────────────── */
.lp-sidebar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.09);
}

/* ─── HOW IT WORKS SECTION ───────────────────────────── */
.lp-how-works {
    margin: 0;
    padding: 80px 24px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.04), rgba(147, 51, 234, 0.04));
    border-radius: 0 0 50px 50px;
    border: none;
    border-bottom: 1px solid rgba(79, 70, 229, 0.1);
}
.how-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.how-step {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0,0,0,0.02);
}
.how-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
    border-color: rgba(79, 70, 229, 0.2);
}
.how-icon {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, #4f46e5, #9333ea);
    color: #fff;
    border-radius: 24px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 24px;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
}
.how-step h4 { font-size: 1.35rem; font-weight: 800; margin-bottom: 12px; color: #1e293b; }
.how-step p { font-size: 1rem; color: #64748b; line-height: 1.6; }

/* ─── TESTIMONIALS SECTION ──────────────────────────── */
.lp-testimonials {
    margin: 80px 0;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 30px;
    border-radius: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: all 0.5s ease;
}
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.testi-stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 14px; }
.testi-text { font-size: 1.15rem; font-weight: 600; color: #1e293b; margin-bottom: 20px; font-style: italic; }
.testi-user { display: flex; align-items: center; gap: 14px; }
.testi-user img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testi-user-info b { display: block; font-size: 1rem; color: #1e293b; }
.testi-user-info span { font-size: 0.85rem; color: #94a3b8; }

/* ─── Existing Card Polishing ────────────────────────── */
.lp-feat-card, .lp-trending-card, .lp-feed-grid .feed-card {
    border: 1px solid rgba(255,255,255,0.4);
}

/* ─── Reduced motion ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .reveal, .stagger-children > *,
    .lp-hero-badge, .lp-hero-title, .lp-hero-subtitle, .lp-search-wrap,
    .lp-hero::before, .lp-hero-overlay::before,
    .lp-hero-badge::after, .lp-search-btn::after,
    .lp-categories.visible .lp-cat-card { animation: none !important; transition: none !important; }
    .reveal { opacity:1; transform:none; filter:none; }
    .stagger-children > * { opacity:1; transform:none; }
}

/* ══════════════════════════════════════════════════════════════ */
/*  PREMIUM AD CAROUSEL — lp-adcar                               */
/*  Full-width, sliding track, one ad at a time                  */
/* ══════════════════════════════════════════════════════════════ */
.lp-adcar {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    height: 300px;
    margin: 8px 0 32px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
    background: #0f172a;
}

/* Sliding track — holds all slides side by side */
.lp-adcar-track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.65s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}

/* Each individual slide */
.lp-adcar-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Full-bleed background image */
.lp-adcar-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.lp-adcar-slide:hover .lp-adcar-bg {
    transform: scale(1.04);
}

/* Gradient fallback background (no image) */
.lp-adcar-bg-fallback {
    background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 40%, #6d28d9 70%, #7c3aed 100%);
}

/* Dark gradient overlay for text readability */
.lp-adcar-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        110deg,
        rgba(0, 0, 20, 0.82) 0%,
        rgba(0, 0, 20, 0.6)  45%,
        rgba(0, 0, 20, 0.25) 100%
    );
}

/* Content area — overlaid on image */
.lp-adcar-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 48px;
    max-width: 580px;
}

/* Sponsored badge */
.lp-adcar-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(99, 102, 241, 0.9);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 5px 14px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    width: fit-content;
    margin-bottom: 14px;
}

/* Ad title */
.lp-adcar-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 16px rgba(0,0,0,0.4);
    margin-bottom: 10px;
    margin-top: 0;
}

/* Ad description */
.lp-adcar-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    margin-bottom: 22px;
    max-width: 400px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* CTA Button */
.lp-adcar-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #1e293b;
    padding: 12px 26px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    width: fit-content;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.lp-adcar-cta:hover {
    background: #6366f1;
    color: #fff;
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 14px 30px rgba(99,102,241,0.45);
}
.lp-adcar-cta i {
    transition: transform 0.3s ease;
}
.lp-adcar-cta:hover i {
    transform: translateX(4px);
}

/* ─── Dot Navigation ────────────────────────────────── */
.lp-adcar-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
    align-items: center;
    background: rgba(0,0,0,0.3);
    padding: 7px 14px;
    border-radius: 30px;
    backdrop-filter: blur(8px);
}
.lp-adcar-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 0;
}
.lp-adcar-dot.active {
    background: #fff;
    transform: scale(1.25);
    width: 20px;
    border-radius: 4px;
}

/* ─── Prev / Next Arrows ────────────────────────────── */
.lp-adcar-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
}
.lp-adcar:hover .lp-adcar-arrow {
    opacity: 1;
}
.lp-adcar-arrow:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-50%) scale(1.1);
}
.lp-adcar-prev { left: 16px; }
.lp-adcar-next { right: 16px; }

/* ─── Mobile responsive ──────────────────────────────── */
@media (max-width: 768px) {
    .lp-adcar {
        height: 220px;
        border-radius: 20px;
        margin: 8px 0 20px;
    }
    .lp-adcar-content {
        padding: 24px 22px;
        max-width: 100%;
    }
    .lp-adcar-title {
        font-size: 1.15rem;
        margin-bottom: 6px;
    }
    .lp-adcar-desc {
        font-size: 0.82rem;
        margin-bottom: 14px;
        -webkit-line-clamp: 2;
    }
    .lp-adcar-cta {
        padding: 9px 18px;
        font-size: 0.82rem;
    }
    .lp-adcar-arrow {
        display: none; /* Rely on swipe on mobile */
    }
    .lp-adcar-dots {
        bottom: 12px;
        padding: 5px 10px;
    }
}

 