/* =========================================================================
   SELL MODAL - Modern & Clean
   ========================================================================= */
.shadow-xl {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
}

.hover-card {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}

.hover-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08) !important;
}

.hover-card .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hover-card ul {
    flex: 1;
}

/* Modal Styling */
#sellWithNotchlensModal .modal-content {
    border-radius: 24px;
    overflow: hidden;
}

#sellWithNotchlensModal .modal-header {
    padding: 1.5rem 1.5rem 0;
}

#sellWithNotchlensModal .modal-body {
    padding: 1.5rem;
}

#sellWithNotchlensModal .modal-footer {
    padding: 0 1.5rem 1.5rem;
}

#sellWithNotchlensModal .btn-close {
    padding: 0.75rem;
}

/* Responsive */
@media (max-width: 767.98px) {
    #sellWithNotchlensModal .modal-dialog {
        margin: 0.5rem;
    }

    #sellWithNotchlensModal .modal-content {
        border-radius: 16px;
    }

    .hover-card:hover {
        transform: none;
    }
}

/* Final - Hero Image Motion */
.hero-image-wrapper {
    position: relative;
    overflow: hidden;
    animation: heroFloat 6s ease-in-out infinite;
    transition: box-shadow 0.5s ease;
}

.hero-image-wrapper:hover {
    box-shadow: 0 20px 60px rgba(193, 0, 134, 0.2) !important;
}

.hero-image {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.7s ease;
    transform: scale(1.02);
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.08);
    filter: brightness(1.03) contrast(1.02);
}

/* Glow overlay */
.hero-image-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(193, 0, 134, 0.15) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.7s ease;
    z-index: 1;
}

.hero-image-wrapper:hover .hero-image-glow {
    opacity: 1;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* =========================================================================
   1. HERO SECTION WITH LIGHT BACKGROUND IMAGE
   ========================================================================= */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: #f5f5f5;
}

.hero-bg-image {
    background: url('/assets/images/bgg.jpg') center center / cover no-repeat;
    transform: scale(1.05);
    transition: transform 0.5s ease;
    z-index: 0;
}

.hero-section:hover .hero-bg-image {
    transform: scale(1);
}

/* Hero Text Colors */
.text-gradient-hero {
    background: linear-gradient(135deg, #C10086 0%, #7E0056 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtext {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 520px;
    color: #2d2d2d !important;
    opacity: 0.85;
}

/* Hero Buttons */
.btn-hero-primary {
    background: linear-gradient(135deg, #C10086 0%, #7E0056 100%);
    color: #ffffff !important;
    font-weight: 700;
    padding: 14px 32px;
    border: none;
    box-shadow: 0 8px 30px rgba(193, 0, 134, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(193, 0, 134, 0.5);
    color: #ffffff !important;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #1a1a1a !important;
    font-weight: 600;
    padding: 14px 32px;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 1);
    border-color: #C10086;
    transform: translateY(-3px);
    color: #1a1a1a !important;
}

/* Hero Metrics - Clean, no scrollbars */
.hero-metrics {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-metrics .hero-metric-item {
    flex-shrink: 0;
}

.hero-metrics .hero-metric-item .metric-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero-metrics .hero-metric-item .metric-label {
    font-size: 0.775rem;
    font-weight: 500;
    color: #555;
    display: block;
}

/* Avatar group */
.hero-metrics .avatar-group {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* Badge styling for light background */
.hero-section .badge.bg-primary-light {
    background: rgba(193, 0, 134, 0.1);
    color: #C10086;
    border: 1px solid rgba(193, 0, 134, 0.2);
}

/* =========================================================================
   2. FLOATING GEOMETRIC SHAPES
   ========================================================================= */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    opacity: 0.15;
    animation: floatShape 20s ease-in-out infinite;
}

.shape-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C10086, #FF6B9D);
    box-shadow: 0 0 60px rgba(193, 0, 134, 0.15);
}

.shape-square {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7E0056, #C10086);
    border-radius: 12px;
    transform: rotate(45deg);
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(193, 0, 134, 0.2);
    background: none !important;
}

.shape-diamond {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #9B59B6, #8E44AD);
    transform: rotate(45deg);
    border-radius: 4px;
}

.shape-ring {
    width: 70px;
    height: 70px;
    border: 3px solid rgba(193, 0, 134, 0.2);
    border-radius: 50%;
    background: none !important;
    animation: floatShape 25s ease-in-out infinite, pulseRing 4s ease-in-out infinite;
}

.shape-dots {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(193, 0, 134, 0.15) 2px, transparent 2px);
    background-size: 20px 20px;
    border-radius: 50%;
    animation: floatShape 22s ease-in-out infinite, rotateDots 30s linear infinite;
}

/* Shape Positions */
.shape-1 {
    top: 8%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    top: 15%;
    right: 8%;
    animation-delay: -3s;
    width: 50px;
    height: 50px;
}

.shape-3 {
    bottom: 25%;
    left: 10%;
    animation-delay: -6s;
}

.shape-4 {
    top: 45%;
    right: 15%;
    animation-delay: -9s;
    width: 40px;
    height: 40px;
}

.shape-5 {
    bottom: 15%;
    right: 5%;
    animation-delay: -12s;
}

.shape-6 {
    top: 60%;
    left: 3%;
    animation-delay: -15s;
}

.shape-7 {
    bottom: 40%;
    right: 3%;
    animation-delay: -18s;
}

/* Shape Animations */
@keyframes floatShape {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }

    25% {
        transform: translateY(-30px) rotate(10deg) scale(1.05);
    }

    50% {
        transform: translateY(-15px) rotate(-5deg) scale(0.95);
    }

    75% {
        transform: translateY(-40px) rotate(15deg) scale(1.02);
    }
}

@keyframes pulseRing {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.15;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.3;
    }
}

@keyframes rotateDots {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* =========================================================================
   WAVE DIVIDER - Clean, No Lines
   ========================================================================= */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
    line-height: 0;
    /* Remove extra space */
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 30px;
    max-height: 50px;
    margin: 0;
    /* Remove any margin */
    padding: 0;
    /* Remove any padding */
    vertical-align: bottom;
    /* Remove extra space below SVG */
}

/* Remove any bottom margin from hero section */
.hero-section {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Ensure categories section starts flush */
.categories-section {
    position: relative;
    background: #ffffff;
    padding: 2rem 0 4rem;
    margin-top: 0;
    /* Remove any margin */
    border-top: none;
    /* Remove any border */
}

/* =========================================================================
   4. RESPONSIVE HERO SECTION
   ========================================================================= */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: 70vh;
        padding: 2rem 0;
    }

    .hero-section .display-4 {
        font-size: 2.5rem;
    }

    .floating-shapes {
        display: none;
    }

    .hero-metrics {
        gap: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: auto;
        padding: 1.5rem 0 3rem 0;
    }

    .hero-section .display-4 {
        font-size: 2rem;
    }

    .hero-subtext {
        font-size: 0.95rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .hero-metrics .hero-metric-item .metric-title {
        font-size: 1.1rem;
    }

    .zigzag-divider {
        height: 25px;
    }

    .zigzag-divider svg {
        height: 25px;
    }
}

@media (max-width: 575.98px) {
    .hero-section .display-4 {
        font-size: 1.75rem;
    }

    .hero-metrics {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .hero-metrics .hero-metric-item .metric-title {
        font-size: 1rem;
    }

    .hero-metrics .hero-metric-item .metric-label {
        font-size: 0.65rem;
    }
}

/* =========================================================================
   CATEGORIES / MARKETPLACE SECTION - Modern
   ========================================================================= */
.categories-section {
    position: relative;
    background: #ffffff;
    padding: 2rem 0 4rem;
    /* Remove border-top completely */
    border-top: none;
    /* Remove any box-shadow that might create a line */
    box-shadow: none;
    margin-top: 0;
}

/* If there's a pseudo-element creating a line */
.categories-section::before,
.categories-section::after {
    display: none;
}

/* Section Header */
.section-header {
    margin-bottom: 2rem;
}

.section-badge {
    display: inline-block;
    background: rgba(193, 0, 134, 0.08);
    color: #C10086;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.35rem 1.2rem;
    border-radius: 100px;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(193, 0, 134, 0.1);
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.text-gradient-category {
    background: linear-gradient(135deg, #C10086 0%, #7E0056 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1rem;
    color: #6c757d;
    max-width: 450px;
    margin: 0 auto;
    font-weight: 400;
}

/* Categories Scroll Wrapper */
.categories-scroll-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0.5rem 0;
}

.categories-scroll-track {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.5rem 0 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.categories-scroll-track::-webkit-scrollbar {
    display: none;
}

.categories-scroll-container {
    display: inline-flex;
    white-space: nowrap;
    animation: scrollCategories 35s linear infinite;
    padding: 0 5px;
    gap: 0.75rem;
}

.categories-scroll-container:hover {
    animation-play-state: paused;
}

@keyframes scrollCategories {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Category Pills - No border artifacts */
.category-pill {
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    user-select: none;
    min-width: 190px;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    text-decoration: none !important;
}

.category-pill:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(193, 0, 134, 0.12);
    border-color: #C10086 !important;
    background: #ffffff;
}

.category-pill:active {
    transform: scale(0.96);
}

.category-icon-wrapper {
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.category-pill:hover .category-icon-wrapper {
    background: rgba(193, 0, 134, 0.15) !important;
    transform: scale(1.05);
}

.category-pill .text-dark {
    transition: color 0.3s ease;
}

.category-pill:hover .text-dark {
    color: #C10086 !important;
}

.category-pill .text-muted {
    font-size: 0.7rem;
    font-weight: 500;
}

/* Scroll Gradients - Subtle */
.scroll-gradient-left {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 60px;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, transparent 100%);
}

.scroll-gradient-right {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 60px;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.95) 0%, transparent 100%);
}

/* Quick Action Button */
.btn-hero-primary {
    background: linear-gradient(135deg, #C10086 0%, #7E0056 100%);
    color: #ffffff !important;
    font-weight: 600;
    padding: 12px 32px;
    border: none;
    box-shadow: 0 4px 20px rgba(193, 0, 134, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(193, 0, 134, 0.4);
    color: #ffffff !important;
}

.btn-hero-primary:active {
    transform: scale(0.96);
}

.btn-hero-primary i {
    font-size: 1.1rem;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 991.98px) {
    .categories-section {
        padding: 1.5rem 0 3rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }
}

@media (max-width: 767.98px) {
    .categories-section {
        padding: 1rem 0 2.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-badge {
        font-size: 0.6rem;
        padding: 0.25rem 1rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
        max-width: 100%;
    }

    .category-pill {
        min-width: 160px;
        padding: 0.6rem 1rem !important;
        gap: 0.75rem !important;
    }

    .category-pill .category-icon-wrapper {
        width: 40px !important;
        height: 40px !important;
    }

    .category-pill .category-icon-wrapper i {
        font-size: 1.1rem !important;
    }

    .category-pill .text-dark {
        font-size: 0.85rem !important;
    }

    .category-pill .text-muted {
        font-size: 0.6rem !important;
    }

    .scroll-gradient-left,
    .scroll-gradient-right {
        width: 40px !important;
    }

    .btn-hero-primary {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .categories-section {
        padding: 0.75rem 0 2rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .section-badge {
        font-size: 0.55rem;
        padding: 0.2rem 0.8rem;
        letter-spacing: 0.1em;
    }

    .section-subtitle {
        font-size: 0.8rem;
    }

    .category-pill {
        min-width: 140px;
        padding: 0.5rem 0.8rem !important;
        gap: 0.6rem !important;
    }

    .category-pill .category-icon-wrapper {
        width: 34px !important;
        height: 34px !important;
    }

    .category-pill .category-icon-wrapper i {
        font-size: 0.9rem !important;
    }

    .category-pill .text-dark {
        font-size: 0.75rem !important;
    }

    .category-pill .text-muted {
        font-size: 0.55rem !important;
    }

    .scroll-gradient-left,
    .scroll-gradient-right {
        width: 25px !important;
    }

    .btn-hero-primary {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 991.98px) {
    .categories-section {
        padding: 1.5rem 0 3rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }
}

@media (max-width: 767.98px) {
    .categories-section {
        padding: 1rem 0 2.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-badge {
        font-size: 0.6rem;
        padding: 0.25rem 1rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
        max-width: 100%;
    }

    .category-pill {
        min-width: 160px;
        padding: 0.6rem 1rem !important;
        gap: 0.75rem !important;
    }

    .category-pill .category-icon-wrapper {
        width: 40px !important;
        height: 40px !important;
    }

    .category-pill .category-icon-wrapper i {
        font-size: 1.1rem !important;
    }

    .category-pill .text-dark {
        font-size: 0.85rem !important;
    }

    .category-pill .text-muted {
        font-size: 0.6rem !important;
    }

    .scroll-gradient-left,
    .scroll-gradient-right {
        width: 40px !important;
    }

    .btn-hero-primary {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .categories-section {
        padding: 0.75rem 0 2rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .section-badge {
        font-size: 0.55rem;
        padding: 0.2rem 0.8rem;
        letter-spacing: 0.1em;
    }

    .section-subtitle {
        font-size: 0.8rem;
    }

    .category-pill {
        min-width: 140px;
        padding: 0.5rem 0.8rem !important;
        gap: 0.6rem !important;
    }

    .category-pill .category-icon-wrapper {
        width: 34px !important;
        height: 34px !important;
    }

    .category-pill .category-icon-wrapper i {
        font-size: 0.9rem !important;
    }

    .category-pill .text-dark {
        font-size: 0.75rem !important;
    }

    .category-pill .text-muted {
        font-size: 0.55rem !important;
    }

    .category-pill .category-icon-wrapper {
        width: 34px !important;
        height: 34px !important;
    }

    .scroll-gradient-left,
    .scroll-gradient-right {
        width: 25px !important;
    }

    .btn-hero-primary {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
}

/* =========================================================================
   6. EXISTING ANIMATIONS
   ========================================================================= */
.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 3s ease-in-out infinite 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* =========================================================================
       1. HERO SECTION & FONTS
       ========================================================================= */
.hero-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-bg-gradient {
    background: radial-gradient(ellipse at 70% 20%, rgba(193, 0, 134, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.text-gradient {
    background: linear-gradient(135deg, #C10086 0%, #7E0056 100%);
    -webkit-background-clip: text;
    -webkit-background-fill-color: transparent;
    background-clip: text;
}

.min-vh-70 {
    min-height: 70vh;
}

.fw-black {
    font-weight: 900 !important;
}

.font-size-12 {
    font-size: 0.75rem !important;
}

.font-size-10 {
    font-size: 0.625rem !important;
}

/* Animations */
.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 3s ease-in-out infinite 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* FIX: Added missing Keyframe for Bento Grid entrance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-pill-badge {
    background-color: #f8f9fa;
    border: 1px solid #eef0f2;
    padding: 6px 14px 6px 10px;
    border-radius: 100px;
}

.hero-pill-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #C10086;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(193, 0, 134, 0.4);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(193, 0, 134, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(193, 0, 134, 0);
    }
}

.hero-subtext {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 520px;
    color: #474747 !important;
}

.btn-hero-action-primary {
    background: linear-gradient(135deg, #C10086 0%, #7E0056 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.925rem;
    padding: 14px 32px;
    border-radius: 100px;
    border: none;
    box-shadow: 0 8px 24px rgba(126, 0, 86, 0.15);
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease-in-out;
}

.btn-hero-action-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(126, 0, 86, 0.25);
}

.btn-hero-action-secondary {
    background-color: transparent;
    color: #1f1f1f !important;
    font-weight: 700;
    font-size: 0.925rem;
    padding: 14px 32px;
    border-radius: 100px;
    border: 1px solid #dcdcdc;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease-in-out;
}

.btn-hero-action-secondary:hover {
    background-color: #f8f9fa;
    border-color: #1f1f1f;
    transform: translateY(-2px);
}

/* Metrics Components */
.hero-metric-item .metric-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1f1f1f;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero-metric-item .metric-label {
    font-size: 0.775rem;
    font-weight: 500;
    color: #757575;
}

.metric-vertical-divider {
    width: 1px;
    height: 32px;
    background-color: #eef0f2;
}

/* Hero Collage Layout */
.hero-collage-viewport {
    width: 100%;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.collage-main-frame {
    width: 82%;
    height: 85%;
    border-radius: 24px;
    overflow: hidden;
    background: #f8f9fa;
    border: 1px solid #eef0f2;
    position: relative;
    transform: rotate(2deg);
}

.floating-capsule {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 12px 20px;
    border-radius: 16px;
    min-width: 210px;
}

.capsule-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bg-success-light {
    background-color: rgba(25, 135, 84, 0.08);
}

.capsule-heading {
    font-size: 0.85rem;
    font-weight: 800;
    color: #1f1f1f;
    line-height: 1.2;
}

.capsule-sub {
    font-size: 0.725rem;
    font-weight: 500;
    color: #5f6368;
}


/* =========================================================================
       2. AUTO-SCROLLING CATEGORIES
       ========================================================================= */
.categories-scroll-wrapper {
    position: relative;
    overflow: hidden;
}

.categories-scroll-track {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.categories-scroll-track::-webkit-scrollbar {
    display: none;
}

.categories-scroll-container {
    display: inline-flex;
    white-space: nowrap;
    animation: scrollCategories 35s linear infinite;
    padding: 0 10px;
}

.categories-scroll-container:hover {
    animation-play-state: paused;
}

@keyframes scrollCategories {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.category-pill {
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
    min-width: 200px;
}

.category-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(193, 0, 134, 0.15);
    border-color: #C10086 !important;
}

.category-pill .category-icon-wrapper {
    flex-shrink: 0;
}

.scroll-gradient-left,
.scroll-gradient-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    pointer-events: none;
    z-index: 2;
}

.scroll-gradient-left {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, transparent 100%);
}

.scroll-gradient-right {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.95) 0%, transparent 100%);
}


/* =========================================================================
       3. MODERN NATIVE BENTO GRID CORE
       ========================================================================= */
.bento-section-heading {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111111;
    letter-spacing: -0.02em;
}

.badge-bento-tag {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.05em;
}

.badge-bento-tag.tag-primary {
    background-color: rgba(193, 0, 134, 0.08);
    color: #C10086;
}

.badge-bento-tag.tag-secondary {
    background-color: rgba(126, 0, 86, 0.08);
    color: #7E0056;
}

.badge-bento-status {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4b5563;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f3f4f6;
    padding: 6px 12px;
    border-radius: 100px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: #C10086;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.dot-live {
    background-color: #10b981;
    animation: bentoPulse 2s infinite;
}

@keyframes bentoPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.5;
    }
}

/* Fixed Container Axis Setup */
.bento-puzzle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 16px;
    width: 100%;
}

/* Maintain high-density look on mobile */
@media (max-width: 991.98px) {
    .bento-puzzle-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2-column density */
        grid-auto-rows: 180px;
        gap: 12px;
    }
}

/* Ensure cards don't flatten into full-width rows */
.puzzle-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Keep the card spans active */
.puzzle-item.span-2x2 {
    grid-column: span 2;
    grid-row: span 2;
}

.puzzle-item.span-wide {
    grid-column: span 2;
    grid-row: span 1;
}

.puzzle-item.span-standard {
    grid-column: span 1;
    grid-row: span 1;
}

/* Adjust typography for high-density fit */
.puzzle-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.puzzle-price-tag {
    font-size: 0.9rem;
    font-weight: 800;
    background: rgba(0, 0, 0, 0.4);
    padding: 2px 10px;
    border-radius: 20px;
    width: fit-content;
}

.puzzle-item.span-half-wide {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-image-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.puzzle-card-link-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
}

.card-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.puzzle-item:hover .card-gradient-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.9) 100%);
}

.puzzle-card-header {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge-bento-floating {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
}

.bg-blur-brand {
    background: rgba(193, 0, 134, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bg-blur-secondary {
    background: rgba(126, 0, 86, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bg-blur-success {
    background: rgba(16, 185, 129, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.puzzle-card-body {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.puzzle-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.puzzle-desc {
    font-size: 0.8rem;
    color: #d1d5db;
    margin-bottom: 12px;
    font-weight: 500;
}

.puzzle-price-tag {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 4px 14px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
    width: fit-content;
}

.bento-empty-state {
    background: #f9fafb;
    border: 2px dashed #e5e7eb;
    border-radius: 20px;
}


/* =========================================================================
       4. STORE MERCHANTS CARDS
       ========================================================================= */
.store-card .store-card-body {
    justify-content: center !important;
    align-items: center !important;
    text-align: center;
    padding: 24px;
}

.store-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.store-avatar-wrapper {
    position: relative;
    margin-bottom: 8px;
}

.store-avatar {
    width: 64px;
    height: 64px;
    object-fit: cover;
    background: white;
    border-radius: 50%;
}

.verified-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 22px;
    height: 22px;
    background: #0d6efd;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.verified-badge i {
    font-size: 12px;
}

.store-name {
    color: white;
    font-weight: 700;
    font-size: 16px;
    margin: 0;
}

.store-location {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin: 0;
}

.store-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 4px;
    flex-wrap: wrap;
    justify-content: center;
}

.store-actions .btn-light {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.store-actions .btn-light:hover {
    background: rgba(255, 255, 255, 0.35);
    color: white;
    transform: scale(1.05);
}


/* =========================================================================
       5. UNIFIED RESPONSIVE GRID BREAKPOINTS
       ========================================================================= */
@media (max-width: 991.98px) {
    .bento-puzzle-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
        gap: 16px;
    }

    .puzzle-item.span-2x2 {
        grid-column: span 2;
        grid-row: span 2;
    }

    .puzzle-item.span-wide {
        grid-column: span 2;
        grid-row: span 1;
    }

    .puzzle-item.span-standard {
        grid-column: span 1;
        grid-row: span 1;
    }

    .puzzle-item.span-half-wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .category-pill {
        min-width: 170px;
        padding: 0.7rem 1rem !important;
    }

    .category-pill .category-icon-wrapper {
        width: 44px !important;
        height: 44px !important;
    }

    .category-pill .category-icon-wrapper i {
        font-size: 1.25rem !important;
    }

    .hero-collage-viewport {
        height: 320px;
    }

    .collage-main-frame {
        width: 100%;
        height: 100%;
        transform: none;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero-section .display-4 {
        font-size: 2rem;
    }

    .bento-puzzle-grid {
        gap: 12px;
    }

    .puzzle-card-body {
        padding: 14px !important;
    }

    .puzzle-title {
        font-size: 14px !important;
    }

    .puzzle-price-tag {
        font-size: 0.95rem !important;
        padding: 3px 12px !important;
    }

    .puzzle-desc {
        font-size: 12px !important;
    }

    .store-avatar {
        width: 50px !important;
        height: 50px !important;
    }

    .store-name {
        font-size: 14px !important;
    }

    .store-location {
        font-size: 12px !important;
    }

    .category-pill {
        min-width: 150px;
        padding: 0.6rem 0.8rem !important;
    }

    .category-pill .category-icon-wrapper {
        width: 38px !important;
        height: 38px !important;
    }

    .category-pill .category-icon-wrapper i {
        font-size: 1rem !important;
    }

    .category-pill .text-dark {
        font-size: 0.85rem !important;
    }

    .category-pill .text-muted {
        font-size: 0.7rem !important;
    }

    .scroll-gradient-left,
    .scroll-gradient-right {
        width: 40px !important;
    }
}

@media (max-width: 575.98px) {
    .hero-section .display-4 {
        font-size: 1.75rem;
    }

    .bento-puzzle-grid {
        display: flex;
        flex-direction: column;
        gap: 12px !important;
    }

    .puzzle-item {
        height: 220px !important;
        width: 100%;
    }

    .puzzle-card-body {
        padding: 12px !important;
    }

    .puzzle-title {
        font-size: 13px !important;
    }

    .store-avatar {
        width: 42px !important;
        height: 42px !important;
    }

    .store-name {
        font-size: 12px !important;
    }

    .store-location {
        font-size: 10px !important;
    }

    .store-actions .btn-light {
        font-size: 10px !important;
        padding: 0.2rem 0.6rem !important;
    }

    .category-pill {
        min-width: 130px;
        padding: 0.5rem 0.6rem !important;
    }

    .category-pill .category-icon-wrapper {
        width: 32px !important;
        height: 32px !important;
    }

    .category-pill .category-icon-wrapper i {
        font-size: 0.85rem !important;
    }

    .category-pill .text-dark {
        font-size: 0.75rem !important;
    }

    .category-pill .text-muted {
        font-size: 0.6rem !important;
    }

    .scroll-gradient-left,
    .scroll-gradient-right {
        width: 25px !important;
    }
}

/* =========================================================================
   FOOTER - Modern & Rich
   ========================================================================= */
.footer-section {
    background: #f8f9fa;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    margin-top: 2rem;
}

.footer-brand p {
    max-width: 450px;
    line-height: 1.7;
}

/* Social Links */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(193, 0, 134, 0.08);
    color: #C10086;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.social-link:hover {
    background: #C10086;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(193, 0, 134, 0.25);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.footer-links a:hover {
    color: #C10086;
    transform: translateX(4px);
}

/* Category Links */
.footer-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem 0.5rem;
}

.footer-categories li {
    margin-bottom: 0.25rem;
}

.footer-categories a {
    font-size: 0.8rem;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.footer-categories a:hover {
    color: #C10086;
}

.footer-categories a i {
    font-size: 0.7rem;
}

/* Newsletter */
#newsletterForm .input-group {
    max-width: 280px;
}

#newsletterForm .form-control {
    border-color: #e0e0e0;
    border-radius: 50px 0 0 50px;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
}

#newsletterForm .form-control:focus {
    border-color: #C10086;
    box-shadow: 0 0 0 3px rgba(193, 0, 134, 0.1);
}

#newsletterForm .btn {
    border-radius: 0 50px 50px 0;
    padding: 0.6rem 1.2rem;
    background: #C10086;
    border-color: #C10086;
}

#newsletterForm .btn:hover {
    background: #7E0056;
    border-color: #7E0056;
}

/* Contact Info */
.contact-info a {
    color: #6c757d;
    transition: color 0.2s ease;
}

.contact-info a:hover {
    color: #C10086;
}

.contact-info i {
    width: 20px;
    text-align: center;
}

/* Bottom Bar */
.footer-section hr {
    border-color: rgba(0, 0, 0, 0.06);
}

.footer-section .list-inline-item a {
    font-size: 0.8rem;
}

.footer-section .list-inline-item a:hover {
    color: #C10086 !important;
}

/* =========================================================================
   RESPONSIVE FOOTER
   ========================================================================= */
@media (max-width: 991.98px) {
    .footer-categories {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767.98px) {
    .footer-section {
        padding: 2rem 0 !important;
        margin-top: 1rem;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-categories {
        grid-template-columns: 1fr 1fr;
    }

    #newsletterForm .input-group {
        max-width: 100%;
    }

    .footer-section .text-md-end {
        text-align: start !important;
        margin-top: 1rem;
    }

    .footer-section .list-inline {
        margin-left: -0.5rem;
    }
}

@media (max-width: 575.98px) {
    .footer-categories {
        grid-template-columns: 1fr;
    }

    .social-link {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }
}