:root {
    --primary: #4338ca;
    --primary-dark: #1e1b4b;
    --secondary: #ec4899;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --dark: #0f172a;
    --light: #f1f5f9;
    --white: #ffffff;
    --gray: #64748b;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
.serif-font {
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.5px;
}

.app-frame {
    max-width: 480px;
    margin: 0 auto;
    background: var(--light);
    min-height: 100vh;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
    position: relative;
}

.header-blue {
    background-color: #010856;
    color: white;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-bottom-left-radius: 2.5rem;
    border-bottom-right-radius: 2.5rem;
    position: relative;
    overflow: hidden;
    height: 480px;
}

.carousel-container {
    perspective: 1000px;
    height: 240px;
    overflow: visible;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    z-index: 10;
}

.carousel-3d {
    width: 200px;
    height: 240px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1s;
    animation: rotate 20s infinite linear;
}

.carousel-3d:hover {
    animation-play-state: paused;
}

@keyframes rotate {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(-360deg);
    }
}

.carousel-item-3d {
    position: absolute;
    width: 160px;
    height: 220px;
    left: 20px;
    top: 10px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    text-align: center;
    color: white;
    overflow: hidden;
}

.carousel-image-wrap {
    width: 100%;
    height: 58%;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.16);
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 12px 14px;
    gap: 4px;
}

.hide-scroll::-webkit-scrollbar {
    display: none;
}

.hide-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(67, 56, 202, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.section-title {
    position: relative;
    z-index: 1;
}

@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

.categories-shell {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.chip-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.6rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    border-radius: 0;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
    text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.category-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: #e2e8f0;
    box-shadow: 0 20px 25px -5px rgba(67, 56, 202, 0.12), 0 10px 10px -5px rgba(67, 56, 202, 0.04);
}

.category-card:hover::before {
    background: linear-gradient(90deg, #4338ca, #ec4899);
}

.category-icon {
    width: 50px;
    height: 50px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.category-icon i {
    font-size: 1.35rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.category-card:hover .category-icon {
    transform: translateY(-2px) scale(1.08) rotate(4deg);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

.category-card:hover .category-icon i {
    transform: scale(1.05);
}

.category-img-wrap {
    width: 100%;
    height: 88px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
    position: relative;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover .category-img {
    transform: scale(1.1);
}

.category-meta {
    padding: 0.65rem 0.45rem 0.75rem;
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.category-meta span {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.25;
    transition: color 0.3s ease;
}

.category-card:hover .category-meta span {
    color: #4338ca;
}

.category-meta small {
    display: block;
    font-size: 0.6rem;
    font-weight: 500;
    color: #64748b;
    margin-top: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.category-meta small {
    display: block;
    font-size: 0.62rem;
    font-weight: 500;
    color: #64748b;
    margin-top: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 2px;
}

.category-arrow {
    display: none;
}

.category-arrow {
    display: none;
}

/* --- Premium Banner Redesign --- */
.premium-banner {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 160px;
}

.premium-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.25);
    border-color: rgba(255, 255, 255, 0.15);
}

.premium-badge {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.premium-cta {
    background-size: 200% auto;
    transition: all 0.3s ease;
}

.premium-banner:hover .premium-cta {
    transform: scale(1.03);
    box-shadow: 0 10px 20px -5px rgba(244, 63, 94, 0.4);
    background-position: right center;
}

.premium-graphic-wrap {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-graphic-img {
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.35));
    animation: float-illustration 4s ease-in-out infinite;
}

.premium-banner:hover .premium-graphic-wrap {
    transform: scale(1.05) translateY(-2px);
}

@keyframes float-illustration {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* --- Trending Section Redesign --- */
.trending-card {
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 16px -6px rgba(15, 23, 42, 0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.trending-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 40px -10px rgba(15, 23, 42, 0.18);
}

.trending-card-img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.trending-card:hover .trending-card-img {
    transform: scale(1.06);
}

.trending-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.35) 60%, rgba(0, 0, 0, 0.1) 100%);
}

.trending-card-badge {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* --- Flash Deals Section Redesign --- */
.flash-deal-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.flash-deal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
    border-color: #f1f5f9;
}

/* --- All Services Overlay Redesign --- */
.all-services-overlay {
    position: fixed;
    top: 0;
    left: 50%;
    width: 100%;
    max-width: 480px;
    height: 100%;
    background: #f8fafc;
    z-index: 500;
    display: flex;
    flex-direction: column;
    transform: translate(-50%, 100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.all-services-overlay.active {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
}

.overlay-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: white;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.overlay-body {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 40px;
}

/* Category Headings & Groupings */
.catalog-category-group {
    margin-bottom: 1.5rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.catalog-category-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0;
    border-bottom: none;
}

.catalog-category-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.catalog-category-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.2px;
}

/* Service list items in a 3-column grid */
.catalog-services-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.catalog-service-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.catalog-service-image-wrap {
    width: 100%;
    height: 84px;
    display: block;
    overflow: hidden;
    flex-shrink: 0;
    background: #f8fafc;
    position: relative;
}

.catalog-service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.catalog-service-item:hover {
    transform: translateY(-3px);
    border-color: #e2e8f0;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.catalog-service-item:hover .catalog-service-img {
    transform: scale(1.06);
}

.catalog-service-info {
    padding: 0.5rem 0.45rem 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-align: left;
    width: 100%;
}

.catalog-service-name {
    font-size: 0.72rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    text-align: left;
}

.catalog-service-desc {
    font-size: 0.6rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    text-align: left;
}

.catalog-service-arrow {
    display: none;
}

/* Trust Badges Floating Animations */
@keyframes float-slow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.animate-float-1 {
    animation: float-slow 4s ease-in-out infinite;
}

.animate-float-2 {
    animation: float-slow 4s ease-in-out infinite;
    animation-delay: 1.3s;
}

.animate-float-3 {
    animation: float-slow 4s ease-in-out infinite;
    animation-delay: 2.6s;
}

/* --- Testimonials Section --- */
.testimonial-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.03);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(67, 56, 202, 0.12), 0 8px 16px -6px rgba(15, 23, 42, 0.06);
}

.testimonial-quote-icon {
    position: absolute;
    top: -4px;
    right: 12px;
    font-size: 4.5rem;
    line-height: 1;
    color: rgba(67, 56, 202, 0.07);
    pointer-events: none;
    user-select: none;
}

.testimonial-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: #475569;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
    flex: 1;
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    color: #f59e0b;
    font-size: 0.85rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border-top: 1px solid rgba(241, 245, 249, 0.8);
    padding-top: 0.65rem;
    margin-top: auto;
}

.testimonial-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.testimonial-name {
    font-size: 0.75rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    line-height: 1.2;
}

.testimonial-service {
    font-size: 0.62rem;
    font-weight: 500;
    color: #94a3b8;
    margin: 0;
    margin-top: 2px;
}

/* Trust stat strip below testimonials */
.testimonial-stat-pill {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    padding: 0.65rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    text-align: center;
}

.testimonial-stat-num {
    font-size: 0.9rem;
    font-weight: 900;
    color: #1e293b;
    letter-spacing: -0.5px;
    line-height: 1;
}

.testimonial-stat-label {
    font-size: 0.58rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

/* ===== UPCOMING BOOKING CARD (#12) ===== */
.upcoming-booking-card {
    background: linear-gradient(135deg, #1e1b4b 0%, #3730a3 60%, #4f46e5 100%);
    border-radius: 20px;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 35px -5px rgba(67, 56, 202, 0.4);
    position: relative;
    overflow: hidden;
}

.ub-glow-1 {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.25);
    filter: blur(20px);
    pointer-events: none;
}

.ub-glow-2 {
    position: absolute;
    bottom: -25px;
    left: 20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(236, 72, 153, 0.15);
    filter: blur(20px);
    pointer-events: none;
}

.upcoming-countdown-chip {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 3px 8px;
    font-size: 0.88rem;
    font-weight: 900;
    color: #fff;
    min-width: 30px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.5px;
}

/* ===== QUICK REBOOK CARD (#11) ===== */
.rebook-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rebook-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -5px rgba(236, 72, 153, 0.15);
    border-color: #fce7f3;
}

.rebook-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fdf2f8, #fce7f3);
    border: 1px solid #fbcfe8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.3rem;
    color: #ec4899;
}

.rebook-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #ec4899, #f43f5e);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 9px 14px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.rebook-btn:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.4);
    color: #fff;
    text-decoration: none;
}

/* ===== LOYALTY POINTS CARD (#10) ===== */
.loyalty-card {
    background: linear-gradient(135deg, #78350f 0%, #b45309 50%, #d97706 100%);
    border-radius: 20px;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 35px -5px rgba(180, 83, 9, 0.35);
    position: relative;
    overflow: hidden;
}

.loyalty-glow {
    position: absolute;
    top: -25px;
    right: -15px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(253, 224, 71, 0.2);
    filter: blur(25px);
    pointer-events: none;
}

.loyalty-bar-track {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    height: 8px;
    width: 100%;
    overflow: hidden;
    margin: 8px 0;
}

.loyalty-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #fef9c3, #ffffff);
    box-shadow: 0 0 12px rgba(254, 249, 195, 0.6);
    transition: width 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: 0%;
}

/* ===== RECOMMENDED FOR YOU (#4) ===== */
.reco-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    min-width: 145px;
    max-width: 160px;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.reco-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(67, 56, 202, 0.12);
    border-color: #e0e7ff;
}

.reco-book-btn {
    display: inline-block;
    margin-top: 2px;
    font-size: 0.65rem;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, #4338ca, #6366f1);
    padding: 4px 10px;
    border-radius: 8px;
    letter-spacing: 0.03em;
    text-decoration: none;
}

.reco-card-explore .reco-book-btn {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
}

/* ===== SEASONAL BANNER (#6) ===== */
.seasonal-banner {
    border-radius: 20px;
    padding: 1.4rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 35px -5px rgba(3, 105, 161, 0.35);
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 60%, #0891b2 100%);
}

.seasonal-glow-1 {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.25);
    filter: blur(20px);
    pointer-events: none;
}

.seasonal-glow-2 {
    position: absolute;
    bottom: -30px;
    right: 10px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.2);
    filter: blur(25px);
    pointer-events: none;
}

.seasonal-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 9px 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.seasonal-cta:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.03);
}

.seasonal-discount-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    gap: 2px;
    animation: badge-pulse 3s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ===== REFERRAL BANNER (#3) ===== */
.referral-banner {
    border-radius: 20px;
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 35px -5px rgba(190, 24, 93, 0.35);
    background: linear-gradient(135deg, #831843 0%, #be185d 60%, #ec4899 100%);
}

.referral-glow-1 {
    position: absolute;
    top: -20px;
    right: 30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(251, 113, 133, 0.3);
    filter: blur(20px);
    pointer-events: none;
}

.referral-glow-2 {
    position: absolute;
    bottom: -20px;
    left: -10px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(244, 63, 94, 0.2);
    filter: blur(15px);
    pointer-events: none;
}

.referral-gift-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.referral-code-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 10px 14px;
    text-align: center;
    letter-spacing: 2px;
    border: 1.5px dashed #fca5a5;
    min-width: 0;
}

.referral-copy-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.referral-copy-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.referral-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    color: #be185d;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 9px 14px;
    border-radius: 12px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    flex-shrink: 0;
}

.referral-share-btn:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ===================================================
   BOOK AGAIN — COMPACT CHIP LIST
   =================================================== */
.reco-chip-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reco-chip {
    display: flex;
    align-items: center;
    gap: 11px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 10px 12px;
    text-decoration: none;
    box-shadow: 0 1px 6px rgba(15, 23, 42, 0.05);
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    text-align: left;
}

.reco-chip:hover {
    border-color: #e0e7ff;
    box-shadow: 0 4px 16px -2px rgba(99, 102, 241, 0.12);
    transform: translateX(2px);
    text-decoration: none;
}

.reco-chip-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.reco-chip-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.reco-chip-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reco-chip-date {
    font-size: 0.65rem;
    font-weight: 500;
    color: #94a3b8;
}

.reco-chip-btn {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.reco-chip:hover .reco-chip-btn {
    transform: scale(1.1);
}

.reco-chip-explore {
    border: none;
    background: #ffffff;
}

.seasonal-banner-v2 {
    border-radius: 24px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #0f172a 0%, #0c4a6e 45%, #075985 100%);
    border: 1px solid rgba(125, 211, 252, 0.15);
    box-shadow: 0 20px 50px -10px rgba(7, 89, 133, 0.5);
}

.sb-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    pointer-events: none;
}

.sb-orb-1 {
    width: 160px;
    height: 160px;
    top: -50px;
    right: -40px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, transparent 70%);
}

.sb-orb-2 {
    width: 120px;
    height: 120px;
    bottom: -40px;
    left: -20px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
}

.sb-orb-3 {
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
}

.sb-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 900;
    color: rgba(186, 230, 253, 0.95);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(125, 211, 252, 0.25);
    padding: 5px 12px;
    border-radius: 999px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.sb-discount-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    border-radius: 16px;
    padding: 8px 14px;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
    animation: badge-pulse 3s ease-in-out infinite;
    flex-shrink: 0;
}

.sb-discount-num {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -1px;
}

.sb-discount-pct {
    font-size: 0.6rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.2;
    text-align: left;
    text-transform: uppercase;
}

.sb-headline {
    font-size: 1.65rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin: 0;
}

.sb-headline-accent {
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sb-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.67rem;
    font-weight: 700;
    color: rgba(186, 230, 253, 0.9);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(125, 211, 252, 0.2);
    padding: 4px 10px;
    border-radius: 8px;
    letter-spacing: 0.02em;
}

.sb-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 11px 18px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.01em;
}

.sb-cta-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.5);
}

.sb-save-badge {
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(186, 230, 253, 0.6);
    text-align: right;
    line-height: 1.4;
}

.sb-save-badge strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 900;
    color: #a5f3fc;
}

/* ===================================================
   REFERRAL BANNER V2
   =================================================== */
.referral-v2 {
    border-radius: 24px;
    padding: 1.4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #1a0a12 0%, #6b0f2d 45%, #9d1239 100%);
    border: 1px solid rgba(251, 113, 133, 0.15);
    box-shadow: 0 20px 50px -10px rgba(157, 18, 57, 0.5);
}

.rv2-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(28px);
    pointer-events: none;
}

.rv2-blob-1 {
    width: 140px;
    height: 140px;
    top: -40px;
    right: -20px;
    background: radial-gradient(circle, rgba(251, 113, 133, 0.4) 0%, transparent 70%);
}

.rv2-blob-2 {
    width: 100px;
    height: 100px;
    bottom: -30px;
    left: -10px;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.3) 0%, transparent 70%);
}

.rv2-blob-3 {
    width: 60px;
    height: 60px;
    top: 40%;
    left: 30%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, transparent 70%);
}

.rv2-gift-wrap {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(253, 164, 175, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: float-illustration 4s ease-in-out infinite;
}

.rv2-eyebrow {
    display: block;
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(253, 164, 175, 0.65);
    margin-bottom: 3px;
}

.rv2-headline {
    font-size: 1.2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.25;
    margin: 0;
    letter-spacing: -0.3px;
}

.rv2-amount {
    display: inline-block;
    background: linear-gradient(90deg, #fda4af, #fb7185);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.4rem;
    font-weight: 900;
}

.rv2-sub {
    font-size: 0.68rem;
    font-weight: 500;
    color: rgba(253, 164, 175, 0.6);
    margin: 4px 0 0;
    line-height: 1.5;
}

/* Friends row */
.rv2-friends-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(253, 164, 175, 0.12);
    border-radius: 14px;
}

.rv2-avatar-stack {
    display: flex;
    flex-shrink: 0;
}

.rv2-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 900;
    color: #fff;
}

.rv2-avatar-friend {
    margin-left: -10px;
    border-style: dashed;
    border-color: rgba(253, 164, 175, 0.5);
}

.rv2-arrow-line {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 2px;
}

.rv2-arrow-dash {
    flex: 1;
    height: 1.5px;
    background: repeating-linear-gradient(90deg, rgba(253,164,175,0.5) 0px, rgba(253,164,175,0.5) 6px, transparent 6px, transparent 12px);
}

.rv2-arrow-icon {
    font-size: 1rem;
    color: rgba(253, 164, 175, 0.7);
    flex-shrink: 0;
}

.rv2-reward-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 10px;
    padding: 5px 10px;
    font-size: 0.7rem;
    font-weight: 800;
    color: #fef3c7;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Code strip */
.rv2-code-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px dashed rgba(253, 164, 175, 0.4);
    border-radius: 14px;
    padding: 10px 12px;
}

.rv2-code-inner {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.rv2-code-text {
    font-size: 0.82rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2.5px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rv2-copy-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(253, 164, 175, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.rv2-copy-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.rv2-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fff;
    color: #9d1239;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 9px 14px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.01em;
}

.rv2-share-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

/* Bottom Navigation Bar styled to fit fixed at bottom of screen */
.dashboard-nav-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 64px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 90;
    padding-bottom: env(safe-area-inset-bottom, 0);
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06);
}

.dashboard-nav-bar .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.62rem;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s ease;
    flex: 1;
}

.dashboard-nav-bar .nav-item i {
    font-size: 1.3rem;
    margin-bottom: 2px;
}

.dashboard-nav-bar .nav-item.active {
    color: #ec4899;
}

/* Floating Center Add Button */
.dashboard-nav-bar .nav-floating-btn {
    position: relative;
    top: -16px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(236, 72, 153, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 95;
}

.dashboard-nav-bar .nav-floating-btn-inner {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ec4899 0%, #d946ef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(236, 72, 153, 0.3);
    transition: transform 0.2s ease;
}

.dashboard-nav-bar .nav-floating-btn-inner:hover {
    transform: scale(1.05);
}