/* ==========================================================================
   FLUNGO REWARDS - NEW MODERN GAMIFICATION LAYOUT (CIRI KHAS FLUNGO)
   Clean, Airy, Interactive, Royal Blue & Soft Sky Blue Aesthetics
   ========================================================================== */

.fl-rewards-page {
    background-color: #f8fafc;
    min-height: 100vh;
    padding: 28px 0 72px;
    font-family: "Inter", sans-serif;
    color: #0f172a;
}

.fl-rewards-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   1. Nav & Breadcrumb
   -------------------------------------------------------------------------- */
.fl-rewards-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.fl-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #154ea1;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.fl-back-btn:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #0f3a7a;
    transform: translateX(-3px);
    text-decoration: none;
}

.fl-crumb-trail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
}

.fl-crumb-trail a {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fl-crumb-trail a:hover {
    color: #154ea1;
}

.fl-crumb-trail .fl-sep {
    font-size: 10px;
    color: #cbd5e1;
}

.fl-crumb-trail .fl-active {
    color: #154ea1;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   2. Modern Split Hero (Flungo Branded Light-Sky Showcase)
   -------------------------------------------------------------------------- */
.fl-new-hero {
    position: relative;
    background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 60%, #e0effe 100%);
    border: 1.5px solid #dbeafe;
    border-radius: 28px;
    padding: 44px 48px;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 12px 36px rgba(21, 78, 161, 0.07);
}

.fl-new-hero::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -60px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, rgba(21, 78, 161, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.fl-new-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 40px;
    align-items: center;
}

.fl-hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    background: #e0effe;
    border: 1px solid #bfdbfe;
    color: #154ea1;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.fl-hero-title {
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 800;
    color: #0f2b5c;
    line-height: 1.2;
    margin: 0 0 14px 0;
    letter-spacing: -0.5px;
}

.fl-hero-title span {
    color: #154ea1;
    background: linear-gradient(135deg, #154ea1 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fl-hero-desc {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 24px 0;
    max-width: 560px;
}

/* Stat Chips Row */
.fl-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.fl-stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.fl-stat-chip:hover {
    transform: translateY(-2px);
    border-color: #93c5fd;
}

.fl-stat-chip i {
    color: #154ea1;
    font-size: 15px;
}

/* Hero Showcase Card (Right) */
.fl-showcase-card {
    position: relative;
    background: #ffffff;
    border: 1.5px solid #dbeafe;
    border-radius: 22px;
    padding: 24px 28px;
    box-shadow: 0 14px 34px rgba(21, 78, 161, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.fl-showcase-visual {
    position: relative;
    width: 170px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.fl-showcase-visual img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(21, 78, 161, 0.2));
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fl-showcase-card:hover .fl-showcase-visual img {
    transform: translateY(-4px) scale(1.04);
}

.fl-showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    background: #fef3c7;
    border: 1px solid #fde68a;
    color: #b45309;
    font-size: 11.5px;
    font-weight: 700;
    margin-bottom: 10px;
}

.fl-showcase-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.fl-showcase-card p {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.45;
    margin: 0 0 16px 0;
}

.fl-showcase-actions {
    display: flex;
    gap: 10px;
    width: 100%;
}

.fl-btn-pill-primary {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #154ea1;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(21, 78, 161, 0.24);
    transition: all 0.2s ease;
}

.fl-btn-pill-primary:hover {
    background: #0f3a7a;
    color: #ffffff;
    transform: translateY(-2px);
    text-decoration: none;
}

.fl-btn-pill-outline {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #154ea1;
    font-size: 12.5px;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.fl-btn-pill-outline:hover {
    background: #dbeafe;
    color: #0f3a7a;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   3. "3 Langkah Mudah" Process Stepper
   -------------------------------------------------------------------------- */
.fl-steps-banner {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px 32px;
    margin-bottom: 32px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.fl-steps-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.fl-steps-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f2b5c;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fl-steps-header h3 i {
    color: #154ea1;
}

.fl-steps-note {
    font-size: 12.5px;
    color: #64748b;
}

.fl-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
}

.fl-step-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    padding: 16px 18px;
}

.fl-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #154ea1;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(21, 78, 161, 0.25);
}

.fl-step-text h5 {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 3px 0;
}

.fl-step-text p {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.45;
    margin: 0;
}

/* --------------------------------------------------------------------------
   4. Interactive Filter Tabs
   -------------------------------------------------------------------------- */
.fl-filter-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 14px;
}

.fl-filter-tabs {
    display: inline-flex;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 5px;
    border-radius: 16px;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    overflow-x: auto;
    max-width: 100%;
}

.fl-tab-btn {
    border: 0;
    background: transparent;
    padding: 8px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.fl-tab-btn:hover {
    color: #154ea1;
    background: #f1f5f9;
}

.fl-tab-btn.is-active {
    background: #154ea1;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(21, 78, 161, 0.22);
}

.fl-tab-count {
    display: inline-block;
    padding: 1px 7px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.06);
}

.fl-tab-btn.is-active .fl-tab-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.fl-filter-info {
    font-size: 13px;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* --------------------------------------------------------------------------
   5. Modern Activity Cards (2-Column Bento / Hybrid List Cards)
   -------------------------------------------------------------------------- */
.fl-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 36px;
}

.fl-earn-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 16px rgba(15, 58, 122, 0.04);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.25s ease,
                border-color 0.25s ease;
}

.fl-earn-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(21, 78, 161, 0.1);
    border-color: #93c5fd;
}

/* Card Header: Icon + Badge + Point Pill */
.fl-earn-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.fl-card-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fl-glyph {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.fl-earn-card:hover .fl-glyph {
    transform: scale(1.08);
}

.fl-card-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 8px;
    background: #eff6ff;
    color: #154ea1;
    border: 1px solid #bfdbfe;
    letter-spacing: -0.1px;
}

.fl-card-badge-tag i {
    color: #154ea1 !important;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Prominent Points Pill */
.fl-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13.5px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.fl-coin-icon {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #f59e0b;
    border: 1.5px solid #fde68a;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 900;
}

/* Card Content */
.fl-earn-card-body {
    flex: 1 1 auto;
    margin-bottom: 16px;
}

.fl-card-title {
    font-size: 16.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
    line-height: 1.35;
    font-family: "Inter", sans-serif;
}

.fl-card-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 14px 0;
}

/* Trigger Box */
.fl-card-trigger {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    padding: 7px 12px;
    font-size: 12px;
}

.fl-trigger-icon {
    color: #f59e0b;
}

.fl-trigger-label {
    color: #94a3b8;
    font-weight: 600;
}

.fl-trigger-val {
    color: #334155;
    font-weight: 600;
}

/* Card Footer with Pill Button */
.fl-earn-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    gap: 12px;
}

.fl-card-meta {
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.fl-card-meta i {
    color: #10b981;
}

.fl-card-action {
    display: none !important;
}

.fl-card-action:hover {
    background: #154ea1;
    color: #ffffff;
    text-decoration: none;
    transform: translateX(2px);
}

.fl-card-action i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.fl-card-action:hover i {
    transform: translateX(2px);
}

/* --------------------------------------------------------------------------
   Tone Styling (Flungo Vibrant Palette)
   -------------------------------------------------------------------------- */
.fl-glyph--blue { background: #eff6ff; color: #154ea1; }
.fl-pill--blue { background: #eff6ff; color: #154ea1; border: 1px solid #bfdbfe; }

.fl-glyph--amber { background: #fffbeb; color: #d97706; }
.fl-pill--amber { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }

.fl-glyph--indigo { background: #eef2ff; color: #4f46e5; }
.fl-pill--indigo { background: #eef2ff; color: #4338ca; border: 1px solid #c7d2fe; }

.fl-glyph--emerald { background: #ecfdf5; color: #059669; }
.fl-pill--emerald { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }

.fl-glyph--cyan { background: #ecfeff; color: #0891b2; }
.fl-pill--cyan { background: #ecfeff; color: #0e7490; border: 1px solid #a5f3fc; }

.fl-glyph--purple { background: #faf5ff; color: #7c3aed; }
.fl-pill--purple { background: #faf5ff; color: #6d28d9; border: 1px solid #ddd6fe; }

.fl-glyph--sky { background: #f0f9ff; color: #0284c7; }
.fl-pill--sky { background: #f0f9ff; color: #0369a1; border: 1px solid #bae6fd; }

.fl-glyph--teal { background: #f0fdfa; color: #0d9488; }
.fl-pill--teal { background: #f0fdfa; color: #0f766e; border: 1px solid #99f6e4; }

.fl-glyph--rose { background: #fff1f2; color: #e11d48; }
.fl-pill--rose { background: #fff1f2; color: #be123c; border: 1px solid #fecdd3; }

/* --------------------------------------------------------------------------
   6. FAQ Accordion & Validity Section (Interactive Flungo Style)
   -------------------------------------------------------------------------- */
.fl-faq-section {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 24px;
    padding: 36px 40px;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.fl-faq-head {
    margin-bottom: 24px;
}

.fl-faq-head h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0f2b5c;
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fl-faq-head h3 i {
    color: #154ea1;
}

.fl-faq-head p {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
}

.fl-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fl-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.fl-faq-item.is-open {
    border-color: #bfdbfe;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(21, 78, 161, 0.06);
}

.fl-faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    font-family: "Inter", sans-serif;
}

.fl-faq-question i {
    font-size: 12px;
    color: #64748b;
    transition: transform 0.25s ease;
}

.fl-faq-item.is-open .fl-faq-question i {
    transform: rotate(180deg);
    color: #154ea1;
}

.fl-faq-answer {
    display: none;
    padding: 0 20px 16px;
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
}

.fl-faq-item.is-open .fl-faq-answer {
    display: block;
}

/* --------------------------------------------------------------------------
   7. Responsive Breakpoints (<= 992px, <= 850px, <= 414px, <= 360px)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .fl-new-hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .fl-cards-grid {
        grid-template-columns: 1fr;
    }

    .fl-steps-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 850px) {
    .fl-rewards-page {
        padding: 20px 0 64px;
    }

    .fl-rewards-container {
        padding: 0 16px;
    }

    .fl-rewards-nav-bar {
        margin-bottom: 18px;
    }

    .fl-new-hero {
        padding: 28px 22px;
        border-radius: 20px;
        margin-bottom: 24px;
    }

    .fl-hero-title {
        font-size: 25px;
    }

    .fl-hero-chips {
        gap: 8px;
    }

    .fl-stat-chip {
        font-size: 12px;
        padding: 7px 12px;
    }

    .fl-steps-banner {
        padding: 20px 18px;
        border-radius: 18px;
        margin-bottom: 24px;
    }

    .fl-faq-section {
        padding: 22px 18px;
        border-radius: 18px;
    }
}

@media (max-width: 414px) {
    .fl-rewards-page {
        padding: 16px 0 96px; /* Extra bottom clearance for mobile floating chat button */
    }

    .fl-rewards-container {
        padding: 0 12px;
    }

    /* Nav Bar & Breadcrumb */
    .fl-rewards-nav-bar {
        margin-bottom: 14px;
        gap: 8px;
        align-items: center;
        justify-content: space-between;
    }

    .fl-back-btn {
        padding: 6px 12px;
        font-size: 11.5px;
        border-radius: 10px;
        gap: 6px;
    }

    .fl-crumb-trail {
        font-size: 11px;
        gap: 5px;
        max-width: calc(100% - 95px);
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .fl-crumb-trail::-webkit-scrollbar {
        display: none;
    }

    /* Hero Section */
    .fl-new-hero {
        padding: 20px 15px;
        border-radius: 18px;
        margin-bottom: 20px;
    }

    .fl-new-hero-grid {
        gap: 18px;
    }

    .fl-hero-tagline {
        font-size: 11px;
        padding: 4px 10px;
        margin-bottom: 10px;
        gap: 6px;
    }

    .fl-hero-title {
        font-size: 20px;
        line-height: 1.32;
        margin-bottom: 8px;
        letter-spacing: -0.3px;
    }

    .fl-hero-desc {
        font-size: 12.5px;
        line-height: 1.5;
        margin-bottom: 14px;
    }

    .fl-hero-chips {
        gap: 7px;
    }

    .fl-stat-chip {
        padding: 6px 10px;
        font-size: 11.5px;
        border-radius: 10px;
        gap: 8px;
    }

    .fl-stat-chip i {
        font-size: 12px;
    }

    /* Showcase Card */
    .fl-showcase-card {
        padding: 16px 14px;
        border-radius: 16px;
    }

    .fl-showcase-visual {
        width: 135px;
        height: 105px;
        margin-bottom: 10px;
    }

    .fl-showcase-badge {
        font-size: 10.5px;
        padding: 3px 9px;
        margin-bottom: 8px;
    }

    .fl-showcase-card h4 {
        font-size: 15px;
        margin-bottom: 4px;
    }

    .fl-showcase-card p {
        font-size: 11.5px;
        line-height: 1.45;
        margin-bottom: 14px;
    }

    .fl-showcase-actions {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .fl-btn-pill-primary,
    .fl-btn-pill-outline {
        width: 100%;
        padding: 9px 12px;
        font-size: 12px;
        border-radius: 10px;
        justify-content: center;
    }

    /* Process Stepper */
    .fl-steps-banner {
        padding: 16px 14px;
        border-radius: 16px;
        margin-bottom: 20px;
    }

    .fl-steps-header {
        margin-bottom: 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .fl-steps-header h3 {
        font-size: 14px;
    }

    .fl-steps-note {
        font-size: 11px;
    }

    .fl-steps-grid {
        gap: 10px;
    }

    .fl-step-item {
        padding: 11px 12px;
        gap: 10px;
        border-radius: 12px;
    }

    .fl-step-num {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }

    .fl-step-text h5 {
        font-size: 12.5px;
        margin-bottom: 2px;
    }

    .fl-step-text p {
        font-size: 11px;
        line-height: 1.42;
    }

    /* Filter Tabs */
    .fl-filter-section {
        margin-bottom: 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .fl-filter-tabs {
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 4px;
        border-radius: 12px;
        gap: 4px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .fl-filter-tabs::-webkit-scrollbar {
        display: none;
    }

    .fl-tab-btn {
        padding: 6px 10px;
        font-size: 11.5px;
        border-radius: 9px;
        flex-shrink: 0;
        gap: 5px;
    }

    .fl-tab-count {
        font-size: 9.5px;
        padding: 1px 5px;
    }

    .fl-filter-info {
        font-size: 11.5px;
        padding-left: 2px;
    }

    /* Activity Cards */
    .fl-cards-grid {
        gap: 12px;
        margin-bottom: 20px;
    }

    .fl-earn-card {
        padding: 15px 14px;
        border-radius: 16px;
    }

    .fl-earn-card-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 10px;
        flex-wrap: wrap;
    }

    .fl-card-header-left {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 1;
        min-width: 0;
    }

    .fl-glyph {
        width: 38px;
        height: 38px;
        font-size: 16px;
        border-radius: 10px;
        flex-shrink: 0;
    }

    .fl-card-badge-tag {
        font-size: 10.5px;
        padding: 3px 8px;
        border-radius: 6px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 140px;
        gap: 4px;
    }

    .fl-card-badge-tag i {
        font-size: 10px;
    }

    .fl-pill {
        font-size: 11px;
        padding: 3px 9px;
        border-radius: 14px;
        gap: 5px;
        flex-shrink: 0;
    }

    .fl-coin-icon {
        width: 16px;
        height: 16px;
        font-size: 8.5px;
    }

    .fl-card-title {
        font-size: 14.5px;
        margin-bottom: 4px;
        line-height: 1.35;
    }

    .fl-card-desc {
        font-size: 11.5px;
        line-height: 1.48;
        margin-bottom: 10px;
    }

    .fl-card-trigger {
        display: flex;
        align-items: flex-start;
        gap: 6px;
        padding: 6px 9px;
        font-size: 11px;
        border-radius: 8px;
        width: 100%;
        box-sizing: border-box;
    }

    .fl-trigger-icon {
        margin-top: 1px;
        font-size: 10px;
        flex-shrink: 0;
    }

    .fl-trigger-label {
        white-space: nowrap;
    }

    .fl-trigger-val {
        word-break: break-word;
    }

    .fl-earn-card-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding-top: 11px;
    }

    .fl-card-meta {
        font-size: 11px;
    }

    .fl-card-action {
        padding: 6px 11px;
        font-size: 11px;
        border-radius: 8px;
        gap: 5px;
    }

    /* FAQ Section */
    .fl-faq-section {
        padding: 18px 14px;
        border-radius: 16px;
    }

    .fl-faq-head {
        margin-bottom: 14px;
    }

    .fl-faq-head h3 {
        font-size: 15px;
    }

    .fl-faq-head p {
        font-size: 11.5px;
    }

    .fl-faq-question {
        padding: 12px 14px;
        font-size: 12px;
        gap: 8px;
        line-height: 1.4;
    }

    .fl-faq-answer {
        padding: 0 14px 12px;
        font-size: 11.5px;
        line-height: 1.5;
    }
}

@media (max-width: 360px) {
    .fl-rewards-page {
        padding: 12px 0 104px;
    }

    .fl-rewards-container {
        padding: 0 10px;
    }

    .fl-rewards-nav-bar {
        margin-bottom: 12px;
        gap: 6px;
    }

    .fl-back-btn {
        padding: 5px 10px;
        font-size: 11px;
        border-radius: 8px;
    }

    .fl-crumb-trail {
        font-size: 10.5px;
        max-width: calc(100% - 85px);
    }

    .fl-new-hero {
        padding: 16px 12px;
        border-radius: 16px;
        margin-bottom: 16px;
    }

    .fl-hero-title {
        font-size: 18px;
        line-height: 1.28;
    }

    .fl-hero-desc {
        font-size: 11.5px;
        line-height: 1.42;
        margin-bottom: 12px;
    }

    .fl-hero-chips {
        gap: 6px;
    }

    .fl-stat-chip {
        font-size: 10.5px;
        padding: 5px 8px;
        gap: 6px;
        border-radius: 8px;
    }

    .fl-stat-chip i {
        font-size: 11px;
    }

    .fl-showcase-card {
        padding: 14px 11px;
        border-radius: 14px;
    }

    .fl-showcase-visual {
        width: 115px;
        height: 90px;
        margin-bottom: 8px;
    }

    .fl-showcase-card h4 {
        font-size: 14px;
    }

    .fl-showcase-card p {
        font-size: 11px;
    }

    .fl-btn-pill-primary,
    .fl-btn-pill-outline {
        padding: 8px 10px;
        font-size: 11.5px;
    }

    .fl-steps-banner {
        padding: 14px 11px;
        border-radius: 14px;
        margin-bottom: 16px;
    }

    .fl-steps-header h3 {
        font-size: 13px;
    }

    .fl-step-item {
        padding: 9px 10px;
        gap: 8px;
    }

    .fl-step-num {
        width: 24px;
        height: 24px;
        font-size: 10.5px;
    }

    .fl-step-text h5 {
        font-size: 12px;
    }

    .fl-step-text p {
        font-size: 10.5px;
    }

    .fl-tab-btn {
        padding: 5px 8px;
        font-size: 11px;
    }

    .fl-cards-grid {
        gap: 10px;
        margin-bottom: 16px;
    }

    .fl-earn-card {
        padding: 12px 11px;
        border-radius: 14px;
    }

    .fl-glyph {
        width: 34px;
        height: 34px;
        font-size: 14px;
        border-radius: 8px;
    }

    .fl-card-badge-tag {
        font-size: 9.5px;
        padding: 2px 6px;
        max-width: 110px;
    }

    .fl-pill {
        font-size: 10.5px;
        padding: 2px 7px;
    }

    .fl-card-title {
        font-size: 13.5px;
    }

    .fl-card-desc {
        font-size: 11px;
    }

    .fl-card-trigger {
        font-size: 10px;
        padding: 5px 7px;
    }

    .fl-earn-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding-top: 9px;
    }

    .fl-card-meta {
        justify-content: center;
        font-size: 10.5px;
    }

    .fl-card-action {
        width: 100%;
        justify-content: center;
        padding: 7px 10px;
        font-size: 11.5px;
        text-align: center;
    }

    .fl-faq-section {
        padding: 14px 11px;
        border-radius: 14px;
    }

    .fl-faq-head h3 {
        font-size: 13.5px;
    }

    .fl-faq-question {
        padding: 10px 11px;
        font-size: 11.5px;
    }

    .fl-faq-answer {
        padding: 0 11px 10px;
        font-size: 11px;
    }
}

/* ==========================================================================
   FLUNGO REWARDS - REDEEM PAGE (CIRIKHAS FLUNGO MODERN BENTO LAYOUT)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Redeem Hero & Wallet Bento Deck
   -------------------------------------------------------------------------- */
.fl-redeem-hero {
    margin-bottom: 28px;
}

.fl-redeem-hero-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 24px;
    align-items: stretch;
}

/* Left Bento: Wallet Card */
.fl-wallet-card {
    background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 65%, #e0effe 100%);
    border: 1.5px solid #dbeafe;
    border-radius: 24px;
    padding: 32px 36px;
    box-shadow: 0 12px 36px rgba(21, 78, 161, 0.07);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.fl-wallet-card::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -40px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, rgba(21, 78, 161, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.fl-wallet-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 12px;
}

.fl-wallet-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
    font-size: 11.5px;
    font-weight: 700;
}

.fl-wallet-balance-wrap {
    margin-bottom: 18px;
}

.fl-wallet-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

.fl-wallet-balance-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.fl-coin-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: 3px solid #fef3c7;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    font-weight: 900;
    flex-shrink: 0;
}

.fl-wallet-amt-group {
    display: flex;
    flex-direction: column;
}

.fl-wallet-number {
    font-size: 38px;
    font-weight: 900;
    color: #0f2b5c;
    line-height: 1.05;
    letter-spacing: -1px;
    font-family: "Inter", sans-serif;
}

.fl-wallet-unit {
    font-size: 13.5px;
    font-weight: 600;
    color: #64748b;
    margin-top: 2px;
}

/* Wallet Alerts */
.fl-wallet-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 12.5px;
    line-height: 1.45;
    margin-bottom: 22px;
}

.fl-wallet-alert i {
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.fl-wallet-alert strong {
    display: block;
    font-weight: 700;
    margin-bottom: 2px;
}

.fl-wallet-alert p {
    margin: 0;
}

.fl-wallet-alert--guest {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.fl-wallet-alert--guest i {
    color: #d97706;
}

.fl-alert-link {
    color: #154ea1;
    font-weight: 700;
    text-decoration: underline;
}

.fl-wallet-alert--active {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.fl-wallet-alert--active i {
    color: #059669;
}

/* Wallet Action Buttons */
.fl-wallet-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.fl-btn-pill-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    color: #154ea1;
    font-size: 12.5px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(21, 78, 161, 0.05);
}

.fl-btn-pill-light:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #0f3a7a;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Right Bento: Telemetry Deck */
.fl-telemetry-deck {
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: space-between;
}

.fl-tele-pod {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 18px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    flex: 1;
}

.fl-tele-pod:hover {
    transform: translateY(-2px);
    border-color: #bfdbfe;
    box-shadow: 0 8px 24px rgba(21, 78, 161, 0.08);
}

.fl-tele-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.fl-tele-pod--amber .fl-tele-icon {
    background: #fffbeb;
    color: #d97706;
}

.fl-tele-pod--blue .fl-tele-icon {
    background: #eff6ff;
    color: #154ea1;
}

.fl-tele-pod--emerald .fl-tele-icon {
    background: #ecfdf5;
    color: #059669;
}

.fl-tele-info {
    flex: 1;
    min-width: 0;
}

.fl-tele-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 2px;
}

.fl-tele-val {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 2px 0;
    line-height: 1.2;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.fl-tele-val span {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

.fl-tele-desc {
    font-size: 11.5px;
    color: #94a3b8;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --------------------------------------------------------------------------
   2. Notice Disclaimer & Process Steps
   -------------------------------------------------------------------------- */
.fl-redeem-steps {
    margin-bottom: 20px;
}

.fl-steps-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: #154ea1;
    text-decoration: none;
    transition: all 0.2s ease;
}

.fl-steps-link:hover {
    color: #0f3a7a;
    transform: translateX(3px);
    text-decoration: none;
}

.fl-redeem-notice-bar {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: #1e40af;
    line-height: 1.45;
    margin-bottom: 28px;
}

.fl-redeem-notice-bar i {
    font-size: 15px;
    color: #154ea1;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   3. Catalog Control Bar (Filters, Search & Sort)
   -------------------------------------------------------------------------- */
.fl-catalog-control-bar {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 22px 26px;
    margin-bottom: 28px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.fl-catalog-title-group {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.fl-catalog-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #eff6ff;
    color: #154ea1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
}

.fl-catalog-title-group h2 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 3px 0;
}

.fl-catalog-title-group p {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
}

.fl-catalog-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.fl-search-sort-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: flex-end;
    min-width: 280px;
}

.fl-search-box {
    position: relative;
    flex: 1;
    max-width: 320px;
}

.fl-search-box i.fa-magnifying-glass {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 13px;
    pointer-events: none;
}

.fl-search-box input {
    width: 100%;
    padding: 9px 36px 9px 38px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 12.5px;
    color: #0f172a;
    background: #f8fafc;
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.fl-search-box input:focus {
    background: #ffffff;
    border-color: #154ea1;
    box-shadow: 0 0 0 3px rgba(21, 78, 161, 0.12);
}

.fl-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    color: #94a3b8;
    cursor: pointer;
    padding: 0;
    font-size: 12px;
}

.fl-search-clear:hover {
    color: #0f172a;
}

.fl-sort-box select {
    padding: 9px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 12.5px;
    color: #334155;
    background: #f8fafc;
    cursor: pointer;
    outline: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.fl-sort-box select:focus {
    background: #ffffff;
    border-color: #154ea1;
}

/* --------------------------------------------------------------------------
   4. Reward Cards Grid
   -------------------------------------------------------------------------- */
.fl-redeem-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 36px;
}

.fl-reward-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.25s ease,
                border-color 0.25s ease;
}

.fl-reward-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(21, 78, 161, 0.1);
    border-color: #93c5fd;
}

/* Visual Graphic Header */
.fl-reward-visual {
    height: 140px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.fl-visual-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(21, 78, 161, 0.08) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.8;
}

.fl-visual-glyph {
    position: relative;
    z-index: 2;
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(21, 78, 161, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #154ea1;
    transition: transform 0.25s ease;
}

.fl-reward-card:hover .fl-visual-glyph {
    transform: scale(1.08) rotate(-4deg);
}

.fl-category-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    color: #0f2b5c;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.fl-badge-pill {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
}

.fl-badge-pill--indigo { background: #eef2ff; color: #4338ca; border: 1px solid #c7d2fe; }
.fl-badge-pill--blue { background: #eff6ff; color: #154ea1; border: 1px solid #bfdbfe; }
.fl-badge-pill--emerald { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.fl-badge-pill--cyan { background: #ecfeff; color: #0e7490; border: 1px solid #a5f3fc; }
.fl-badge-pill--amber { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.fl-badge-pill--purple { background: #faf5ff; color: #6d28d9; border: 1px solid #ddd6fe; }
.fl-badge-pill--teal { background: #f0fdfa; color: #0f766e; border: 1px solid #99f6e4; }
.fl-badge-pill--rose { background: #fff1f2; color: #be123c; border: 1px solid #fecdd3; }

/* Visual Tone Gradients */
.fl-visual--indigo { background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%); }
.fl-visual--indigo .fl-visual-glyph { color: #4338ca; }

.fl-visual--emerald { background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%); }
.fl-visual--emerald .fl-visual-glyph { color: #059669; }

.fl-visual--cyan { background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%); }
.fl-visual--cyan .fl-visual-glyph { color: #0891b2; }

.fl-visual--amber { background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%); }
.fl-visual--amber .fl-visual-glyph { color: #d97706; }

.fl-visual--purple { background: linear-gradient(135deg, #faf5ff 0%, #ede9fe 100%); }
.fl-visual--purple .fl-visual-glyph { color: #7c3aed; }

.fl-visual--teal { background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%); }
.fl-visual--teal .fl-visual-glyph { color: #0d9488; }

.fl-visual--rose { background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%); }
.fl-visual--rose .fl-visual-glyph { color: #e11d48; }

/* Card Body */
.fl-reward-body {
    padding: 18px 20px 14px;
    flex: 1 1 auto;
}

.fl-reward-title {
    font-size: 15.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
    line-height: 1.35;
    font-family: "Inter", sans-serif;
}

.fl-reward-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 12px 0;
}

.fl-reward-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
}

.fl-meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    color: #64748b;
}

.fl-meta-item i {
    color: #94a3b8;
    font-size: 11px;
    flex-shrink: 0;
}

/* Card Footer */
.fl-reward-footer {
    padding: 14px 20px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #f1f5f9;
}

.fl-cost-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 16px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    font-size: 12.5px;
    font-weight: 800;
    color: #b45309;
}

.fl-cost-pill .fl-coin-icon {
    width: 17px;
    height: 17px;
    font-size: 9px;
}

.fl-cost-num {
    font-size: 14px;
    font-weight: 800;
    color: #92400e;
}

.fl-cost-txt {
    font-size: 11px;
    color: #b45309;
}

.fl-btn-redeem-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 12px;
    background: #154ea1;
    color: #ffffff;
    border: 0;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 3px 8px rgba(21, 78, 161, 0.2);
}

.fl-btn-redeem-trigger:hover {
    background: #0f3a7a;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(21, 78, 161, 0.28);
}

/* Empty State */
.fl-catalog-empty {
    background: #ffffff;
    border: 1.5px dashed #cbd5e1;
    border-radius: 20px;
    padding: 48px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 36px;
}

.fl-empty-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 14px;
}

.fl-catalog-empty h3 {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.fl-catalog-empty p {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 18px 0;
    max-width: 360px;
}

/* --------------------------------------------------------------------------
   5. My Vouchers Panel
   -------------------------------------------------------------------------- */
.fl-vouchers-panel {
    margin-bottom: 36px;
}

.fl-vouchers-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.fl-vouchers-title-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.fl-vouchers-title-group h2 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 3px 0;
}

.fl-vouchers-title-group p {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
}

.fl-empty-voucher-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 24px;
    padding: 48px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.fl-empty-voucher-visual {
    width: 150px;
    height: 120px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fl-empty-voucher-visual img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(21, 78, 161, 0.15));
}

.fl-empty-voucher-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.fl-empty-voucher-card p {
    font-size: 13px;
    color: #64748b;
    max-width: 440px;
    line-height: 1.55;
    margin: 0 0 22px 0;
}

.fl-empty-voucher-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

/* --------------------------------------------------------------------------
   6. Interactive Modal (Detail & Confirmation)
   -------------------------------------------------------------------------- */
.fl-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.fl-modal-backdrop.is-active {
    display: flex;
    animation: flFadeIn 0.2s ease-out;
}

@keyframes flFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fl-modal-dialog {
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.2);
    overflow: hidden;
    position: relative;
    border: 1px solid #e2e8f0;
    animation: flSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes flSlideUp {
    from { transform: translateY(20px) scale(0.97); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.fl-modal-content {
    padding: 28px 24px;
    position: relative;
}

.fl-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fl-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.fl-modal-header {
    margin-bottom: 20px;
    padding-right: 28px;
}

.fl-modal-badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 6px;
    background: #eff6ff;
    color: #154ea1;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
}

.fl-modal-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
    line-height: 1.35;
}

.fl-modal-desc {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Comparison Bar */
.fl-modal-balance-comparison {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px 18px;
    margin-bottom: 18px;
    gap: 12px;
}

.fl-cmp-box {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.fl-cmp-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
}

.fl-cmp-val {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
}

.fl-cmp-val strong {
    font-weight: 800;
}

.fl-cmp-val--cost strong {
    color: #b45309;
}

.fl-cmp-val--user strong {
    color: #059669;
}

.fl-cmp-val--guest strong {
    color: #94a3b8;
}

.fl-cmp-divider {
    color: #cbd5e1;
    font-size: 14px;
}

/* Modal Alerts */
.fl-modal-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 18px;
}

.fl-modal-alert i {
    font-size: 15px;
    margin-top: 1px;
    flex-shrink: 0;
}

.fl-modal-alert strong {
    display: block;
    margin-bottom: 2px;
}

.fl-modal-alert p {
    margin: 0;
}

.fl-modal-alert--warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.fl-modal-alert--warning i {
    color: #d97706;
}

.fl-modal-alert--shortage {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.fl-modal-alert--shortage i {
    color: #dc2626;
}

.fl-modal-alert--success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.fl-modal-alert--success i {
    color: #059669;
}

/* Modal Terms */
.fl-modal-terms {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 20px;
}

.fl-modal-terms h5 {
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.fl-modal-terms ul {
    margin: 0;
    padding-left: 18px;
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.5;
}

.fl-modal-terms li {
    margin-bottom: 3px;
}

/* Modal Footer Actions */
.fl-modal-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fl-modal-btn-full {
    width: 100%;
    justify-content: center;
    padding: 11px 16px;
    font-size: 13px;
    border-radius: 12px;
}

.fl-btn-pill-primary.is-disabled {
    background: #94a3b8 !important;
    cursor: not-allowed;
    box-shadow: none !important;
    opacity: 0.8;
}

/* --------------------------------------------------------------------------
   7. Responsive Breakpoints for Redeem Page (<= 992px, <= 850px, <= 414px, <= 360px)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .fl-redeem-hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fl-redeem-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 850px) {
    .fl-wallet-card {
        padding: 24px 22px;
        border-radius: 20px;
    }

    .fl-wallet-number {
        font-size: 32px;
    }

    .fl-tele-pod {
        padding: 14px 18px;
    }

    .fl-tele-val {
        font-size: 18px;
    }

    .fl-catalog-control-bar {
        padding: 18px 20px;
        border-radius: 18px;
    }

    .fl-catalog-title-group {
        margin-bottom: 16px;
        padding-bottom: 14px;
    }
}

@media (max-width: 414px) {
    .fl-redeem-page {
        padding: 16px 0 108px; /* Safe space above floating chat */
    }

    /* Shorten breadcrumb on mobile: hide "Beranda >" */
    .fl-redeem-page .fl-crumb-trail a:first-of-type,
    .fl-redeem-page .fl-crumb-trail .fl-sep:first-of-type {
        display: none;
    }

    .fl-redeem-hero {
        margin-bottom: 18px;
    }

    .fl-redeem-hero-grid {
        gap: 12px;
    }

    /* Wallet Card */
    .fl-wallet-card {
        padding: 16px 14px;
        border-radius: 18px;
    }

    .fl-wallet-card-head {
        margin-bottom: 12px;
        gap: 8px;
    }

    .fl-wallet-chip {
        font-size: 10px;
        padding: 2px 8px;
    }

    .fl-wallet-balance-wrap {
        margin-bottom: 12px;
    }

    .fl-wallet-label {
        font-size: 11.5px;
        margin-bottom: 4px;
    }

    .fl-wallet-balance-row {
        gap: 10px;
    }

    .fl-coin-circle {
        width: 38px;
        height: 38px;
        font-size: 17px;
        border-width: 2px;
    }

    .fl-wallet-number {
        font-size: 28px;
    }

    .fl-wallet-unit {
        font-size: 11.5px;
    }

    .fl-wallet-alert {
        padding: 8px 11px;
        font-size: 11px;
        line-height: 1.4;
        border-radius: 10px;
        margin-bottom: 14px;
        gap: 8px;
    }

    .fl-wallet-alert i {
        font-size: 13px;
        margin-top: 1px;
    }

    .fl-wallet-alert strong {
        font-size: 11.5px;
        margin-bottom: 1px;
    }

    /* Smart 2-Row Action Buttons Grid */
    .fl-wallet-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 7px;
        width: 100%;
    }

    .fl-wallet-actions #btn-browse-rewards {
        grid-column: 1 / -1;
        width: 100%;
        padding: 9px 12px;
        font-size: 12px;
        border-radius: 10px;
    }

    .fl-wallet-actions .fl-btn-pill-light,
    .fl-wallet-actions .fl-btn-pill-outline {
        width: 100%;
        padding: 8px 6px;
        font-size: 11px;
        text-align: center;
        justify-content: center;
        white-space: nowrap;
        border-radius: 9px;
        gap: 5px;
    }

    /* Compact 3-Column Telemetry Pods Strip */
    .fl-telemetry-deck {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .fl-tele-pod {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px 4px;
        border-radius: 12px;
        gap: 5px;
        min-width: 0;
    }

    .fl-tele-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
        border-radius: 8px;
    }

    .fl-tele-info {
        width: 100%;
    }

    .fl-tele-label {
        font-size: 9.5px;
        margin-bottom: 1px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        letter-spacing: -0.2px;
    }

    .fl-tele-val {
        font-size: 13px;
        font-weight: 800;
        line-height: 1.1;
        gap: 2px;
        justify-content: center;
    }

    .fl-tele-val span {
        font-size: 9.5px;
        font-weight: 600;
    }

    .fl-tele-desc {
        display: none;
    }

    /* Stepper */
    .fl-redeem-steps {
        padding: 14px 12px;
        border-radius: 14px;
        margin-bottom: 14px;
    }

    .fl-redeem-notice-bar {
        padding: 8px 12px;
        font-size: 11px;
        line-height: 1.4;
        border-radius: 10px;
        margin-bottom: 16px;
        gap: 8px;
    }

    .fl-redeem-notice-bar i {
        font-size: 13px;
    }

    /* Controls */
    .fl-catalog-control-bar {
        padding: 14px 12px;
        border-radius: 14px;
        margin-bottom: 16px;
    }

    .fl-catalog-title-group {
        gap: 10px;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .fl-catalog-icon-box {
        width: 34px;
        height: 34px;
        font-size: 15px;
        border-radius: 9px;
    }

    .fl-catalog-title-group h2 {
        font-size: 15px;
    }

    .fl-catalog-title-group p {
        font-size: 11px;
    }

    .fl-catalog-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .fl-redeem-tabs {
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 3px;
        border-radius: 10px;
        gap: 3px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .fl-redeem-tabs::-webkit-scrollbar {
        display: none;
    }

    .fl-redeem-tabs .fl-tab-btn {
        padding: 5px 9px;
        font-size: 10.5px;
        border-radius: 7px;
        flex-shrink: 0;
        gap: 4px;
    }

    .fl-search-sort-group {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        min-width: 0;
        gap: 7px;
    }

    .fl-search-box {
        max-width: 100%;
        width: 100%;
    }

    .fl-search-box input {
        padding: 7px 30px 7px 32px;
        font-size: 11.5px;
        height: 36px;
        border-radius: 9px;
    }

    .fl-search-box i.fa-magnifying-glass {
        left: 10px;
        font-size: 11px;
    }

    .fl-sort-box select {
        width: 100%;
        padding: 7px 10px;
        font-size: 11.5px;
        height: 36px;
        border-radius: 9px;
    }

    /* Cards Grid */
    .fl-redeem-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 20px;
    }

    .fl-reward-visual {
        height: 100px;
        padding: 10px;
    }

    .fl-visual-glyph {
        width: 44px;
        height: 44px;
        font-size: 19px;
        border-radius: 12px;
    }

    .fl-category-badge {
        top: 8px;
        left: 8px;
        font-size: 9px;
        padding: 2px 6px;
        border-radius: 5px;
    }

    .fl-badge-pill {
        top: 8px;
        right: 8px;
        font-size: 9.5px;
        padding: 2px 7px;
        border-radius: 5px;
    }

    .fl-reward-body {
        padding: 12px 14px 10px;
    }

    .fl-reward-title {
        font-size: 14px;
        margin-bottom: 3px;
        line-height: 1.32;
    }

    .fl-reward-desc {
        font-size: 11px;
        line-height: 1.45;
        margin-bottom: 8px;
    }

    .fl-reward-meta {
        padding: 6px 8px;
        gap: 3px;
        border-radius: 7px;
    }

    .fl-meta-item {
        font-size: 10px;
        gap: 5px;
    }

    .fl-reward-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 14px 12px;
        gap: 8px;
    }

    .fl-cost-pill {
        padding: 4px 8px;
        font-size: 11px;
        border-radius: 12px;
        gap: 4px;
    }

    .fl-cost-pill .fl-coin-icon {
        width: 15px;
        height: 15px;
        font-size: 8px;
    }

    .fl-cost-num {
        font-size: 12.5px;
    }

    .fl-cost-txt {
        font-size: 10px;
    }

    .fl-btn-redeem-trigger {
        padding: 6px 12px;
        font-size: 11px;
        border-radius: 8px;
        gap: 4px;
    }

    /* Modal Mobile */
    .fl-modal-content {
        padding: 20px 15px;
    }

    .fl-modal-title {
        font-size: 15px;
    }

    .fl-modal-desc {
        font-size: 11.5px;
    }

    .fl-modal-balance-comparison {
        padding: 10px 12px;
        border-radius: 12px;
        margin-bottom: 14px;
    }

    .fl-cmp-label {
        font-size: 10px;
    }

    .fl-cmp-val {
        font-size: 13.5px;
    }

    .fl-modal-alert {
        padding: 10px 12px;
        font-size: 11px;
        margin-bottom: 14px;
    }

    .fl-modal-terms {
        padding: 10px 12px;
        margin-bottom: 16px;
    }

    .fl-modal-terms h5 {
        font-size: 11.5px;
    }

    .fl-modal-terms ul {
        font-size: 10.5px;
        padding-left: 15px;
    }
}

@media (max-width: 360px) {
    .fl-redeem-page {
        padding: 12px 0 112px;
    }

    .fl-wallet-card {
        padding: 14px 11px;
        border-radius: 16px;
    }

    .fl-wallet-card-head {
        margin-bottom: 10px;
    }

    .fl-coin-circle {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .fl-wallet-number {
        font-size: 25px;
    }

    .fl-wallet-unit {
        font-size: 11px;
    }

    .fl-wallet-actions .fl-btn-pill-light,
    .fl-wallet-actions .fl-btn-pill-outline {
        padding: 7px 4px;
        font-size: 10px;
        gap: 3px;
    }

    .fl-tele-pod {
        padding: 8px 3px;
        border-radius: 10px;
        gap: 3px;
    }

    .fl-tele-icon {
        width: 28px;
        height: 28px;
        font-size: 11.5px;
        border-radius: 7px;
    }

    .fl-tele-label {
        font-size: 8.5px;
    }

    .fl-tele-val {
        font-size: 12px;
    }

    .fl-tele-val span {
        font-size: 8.5px;
    }

    .fl-catalog-control-bar {
        padding: 12px 10px;
    }

    .fl-catalog-title-group h2 {
        font-size: 14px;
    }

    .fl-reward-visual {
        height: 90px;
    }

    .fl-visual-glyph {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .fl-reward-body {
        padding: 10px 11px 8px;
    }

    .fl-reward-title {
        font-size: 13px;
    }

    .fl-reward-footer {
        padding: 8px 11px 10px;
        gap: 6px;
    }

    .fl-cost-pill {
        padding: 3px 6px;
        font-size: 10px;
    }

    .fl-cost-num {
        font-size: 11.5px;
    }

    .fl-btn-redeem-trigger {
        padding: 5px 9px;
        font-size: 10.5px;
    }
}

/* ==========================================================================
   FLUNGO REWARDS - LEADERBOARD & PAPAN PERINGKAT (VERSI BARU ALA FLUNGO)
   Distinctive Bento Arena Gamification Architecture with Signature Flungo Blue
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Base Leaderboard Page & Container
   -------------------------------------------------------------------------- */
.fl-lb-page {
    background: #f8fafc;
    min-height: 100vh;
    padding-bottom: 70px;
}

/* --------------------------------------------------------------------------
   2. Integrated Bento Hero Arena (Command Center)
   -------------------------------------------------------------------------- */
.fl-lb-arena-hero {
    background: linear-gradient(135deg, #092c63 0%, #154EA1 55%, #1e62be 100%);
    border-radius: 26px;
    padding: 34px 34px 28px 34px;
    color: #ffffff;
    box-shadow: 0 16px 40px -12px rgba(21, 78, 161, 0.38);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.fl-lb-arena-hero::before {
    content: "";
    position: absolute;
    top: -80px;
    right: 35%;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.fl-lb-arena-hero::after {
    content: "";
    position: absolute;
    bottom: -60px;
    left: -40px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.16) 0%, rgba(56, 189, 248, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.fl-arena-hero-grid {
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 26px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Left Hero Bay */
.fl-arena-hero-left {
    display: flex;
    flex-direction: column;
}

.fl-arena-badge-row {
    margin-bottom: 12px;
}

.fl-lb-arena-hero .fl-hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 14px;
    border-radius: 999px;
}

.fl-lb-arena-hero .fl-hero-tagline i {
    color: #fde047;
}

.fl-lb-arena-hero .fl-hero-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.fl-lb-arena-hero .fl-hero-title span {
    color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: none !important;
    font-weight: 800;
}

.fl-lb-arena-hero .fl-hero-desc {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    max-width: 580px;
}

.fl-lb-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.fl-btn-pill-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    color: #154EA1 !important;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.fl-btn-pill-primary:hover {
    background: #f0f7ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    color: #0d3b82 !important;
}

.fl-btn-pill-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    cursor: pointer;
    text-decoration: none;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all 0.22s ease;
}

.fl-btn-pill-light:hover {
    background: rgba(255, 255, 255, 0.26);
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.45);
}

/* Telemetry Strip inside Hero */
.fl-lb-telemetry-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.88);
}

.fl-strip-realtime,
.fl-strip-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.fl-strip-realtime i {
    color: #fde047;
}

.fl-strip-meta i {
    color: #93c5fd;
}

.fl-strip-meta strong {
    color: #ffffff;
    font-weight: 700;
}

/* Right Hero Bay: Docked Learner Cockpit */
.fl-my-cockpit-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 22px 22px 18px 22px;
    color: #0f172a;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16);
    position: relative;
    overflow: hidden;
}

.fl-my-cockpit-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #154EA1, #38bdf8);
}

.fl-cockpit-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.fl-cockpit-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fl-me-avatar-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #154EA1, #3b82f6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(21, 78, 161, 0.28);
    flex-shrink: 0;
}

.fl-avatar--guest {
    background: #e2e8f0;
    color: #64748b;
}

.fl-lb-field-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748b;
    margin-bottom: 2px;
}

.fl-me-name {
    font-size: 15.5px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.fl-me-xp-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 700;
    color: #154EA1;
    background: #eff6ff;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid #bfdbfe;
}

.fl-me-xp-badge i {
    color: #f59e0b;
}

.fl-cockpit-rank-box {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1.5px solid #93c5fd;
    border-radius: 14px;
    padding: 8px 14px;
    text-align: center;
    min-width: 82px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.fl-rank-tag {
    display: block;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #1e40af;
}

.fl-rank-num {
    display: block;
    font-size: 21px;
    font-weight: 900;
    color: #154EA1;
    line-height: 1.15;
}

.fl-rank-sub {
    display: block;
    font-size: 9.5px;
    color: #64748b;
    font-weight: 600;
}

.fl-cockpit-bottom {
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fl-me-toggle-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.fl-toggle-text strong {
    display: block;
    font-size: 12px;
    color: #1e293b;
    font-weight: 700;
}

.fl-toggle-text p {
    font-size: 11px;
    color: #64748b;
    margin: 0;
    line-height: 1.35;
}

/* Switch */
.fl-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
    flex-shrink: 0;
}

.fl-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.fl-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #cbd5e1;
    transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 999px;
}

.fl-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.fl-switch input:checked + .fl-slider {
    background-color: #154EA1;
}

.fl-switch input:checked + .fl-slider:before {
    transform: translateX(18px);
}

.fl-btn-pos-anchor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #154EA1;
    text-decoration: none;
    padding: 8px 14px;
    background: #f1f5f9;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.fl-btn-pos-anchor:hover {
    background: #e2e8f0;
    color: #0d3b82;
}

/* Guest State */
.fl-me-guest-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.fl-me-guest-wrap .fl-me-info h4 {
    font-size: 14.5px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 3px 0;
}

.fl-me-guest-wrap .fl-me-info p {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.4;
    margin: 0;
}

.fl-btn-login-rank {
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 12px;
}

/* --------------------------------------------------------------------------
   3. Category Selector & Diagnostic Bar (Matching Gambar 2 & 3)
   -------------------------------------------------------------------------- */
.fl-lb-cat-section {
    margin-bottom: 24px;
}

.fl-cat-control-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    padding: 20px 24px;
}

.fl-cat-control-card .fl-lb-field-label {
    display: block;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #64748b;
    margin-bottom: 12px;
}

/* Featured Dropdown (Blue & White Flungo Theme) */
.fl-dropdown--featured {
    position: relative;
    width: 100%;
    margin-bottom: 0;
}

.fl-dropdown--featured .fl-lb-dropdown-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1.8px solid #154EA1;
    border-radius: 12px;
    padding: 12px 18px;
    color: #154EA1;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(21, 78, 161, 0.08);
}

.fl-dropdown--featured .fl-lb-dropdown-btn:hover {
    background: #f0f7ff;
    border-color: #0d3b82;
}

.fl-dropdown--featured .fl-dropdown-lead {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #154EA1;
}

.fl-dropdown--featured .fl-dropdown-lead i {
    font-size: 16px;
    color: #154EA1;
}

.fl-dropdown--featured .fl-dropdown-lead span {
    color: #154EA1;
    font-weight: 700;
    font-size: 15px;
}

.fl-dropdown--featured .fl-dropdown-arrow {
    color: #154EA1;
    font-size: 13px;
    transition: transform 0.25s ease;
}

.fl-dropdown--featured.is-open .fl-dropdown-arrow {
    transform: rotate(180deg);
}

.fl-dropdown--featured .fl-lb-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    border: 1.5px solid #bfdbfe;
    border-radius: 14px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
    padding: 8px;
    z-index: 50;
    max-height: 250px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #64748b #f1f5f9;
}

.fl-dropdown--featured .fl-lb-dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.fl-dropdown--featured .fl-lb-dropdown-menu::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 999px;
}

.fl-dropdown--featured .fl-lb-dropdown-menu::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 999px;
}

.fl-dropdown--featured .fl-dropdown-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    transition: all 0.18s ease;
    margin-bottom: 2px;
}

.fl-dropdown--featured .fl-dropdown-item:hover {
    background: #eff6ff;
    color: #154EA1;
}

.fl-dropdown--featured .fl-dropdown-item.is-selected {
    background: #eff6ff;
    color: #154EA1;
    font-weight: 700;
}

.fl-dropdown--featured .fl-dropdown-item-lead {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.fl-dropdown--featured .fl-dropdown-item-lead i {
    font-size: 15px;
    color: #154EA1;
    width: 20px;
    text-align: center;
}

.fl-dropdown--featured .fl-item-check {
    color: #154EA1;
    font-size: 13px;
    font-weight: 900;
}

.fl-lb-cat-desc {
    font-size: 12.5px;
    color: #475569;
    line-height: 1.5;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.fl-lb-cat-desc i {
    color: #3b82f6;
    font-size: 13px;
    flex-shrink: 0;
}

.fl-lb-privacy-note {
    font-size: 11.5px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px dashed #cbd5e1;
}

.fl-lb-privacy-note i {
    color: #10b981;
}

/* --------------------------------------------------------------------------
   4. Top 3 Learner Podium - Flungo Stadium Arena
   -------------------------------------------------------------------------- */
.fl-podium-section {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    padding: 30px 28px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.fl-podium-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 140px;
    background: radial-gradient(ellipse at top, rgba(21, 78, 161, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.fl-podium-header {
    margin-bottom: 26px;
    position: relative;
    z-index: 2;
}

.fl-podium-title-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.fl-podium-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.18);
    flex-shrink: 0;
}

.fl-podium-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: #d97706;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 2px;
}

.fl-podium-header h2 {
    font-size: 21px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 3px 0;
    letter-spacing: -0.3px;
}

.fl-podium-header p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

/* Podium Stage Container */
.fl-podium-stage {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 18px;
    padding-top: 18px;
    position: relative;
    z-index: 2;
}

.fl-podium-slot {
    flex: 1;
    max-width: 290px;
    display: flex;
    flex-direction: column;
}

/* Pedestal Card */
.fl-pedestal-card {
    background: #ffffff;
    border-radius: 18px 18px 0 0;
    border: 1.5px solid #e2e8f0;
    border-bottom: none;
    padding: 20px 16px 16px 16px;
    text-align: center;
    position: relative;
    box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s ease;
}

.fl-slot--gold .fl-pedestal-card {
    background: linear-gradient(180deg, #fffdf5 0%, #ffffff 100%);
    border-color: #fde68a;
    box-shadow: 0 -8px 24px rgba(245, 158, 11, 0.14);
}

.fl-slot--silver .fl-pedestal-card {
    border-color: #e2e8f0;
}

.fl-slot--bronze .fl-pedestal-card {
    border-color: #fed7aa;
}

/* Avatar Wrap */
.fl-pedestal-avatar-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
}

.fl-crown-wrapper {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: crownFloat 3s ease-in-out infinite;
}

@keyframes crownFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-3px); }
}

.fl-pedestal-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.fl-avatar--gold {
    width: 74px;
    height: 74px;
    font-size: 24px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: 3px solid #fef08a;
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
}

.fl-avatar--silver {
    background: linear-gradient(135deg, #64748b, #475569);
    border: 3px solid #e2e8f0;
}

.fl-avatar--bronze {
    background: linear-gradient(135deg, #ea580c, #c2410c);
    border: 3px solid #ffedd5;
}

.fl-pedestal-rank-pill {
    position: absolute;
    bottom: -4px;
    right: -2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.fl-rank--gold {
    background: #d97706;
    width: 26px;
    height: 26px;
    font-size: 12.5px;
}

.fl-rank--silver {
    background: #475569;
}

.fl-rank--bronze {
    background: #c2410c;
}

/* Pedestal Content */
.fl-pedestal-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.fl-badge--gold {
    background: #fef3c7;
    color: #b45309;
}

.fl-badge--silver {
    background: #f1f5f9;
    color: #334155;
}

.fl-badge--bronze {
    background: #ffedd5;
    color: #9a3412;
}

.fl-pedestal-name {
    font-size: 15.5px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 3px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fl-slot--gold .fl-pedestal-name {
    font-size: 17.5px;
    color: #0f172a;
}

.fl-pedestal-lang {
    display: block;
    font-size: 11px;
    color: #64748b;
    margin-bottom: 10px;
}

.fl-pedestal-score {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 800;
    color: #1e293b;
    background: #f8fafc;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.fl-pedestal-score i {
    color: #f59e0b;
}

.fl-score--gold {
    background: #fef3c7;
    color: #92400e;
    font-size: 15px;
}

.fl-pedestal-bar {
    width: 100%;
    height: 5px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.fl-pedestal-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #154EA1, #3b82f6);
}

.fl-slot--gold .fl-pedestal-bar-fill {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

/* Podium Step Bases */
.fl-podium-base {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 16px 16px;
    color: #ffffff;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.25), 0 6px 16px rgba(0, 0, 0, 0.08);
}

.fl-base-num {
    font-size: 24px;
    font-weight: 900;
    opacity: 0.85;
}

.fl-base--gold {
    height: 84px;
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
}

.fl-base--silver {
    height: 60px;
    background: linear-gradient(180deg, #94a3b8 0%, #64748b 100%);
}

.fl-base--bronze {
    height: 44px;
    background: linear-gradient(180deg, #f97316 0%, #c2410c 100%);
}

/* --------------------------------------------------------------------------
   5. Ranks Table & Sidebar Grid
   -------------------------------------------------------------------------- */
.fl-lb-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

.fl-lb-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    padding: 22px 24px;
    position: relative;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.fl-lb-card:hover {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
    border-color: #cbd5e1;
}

/* Table Card */
.fl-lb-table-card {
    padding: 24px;
}

.fl-table-head {
    margin-bottom: 18px;
}

.fl-table-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fl-table-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eff6ff;
    color: #154EA1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.fl-table-head h2 {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 2px 0;
}

.fl-table-head p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

.fl-table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 16px;
}

.fl-lb-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.fl-lb-table th {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748b;
    padding: 8px 14px;
    border: none;
    background: transparent;
}

.fl-lb-table td {
    padding: 12px 14px;
    vertical-align: middle;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.18s ease;
}

.fl-lb-table td:first-child {
    border-left: 1px solid #f1f5f9;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.fl-lb-table td:last-child {
    border-right: 1px solid #f1f5f9;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.fl-table-row:hover td {
    background: #f8fafc;
}

.fl-table-row.is-me td {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
}

.fl-rank-tag-small {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    color: #475569;
    background: #f1f5f9;
    padding: 3px 9px;
    border-radius: 8px;
}

.fl-table-row.is-me .fl-rank-tag-small {
    background: #154EA1;
    color: #ffffff;
}

.fl-user-info-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fl-user-avatar-sm {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #cbd5e1, #94a3b8);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}

.fl-table-row.is-me .fl-user-avatar-sm {
    background: linear-gradient(135deg, #154EA1, #3b82f6);
}

.fl-user-name-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fl-user-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
}

.fl-you-pill {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    background: #154EA1;
    color: #ffffff;
    padding: 2px 7px;
    border-radius: 999px;
}

.fl-lang-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #475569;
    background: #f8fafc;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.fl-lang-chip i {
    color: #154EA1;
}

.fl-xp-value {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #1e293b;
}

.fl-xp-value i {
    color: #f59e0b;
}

.fl-xp-value strong {
    font-weight: 800;
    color: #154EA1;
}

/* Pagination */
.fl-lb-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.fl-page-info {
    font-size: 12px;
    color: #64748b;
}

.fl-page-pills {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fl-page-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s ease;
}

.fl-page-btn:hover {
    border-color: #154EA1;
    color: #154EA1;
}

.fl-page-btn.is-active {
    background: #154EA1;
    border-color: #154EA1;
    color: #ffffff;
}

.fl-page-gap {
    color: #94a3b8;
    padding: 0 4px;
}

/* --------------------------------------------------------------------------
   6. Sidebar Cards (Tentang XP & Tips)
   -------------------------------------------------------------------------- */
.fl-lb-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fl-about-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.fl-about-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #eff6ff;
    color: #154EA1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.fl-icon--teal {
    background: #ecfdf5;
    color: #059669;
}

.fl-about-head h4 {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.fl-about-xp-card p {
    font-size: 12.5px;
    line-height: 1.55;
    color: #475569;
    margin-bottom: 14px;
}

.fl-xp-vs-point-box {
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fl-vs-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.fl-vs-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 6px;
    flex-shrink: 0;
}

.fl-vs--xp {
    background: #eff6ff;
    color: #1e40af;
}

.fl-vs--point {
    background: #fef3c7;
    color: #b45309;
}

.fl-vs-item p {
    font-size: 11.5px;
    color: #475569;
    margin: 0;
    line-height: 1.4;
}

/* Tips Card */
.fl-tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fl-tips-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.fl-tips-list li i {
    color: #10b981;
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}

.fl-tips-list li strong {
    display: block;
    font-size: 12.5px;
    color: #0f172a;
    font-weight: 700;
}

.fl-tips-list li span {
    display: block;
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   7. Syarat & Ketentuan Modal
   -------------------------------------------------------------------------- */
.fl-modal-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.fl-modal-backdrop.is-open {
    display: flex;
    opacity: 1;
}

.fl-modal-dialog {
    width: 100%;
    max-width: 540px;
    animation: modalSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
    from { transform: translateY(20px) scale(0.97); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.fl-modal-content {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    padding: 28px 24px 22px 24px;
    position: relative;
}

.fl-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.18s ease;
}

.fl-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.fl-modal-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #154EA1;
    background: #eff6ff;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.fl-modal-title {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.fl-modal-desc {
    font-size: 12.5px;
    color: #64748b;
    margin: 0 0 16px 0;
    line-height: 1.45;
}

.fl-modal-terms {
    max-height: 260px;
    overflow-y: auto;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
}

.fl-modal-terms-list {
    list-style-type: decimal;
    padding-left: 18px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fl-modal-terms-list li {
    font-size: 12px;
    color: #334155;
    line-height: 1.5;
}

.fl-modal-btn-full {
    width: 100%;
}

/* ==========================================================================
   8. RESPONSIVE BREAKPOINTS (Desktop, Tablet, Mobile <=414px, Mobile <=360px)
   ========================================================================== */

/* Tablet & Smaller Desktops (<= 991px) */
@media (max-width: 991px) {
    .fl-arena-hero-grid {
        grid-template-columns: 1fr;
    }

    .fl-lb-bottom-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Screens (<= 768px) */
@media (max-width: 768px) {
    .fl-lb-page {
        padding-bottom: 90px;
    }

    .fl-rewards-container {
        padding: 0 16px;
    }

    .fl-arena-hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fl-lb-arena-hero {
        padding: 24px 20px 20px 20px;
        border-radius: 20px;
    }

    .fl-lb-arena-hero .fl-hero-title {
        font-size: 24px;
    }

    .fl-lb-arena-hero .fl-hero-desc {
        font-size: 13.5px;
    }

    .fl-lb-telemetry-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .fl-my-cockpit-card {
        padding: 18px 16px;
        border-radius: 18px;
    }

    .fl-cat-control-card {
        padding: 18px 16px;
        border-radius: 18px;
    }

    .fl-podium-section {
        padding: 20px 14px;
        border-radius: 20px;
    }

    .fl-podium-stage {
        gap: 10px;
        padding-top: 10px;
    }

    .fl-pedestal-card {
        padding: 14px 8px 10px 8px;
        border-radius: 14px 14px 0 0;
    }

    .fl-avatar--gold {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }

    .fl-pedestal-avatar {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }

    .fl-crown-wrapper svg {
        width: 32px;
        height: 26px;
    }

    .fl-crown-wrapper {
        top: -18px;
    }

    .fl-pedestal-name {
        font-size: 13px;
    }

    .fl-slot--gold .fl-pedestal-name {
        font-size: 14.5px;
    }

    .fl-pedestal-score {
        font-size: 11.5px;
        padding: 3px 8px;
    }

    .fl-score--gold {
        font-size: 12.5px;
    }

    .fl-base--gold { height: 60px; }
    .fl-base--silver { height: 44px; }
    .fl-base--bronze { height: 32px; }
    .fl-base-num { font-size: 18px; }

    .fl-lb-table-card {
        padding: 20px 16px;
        border-radius: 20px;
    }

    .fl-lb-bottom-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Smartphone Portrait (<= 414px: iPhone XR, 11, 12, 13, 14, 15, 16 Pro Max) */
@media (max-width: 414px) {
    .fl-lb-page {
        padding-bottom: 105px;
    }

    .fl-rewards-container {
        padding: 0 10px;
    }

    .fl-rewards-nav-bar {
        margin-bottom: 12px;
    }

    .fl-back-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .fl-crumb-trail {
        font-size: 11px;
    }

    .fl-lb-arena-hero {
        padding: 18px 14px 14px 14px;
        border-radius: 18px;
        margin-bottom: 14px;
    }

    .fl-lb-arena-hero .fl-hero-tagline {
        font-size: 10px;
        padding: 4px 10px;
        margin-bottom: 10px;
    }

    .fl-lb-arena-hero .fl-hero-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .fl-lb-arena-hero .fl-hero-desc {
        font-size: 12px;
        line-height: 1.45;
        margin-bottom: 14px;
    }

    .fl-lb-hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 8px;
        margin-bottom: 14px;
    }

    .fl-btn-pill-primary,
    .fl-btn-pill-light {
        width: 100%;
        font-size: 12px;
        padding: 9px 14px;
    }

    .fl-lb-telemetry-strip {
        font-size: 10.5px;
        padding-top: 10px;
        gap: 6px;
        margin-bottom: 14px;
    }

    .fl-my-cockpit-card {
        padding: 14px 12px;
        border-radius: 16px;
    }

    .fl-cockpit-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 12px;
    }

    .fl-me-avatar-circle {
        width: 44px;
        height: 44px;
        font-size: 15px;
    }

    .fl-me-name {
        font-size: 14px;
    }

    .fl-me-xp-badge {
        font-size: 11px;
        padding: 2px 8px;
    }

    .fl-cockpit-rank-box {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: 6px 10px;
        border-radius: 10px;
    }

    .fl-cockpit-rank-box .fl-rank-tag {
        font-size: 9px;
        display: inline-block;
    }

    .fl-cockpit-rank-box .fl-rank-num {
        font-size: 17px;
        display: inline-block;
    }

    .fl-cockpit-rank-box .fl-rank-sub {
        font-size: 9.5px;
        display: inline-block;
    }

    .fl-cockpit-bottom {
        padding-top: 10px;
        gap: 10px;
    }

    .fl-me-toggle-strip {
        gap: 8px;
    }

    .fl-toggle-text strong {
        font-size: 11px;
    }

    .fl-toggle-text p {
        font-size: 10px;
    }

    .fl-btn-pos-anchor {
        width: 100%;
        font-size: 11.5px;
        padding: 8px 12px;
    }

    .fl-cat-control-card {
        padding: 14px 12px;
        border-radius: 16px;
        margin-bottom: 14px;
    }

    .fl-cat-control-card .fl-lb-field-label {
        font-size: 10.5px;
        margin-bottom: 8px;
    }

    .fl-dropdown--featured .fl-lb-dropdown-btn {
        padding: 9px 12px;
        font-size: 13px;
        border-radius: 10px;
    }

    .fl-dropdown--featured .fl-dropdown-lead {
        gap: 8px;
    }

    .fl-dropdown--featured .fl-dropdown-lead span {
        font-size: 13px;
    }

    .fl-dropdown--featured .fl-dropdown-item {
        padding: 8px 10px;
        font-size: 12.5px;
    }

    .fl-podium-section {
        padding: 16px 8px;
        border-radius: 16px;
        margin-bottom: 14px;
    }

    .fl-podium-header {
        margin-bottom: 16px;
    }

    .fl-podium-header h2 {
        font-size: 16px;
    }

    .fl-podium-header p {
        font-size: 11px;
    }

    .fl-podium-icon-box {
        width: 38px;
        height: 38px;
        font-size: 16px;
        border-radius: 10px;
    }

    .fl-podium-stage {
        gap: 6px;
        padding-top: 10px;
    }

    .fl-pedestal-card {
        padding: 10px 3px 6px 3px;
        border-radius: 12px 12px 0 0;
    }

    .fl-avatar--gold {
        width: 48px;
        height: 48px;
        font-size: 16px;
        border-width: 2px;
    }

    .fl-pedestal-avatar {
        width: 38px;
        height: 38px;
        font-size: 13px;
    }

    .fl-crown-wrapper svg {
        width: 24px;
        height: 18px;
    }

    .fl-crown-wrapper {
        top: -14px;
    }

    .fl-pedestal-name {
        font-size: 11px;
        max-width: 85px;
        margin-bottom: 2px;
    }

    .fl-slot--gold .fl-pedestal-name {
        font-size: 12px;
    }

    .fl-pedestal-badge {
        font-size: 7.5px;
        padding: 1px 5px;
        margin-bottom: 4px;
    }

    .fl-pedestal-lang {
        font-size: 9px;
        margin-bottom: 4px;
        max-width: 85px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .fl-pedestal-score {
        font-size: 10px;
        padding: 2px 5px;
        gap: 3px;
        margin-bottom: 6px;
    }

    .fl-score--gold {
        font-size: 11px;
    }

    .fl-base--gold { height: 44px; }
    .fl-base--silver { height: 32px; }
    .fl-base--bronze { height: 22px; }
    .fl-base-num { font-size: 14px; }

    .fl-lb-table-card {
        padding: 14px 10px;
        border-radius: 16px;
    }

    .fl-table-head h2 {
        font-size: 15px;
    }

    .fl-table-head p {
        font-size: 11px;
    }

    .fl-table-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .fl-lb-table th,
    .fl-lb-table td {
        padding: 8px 6px;
    }

    .col-rank {
        width: 36px;
        padding-left: 4px !important;
    }

    .fl-rank-tag-small {
        font-size: 11px;
        padding: 2px 6px;
    }

    .fl-user-avatar-sm {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    .fl-user-name {
        font-size: 11.5px;
        max-width: 80px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .col-lang {
        max-width: 85px;
    }

    .fl-lang-chip {
        font-size: 9.5px;
        padding: 2px 5px;
    }

    .fl-xp-value {
        font-size: 11px;
    }

    .fl-lb-pagination {
        flex-direction: column;
        gap: 8px;
        padding-top: 10px;
    }

    .fl-lb-sidebar {
        gap: 14px;
    }

    .fl-about-xp-card,
    .fl-tips-card {
        padding: 16px 14px;
        border-radius: 16px;
    }
}

/* Ultra-Compact Screens (<= 360px: Galaxy S8, iPhone SE) */
@media (max-width: 360px) {
    .fl-lb-page {
        padding-bottom: 115px;
    }

    .fl-rewards-container {
        padding: 0 8px;
    }

    .fl-lb-arena-hero {
        padding: 14px 10px 12px 10px;
        border-radius: 16px;
        margin-bottom: 12px;
    }

    .fl-lb-arena-hero .fl-hero-title {
        font-size: 18px;
    }

    .fl-lb-arena-hero .fl-hero-desc {
        font-size: 11.5px;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    .fl-btn-pill-primary,
    .fl-btn-pill-light {
        font-size: 11.5px;
        padding: 8px 12px;
    }

    .fl-lb-telemetry-strip {
        font-size: 10px;
        gap: 4px;
        padding-top: 8px;
        margin-bottom: 12px;
    }

    .fl-my-cockpit-card {
        padding: 12px 10px;
        border-radius: 14px;
    }

    .fl-me-avatar-circle {
        width: 38px;
        height: 38px;
        font-size: 13px;
    }

    .fl-me-name {
        font-size: 13px;
    }

    .fl-me-xp-badge {
        font-size: 10px;
        padding: 2px 6px;
    }

    .fl-cockpit-rank-box {
        padding: 5px 8px;
    }

    .fl-cockpit-rank-box .fl-rank-num {
        font-size: 16px;
    }

    .fl-toggle-text strong {
        font-size: 10.5px;
    }

    .fl-toggle-text p {
        font-size: 9.5px;
    }

    .fl-switch {
        width: 36px;
        height: 20px;
    }

    .fl-slider:before {
        height: 14px;
        width: 14px;
        left: 3px;
        bottom: 3px;
    }

    .fl-switch input:checked + .fl-slider:before {
        transform: translateX(16px);
    }

    .fl-btn-pos-anchor {
        font-size: 11px;
        padding: 7px 10px;
    }

    .fl-cat-control-card {
        padding: 12px 10px;
        border-radius: 14px;
        margin-bottom: 12px;
    }

    .fl-cat-control-card .fl-lb-field-label {
        font-size: 10px;
        margin-bottom: 6px;
    }

    .fl-dropdown--featured .fl-lb-dropdown-btn {
        padding: 8px 10px;
        font-size: 12px;
    }

    .fl-dropdown--featured .fl-dropdown-lead {
        gap: 6px;
    }

    .fl-dropdown--featured .fl-dropdown-lead i {
        font-size: 13px;
    }

    .fl-dropdown--featured .fl-dropdown-lead span {
        font-size: 12px;
    }

    .fl-podium-section {
        padding: 12px 6px;
        border-radius: 14px;
        margin-bottom: 12px;
    }

    .fl-podium-header h2 {
        font-size: 15px;
    }

    .fl-podium-stage {
        gap: 4px;
        padding-top: 8px;
    }

    .fl-pedestal-card {
        padding: 8px 2px 4px 2px;
        border-radius: 10px 10px 0 0;
    }

    .fl-avatar--gold {
        width: 42px;
        height: 42px;
        font-size: 14px;
    }

    .fl-pedestal-avatar {
        width: 34px;
        height: 34px;
        font-size: 11px;
    }

    .fl-crown-wrapper svg {
        width: 20px;
        height: 16px;
    }

    .fl-crown-wrapper {
        top: -12px;
    }

    .fl-pedestal-name {
        font-size: 10px;
        max-width: 75px;
    }

    .fl-slot--gold .fl-pedestal-name {
        font-size: 11px;
    }

    .fl-pedestal-badge {
        display: none !important;
    }

    .fl-pedestal-lang {
        font-size: 8.5px;
        max-width: 75px;
        margin-bottom: 2px;
    }

    .fl-pedestal-score {
        font-size: 9px;
        padding: 1px 3px;
        gap: 2px;
        margin-bottom: 4px;
    }

    .fl-base--gold { height: 36px; }
    .fl-base--silver { height: 26px; }
    .fl-base--bronze { height: 18px; }
    .fl-base-num { font-size: 12px; }

    .fl-lb-table-card {
        padding: 12px 6px;
        border-radius: 14px;
    }

    th.col-lang,
    td.col-lang,
    .col-lang {
        display: none !important;
    }

    .fl-lb-table th,
    .fl-lb-table td {
        padding: 6px 4px;
    }

    .fl-user-name {
        font-size: 10.5px;
        max-width: 75px;
    }

    .fl-user-avatar-sm {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }

    .fl-rank-tag-small {
        font-size: 10px;
        padding: 1px 4px;
    }

    .fl-xp-value {
        font-size: 10px;
    }
}



/* ==========================================================================
   FLUNGO REWARDS - BADGE & LENCANA PENCAPAIAN
   Signature Modern Blue Gamification Architecture with 3D Medallions
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Base Badge Page & Hero Cockpit
   -------------------------------------------------------------------------- */
.fl-badge-page {
    background: #f8fafc;
    min-height: 100vh;
    padding-bottom: 70px;
}

.fl-badge-hero {
    margin-bottom: 22px;
}

/* Right: Telemetry Cockpit Box */
.fl-badge-cockpit-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 22px 22px 18px 22px;
    color: #0f172a;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16);
    position: relative;
    overflow: hidden;
}

.fl-badge-cockpit-box::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #154EA1, #38bdf8);
}

.fl-cockpit-header-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.fl-cockpit-badge-lead {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #154EA1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.fl-cockpit-status-dot {
    font-size: 10.5px;
    font-weight: 800;
    color: #10b981;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid #a7f3d0;
}

.fl-dot-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

/* 3 Telemetry Stats */
.fl-telemetry-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.fl-tele-stat-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 8px;
    text-align: center;
    transition: all 0.2s ease;
}

.fl-tele-stat-item:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.fl-tele-val {
    display: block;
    font-size: 20px;
    font-weight: 900;
    color: #154EA1;
    line-height: 1.15;
}

.fl-tele-lbl {
    display: block;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: #475569;
}

.fl-tele-sub {
    display: block;
    font-size: 9px;
    color: #94a3b8;
}

/* User Progress Bar */
.fl-cockpit-progress-box {
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.fl-prog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 11.5px;
}

.fl-prog-title {
    color: #475569;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.fl-prog-score {
    color: #154EA1;
    font-weight: 800;
}

.fl-prog-bar-track {
    width: 100%;
    height: 7px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 10px;
}

.fl-prog-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #154EA1 0%, #38bdf8 100%);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.fl-tier-mini-chips {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.fl-tchip {
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.fl-tchip--bronze { background: #ffedd5; color: #9a3412; }
.fl-tchip--silver { background: #f1f5f9; color: #334155; }
.fl-tchip--gold   { background: #fef3c7; color: #b45309; }

/* --------------------------------------------------------------------------
   2. How to Earn Badge Notice Banner
   -------------------------------------------------------------------------- */
.fl-how-badge-banner {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    border: 1.5px solid #bfdbfe;
    border-radius: 18px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.05);
}

.fl-how-badge-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #154EA1;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(21, 78, 161, 0.25);
}

.fl-how-badge-content {
    flex: 1;
}

.fl-how-badge-content h4 {
    font-size: 14.5px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 3px 0;
}

.fl-how-badge-content p {
    font-size: 12.5px;
    color: #475569;
    margin: 0;
    line-height: 1.45;
}

.fl-btn-how-terms {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1.5px solid #154EA1;
    color: #154EA1;
    font-size: 12.5px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.fl-btn-how-terms:hover {
    background: #154EA1;
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   3. Category Filter & Status Switch Hub
   -------------------------------------------------------------------------- */
.fl-badge-filter-hub {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.fl-filter-pills-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
}

.fl-cat-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fl-cat-tab-btn:hover {
    border-color: #154EA1;
    color: #154EA1;
    background: #eff6ff;
}

.fl-cat-tab-btn.is-active {
    background: #154EA1;
    border-color: #154EA1;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(21, 78, 161, 0.25);
}

.fl-tab-count {
    font-size: 11px;
    opacity: 0.85;
}

.fl-status-filter-pills {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 4px;
}

.fl-status-btn {
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.fl-status-btn:hover {
    color: #154EA1;
}

.fl-status-btn.is-active {
    background: #154EA1;
    color: #ffffff;
}

/* Active Category Description Strip */
.fl-active-cat-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #475569;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 16px;
    margin-bottom: 22px;
}

.fl-active-cat-strip i {
    color: #154EA1;
    font-size: 14px;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   4. Badge Showcase Grid & 3D Medallion Cards
   -------------------------------------------------------------------------- */
.fl-badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.fl-badge-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    padding: 20px 16px 16px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    cursor: pointer;
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s ease, border-color 0.24s ease;
    outline: none;
}

.fl-badge-card:hover,
.fl-badge-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
    border-color: #154EA1;
}

/* Card Top Strip */
.fl-bcard-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.fl-tier-ribbon {
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 2px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

.fl-tribbon--bronze { background: #ffedd5; color: #9a3412; }
.fl-tribbon--silver { background: #f1f5f9; color: #334155; }
.fl-tribbon--gold   { background: #fef3c7; color: #b45309; }

.fl-status-pill {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.fl-spill--unlocked { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
.fl-spill--locked   { background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0; }

/* 3D Medallion Emblem */
.fl-bcard-emblem-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
}

.fl-medallion {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease;
}

.fl-badge-card:hover .fl-medallion {
    transform: scale(1.06);
}

.fl-medallion-inner {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #ffffff;
    box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.4), inset 0 -3px 6px rgba(0, 0, 0, 0.25);
}

/* Tier-specific Medallion Gradients */
.fl-medallion--bronze {
    background: linear-gradient(135deg, #fed7aa 0%, #ea580c 50%, #9a3412 100%);
    border: 3px solid #ffedd5;
}
.fl-medallion--bronze .fl-medallion-inner {
    background: radial-gradient(circle at 35% 35%, #ea580c 0%, #7c2d12 100%);
}

.fl-medallion--silver {
    background: linear-gradient(135deg, #f8fafc 0%, #94a3b8 50%, #475569 100%);
    border: 3px solid #f1f5f9;
}
.fl-medallion--silver .fl-medallion-inner {
    background: radial-gradient(circle at 35% 35%, #64748b 0%, #334155 100%);
}

.fl-medallion--gold {
    background: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #b45309 100%);
    border: 3px solid #fef9c3;
    box-shadow: 0 8px 22px rgba(217, 119, 6, 0.3);
}
.fl-medallion--gold .fl-medallion-inner {
    background: radial-gradient(circle at 35% 35%, #f59e0b 0%, #92400e 100%);
}

/* Locked Card Desaturation */
.fl-badge-card.is-locked .fl-medallion {
    filter: grayscale(0.85) contrast(0.9);
    opacity: 0.65;
}

.fl-badge-card.is-locked:hover .fl-medallion {
    filter: grayscale(0.2) contrast(1);
    opacity: 0.95;
}

/* Badge Content */
.fl-bcard-content {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fl-bcard-title {
    font-size: 14.5px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.fl-bcard-criteria {
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
    margin: 0 0 12px 0;
    flex: 1;
}

/* In-progress mini bar */
.fl-bcard-progress-box {
    margin-bottom: 12px;
}

.fl-bprogress-bar {
    width: 100%;
    height: 5px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 4px;
}

.fl-bprogress-fill {
    height: 100%;
    background: linear-gradient(90deg, #154EA1, #38bdf8);
    border-radius: 999px;
}

.fl-bprogress-text {
    font-size: 10.5px;
    font-weight: 700;
    color: #154EA1;
}

/* Reward Chip */
.fl-bcard-reward-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.fl-rw-item {
    font-size: 11px;
    font-weight: 800;
    color: #1e40af;
    background: #eff6ff;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid #bfdbfe;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.fl-rw-item i { color: #f59e0b; }

.fl-rw-item--point {
    color: #92400e;
    background: #fef3c7;
    border-color: #fde68a;
}

.fl-rw-item--point i { color: #d97706; }

/* Card Footer Inspect Hint */
.fl-bcard-footer {
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

.fl-bcard-inspect-hint {
    font-size: 11px;
    font-weight: 700;
    color: #154EA1;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Empty State */
.fl-badge-empty {
    background: #ffffff;
    border-radius: 20px;
    border: 1.5px dashed #cbd5e1;
    padding: 48px 24px;
    text-align: center;
    max-width: 520px;
    margin: 20px auto;
}

.fl-empty-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 16px auto;
}

.fl-badge-empty h3 {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.fl-badge-empty p {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 18px 0;
}

/* --------------------------------------------------------------------------
   5. Interactive Badge Detail Modal (Inspector)
   -------------------------------------------------------------------------- */
.fl-modal-dialog--badge {
    max-width: 520px;
}

.fl-badge-modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}

.fl-modal-emblem-wrap {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.fl-medallion--lg {
    width: 100px;
    height: 100px;
}

.fl-medallion--lg .fl-medallion-inner {
    width: 82px;
    height: 82px;
    font-size: 36px;
}

.fl-tribbon--modal {
    font-size: 11px;
    padding: 3px 12px;
}

.fl-badge-status-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.fl-unlocked-date {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
}

.fl-badge-modal-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.fl-badge-modal-desc {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.fl-criteria-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    text-align: left;
    width: 100%;
    margin-bottom: 16px;
}

.fl-crit-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #154EA1;
    margin-bottom: 4px;
}

.fl-criteria-card p {
    font-size: 12.5px;
    color: #1e293b;
    font-weight: 600;
    margin: 0;
    line-height: 1.45;
}

.fl-modal-rewards-box {
    width: 100%;
    text-align: left;
}

.fl-mreward-title {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 8px;
}

.fl-mreward-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.fl-mreward-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 14px;
}

.fl-mreward-item i {
    font-size: 18px;
}

.fl-mreward--xp i { color: #f59e0b; }
.fl-mreward--point i { color: #ea580c; }

.fl-mreward-item strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
}

.fl-mreward-item span {
    display: block;
    font-size: 10.5px;
    color: #64748b;
}

/* --------------------------------------------------------------------------
   6. RESPONSIVE BREAKPOINTS (Desktop, Tablet, Mobile <=414px, Mobile <=360px)
   -------------------------------------------------------------------------- */

/* Tablet & Smaller Desktops (<= 991px) */
@media (max-width: 991px) {
    .fl-badges-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

/* Mobile Screens (<= 768px) */
@media (max-width: 768px) {
    .fl-badges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .fl-how-badge-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 14px;
    }

    .fl-btn-how-terms {
        width: 100%;
        justify-content: center;
    }

    .fl-badge-filter-hub {
        flex-direction: column;
        align-items: stretch;
    }

    .fl-status-filter-pills {
        width: 100%;
        justify-content: space-around;
    }
}

/* Smartphone Portrait (<= 414px: iPhone XR, 11, 12, 13, 14, 15, 16 Pro Max) */
@media (max-width: 414px) {
    .fl-badge-page {
        padding-bottom: 105px;
    }

    .fl-badges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .fl-badge-card {
        padding: 14px 10px 12px 10px;
        border-radius: 16px;
    }

    .fl-medallion {
        width: 62px;
        height: 62px;
    }

    .fl-medallion-inner {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .fl-bcard-title {
        font-size: 12.5px;
        margin-bottom: 4px;
    }

    .fl-bcard-criteria {
        font-size: 10.5px;
        line-height: 1.35;
        margin-bottom: 8px;
    }

    .fl-rw-item {
        font-size: 9.5px;
        padding: 2px 5px;
        gap: 2px;
    }

    .fl-tier-ribbon {
        font-size: 8px;
        padding: 1px 5px;
    }

    .fl-status-pill {
        font-size: 8.5px;
        padding: 1px 5px;
    }

    .fl-telemetry-stat-row {
        gap: 6px;
    }

    .fl-tele-val {
        font-size: 16px;
    }

    .fl-tele-lbl {
        font-size: 8.5px;
    }

    .fl-how-badge-content h4 {
        font-size: 13.5px;
    }

    .fl-how-badge-content p {
        font-size: 11.5px;
    }

    .fl-cat-tab-btn {
        font-size: 11.5px;
        padding: 6px 12px;
    }

    .fl-status-btn {
        font-size: 10.5px;
        padding: 5px 8px;
    }

    .fl-modal-dialog--badge {
        max-width: 95%;
        margin: 10px auto;
    }

    .fl-medallion--lg {
        width: 80px;
        height: 80px;
    }

    .fl-medallion--lg .fl-medallion-inner {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }

    .fl-badge-modal-title {
        font-size: 17px;
    }

    .fl-mreward-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* Ultra-Compact Screens (<= 360px: Galaxy S8, iPhone SE) */
@media (max-width: 360px) {
    .fl-badge-page {
        padding-bottom: 115px;
    }

    .fl-badges-grid {
        grid-template-columns: 1fr; /* 1 column on ultra-compact for maximum clarity */
        gap: 12px;
    }

    .fl-badge-card {
        padding: 14px 12px;
        border-radius: 14px;
    }

    .fl-medallion {
        width: 58px;
        height: 58px;
    }

    .fl-medallion-inner {
        width: 44px;
        height: 44px;
        font-size: 19px;
    }

    .fl-bcard-title {
        font-size: 13px;
    }

    .fl-bcard-criteria {
        font-size: 11px;
    }

    .fl-tele-val {
        font-size: 14px;
    }

    .fl-tele-sub {
        display: none;
    }

    .fl-tchip {
        font-size: 9.5px;
        padding: 1px 4px;
    }

    .fl-active-cat-strip {
        font-size: 11px;
        padding: 8px 12px;
    }
}


/* ==========================================================================
   FLUNGO CHALLENGE & MISSION ARENA STYLES
   ========================================================================== */

.fl-challenge-page {
    padding-bottom: 90px;
}

/* Hero Variant for Challenge */
.fl-challenge-hero {
    margin-bottom: 24px;
}

.fl-mission-cockpit-box {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* 3. Status Tabs (Top Row Filter Matching Gambar 2) */
.fl-challenge-status-hub {
    margin-bottom: 20px;
}

.fl-status-pill-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    padding: 6px 8px;
    border-radius: 16px;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.fl-status-pill-tabs::-webkit-scrollbar {
    display: none;
}

.fl-cstatus-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 12px;
    border: none;
    background: transparent;
    font-size: 13.5px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fl-cstatus-btn:hover {
    color: #154ea1;
    background: #f1f5f9;
}

.fl-cstatus-btn.is-active {
    background: #154ea1;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(21, 78, 161, 0.25);
}

.fl-cbtn-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.fl-cbtn-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    transition: all 0.2s ease;
}

.fl-cstatus-btn.is-active .fl-cbtn-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.fl-cbtn-badge.fl-badge--blue {
    background: #eff6ff;
    color: #1d4ed8;
}

.fl-cstatus-btn.is-active .fl-cbtn-badge.fl-badge--blue {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.fl-cbtn-badge.fl-badge--amber {
    background: #fffbeb;
    color: #b45309;
}

.fl-cstatus-btn.is-active .fl-cbtn-badge.fl-badge--amber {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.fl-cbtn-badge.fl-badge--green {
    background: #ecfdf5;
    color: #047857;
}

.fl-cstatus-btn.is-active .fl-cbtn-badge.fl-badge--green {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* 4. Secondary Filter Bar: Categories, Search, & Sort */
.fl-challenge-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.fl-filter-category-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 0;
}

.fl-filter-category-scroll::-webkit-scrollbar {
    display: none;
}

.fl-ccat-btn {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.fl-ccat-btn:hover {
    border-color: #93c5fd;
    color: #154ea1;
    background: #f8fafc;
}

.fl-ccat-btn.is-active {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #154ea1;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(21, 78, 161, 0.1);
}

.fl-filter-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.fl-search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.fl-search-box .fl-search-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 13px;
    pointer-events: none;
}

.fl-search-box input {
    height: 40px;
    padding: 0 14px 0 38px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 13px;
    color: #1e293b;
    background: #ffffff;
    outline: none;
    transition: all 0.2s ease;
    width: 250px;
}

.fl-search-box input:focus {
    border-color: #154ea1;
    box-shadow: 0 0 0 3px rgba(21, 78, 161, 0.1);
}

.fl-sort-box select {
    height: 40px;
    padding: 0 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 13px;
    color: #334155;
    background: #ffffff;
    outline: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.fl-sort-box select:focus {
    border-color: #154ea1;
    box-shadow: 0 0 0 3px rgba(21, 78, 161, 0.1);
}

/* 5. Challenge Bento Grid & Card Showcase */
.fl-challenge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
}

.fl-challenge-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 22px;
    position: relative;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.fl-challenge-card:hover {
    transform: translateY(-4px);
    border-color: #93c5fd;
    box-shadow: 0 14px 30px rgba(21, 78, 161, 0.1);
}

.fl-ccard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}

.fl-ctype-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #154ea1;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 4px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.fl-cstatus-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.fl-cstatus-pill.fl-pill--available {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.fl-cstatus-pill.fl-pill--active {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.fl-cstatus-pill.fl-pill--completed {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.fl-ccard-main {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.fl-ccard-thumb-wrap {
    width: 76px;
    height: 76px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
}

.fl-ccard-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.fl-challenge-card:hover .fl-ccard-thumb {
    transform: scale(1.05);
}

.fl-ccard-icon-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #154ea1;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    border: 1.5px solid #ffffff;
}

.fl-ccard-meta {
    flex: 1;
    min-width: 0;
}

.fl-ccard-badges-row {
    display: flex;
    gap: 6px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.fl-cdifficulty-chip,
.fl-cdeadline-chip {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.fl-ccard-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
    line-height: 1.35;
}

.fl-ccard-desc {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Requirements Box (Job Order Matching Gambar 2) */
.fl-ccard-req-box {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 16px;
}

.fl-creq-label {
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.fl-creq-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fl-creq-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #334155;
    line-height: 1.45;
}

.fl-creq-list li i {
    margin-top: 3px;
    font-size: 11px;
    flex-shrink: 0;
}

.fl-cprogress-wrap {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
}

.fl-cprogress-bar {
    height: 7px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.fl-cprogress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #10b981);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.fl-cprogress-text {
    font-size: 11px;
    font-weight: 700;
    color: #059669;
    display: block;
    margin-top: 5px;
    text-align: right;
}

/* Reward Box (Reward Challenge Matching Gambar 2) */
.fl-ccard-reward-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
    border: 1px dashed #93c5fd;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 18px;
}

.fl-creward-label {
    font-size: 11px;
    font-weight: 800;
    color: #154ea1;
    letter-spacing: 0.5px;
}

.fl-creward-chips {
    display: flex;
    gap: 6px;
    align-items: center;
}

.fl-creward-chip {
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.fl-creward-chip.fl-chip--point {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

.fl-creward-chip.fl-chip--xp {
    background: #e0e7ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
}

/* Card Actions */
.fl-ccard-actions {
    margin-top: auto;
}

.fl-btn-challenge-action {
    width: 100%;
    padding: 11px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13.5px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #154ea1;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(21, 78, 161, 0.2);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fl-btn-challenge-action:hover {
    background: #0f3b7d;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(21, 78, 161, 0.25);
}

.fl-btn-challenge-action.fl-btn--active {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.fl-btn-challenge-action.fl-btn--active:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
}

.fl-btn-challenge-action.fl-btn--completed {
    background: #ecfdf5;
    color: #047857;
    border: 1.5px solid #a7f3d0;
    box-shadow: none;
    cursor: pointer;
}

.fl-btn-challenge-action.fl-btn--completed:hover {
    background: #d1fae5;
    transform: none;
}

/* Empty State */
.fl-challenge-empty {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border: 1.5px dashed #cbd5e1;
    border-radius: 20px;
    margin-top: 20px;
}

.fl-challenge-empty .fl-empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #eff6ff;
    color: #154ea1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 16px;
}

.fl-challenge-empty h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.fl-challenge-empty p {
    font-size: 13.5px;
    color: #64748b;
    max-width: 420px;
    margin: 0 auto 20px auto;
}

/* 6. SOP & Alur Pengerjaan Section Matching Gambar 2 */
.fl-challenge-sop-section {
    margin-top: 48px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.fl-sop-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.fl-sop-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #eff6ff;
    color: #154ea1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.fl-sop-header h2 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.fl-sop-header p {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
}

.fl-sop-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.fl-sop-step-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px 18px;
    position: relative;
    transition: all 0.25s ease;
}

.fl-sop-step-card:hover {
    transform: translateY(-3px);
    border-color: #93c5fd;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(21, 78, 161, 0.08);
}

.fl-sop-step-num {
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 22px;
    font-weight: 900;
    color: #cbd5e1;
    line-height: 1;
}

.fl-sop-step-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #154ea1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.fl-sop-step-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.fl-sop-step-card p {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* 7. Challenge Detail Modal */
.fl-modal-dialog--challenge {
    max-width: 620px;
}

.fl-mchallenge-info-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    background: #f8fafc;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.fl-minfo-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fl-minfo-item i {
    font-size: 20px;
    flex-shrink: 0;
}

.fl-minfo-item span {
    font-size: 11px;
    color: #64748b;
    display: block;
}

.fl-minfo-item strong {
    font-size: 13px;
    color: #0f172a;
    font-weight: 700;
    display: block;
}

.fl-mchallenge-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fl-mchallenge-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #334155;
    line-height: 1.45;
    background: #f8fafc;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.fl-mchallenge-checklist li i {
    margin-top: 2px;
    font-size: 14px;
    flex-shrink: 0;
}

.fl-mchallenge-reward-highlight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #154ea1 0%, #092c63 100%);
    color: #ffffff;
    padding: 16px 20px;
    border-radius: 14px;
    margin: 20px 0;
    box-shadow: 0 4px 14px rgba(21, 78, 161, 0.25);
}

.fl-mreward-label-sub {
    font-size: 12px;
    opacity: 0.85;
    display: block;
}

.fl-mreward-val-big {
    font-size: 18px;
    font-weight: 800;
    color: #38bdf8;
}

/* ==========================================================================
   CHALLENGE RESPONSIVE DESIGN (<= 991px, <= 768px, <= 414px, <= 360px)
   ========================================================================== */

/* Tablet (<= 991px) */
@media (max-width: 991px) {
    .fl-sop-steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* Mobile Standard (<= 768px) */
@media (max-width: 768px) {
    .fl-challenge-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .fl-challenge-filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .fl-filter-tools {
        width: 100%;
        display: flex;
        gap: 8px;
    }

    .fl-search-box {
        flex: 1;
    }

    .fl-search-box input {
        width: 100%;
    }

    .fl-sort-box select {
        width: 100%;
    }

    .fl-sop-steps-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .fl-challenge-sop-section {
        padding: 22px 18px;
        margin-top: 36px;
    }
}

/* Mobile Compact (<= 414px: iPhone Pro Max, Galaxy Note, XR) */
@media (max-width: 414px) {
    .fl-challenge-page {
        padding-bottom: 110px;
    }

    .fl-status-pill-tabs {
        padding: 4px 6px;
        border-radius: 14px;
        gap: 6px;
    }

    .fl-cstatus-btn {
        padding: 7px 12px;
        font-size: 12px;
        border-radius: 10px;
    }

    .fl-cbtn-badge {
        font-size: 10px;
        padding: 1px 6px;
    }

    .fl-filter-category-scroll {
        gap: 6px;
    }

    .fl-ccat-btn {
        font-size: 11.5px;
        padding: 5px 12px;
    }

    .fl-filter-tools {
        flex-direction: column;
        gap: 8px;
    }

    .fl-search-box input,
    .fl-sort-box select {
        height: 38px;
        font-size: 12.5px;
    }

    .fl-challenge-card {
        padding: 16px 14px;
        border-radius: 16px;
    }

    .fl-ccard-main {
        gap: 12px;
    }

    .fl-ccard-thumb-wrap {
        width: 64px;
        height: 64px;
        border-radius: 12px;
    }

    .fl-ccard-title {
        font-size: 14.5px;
    }

    .fl-ccard-desc {
        font-size: 12px;
    }

    .fl-ccard-req-box {
        padding: 12px;
        border-radius: 12px;
    }

    .fl-creq-list li {
        font-size: 11.5px;
    }

    .fl-ccard-reward-box {
        padding: 8px 12px;
    }

    .fl-creward-chip {
        font-size: 11px;
        padding: 2px 6px;
    }

    .fl-btn-challenge-action {
        font-size: 12.5px;
        padding: 10px 14px;
    }

    .fl-mchallenge-info-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 12px;
    }

    .fl-sop-header {
        gap: 12px;
        margin-bottom: 20px;
    }

    .fl-sop-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .fl-sop-header h2 {
        font-size: 17px;
    }

    .fl-sop-step-card {
        padding: 16px 14px;
    }

    .fl-sop-step-num {
        font-size: 18px;
        top: 14px;
        right: 14px;
    }
}

/* Mobile Ultra-Compact (<= 360px: Galaxy S8, iPhone SE) */
@media (max-width: 360px) {
    .fl-challenge-page {
        padding-bottom: 120px;
    }

    .fl-cstatus-btn {
        padding: 6px 10px;
        font-size: 11px;
        gap: 4px;
    }

    .fl-ccard-main {
        flex-direction: column;
        gap: 10px;
    }

    .fl-ccard-thumb-wrap {
        width: 100%;
        height: 120px;
        border-radius: 12px;
    }

    .fl-ccard-title {
        font-size: 14px;
    }

    .fl-ccard-desc {
        font-size: 11.5px;
    }

    .fl-creq-label {
        font-size: 9.5px;
    }

    .fl-creq-list li {
        font-size: 11px;
    }

    .fl-creward-label {
        font-size: 10px;
    }

    .fl-creward-chips {
        flex-direction: column;
        gap: 4px;
        align-items: flex-end;
    }

    .fl-creward-chip {
        font-size: 10.5px;
    }

    .fl-btn-challenge-action {
        font-size: 12px;
        padding: 9px 12px;
    }

    .fl-sop-header h2 {
        font-size: 15.5px;
    }

    .fl-sop-step-card h4 {
        font-size: 13.5px;
    }

    .fl-sop-step-card p {
        font-size: 11.5px;
    }
}
