@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap');

:root {
    --theme-primary-rgb: 255, 51, 102;
    --theme-primary: #ff335f;
    --theme-primary-dark: #e61f63;
    --theme-primary-soft: rgba(255, 51, 102, 0.12);
    --theme-cyan: #17d7f6;
    --theme-dark: #070707;
    --theme-dark-soft: #111318;
    --theme-surface: #ffffff;
    --theme-surface-soft: #f6f6f7;
    --theme-text: #121212;
    --theme-muted: #757575;
    --theme-border: rgba(18, 18, 18, 0.08);
    --theme-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    --theme-radius: 24px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Be Vietnam Pro', sans-serif;
    background:
        radial-gradient(circle at top right, rgba(23, 215, 246, 0.18), transparent 25%),
        linear-gradient(180deg, #fdfdfd 0%, #f1f1f3 100%);
    color: var(--theme-text);
    min-height: 100vh;
}

body.user-page {
    background:
        radial-gradient(circle at 20% 10%, rgba(255, 51, 102, 0.12), transparent 22%),
        linear-gradient(180deg, #050505 0, #111827 220px, #f6f6f7 220px, #f6f6f7 100%);
    overflow: hidden;
}

body.route-home,
body.route-tasks,
body.route-invitation,
body.route-recharge,
body.route-withdrawal,
body.route-transfer,
body.route-profile,
body.route-add_card,
body.route-about,
body.route-language,
body.route-change-password,
body.route-bankcard {
    background:
        radial-gradient(circle at top left, rgba(255, 51, 102, 0.14), transparent 16%),
        linear-gradient(180deg, #040404 0, #0b162e 210px, #f7f7f8 210px, #f7f7f8 100%);
}

body.auth-page {
    background:
        linear-gradient(180deg, #ffffff 0 44px, #050505 44px 325px, #f6f6f6 325px 100%);
}

img {
    max-width: 100%;
    display: block;
}

h1, h2, h3, h4 {
    color: var(--theme-text);
}

body.auth-page .app-container,
body.user-page .app-container {
    max-width: 390px;
    height: 100dvh;
    min-height: 100dvh;
    margin: 0 auto;
    position: relative;
    padding-top: 88px;
    padding-bottom: 108px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px);
    box-shadow: 0 26px 70px rgba(7, 13, 27, 0.16);
    overflow: hidden;
    border-radius: 24px;
}

.app-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(390px, 100%);
    z-index: 1000;
    padding: 12px 16px;
    background: linear-gradient(180deg, rgba(4, 8, 18, 0.72), rgba(4, 8, 18, 0.08));
    backdrop-filter: blur(16px);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 8px 12px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(5, 12, 27, 0.15);
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.header-brand-logo {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    box-shadow: none;
}

.header-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-menu-button {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #111;
    font-size: 20px;
}

.header-brand-kicker {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 2px;
}

.app-title {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

body.auth-page .app-title {
    color: #111;
}

body.user-page .app-title,
body.user-page .header-menu-button {
    color: #fff;
}

body.auth-page .app-header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.2));
}

body.auth-page .header-content {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(17, 17, 17, 0.06);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

body.auth-page .header-menu-button {
    background: rgba(17, 17, 17, 0.04);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-selector {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    min-height: 40px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.auth-page .language-selector {
    background: #fff;
    color: #111;
    border-color: rgba(17, 17, 17, 0.08);
}

.language-selector i {
    font-size: 13px;
    opacity: 0.9;
}

.language-dropdown {
    position: relative;
}

.language-trigger {
    min-width: 104px;
    border: 0;
    background: transparent;
    color: inherit;
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
    padding: 0 18px 0 0;
    text-align: left;
    cursor: pointer;
    position: relative;
}

.language-trigger::before,
.language-trigger::after {
    content: '';
    position: absolute;
    right: 2px;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 1px;
    background: currentColor;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    transform: translateY(-50%);
    opacity: 0.9;
}

.language-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 156px;
    padding: 8px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(18px);
    display: none;
    z-index: 30;
}

.language-dropdown.is-open .language-menu {
    display: grid;
    gap: 4px;
}

.language-option {
    width: 100%;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    padding: 10px 12px;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.language-option:hover {
    background: rgba(23, 50, 77, 0.08);
    color: #17324d;
}

.language-option.active {
    background: linear-gradient(135deg, #17324d, #2f6ea5);
    color: #fff;
}

body.auth-page .language-menu {
    background: #ffffff;
    border-color: rgba(17, 17, 17, 0.08);
}

.notification-wrapper-fixed {
    position: relative;
}

.notification-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    text-decoration: none;
    position: relative;
}

.notification-icon .badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--theme-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 46px;
    right: 0;
    width: 280px;
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--theme-shadow);
    border: 1px solid var(--theme-border);
    padding: 14px;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-header {
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 10px;
}

.dropdown-item {
    font-size: 13px;
    line-height: 1.5;
    padding: 10px 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.dropdown-item:last-child {
    border-bottom: 0;
}

.main-content {
    position: relative;
    z-index: 1;
    height: calc(100dvh - 196px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 14px 16px 30px;
}

.auth-container {
    padding: 18px 0 24px;
}

.auth-hero {
    position: relative;
    min-height: 250px;
    padding: 28px 24px 18px;
    color: #fff;
    overflow: hidden;
}

.auth-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.3) 100%), url('/assets/images/bg1.jpg') center/cover;
}

.auth-hero-content {
    position: relative;
    z-index: 1;
    padding-top: 52px;
}

.auth-logo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 19px;
    margin-bottom: 18px;
}

.auth-logo-badge i {
    color: var(--theme-cyan);
}

.auth-hero h2 {
    color: #fff;
    font-size: 28px;
    line-height: 1.08;
    margin-bottom: 8px;
}

.auth-hero p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
}

.auth-card {
    position: relative;
    z-index: 2;
    margin-top: -16px;
    background: #fff;
    border-radius: 28px 28px 0 0;
    padding: 28px 22px 30px;
    min-height: calc(100vh - 330px);
    box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.16);
}

.auth-card.compact-center {
    margin-top: 54px;
    min-height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.auth-heading {
    text-align: center;
    margin-bottom: 24px;
}

.auth-heading h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
}

.auth-heading p {
    color: var(--theme-muted);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-group {
    position: relative;
}

.form-group .input-shell {
    display: flex;
    align-items: center;
    min-height: 56px;
    border-radius: 14px;
    background: var(--theme-surface-soft);
    border: 1px solid rgba(17, 17, 17, 0.06);
    overflow: hidden;
}

.input-icon {
    width: 44px;
    text-align: center;
    color: #111;
    font-size: 15px;
    opacity: 0.85;
}

.form-group input,
.form-group select,
.amount-input,
.transaction-form input[type='number'],
.transaction-form input[type='text'],
.card-form input,
.change-password-form input,
.recharge-form input[type='number'] {
    width: 100%;
    border: 0;
    background: transparent;
    outline: none;
    min-height: 54px;
    padding: 0 16px 0 0;
    font-size: 15px;
    font-family: inherit;
    color: var(--theme-text);
}

.form-group input::placeholder,
.recharge-form input::placeholder,
.transaction-form input::placeholder,
.card-form input::placeholder {
    color: #b2b2b7;
}

.input-action {
    width: 44px;
    border: 0;
    background: transparent;
    color: #b2b2b7;
    cursor: pointer;
}

.btn,
.btn-primary,
.btn-outline,
.btn-recharge,
#withdrawButton,
.btn-change-password {
    min-height: 54px;
    border-radius: 16px;
    border: 0;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn-primary:hover,
.btn-outline:hover,
.btn-recharge:hover,
#withdrawButton:hover,
.btn-change-password:hover {
    transform: translateY(-1px);
}

.btn-primary,
.btn-recharge,
#withdrawButton,
.btn-change-password {
    width: 100%;
    background: #000;
    color: #fff;
}

.btn-outline {
    width: 100%;
    background: #fff;
    color: #111;
    border: 1.5px solid rgba(17, 17, 17, 0.18);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #9b9b9b;
    font-size: 13px;
    margin: 4px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    height: 1px;
    flex: 1;
    background: rgba(17, 17, 17, 0.08);
}

.link-secondary {
    display: inline-flex;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    color: #111;
}

.error-message,
.alert-error,
.alert-success {
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 13px;
}

.error-message,
.alert-error {
    background: rgba(255, 83, 102, 0.09);
    color: #c82343;
    border: 1px solid rgba(200, 35, 67, 0.12);
}

.alert-success {
    background: rgba(20, 184, 116, 0.1);
    color: #0f8f59;
    border: 1px solid rgba(20, 184, 116, 0.14);
}

.hero-panel,
.dashboard-card,
.content-card,
.task-card,
.settings-panel,
.change-password-form,
.recharge-history,
.bank-list-card,
.transaction-card {
    position: relative;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 251, 255, 0.96));
    border-radius: 22px;
    box-shadow:
        0 18px 38px rgba(15, 23, 42, 0.08),
        0 2px 8px rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(17, 17, 17, 0.05);
    overflow: hidden;
}

.content-card::before,
.hero-panel::before,
.dashboard-card::before,
.task-card::before,
.settings-panel::before,
.change-password-form::before,
.recharge-history::before,
.bank-list-card::before,
.transaction-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 72px;
    background: linear-gradient(180deg, rgba(23, 215, 246, 0.07), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.content-card {
    padding: 18px;
}

.content-card > * {
    position: relative;
    z-index: 1;
}

.home-hero {
    position: relative;
    background:
        radial-gradient(circle at top right, rgba(23, 215, 246, 0.2), transparent 28%),
        radial-gradient(circle at bottom left, rgba(255, 51, 102, 0.18), transparent 24%),
        linear-gradient(160deg, #07101f 0%, #0f2342 48%, #091522 100%);
    margin: 0 -16px 18px;
    padding: 18px 16px 26px;
    color: #fff;
    border-radius: 0 0 28px 28px;
    overflow: hidden;
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 30%, rgba(255, 255, 255, 0.02));
    pointer-events: none;
}

.home-brand-title {
    position: relative;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    text-align: left;
}

.home-brand-subtitle {
    position: relative;
    text-align: left;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-top: 8px;
    line-height: 1.08;
    max-width: 240px;
}

.home-banner {
    border-radius: 28px;
    overflow: hidden;
    margin-top: 18px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.24);
}

.home-banner img {
    width: 100%;
    height: 245px;
    object-fit: cover;
}

.home-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.38));
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ff5a7a, #ff7a45);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    margin-top: 16px;
    box-shadow: 0 16px 30px rgba(255, 90, 122, 0.3);
}

.btn-arrow {
    margin-left: 6px;
    font-size: 18px;
    line-height: 1;
}

.marquee-card,
.partner-card,
.info-section,
.overview-card {
    background: #fff;
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(17, 17, 17, 0.04);
}

body.route-home .marquee-card {
    margin-top: 8px;
}

.overview-card {
    background:
        radial-gradient(circle at top right, rgba(23, 215, 246, 0.12), transparent 26%),
        linear-gradient(180deg, #ffffff, #fbfbfd);
}

.info-section h3,
.partner-card h3,
.overview-card h3,
.section-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 12px;
}

.feature-list {
    display: grid;
    gap: 18px;
}

.feature-item {
    text-align: left;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, #fff, #fbfbfd);
    border: 1px solid rgba(17, 17, 17, 0.04);
}

.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    margin: 0 0 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(23, 215, 246, 0.2), rgba(255, 51, 102, 0.18));
    color: var(--theme-primary);
    font-size: 22px;
}

.feature-item h3 {
    margin-bottom: 8px;
}

.feature-item p,
.info-section p,
.overview-card p {
    color: #50545d;
    line-height: 1.6;
    font-size: 14px;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

.partner-card.partner-dark {
    background:
        radial-gradient(circle at top left, rgba(23, 215, 246, 0.14), transparent 24%),
        linear-gradient(160deg, #08111f, #0f223b);
    color: #fff;
}

.partner-card.partner-dark h3 {
    color: #fff;
    text-align: center;
}

.partner-tile {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 20px;
    padding: 12px;
    text-align: center;
    border: 1px solid rgba(17, 17, 17, 0.06);
    min-width: 0;
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-tile::before {
    display: none;
}

.partner-tile img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    background: #fff;
    padding: 0;
    border: 3px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.dashboard-topbar,
.balance-hero,
.task-progress-card,
.profile-summary-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(7, 18, 38, 0.98), rgba(9, 33, 69, 0.96));
    color: #fff;
    border: 1px solid rgba(23, 215, 246, 0.18);
    border-radius: 22px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.dashboard-topbar::before,
.profile-summary-card::before {
    content: '';
    position: absolute;
    inset: -60px auto auto -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(23, 215, 246, 0.12);
    filter: blur(8px);
}

.dashboard-ticker {
    min-height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(23, 215, 246, 0.25);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    margin-bottom: 16px;
    background: rgba(5, 17, 37, 0.6);
    overflow: hidden;
}

.ticker-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--theme-cyan);
    flex: 0 0 auto;
}

.ticker-marquee {
    position: relative;
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-track {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    min-width: max-content;
    color: rgba(255, 255, 255, 0.88);
    animation: tickerLeftToRight 26s linear infinite;
}

.ticker-track span {
    position: relative;
    padding-right: 28px;
    font-size: 13px;
    font-weight: 600;
}

.ticker-track span::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--theme-cyan);
    transform: translateY(-50%);
}

@keyframes tickerLeftToRight {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(100%);
    }
}

.welcome-line {
    color: #ffd972;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
}

.page-header-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.page-header-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255, 51, 102, 0.08);
    color: var(--theme-primary);
    flex: 0 0 auto;
}

.page-header-copy h2 {
    font-size: 24px;
    line-height: 1.15;
    margin-bottom: 4px;
}

.page-header-copy p {
    color: #8b8f98;
    font-size: 13px;
    line-height: 1.5;
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.mini-stat {
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    border: 1px solid rgba(17, 17, 17, 0.05);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.mini-stat-label {
    display: block;
    font-size: 12px;
    color: #8b8f98;
    margin-bottom: 8px;
}

.mini-stat-value {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
}

.section-stack {
    display: grid;
    gap: 16px;
}

.info-list {
    display: grid;
    gap: 12px;
}

.info-list-item {
    padding: 14px 16px;
    border-radius: 16px;
    background: #f8f8fa;
    border: 1px solid rgba(17, 17, 17, 0.05);
    line-height: 1.6;
    font-size: 14px;
    color: #50545d;
}

.media-hero-card {
    border-radius: 24px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.14);
}

.media-hero-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.partner-wall {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.partner-wall .partner-tile {
    padding: 14px 10px;
}

.form-card {
    padding: 18px;
}

.form-grid {
    display: grid;
    gap: 14px;
}

.data-table-card {
    overflow: hidden;
}

.data-table-card table {
    width: 100%;
}

.data-table-card thead tr {
    background: #f4f5f7 !important;
}

.data-table-card th,
.data-table-card td {
    padding: 12px 10px;
    vertical-align: top;
}

body.route-invitation .main-content {
    padding-top: 18px;
}

.invitation-hero-card {
    background:
        radial-gradient(circle at top right, rgba(23, 215, 246, 0.12), transparent 26%),
        linear-gradient(180deg, #ffffff, #fbfcff);
}

.invitation-banner {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
}

.invitation-banner img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.invitation-banner-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 20px 18px 18px;
    background: linear-gradient(180deg, rgba(4, 10, 20, 0.02), rgba(4, 10, 20, 0.82));
    color: #fff;
}

.invitation-banner-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 6px;
}

.invitation-banner-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
    max-width: 220px;
}

.invitation-hero-actions {
    display: grid;
    gap: 10px;
}

.invitation-start-btn {
    background: linear-gradient(135deg, #0f172a, #173a69);
}

.invitation-help-text {
    text-align: center;
    color: #7a8495;
    font-size: 13px;
    line-height: 1.5;
}

.invitation-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.invitation-stat-card {
    position: relative;
    padding: 18px 16px;
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(255, 51, 102, 0.08), transparent 28%),
        linear-gradient(180deg, #ffffff, #fcfcfd);
    border: 1px solid rgba(17, 17, 17, 0.05);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
}

.invitation-stat-card.balance-card-last {
    grid-column: 1 / -1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.invitation-stat-icon {
    margin-bottom: 12px;
}

.invitation-stat-card .mini-stat-label {
    margin-bottom: 10px;
    font-size: 12px;
}

.invitation-stat-card .mini-stat-value {
    font-size: 24px;
}

.invitation-rules-card {
    background:
        radial-gradient(circle at top left, rgba(255, 51, 102, 0.08), transparent 24%),
        linear-gradient(180deg, #ffffff, #fbfbfd);
}

.invitation-rules-head {
    margin-bottom: 12px;
}

body.route-invitation .info-list {
    gap: 10px;
}

body.route-invitation .info-list-item {
    position: relative;
    padding: 14px 16px 14px 44px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f9fafc, #f5f7fb);
    color: #4b5563;
}

body.route-invitation .info-list-item strong {
    position: absolute;
    left: 16px;
    top: 14px;
    color: var(--theme-primary);
}

.task-popup-toast {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    min-width: 320px;
    max-width: 90vw;
    padding: 0;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

#task-popup-layer {
    display: none;
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483647;
    width: 100vw;
    min-height: 100vh;
    height: 100dvh;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

#task-popup-layer .task-popup-toast {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    margin: 0 !important;
    transform: none !important;
    pointer-events: auto;
}

/* Fallback for mobile WebViews that do not support env(safe-area-inset-*). */
body.route-get-task #task-popup-layer #popup-toast {
    position: fixed !important;
    top: initial !important;
    right: auto !important;
    bottom: 120px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.task-popup-close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 28px;
    height: 28px;
    background: #111;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    z-index: 10;
}

.task-popup-content {
    padding: 20px 22px;
    text-align: center;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    font-weight: 600;
}

.task-insufficient-popup-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    margin: 0 auto 8px;
    border-radius: 13px;
    background: #fff0d9;
    color: #d88913;
    font-size: 17px;
}

.task-insufficient-popup-title,
.task-insufficient-popup-text,
.task-insufficient-popup-amount {
    display: block;
}

.task-insufficient-popup-title {
    margin-bottom: 2px;
    color: #173f36;
    font-size: 17px;
}

.task-insufficient-popup-text {
    color: #6b837c;
    font-size: 12px;
}

.task-insufficient-popup-amount {
    margin: 1px 0 3px;
    color: #c77b12;
    font-size: 20px;
    line-height: 1.25;
}

.insufficient-balance-dialog {
    width: min(320px, calc(100vw - 32px));
    margin: auto;
    padding: 20px 22px;
    border: 0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 44px rgba(10, 54, 45, 0.25);
    color: #17483d;
    text-align: center;
}

.insufficient-balance-dialog::backdrop {
    background: rgba(4, 47, 39, 0.18);
}

.insufficient-balance-dialog .task-insufficient-popup-icon {
    margin-bottom: 8px;
}

.insufficient-dialog-close {
    position: absolute;
    top: 8px;
    right: 9px;
    width: 27px;
    height: 27px;
    border: 0;
    border-radius: 50%;
    background: #eef7f4;
    color: #176f5b;
    font: inherit;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 767px) {
    .task-popup-toast {
        inset: auto !important;
        top: 50% !important;
        right: auto !important;
        bottom: auto !important;
        left: 50% !important;
        width: calc(100vw - 32px);
        height: auto;
        min-width: 0;
        max-width: 360px;
        margin: 0;
        transform: translate(-50%, -50%) !important;
    }

    #task-popup-layer .task-popup-toast {
        width: calc(100vw - 32px);
        min-width: 0;
        max-width: 360px;
    }
}

.task-focus-card {
    padding: 20px;
    margin-bottom: 18px;
    text-align: center;
}

.task-focus-image-shell {
    width: 96px;
    height: 96px;
    margin: 0 auto 16px;
    border-radius: 24px;
    overflow: hidden;
    background: #f5f5f6;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.task-focus-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.task-focus-status {
    text-align: center;
    font-size: 28px;
    color: #7ed957;
    margin-bottom: 10px;
}

.task-focus-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 10px;
}

.task-focus-name {
    text-align: center;
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 8px;
}

.task-focus-price {
    text-align: center;
    color: #ff5c5c;
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 18px;
}

.task-focus-details,
.task-modal-details {
    padding: 14px;
    border-radius: 18px;
    background: #fafafa;
    margin-bottom: 16px;
    border: 1px solid rgba(17, 17, 17, 0.05);
}

.task-earn-value {
    color: var(--theme-primary);
}

.paid-task-card {
    opacity: 0.84;
}

.paid-task-image {
    filter: grayscale(1);
}

.paid-task-pill {
    margin-bottom: 8px;
}

.paid-task-time {
    font-size: 12px;
    color: #7b7f87;
    margin-top: 8px;
}

.task-payment-modal {
    display: none;
    position: fixed;
    inset: 0;
    padding: 18px;
    background: rgba(4, 8, 18, 0.72);
    backdrop-filter: blur(8px);
    z-index: 1000;
}

.task-payment-dialog {
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 24px 20px 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 28px;
    width: calc(100% - 32px);
    max-width: 358px;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.task-payment-head {
    text-align: center;
    margin-bottom: 18px;
}

.task-payment-head h3 {
    margin: 0;
    font-size: 21px;
    letter-spacing: -0.02em;
}

.task-payment-info {
    margin-bottom: 20px;
}

.task-review-rating {
    margin: 0 0 20px;
    padding: 15px 12px;
    border: 1px solid rgba(18, 18, 18, 0.07);
    border-radius: 18px;
    background: linear-gradient(180deg, #fffdf6, #fff8dc);
    text-align: center;
}

.task-review-label {
    margin-bottom: 12px;
    color: #595959;
    font-size: 13px;
    font-weight: 600;
}

.task-review-stars {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
}

.task-review-stars .task-review-star {
    appearance: none;
    -webkit-appearance: none;
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    min-width: 46px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    outline: none;
    background: transparent;
    color: #d9d9d9;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 39px;
    font-weight: 400;
    line-height: 1;
    box-shadow: none;
    touch-action: manipulation;
    transition: color 0.15s ease, transform 0.15s ease, filter 0.15s ease;
}

.task-review-stars .task-review-star:hover,
.task-review-stars .task-review-star.selected {
    color: #ffc107;
    filter: drop-shadow(0 4px 5px rgba(255, 193, 7, 0.25));
}

.task-review-stars .task-review-star:hover {
    transform: scale(1.08);
}

.task-review-stars .task-review-star:focus-visible {
    outline: 3px solid rgba(var(--theme-primary-rgb), 0.25);
    outline-offset: 1px;
}

.task-payment-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.task-payment-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.task-payment-btn {
    flex: 1;
    min-height: 50px;
    border-radius: 16px;
}

.task-modal-product {
    text-align: center;
}

.task-modal-image-shell {
    width: 92px;
    height: 92px;
    margin: 0 auto 14px;
    border-radius: 20px;
    overflow: hidden;
}

.task-modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.task-modal-name {
    margin: 0 0 8px;
}

.task-modal-price {
    color: #ff5c5c;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
}

body.route-recharge .recharge-container,
body.route-withdrawal .transaction-form,
body.route-transfer .transaction-form,
body.route-add_card .card-form,
body.route-about .main-content,
body.route-language .main-content {
    padding-top: 4px;
}

body.route-recharge .recharge-container {
    max-width: none;
    margin: 0;
    padding: 0;
}

body.route-recharge .recharge-form,
body.route-recharge .recharge-history,
body.route-recharge .bank-section,
body.route-recharge .screenshot-area {
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(17, 17, 17, 0.06);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

body.route-recharge .recharge-record {
    float: none !important;
    margin: 0 0 14px auto !important;
}

body.route-recharge .recharge-form {
    padding: 18px;
}

body.route-recharge .amount-btn {
    border-color: rgba(17, 17, 17, 0.12);
    color: #111;
}

body.route-recharge .amount-btn:hover,
body.route-recharge .amount-btn.selected {
    background: #111;
    color: #fff;
}

body.route-recharge #amountInput,
body.route-recharge #usdtAmountInput {
    min-height: 52px;
    margin: 0;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 14px;
    background: #fff;
    padding: 0 14px;
}

body.route-recharge .btn-recharge {
    background: #111;
}

body.route-recharge .btn-recharge:hover {
    background: #000;
}

.balance-hero-grid,
.balance-grid,
.stats-grid,
.metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.balance-card,
.metric-card,
.stats-chip {
    border-radius: 18px;
    padding: 14px;
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.05);
}

.balance-card.balance-card-last {
    grid-column: 1 / -1;
}

.balance-hero-grid > .metric-card:only-child {
    grid-column: 1 / -1;
}

.metric-card.dark {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    color: #fff;
    backdrop-filter: blur(8px);
    border-color: rgba(255, 255, 255, 0.1);
}

.metric-card.dark .metric-label {
    font-size: 11px;
    margin-bottom: 4px;
}

.metric-card.dark .metric-value {
    font-size: 20px;
}

.metric-label,
.balance-label,
.card-title {
    display: block;
    color: #8c8f98;
    font-size: 12px;
    margin-bottom: 6px;
}

.metric-card.dark .metric-label {
    color: rgba(255, 255, 255, 0.68);
}

.metric-value,
.balance-amount,
.card-amount,
.balance-value {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
}

.metric-vip-value {
    display: inline-flex;
    align-items: center;
}

.metric-card.dark .vip-chip {
    box-shadow: none;
}

.quick-actions,
.action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.action-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.action-tile,
.quick-link {
    min-height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    color: #111;
    background: linear-gradient(135deg, #fff0da, #fff7ef);
    border: 1px solid rgba(247, 178, 43, 0.18);
    box-shadow: 0 14px 26px rgba(247, 178, 43, 0.12);
}

.action-tile i,
.quick-link i {
    width: 20px;
    flex: 0 0 20px;
    text-align: center;
    font-size: 18px;
    line-height: 1;
}

.action-tile.alt {
    background: linear-gradient(135deg, #ffe7ee, #fff5f8);
    border-color: rgba(255, 51, 102, 0.16);
}

.action-tile.dark-banner {
    grid-column: 1 / -1;
    justify-content: space-between;
    padding: 18px;
    min-height: 78px;
    background: linear-gradient(135deg, #08111f, #17365d);
    color: #fff;
    box-shadow: 0 20px 36px rgba(8, 17, 31, 0.2);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 4px 18px;
    color: #111827;
}

.profile-avatar img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.18);
    object-fit: cover;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.profile-info h2,
.username-vip {
    font-size: 24px;
    color: #111827;
    margin-bottom: 6px;
}

.profile-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.profile-name-row .username-vip {
    margin-bottom: 0;
}

.profile-subline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.06);
    color: #374151;
    font-size: 12px;
}

.profile-subline strong {
    color: #111827;
    font-weight: 800;
}

.profile-copy-btn {
    border: 0;
    width: 28px;
    min-height: 28px;
    padding: 0;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.08);
    color: #111827;
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.profile-copy-btn:hover {
    background: rgba(17, 24, 39, 0.14);
}

.profile-copy-btn i {
    font-size: 12px;
    line-height: 1;
}

.vip-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffba08, #ff8b08);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

.vip-chip i {
    font-size: 11px;
    line-height: 1;
}

.vip-tier-0 {
    background: linear-gradient(135deg, #6b7280, #4b5563);
}

.vip-tier-1 {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.vip-tier-2 {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

.vip-tier-3 {
    background: linear-gradient(135deg, #06b6d4, #2563eb);
}

.vip-tier-4 {
    background: linear-gradient(135deg, #10b981, #059669);
}

.vip-tier-5 {
    background: linear-gradient(135deg, #ef4444, #f59e0b);
}

.menu-list,
.settings-list {
    list-style: none;
}

.menu-item,
.settings-list a {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 54px;
    padding: 0 16px;
    text-decoration: none;
    color: #111;
    border-bottom: 1px solid rgba(17, 17, 17, 0.06);
    font-size: 14px;
}

.settings-list a > span:not(.menu-icon) {
    flex: 1;
    min-width: 0;
}

.settings-list a > i:last-child {
    margin-left: auto;
    color: #a0a4ad;
    flex: 0 0 14px;
    text-align: center;
    font-size: 12px;
    line-height: 1;
}

.menu-item:last-child,
.settings-list li:last-child a {
    border-bottom: 0;
}

.menu-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255, 51, 102, 0.07);
    color: var(--theme-primary);
}

.menu-icon i {
    display: block;
    line-height: 1;
    font-size: 16px;
}

.task-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 7px;
    background: #fff;
    border-radius: 20px;
    margin-bottom: 16px;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.07);
}

.tab-btn {
    min-height: 42px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #969aa3;
    font-family: inherit;
    font-weight: 700;
}

.tab-btn.active {
    background: linear-gradient(135deg, #101926, #1e3d68);
    color: #fff;
    box-shadow: 0 12px 24px rgba(16, 25, 38, 0.18);
}

.task-list {
    display: none;
}

.task-list.active {
    display: block;
}

.task-media-card {
    display: flex;
    gap: 12px;
    padding: 15px;
    border-radius: 22px;
    background: #fff;
    margin-bottom: 14px;
    border: 1px solid rgba(17, 17, 17, 0.05);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.07);
}

.task-media-card img,
.task-thumb {
    width: 78px;
    height: 78px;
    object-fit: cover;
    border-radius: 16px;
    background: #f1f1f3;
}

.task-meta {
    flex: 1;
    min-width: 0;
}

.task-meta h4,
.task-meta strong {
    font-size: 14px;
    line-height: 1.45;
}

.task-description {
    font-size: 12px;
    color: #72757e;
    margin: 4px 0 8px;
}

.task-price-row,
.detail-row,
.info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    font-size: 13px;
}

.status-pill,
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 51, 102, 0.1);
    color: var(--theme-primary);
    font-size: 12px;
    font-weight: 800;
}

.task-section-title {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 14px;
}

.section-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 51, 102, 0.08);
    color: var(--theme-primary);
    font-size: 12px;
    font-weight: 700;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.product-card {
    background: linear-gradient(180deg, #fff, #fcfcfd);
    border: 1px solid rgba(17, 17, 17, 0.05);
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.product-card .task-thumb {
    width: 100%;
    height: 112px;
    margin-bottom: 12px;
}

.product-name {
    font-size: 13px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 38px;
}

.product-price {
    margin-top: 10px;
    color: #ff7a00;
    font-weight: 800;
    font-size: 18px;
}

.transaction-feed {
    list-style: none;
}

.transaction-item {
    padding: 13px 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.transaction-item:last-child {
    border-bottom: 0;
}

.transaction-item strong {
    font-size: 14px;
}

.transaction-item span:last-child {
    color: #4c5563;
}

.quick-start-card {
    padding: 18px;
    margin-bottom: 16px;
    background:
        radial-gradient(circle at top right, rgba(23, 215, 246, 0.14), transparent 28%),
        linear-gradient(135deg, #0c1830, #163960);
    color: #fff;
    border-color: rgba(23, 215, 246, 0.16);
    box-shadow: 0 20px 36px rgba(12, 24, 48, 0.2);
}

.quick-start-copy {
    margin-bottom: 14px;
}

.quick-start-kicker {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.76);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.quick-start-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 8px;
}

.quick-start-note {
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
    line-height: 1.55;
}

.quick-start-cta {
    margin-top: 0;
    background: linear-gradient(90deg, #2fa8ff, #1ad6df);
    box-shadow: 0 16px 30px rgba(26, 214, 223, 0.22);
}

.summary-board {
    padding: 18px;
    overflow: hidden;
    margin-bottom: 16px;
    background:
        radial-gradient(circle at top right, rgba(23, 215, 246, 0.1), transparent 28%),
        linear-gradient(180deg, #ffffff, #fbfcff);
}

.summary-board-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.summary-board-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #7b8798;
    margin-bottom: 6px;
}

.summary-board-head strong {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #101926;
}

.summary-board-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(14, 165, 255, 0.1);
    color: #0f7ac7;
    font-size: 12px;
    font-weight: 800;
}

.summary-board-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.summary-stat-card {
    padding: 16px 14px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0b2344, #173965);
    color: #fff;
    box-shadow: 0 16px 28px rgba(11, 35, 68, 0.14);
}

.summary-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 8px;
}

.summary-board-value {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.summary-board-body {
    padding: 4px 0 0;
    border-top: 1px solid rgba(17, 17, 17, 0.06);
}

.summary-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.05);
}

.summary-detail-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.summary-detail-row span {
    color: #697386;
}

.summary-detail-row strong {
    color: #111827;
    font-weight: 800;
}

.summary-accent-warm {
    color: #ff7a00 !important;
}

.summary-accent-cool {
    color: #0ea5ff !important;
}

.empty-card {
    padding: 18px;
    text-align: center;
    color: #6b7280;
}

.profile-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.profile-summary-title {
    font-size: 16px;
    font-weight: 800;
}

.profile-total-assets {
    margin-bottom: 14px;
}

.profile-total-assets strong {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.profile-income-card .metric-label {
    color: rgba(255, 255, 255, 0.62);
    font-size: 11px;
}

.profile-income-card strong {
    font-size: 20px;
}

.banner-copy-title {
    font-size: 18px;
    font-weight: 800;
}

.banner-copy-subtitle {
    font-size: 14px;
    opacity: 0.92;
}

.banner-orb {
    width: 38px;
    height: 38px;
    display: grid;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 50%;
    background: rgba(23, 215, 246, 0.45);
    color: #fff;
    font-size: 15px;
}

.amount-grid,
.quick-amounts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.amount-btn {
    min-height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(17, 17, 17, 0.12);
    background: #fff;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
}

.amount-btn.active,
.amount-btn.selected,
.amount-btn:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

.screenshot-area,
.upload-area,
.withdrawal-info,
.bank-section {
    background: #fff;
    border-radius: 20px;
    padding: 16px;
    border: 1px solid rgba(17, 17, 17, 0.06);
    margin-bottom: 14px;
}

.recharge-container,
.change-password-container {
    padding: 8px 0 28px;
}

.recharge-record {
    float: none !important;
    margin: 0 0 16px auto !important;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    text-align: left;
    padding: 10px 8px;
    font-size: 12px;
}

thead tr {
    background: #f4f4f6 !important;
}

tbody tr {
    background: #fff;
    border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    width: min(366px, calc(100% - 16px));
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 24px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(18px);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #8f9198;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
}

.nav-item i {
    font-size: 22px;
}

.nav-item.active {
    color: #111;
    transform: translateY(-2px);
}

.nav-item-center i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--theme-cyan), var(--theme-primary));
    color: #fff;
    box-shadow: 0 10px 20px rgba(255, 51, 102, 0.22);
}

.page-preloader {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader-circle,
.loading {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 4px solid rgba(255, 51, 102, 0.12);
    border-top-color: var(--theme-primary);
    animation: spin 0.9s linear infinite;
}

.loader-mark {
    position: relative;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
}

.loader-mark .loader-circle {
    width: 64px;
    height: 64px;
}

.loader-logo {
    position: absolute;
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 50%;
}

.page-preloader p {
    margin-top: 14px;
    font-weight: 600;
    color: #555;
}

.fade-in {
    animation: fadeIn 0.35s ease;
    position: relative;
    z-index: 1;
}

/* Travel-review inspired authentication screens */
body.auth-page {
    background: #eef5f3;
}

body.auth-page .app-container {
    width: 100%;
    max-width: 430px;
    background: #eef5f3;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
}

body.auth-page .app-container::-webkit-scrollbar {
    display: none;
}

body.auth-page .app-header {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: min(430px, 100%);
    padding: 12px 16px;
    background: #eef5f3;
    border-bottom: 1px solid #d8e9e3;
    box-shadow: 0 6px 16px rgba(5, 42, 37, 0.06);
    backdrop-filter: none;
}

body.auth-page .header-content {
    min-height: 48px;
    padding: 6px 10px 6px 14px;
    background: rgba(255, 255, 255, 0.90);
    border-color: rgba(255, 255, 255, 0.58);
    box-shadow: 0 10px 28px rgba(5, 42, 37, 0.16);
}

body.auth-page .header-brand {
    min-width: 0;
}

body.auth-page .app-title {
    font-size: 16px;
    color: #143c35;
    max-width: calc(100vw - 190px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.auth-page .language-selector {
    min-height: 34px;
    padding: 0 9px;
    color: #175d50;
    background: #eef7f4;
    border-color: #d7e9e3;
}

body.auth-page .language-trigger {
    min-width: 88px;
    font-size: 11px;
}

.travel-auth {
    min-height: 100%;
    padding: 0 0 28px;
}

.travel-hero {
    position: relative;
    min-height: clamp(320px, 50vh, 370px);
    overflow: hidden;
    color: #fff;
    background: #0b3d35;
}

.travel-hero::before,
.travel-hero::after {
    content: '';
    position: absolute;
    inset: 0;
}

.travel-hero::before {
    background:
        linear-gradient(180deg, rgba(4, 37, 32, 0.28) 0%, rgba(3, 36, 31, 0.20) 34%, rgba(2, 39, 33, 0.84) 100%),
        url('/assets/images/bg1.jpg') center / cover no-repeat;
    transform: scale(1.03);
}

.travel-hero::after {
    inset: auto -15% -78px;
    height: 154px;
    border-radius: 50% 50% 0 0;
    background: #eef5f3;
}

.travel-hero-content {
    position: relative;
    z-index: 1;
    min-height: clamp(320px, 50vh, 370px);
    padding: 103px 24px 54px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.travel-brand {
    position: absolute;
    top: 26px;
    left: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.travel-brand-mark {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border-radius: 10px;
    background: #38b58b;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 7px 18px rgba(1, 30, 24, 0.24);
}

.travel-eyebrow,
.travel-form-kicker {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.10em;
}

.travel-eyebrow {
    width: fit-content;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #f8e17d;
    backdrop-filter: blur(8px);
}

.travel-hero-copy h2 {
    margin: 12px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.travel-hero-copy p {
    max-width: 280px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    line-height: 1.55;
}

.travel-place-card {
    position: absolute;
    right: 20px;
    top: 112px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px 9px 9px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(3, 26, 22, 0.14);
}

.travel-place-icon {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border-radius: 9px;
    background: #fff;
    color: #157461;
    font-size: 12px;
}

.travel-place-card strong,
.travel-place-card small {
    display: block;
}

.travel-place-card strong {
    font-size: 10px;
    line-height: 1.2;
}

.travel-place-card small {
    margin-top: 2px;
    font-size: 8px;
    color: rgba(255, 255, 255, 0.80);
}

.travel-card.auth-card,
.auth-card.compact-center.travel-card {
    width: calc(100% - 24px);
    min-height: 0;
    margin: -36px auto 0;
    padding: 24px 20px 22px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 46px rgba(7, 54, 45, 0.18);
}

.travel-card .travel-card-handle {
    width: 38px;
    height: 4px;
    margin: -7px auto 16px;
    border-radius: 999px;
    background: #d7e5e0;
}

.travel-card .auth-heading {
    margin-bottom: 21px;
    text-align: left;
}

.travel-form-kicker {
    color: #1a8a70;
}

.travel-card .auth-heading h3 {
    margin: 5px 0 5px;
    color: #153c35;
    font-size: 24px;
    letter-spacing: -0.04em;
}

.travel-card .auth-heading p {
    color: #70847f;
    font-size: 12px;
}

.travel-card .auth-form {
    gap: 11px;
}

.travel-card .form-group .input-shell {
    min-height: 53px;
    border: 1px solid #dfebe7;
    border-radius: 14px;
    background: #f7faf9;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.travel-card .form-group .input-shell:focus-within {
    border-color: #3db28d;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(54, 173, 135, 0.12);
}

.travel-card .input-icon {
    width: 43px;
    color: #29816e;
    opacity: 1;
}

.travel-card .form-group input {
    min-height: 51px;
    padding-right: 10px;
    font-size: 16px;
}

.travel-card .input-action {
    color: #72928a;
}

.travel-submit.btn-primary {
    min-height: 54px;
    margin-top: 5px;
    border-radius: 14px;
    background: linear-gradient(135deg, #167b64, #2aae83);
    box-shadow: 0 10px 18px rgba(22, 123, 100, 0.25);
}

.travel-submit.btn-primary:hover {
    background: linear-gradient(135deg, #106b56, #249875);
    box-shadow: 0 13px 22px rgba(22, 123, 100, 0.30);
}

.travel-submit .btn-arrow {
    margin-left: 8px;
    font-size: 21px;
    font-weight: 400;
    line-height: 0;
}

.travel-card .auth-divider {
    margin: 2px 0;
    color: #91a49f;
    font-size: 10px;
}

.travel-card .auth-divider::before,
.travel-card .auth-divider::after {
    background: #e3ece9;
}

.travel-secondary.btn-outline {
    min-height: 50px;
    border-color: #cfe1db;
    border-radius: 14px;
    color: #216a5b;
    background: #fff;
    font-size: 14px;
}

.travel-secondary.btn-outline:hover {
    background: #f1f8f5;
}

.travel-auth-register .travel-hero,
.travel-auth-register .travel-hero-content {
    min-height: clamp(270px, 42vh, 310px);
}

.travel-auth-register .travel-hero-content {
    padding-top: 91px;
    padding-bottom: 42px;
}

.travel-auth-register .travel-hero::after {
    bottom: -96px;
}

.travel-auth-register .travel-hero-copy h2 {
    font-size: 27px;
}

.travel-auth-register .travel-card.auth-card {
    margin-top: -26px;
}

.auth-site-footer {
    margin: 12px 16px 26px;
    padding: 18px 16px 16px;
    border: 1px solid #d6e9e2;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 26px rgba(17, 91, 72, 0.08);
    color: #78918b;
    text-align: center;
}

.auth-footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.auth-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    color: #173f36;
    text-align: left;
    text-decoration: none;
}

.auth-footer-logo {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    overflow: hidden;
    border: 1px solid #cde8de;
    border-radius: 16px;
    background: linear-gradient(145deg, #f4fffa, #dff5eb);
}

.auth-footer-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.auth-footer-brand-copy {
    display: grid;
    gap: 2px;
}

.auth-footer-brand-copy strong {
    font-size: 15px;
    letter-spacing: -0.02em;
}

.auth-footer-brand-copy small {
    color: #6a877e;
    font-size: 10px;
    font-weight: 600;
}

.auth-footer-copyright {
    margin: 13px 0 0;
    padding-top: 10px;
    border-top: 1px solid #e2eee9;
    font-size: 10px;
    line-height: 1.5;
}

.auth-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 5px;
    margin-top: 10px;
    white-space: nowrap;
}

.auth-footer-links a {
    color: #4e756b;
    font-size: 9px;
    font-weight: 700;
    text-decoration: none;
}

.auth-footer-links a:hover {
    color: #17765f;
    text-decoration: underline;
}

.auth-footer-separator {
    color: #a4bdb5;
    font-size: 9px;
}

@media (max-width: 359px) {
    .auth-footer-links {
        gap: 4px;
    }
}

/* Public legal pages */
.legal-page {
    min-height: 100%;
    padding: 18px 16px 26px;
}

.legal-card {
    padding: 25px 20px 22px;
    border: 1px solid #d5e9e1;
    border-radius: 25px;
    background: linear-gradient(180deg, #ffffff, #f7fcfa);
    box-shadow: 0 18px 38px rgba(8, 72, 57, 0.10);
}

.legal-home-link {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    align-items: center;
    margin-bottom: 0;
    border: 1px solid #cfe7dd;
    border-radius: 14px;
    background: #eff9f5;
    color: #176f5b;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.legal-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 17px;
}

.legal-home-link:hover,
.legal-home-link:focus-visible {
    background: #dff3eb;
    color: #0d5848;
    text-decoration: none;
    transform: translateX(-2px);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.legal-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 0;
    border-radius: 15px;
    background: #dff4eb;
    color: #187f67;
    font-size: 19px;
}

.legal-icon svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.legal-kicker {
    color: #248b72;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.11em;
}

.legal-card h2 {
    margin: 6px 0 8px;
    color: #173f36;
    font-size: 25px;
    letter-spacing: -0.04em;
}

.legal-intro {
    margin-bottom: 20px;
    color: #648078;
    font-size: 13px;
    line-height: 1.6;
}

.legal-card section {
    padding: 15px 0;
    border-top: 1px solid #e0eee9;
}

.legal-card section h3 {
    margin-bottom: 6px;
    color: #1c4b40;
    font-size: 14px;
}

.legal-card section p {
    color: #617b74;
    font-size: 12px;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .legal-page {
        padding-top: 12px;
    }
}

/* Unified WayPoint experience for all signed-in pages */
body.user-page,
body.route-home,
body.route-tasks,
body.route-invitation,
body.route-recharge,
body.route-withdrawal,
body.route-transfer,
body.route-profile,
body.route-add_card,
body.route-about,
body.route-language,
body.route-change-password,
body.route-bankcard {
    background:
        radial-gradient(circle at 86% 4%, rgba(55, 181, 140, 0.18), transparent 25%),
        linear-gradient(180deg, #123d35 0, #1b594b 170px, #edf6f3 170px, #edf6f3 100%);
}

body.user-page .app-container {
    width: 100%;
    max-width: 430px;
    background: #edf6f3;
    box-shadow: 0 26px 70px rgba(7, 52, 43, 0.20);
}

body.user-page .app-header {
    width: min(430px, 100%);
    background: linear-gradient(180deg, rgba(10, 54, 45, 0.88), rgba(10, 54, 45, 0.25));
}

body.user-page .header-content {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 28px rgba(2, 35, 29, 0.16);
}

body.user-page .header-brand-logo {
    background: transparent;
    box-shadow: none;
}

body.user-page .header-brand-kicker,
body.user-page .app-title,
body.user-page .language-selector,
body.user-page .language-trigger,
body.user-page .notification-icon {
    color: #fff;
}

body.user-page .language-selector,
body.user-page .notification-icon {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.18);
}

body.user-page .main-content {
    display: block;
    height: calc(100dvh - 166px);
    padding: 14px 16px 28px;
}

.user-site-footer {
    margin: 18px 0 0px;
    box-shadow: 0 14px 30px rgba(12, 79, 62, 0.10);
}

body.user-page .content-card,
body.user-page .settings-panel,
body.user-page .change-password-form,
body.user-page .recharge-history,
body.user-page .bank-list-card,
body.user-page .transaction-card,
body.user-page .marquee-card,
body.user-page .partner-card,
body.user-page .info-section,
body.user-page .overview-card,
body.user-page .task-media-card,
body.user-page .task-tabs,
body.user-page .screenshot-area,
body.user-page .upload-area,
body.user-page .withdrawal-info,
body.user-page .bank-section {
    border-color: #d7e9e3;
    background: linear-gradient(180deg, #ffffff, #f9fcfb);
    box-shadow: 0 14px 30px rgba(11, 73, 60, 0.09);
}

body.user-page .content-card::before,
body.user-page .settings-panel::before,
body.user-page .change-password-form::before,
body.user-page .recharge-history::before,
body.user-page .bank-list-card::before,
body.user-page .transaction-card::before {
    background: linear-gradient(180deg, rgba(47, 177, 136, 0.10), rgba(255, 255, 255, 0));
}

body.user-page .home-hero,
body.user-page .dashboard-topbar,
body.user-page .profile-summary-card,
body.user-page .quick-start-card {
    border-color: rgba(117, 218, 180, 0.25);
    background:
        radial-gradient(circle at top right, rgba(119, 226, 184, 0.20), transparent 32%),
        linear-gradient(135deg, #0e493d, #1d7862);
    box-shadow: 0 20px 38px rgba(8, 63, 51, 0.23);
}

body.user-page .home-hero {
    border-radius: 0 0 30px 30px;
}

body.user-page .dashboard-ticker {
    border-color: rgba(146, 233, 198, 0.26);
    background: rgba(4, 47, 39, 0.44);
}

body.user-page .ticker-icon,
body.user-page .ticker-track span::after {
    color: #72ddb7;
    background-color: #72ddb7;
}

body.user-page .welcome-line {
    color: #b7f4d6;
}

body.user-page .hero-cta,
body.user-page .quick-start-cta,
body.user-page .btn-recharge,
body.user-page #withdrawButton,
body.user-page .btn-change-password {
    background: linear-gradient(135deg, #178066, #35b98e);
    box-shadow: 0 12px 24px rgba(20, 128, 103, 0.25);
}

body.user-page .feature-icon,
body.user-page .page-header-icon,
body.user-page .menu-icon {
    background: rgba(49, 177, 136, 0.12);
    color: #187d66;
}

body.user-page .action-tile,
body.user-page .quick-link {
    color: #155746;
    border-color: #d1e8df;
    background: linear-gradient(135deg, #e7f7f1, #f8fdfb);
    box-shadow: 0 12px 24px rgba(29, 126, 102, 0.08);
}

body.user-page .action-tile.alt {
    color: #13735f;
    background: linear-gradient(135deg, #dff5ed, #f8fdfb);
    border-color: #c9e8dc;
}

body.user-page .action-tile.dark-banner,
body.user-page .partner-card.partner-dark {
    background:
        radial-gradient(circle at top right, rgba(123, 235, 194, 0.18), transparent 30%),
        linear-gradient(135deg, #0e493d, #196b57);
    box-shadow: 0 18px 32px rgba(8, 63, 51, 0.20);
}

body.user-page .tab-btn.active,
body.user-page .amount-btn.active,
body.user-page .amount-btn.selected,
body.user-page .amount-btn:hover {
    background: linear-gradient(135deg, #126d59, #249a78);
    border-color: #126d59;
    box-shadow: 0 10px 20px rgba(18, 109, 89, 0.18);
}

body.user-page .summary-stat-card {
    background: linear-gradient(135deg, #145f4f, #218369);
    box-shadow: 0 14px 25px rgba(12, 83, 67, 0.16);
}

body.user-page .summary-board-badge,
body.user-page .status-pill,
body.user-page .badge,
body.user-page .section-kicker {
    background: rgba(35, 157, 121, 0.12);
    color: #147b63;
}

body.user-page .summary-board-head strong,
body.user-page .summary-detail-row strong,
body.user-page .profile-info h2,
body.user-page .username-vip,
body.user-page .profile-subline strong {
    color: #163f36;
}

body.user-page .summary-accent-warm,
body.user-page .summary-accent-cool,
body.user-page .product-price {
    color: #178168 !important;
}

body.user-page .profile-subline {
    background: #e3f2ed;
    color: #3d6c61;
}

body.user-page .bottom-nav {
    width: min(406px, calc(100% - 18px));
    border-color: rgba(19, 108, 86, 0.13);
    box-shadow: 0 18px 40px rgba(7, 62, 49, 0.16);
}

body.user-page .nav-item.active {
    color: #14775f;
}

body.user-page .nav-item-center i {
    background: linear-gradient(135deg, #168168, #48c496);
    box-shadow: 0 10px 20px rgba(22, 129, 104, 0.25);
}

/* Travel-review home content */
body.route-home .main-content {
    padding-top: 0;
}

body.user-page .travel-home-hero {
    min-height: 332px;
    margin: 0 -16px 18px;
    padding: 116px 22px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
        linear-gradient(180deg, rgba(3, 43, 35, 0.16) 0%, rgba(4, 57, 46, 0.24) 36%, rgba(2, 54, 43, 0.93) 100%),
        url('/assets/images/bg1.jpg') center / cover no-repeat;
}

.travel-home-hero::before {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.10), transparent 70%);
}

.travel-home-hero-copy {
    position: relative;
    z-index: 1;
}

.travel-home-kicker,
.travel-section-heading > div > span,
.travel-home-intro > div > span,
.travel-guide-card span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #bdf4da;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.travel-home-kicker {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
}

.travel-home-hero h2 {
    max-width: 285px;
    margin: 12px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.travel-home-hero p {
    max-width: 285px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    line-height: 1.55;
}

body.user-page .travel-home-cta {
    position: relative;
    z-index: 1;
    min-height: 50px;
    margin-top: 18px;
    border-radius: 14px;
    background: #fff;
    color: #176b58;
    box-shadow: 0 12px 22px rgba(2, 42, 33, 0.18);
}

.travel-bot-feed {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    margin: 0 0 18px;
    padding: 9px 12px;
    border: 1px solid #cbe8dd;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 22px rgba(9, 69, 56, 0.07);
    overflow: hidden;
}

.travel-bot-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #dff4eb;
    color: #187e66;
    font-size: 15px;
}

.travel-bot-copy {
    min-width: 0;
    flex: 1;
}

.travel-bot-copy strong {
    display: block;
    margin-bottom: 2px;
    color: #19473d;
    font-size: 11px;
}

.travel-bot-copy .ticker-track {
    gap: 20px;
    color: #66847b;
    animation-duration: 32s;
}

.travel-bot-copy .ticker-track span {
    padding-right: 18px;
    font-size: 10px;
}

.travel-bot-copy .ticker-track span::after {
    right: 6px;
    width: 5px;
    height: 5px;
    background: #43b98e;
}

.travel-bot-live {
    color: #25896f;
    font-size: 9px;
    font-weight: 800;
}

.travel-bot-live i {
    margin-right: 3px;
    font-size: 7px;
}

.travel-home-intro {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 18px;
}

.travel-home-intro-icon,
.travel-guide-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #dff4eb;
    color: #168067;
}

.travel-home-intro > div > span {
    color: #23876f;
}

.travel-home-intro h3,
.travel-guide-card h3 {
    margin: 5px 0 5px;
    color: #163f36;
    font-size: 16px;
    line-height: 1.3;
}

.travel-home-intro p,
.travel-guide-card p {
    color: #688078;
    font-size: 12px;
    line-height: 1.55;
}

.travel-section {
    margin-bottom: 18px;
}

.travel-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin: 0 4px 11px;
}

.travel-section-heading > div > span {
    color: #2c947b;
}

.travel-section-heading h3 {
    margin-top: 4px;
    color: #183e36;
    font-size: 19px;
    letter-spacing: -0.03em;
}

.travel-section-heading > i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #dff3eb;
    color: #197e66;
    font-size: 13px;
}

.travel-place-list {
    display: grid;
    gap: 10px;
}

.travel-review-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 88px;
    padding: 12px;
    border: 1px solid #d9ebe5;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 22px rgba(9, 69, 56, 0.07);
}

.travel-place-art {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    color: #fff;
    font-size: 22px;
    background: linear-gradient(135deg, #258a70, #5ac79e);
}

.travel-review-card.sunset .travel-place-art {
    background: linear-gradient(135deg, #df9363, #f5c178);
}

.travel-review-card.ocean .travel-place-art {
    background: linear-gradient(135deg, #2e8490, #62c3b0);
}

.travel-place-copy {
    flex: 1;
    min-width: 0;
}

.travel-place-category {
    display: block;
    margin-bottom: 3px;
    color: #768c86;
    font-size: 10px;
    font-weight: 700;
}

.travel-place-copy h4 {
    overflow: hidden;
    color: #183f36;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.travel-place-copy small {
    display: block;
    margin-top: 5px;
    color: #71857f;
    font-size: 10px;
}

.travel-place-copy small i {
    color: #dda928;
}

.travel-place-copy small span {
    margin: 0 4px;
    color: #b4c4bf;
}

.travel-place-arrow {
    color: #94aaa3;
    font-size: 12px;
}

.travel-category-panel {
    margin-bottom: 18px;
}

.travel-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 15px;
}

.travel-category-card {
    min-height: 78px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 16px;
    background: #f0f8f5;
    color: #237c68;
}

.travel-category-card i {
    font-size: 18px;
}

.travel-category-card span {
    color: #426b60;
    font-size: 11px;
    font-weight: 700;
}

.travel-guide-card {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 18px;
    border-radius: 22px;
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(130, 230, 191, 0.18), transparent 30%),
        linear-gradient(135deg, #0d473b, #1b7963);
    box-shadow: 0 18px 32px rgba(7, 63, 50, 0.18);
}

.travel-guide-card .travel-guide-icon {
    background: rgba(255, 255, 255, 0.16);
    color: #c7f7e1;
}

.travel-guide-card span {
    color: #bbf1d5;
}

.travel-guide-card h3 {
    color: #fff;
}

.travel-guide-card p {
    color: rgba(255, 255, 255, 0.78);
}

/* Travel profile and review journal */
.travel-profile-header {
    padding-top: 12px;
}

.travel-profile-header .profile-avatar img {
    border-color: #bdebd9;
    box-shadow: 0 12px 22px rgba(14, 101, 80, 0.18);
}

.travel-profile-summary .travel-profile-intro {
    max-width: 255px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.55;
}

.travel-profile-summary {
    padding: 16px;
}

.travel-profile-summary .profile-summary-head {
    margin-bottom: 11px;
}

.travel-profile-kicker {
    display: block;
    margin-bottom: 3px;
    color: rgba(201, 255, 232, 0.76);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.11em;
}

.travel-profile-summary .profile-summary-title {
    font-size: 17px;
}

.travel-profile-metrics {
    gap: 10px;
}

.travel-profile-summary .profile-income-card {
    min-height: 70px;
    padding: 11px 12px;
}

.travel-profile-summary .profile-income-card strong {
    margin-top: 4px;
    font-size: 18px;
}

/* Profile contrast: light text on dark panels, dark text on light panels */
body.route-profile .profile-summary-card,
body.route-profile .profile-summary-card .profile-summary-title,
body.route-profile .profile-summary-card .profile-income-card strong {
    color: #ffffff;
}

body.route-profile .profile-summary-card .metric-label,
body.route-profile .profile-summary-card .travel-profile-intro {
    color: rgba(255, 255, 255, 0.82);
}

body.route-profile .profile-header,
body.route-profile .profile-header .profile-info h2,
body.route-profile .profile-header .username-vip,
body.route-profile .settings-panel,
body.route-profile .settings-list a,
body.route-profile .settings-list a > i:last-child {
    color: #163f36;
}

body.route-profile .quick-actions .action-tile {
    color: #155746;
}

body.route-profile .action-tile.dark-banner,
body.route-profile .action-tile.dark-banner .banner-copy-title,
body.route-profile .action-tile.dark-banner .banner-copy-subtitle {
    color: #ffffff;
}

body.user-page .travel-reviews-hero {
    background:
        radial-gradient(circle at top right, rgba(128, 236, 194, 0.20), transparent 30%),
        linear-gradient(135deg, #0f4b3f, #197760);
}

.travel-review-item {
    align-items: center;
}

.travel-review-thumb {
    width: 74px;
    height: 74px;
    flex: 0 0 74px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #fff;
    font-size: 24px;
    background: linear-gradient(135deg, #e2a86a, #e9c57c);
}

.travel-review-thumb.sights,
.travel-review-thumb.coast {
    background: linear-gradient(135deg, #3b8b9c, #71c8bd);
}

.travel-review-thumb.mall,
.travel-review-thumb.market {
    background: linear-gradient(135deg, #277d66, #5bc397);
}

.travel-review-thumb.stay {
    background: linear-gradient(135deg, #746da1, #afa4d5);
}

.travel-list-kicker {
    display: block;
    margin-bottom: 4px;
    color: #2d947b;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.09em;
}

.travel-review-item .task-description {
    line-height: 1.45;
}

.travel-review-item .task-price-row {
    margin-top: 4px;
}

/* Shared travel recommendations */
body.user-page .invitation-hero-card {
    background:
        radial-gradient(circle at top right, rgba(92, 203, 161, 0.16), transparent 30%),
        linear-gradient(180deg, #ffffff, #f7fcfa);
}

body.user-page .invitation-start-btn {
    background: linear-gradient(135deg, #177d65, #37b88d);
    box-shadow: 0 12px 24px rgba(21, 122, 100, 0.22);
}

body.user-page .invitation-stat-card {
    border-color: #d8ebe4;
    background:
        radial-gradient(circle at top right, rgba(77, 190, 149, 0.10), transparent 30%),
        linear-gradient(180deg, #ffffff, #f8fcfa);
    box-shadow: 0 12px 26px rgba(9, 71, 57, 0.07);
}

body.user-page .invitation-stat-icon {
    background: #dff4eb;
    color: #168068;
}

body.user-page .invitation-rules-card .info-list-item {
    border-color: #dcece6;
    background: #f4faf7;
    color: #41685e;
}

body.user-page .invitation-rules-card .info-list-item strong {
    color: #168068;
}

/* Settings detail pages */
body.route-add_card .page-header-icon,
body.route-change-password .page-header-icon,
body.route-support-request .page-header-icon {
    background: #dff4eb;
    color: #177e66;
}

body.route-add_card .form-card,
body.route-add_card .data-table-card {
    border-color: #d4e9e1;
    background: linear-gradient(180deg, #ffffff, #f8fcfa);
    box-shadow: 0 16px 34px rgba(9, 73, 58, 0.09);
}

body.route-add_card .page-header-copy h2 {
    color: #173f36;
}

body.route-add_card .page-header-copy p {
    color: #67827a;
}

body.route-add_card .card-form .input-shell {
    border-color: #d6e9e2;
    background: #f7fbf9;
}

body.route-add_card .card-form .input-shell:focus-within {
    border-color: #35ab83;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(53, 171, 131, 0.12);
}

body.route-add_card .card-form .input-icon {
    color: #21836b;
}

body.route-add_card .card-form .btn-primary {
    background: linear-gradient(135deg, #177d65, #38b98e);
    box-shadow: 0 12px 24px rgba(20, 125, 101, 0.22);
}

body.route-add_card .data-table-card thead tr {
    background: #eaf6f1 !important;
}

body.route-add_card .data-table-card th {
    color: #2b6254;
}

body.route-add_card .data-table-card tbody tr {
    border-color: #e0eee9;
}

/* WayPoint bank card page */
.bankcard-page {
    gap: 16px;
}

.bankcard-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 21px 20px;
    border: 1px solid rgba(157, 237, 208, 0.28);
    border-radius: 24px;
    background:
        radial-gradient(circle at right top, rgba(111, 229, 186, 0.26), transparent 38%),
        linear-gradient(135deg, #0d4d40, #1d876c);
    box-shadow: 0 18px 34px rgba(12, 89, 68, 0.20);
    color: #fff;
}

.bankcard-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #b9f1dc;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.bankcard-hero h2 {
    margin: 7px 0 5px;
    color: #fff;
    font-size: 25px;
}

.bankcard-hero p {
    max-width: 230px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    line-height: 1.55;
}

.bankcard-hero-icon {
    width: 58px;
    height: 58px;
    display: grid;
    flex: 0 0 58px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 19px;
    background: rgba(255, 255, 255, 0.14);
    color: #d5ffed;
    font-size: 25px;
}

body.route-bankcard .bankcard-form-card,
body.route-bankcard .bankcard-saved-card {
    border-color: #d4e9e1;
    background: linear-gradient(180deg, #ffffff, #f8fcfa);
    box-shadow: 0 16px 34px rgba(9, 73, 58, 0.09);
}

.bankcard-field-label {
    display: block;
    margin: 0 0 7px 3px;
    color: #53736a;
    font-size: 11px;
    font-weight: 800;
}

body.route-bankcard .card-form .input-shell {
    border-color: #d6e9e2;
    background: #f7fbf9;
}

body.route-bankcard .card-form .input-shell:focus-within {
    border-color: #35ab83;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(53, 171, 131, 0.12);
}

body.route-bankcard .card-form .input-icon {
    color: #21836b;
}

.bankcard-submit {
    gap: 8px;
    background: linear-gradient(135deg, #177d65, #38b98e) !important;
    box-shadow: 0 12px 24px rgba(20, 125, 101, 0.22);
}

.bankcard-list {
    display: grid;
    gap: 12px;
}

.bankcard-item {
    padding: 16px;
    border: 1px solid #d7ece4;
    border-radius: 19px;
    background:
        radial-gradient(circle at right top, rgba(91, 202, 162, 0.18), transparent 34%),
        linear-gradient(135deg, #f2fbf7, #ffffff);
}

.bankcard-item-topline,
.bankcard-item-bank,
.bankcard-number,
.bankcard-holder {
    display: flex;
    align-items: center;
}

.bankcard-item-topline {
    justify-content: space-between;
    gap: 10px;
}

.bankcard-item-bank {
    min-width: 0;
    gap: 8px;
    color: #1c5d4e;
    font-size: 13px;
    font-weight: 800;
}

.bankcard-item-bank i {
    color: #249477;
}

.bankcard-linked {
    color: #21836b;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.bankcard-number {
    gap: 9px;
    margin: 21px 0 17px;
    color: #17483d;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.04em;
    overflow-wrap: anywhere;
}

.bankcard-number i {
    color: #29a682;
    letter-spacing: normal;
}

.bankcard-holder {
    justify-content: space-between;
    gap: 12px;
    padding-top: 11px;
    border-top: 1px solid #dcefe8;
}

.bankcard-holder span {
    color: #77938a;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.bankcard-holder strong {
    max-width: 62%;
    overflow: hidden;
    color: #255d50;
    font-size: 11px;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Public WayPoint landing page */
body.route-landing {
    background: #eff7f4;
}

body.route-landing .app-container {
    width: min(100%, 1120px);
    max-width: 1120px;
    height: auto;
    min-height: 100dvh;
    margin: 0 auto;
    padding: 0 20px;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
}

body.route-landing .app-header {
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 1000;
    width: 100%;
    padding: 10px 20px;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: translateX(-50%);
}

body.route-landing .header-content {
    width: min(1080px, 100%);
    min-height: 66px;
    margin: 0 auto;
    padding: 8px 14px;
    border: 1px solid rgba(23, 89, 72, 0.10);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 30px rgba(11, 67, 53, 0.10);
}

.landing-header-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.landing-header-nav a,
.landing-login-link {
    color: #47736a;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.18s ease;
}

.landing-header-nav a:hover,
.landing-login-link:hover {
    color: #177d65;
}

.landing-header-actions {
    gap: 9px;
}

body.route-landing .landing-header-actions .language-selector {
    min-height: 36px;
    padding: 0 10px;
}

body.route-landing .landing-header-actions .language-trigger {
    min-width: 68px;
    font-size: 11px;
}

.landing-join-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 13px;
    border-radius: 12px;
    background: linear-gradient(135deg, #177d65, #38b98e);
    box-shadow: 0 8px 16px rgba(20, 125, 101, 0.18);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.landing-join-short { display: none; }

body.route-landing .app-title,
body.route-landing .language-selector {
    color: #173f36;
}

body.route-landing .language-selector {
    border-color: #d8ebe4;
    background: #f6fcf9;
}

.landing-page {
    display: grid;
    gap: 22px;
    padding: 86px 0 30px;
}

.landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    align-items: stretch;
    overflow: hidden;
    border: 1px solid rgba(115, 230, 187, 0.18);
    border-radius: 30px;
    background: radial-gradient(circle at 38% 0%, rgba(86, 204, 160, 0.20), transparent 35%), linear-gradient(135deg, #093e35, #176b58);
    box-shadow: 0 25px 48px rgba(7, 72, 56, 0.20);
}

.landing-hero-copy {
    position: relative;
    z-index: 2;
    padding: clamp(30px, 5vw, 64px);
    color: #fff;
}

.landing-kicker,
.landing-section-heading > span,
.landing-cta-card > div > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.11em;
}

.landing-kicker {
    color: #b9f4dc;
}

.landing-hero h2 {
    max-width: 510px;
    margin: 13px 0;
    color: #fff;
    font-size: clamp(34px, 4.3vw, 57px);
    line-height: 1.03;
    letter-spacing: -0.055em;
}

.landing-hero-copy > p {
    max-width: 480px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.65;
}

.landing-stat-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.landing-stat-grid > div {
    display: grid;
    gap: 2px;
    min-width: 125px;
    padding: 9px 12px;
    border: 1px solid rgba(204, 255, 230, 0.18);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.08);
}

.landing-stat-grid strong { color: #fff; font-size: 14px; }
.landing-stat-grid span { color: rgba(220, 255, 239, 0.72); font-size: 9px; font-weight: 700; }

.landing-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 17px;
    margin-top: 26px;
}

.landing-primary-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 19px;
    border-radius: 16px;
    background: #fff;
    color: #14735d;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.13);
}

.landing-text-action {
    color: #d8f8ea;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.landing-hero-visual {
    position: relative;
    z-index: 1;
    min-height: 340px;
    overflow: hidden;
    pointer-events: none;
}

.landing-hero-visual::after {
    position: absolute;
    inset: 0;
    content: '';
    background: linear-gradient(90deg, rgba(9, 62, 53, 0.66), transparent 52%), linear-gradient(0deg, rgba(4, 45, 37, 0.28), transparent 55%);
}

.landing-hero-visual > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landing-place-chip,
.landing-rating-chip {
    position: absolute;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 12px 26px rgba(1, 45, 35, 0.18);
    color: #205b4d;
    backdrop-filter: blur(10px);
}

.landing-review-chip {
    position: absolute;
    z-index: 1;
    right: 22px;
    bottom: 86px;
    width: min(235px, calc(100% - 48px));
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    color: #285c50;
    box-shadow: 0 14px 28px rgba(1, 45, 35, 0.20);
    backdrop-filter: blur(10px);
}

.landing-review-chip > div { display: flex; align-items: flex-start; gap: 8px; font-size: 10px; font-weight: 700; line-height: 1.45; }
.landing-review-chip > div i { color: #20a27f; font-size: 11px; }
.landing-review-chip small { display: block; margin-top: 7px; color: #6d8d83; font-size: 8px; font-weight: 700; }
.landing-review-chip small i { color: #20a27f; }

.landing-place-chip {
    right: 24px;
    bottom: 26px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 13px;
    font-size: 11px;
    font-weight: 800;
}

.landing-place-chip i { color: #1fa580; }

.landing-rating-chip {
    top: 26px;
    left: 25px;
    display: grid;
    grid-template-columns: auto auto;
    gap: 1px 6px;
    padding: 10px 13px;
}

.landing-rating-chip i { grid-row: span 2; align-self: center; color: #e0a01e; }
.landing-rating-chip strong { font-size: 15px; }
.landing-rating-chip span { color: #668278; font-size: 9px; font-weight: 700; }

.landing-trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.landing-trust-row > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    border: 1px solid #d8ebe4;
    border-radius: 15px;
    background: linear-gradient(180deg, #fff, #f8fcfa);
    color: #47736a;
    font-size: 11px;
    font-weight: 700;
}

.landing-trust-row i { color: #218c70; }

.landing-shield-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: #218c70;
}

.landing-section { padding: 17px 0 6px; }
.landing-section-heading { margin-bottom: 15px; }
.landing-section-heading > span { color: #25896f; }
.landing-section-heading h3 { margin-top: 7px; color: #173f36; font-size: 27px; letter-spacing: -0.04em; }

.landing-step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.landing-step-card {
    position: relative;
    min-height: 200px;
    padding: 20px;
    overflow: hidden;
    border: 1px solid #d8ece5;
    border-radius: 22px;
    background: linear-gradient(150deg, #fff, #f4fbf8);
}

.landing-step-card > i {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    margin: 16px 0 14px;
    border-radius: 14px;
    background: #dff5ec;
    color: #19826a;
    font-size: 19px;
}

.landing-step-number { position: absolute; top: 18px; right: 19px; color: #a0bbb2; font-size: 11px; font-weight: 800; }
.landing-step-card h4 { color: #1c5145; font-size: 15px; }
.landing-step-card p { margin-top: 6px; color: #668078; font-size: 12px; line-height: 1.55; }

.landing-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px;
    border-radius: 24px;
    background: #dff5eb;
}

.landing-cta-card > div > span { color: #25896f; }
.landing-cta-card h3 { max-width: 430px; margin-top: 6px; color: #17483d; font-size: 22px; letter-spacing: -0.03em; }
.landing-cta-card > a { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border-radius: 15px; background: #178066; color: #fff; text-decoration: none; }

body.route-landing .auth-site-footer {
    margin: 0 -20px;
    border-radius: 0;
}

@media (max-width: 640px) {
    body.route-landing .app-container { padding: 0 16px; }
    body.route-landing .app-header { padding: 8px 16px; }
    body.route-landing .header-content { min-height: 62px; padding: 7px 11px; border-radius: 18px; }
    .landing-header-nav,
    .landing-login-link { display: none; }
    .landing-header-actions { margin-left: auto; gap: 6px; }
    body.route-landing .landing-header-actions .language-selector { gap: 6px; padding: 0 8px; }
    body.route-landing .landing-header-actions .language-trigger { min-width: 56px; }
    .landing-join-link { min-height: 35px; padding: 0 9px; border-radius: 11px; }
    .landing-join-full { display: none; }
    .landing-join-short { display: inline; }
    .landing-page { gap: 16px; padding-top: 78px; }
    .landing-hero { grid-template-columns: 1fr; border-radius: 25px; }
    .landing-hero-copy { position: relative; z-index: 2; padding: 28px 21px 25px; }
    .landing-hero h2 { font-size: 34px; }
    .landing-hero-copy > p { font-size: 13px; }
    .landing-stat-grid { margin-top: 17px; }
    .landing-stat-grid > div { min-width: 0; flex: 1; }
    .landing-hero-actions { margin-top: 20px; }
    .landing-hero-visual { min-height: 238px; margin-top: 0; }
    .landing-hero-visual::after { background: linear-gradient(180deg, rgba(9, 62, 53, 0.28) 0%, rgba(4, 45, 37, 0.38) 100%); }
    .landing-rating-chip { top: 16px; left: 16px; }
    .landing-place-chip { right: 16px; bottom: 16px; }
    .landing-review-chip { right: 16px; bottom: 69px; width: 215px; }
    .landing-trust-row { grid-template-columns: 1fr; gap: 8px; }
    .landing-trust-row > div { justify-content: flex-start; padding: 0 16px; }
    .landing-step-grid { grid-template-columns: 1fr; gap: 10px; }
    .landing-step-card { min-height: 0; padding: 17px; }
    .landing-step-card > i { margin: 6px 0 11px; }
    .landing-cta-card { padding: 20px; }
    .landing-cta-card h3 { font-size: 19px; }
    body.route-landing .auth-site-footer { margin: 0 -16px; }
}

/* WayPoint review task */
body.route-get-task .main-content {
    padding-top: 14px;
}

body.user-page .travel-task-topbar {
    background:
        radial-gradient(circle at top right, rgba(126, 234, 193, 0.20), transparent 30%),
        linear-gradient(135deg, #0e493d, #1c7661);
}

body.user-page .travel-task-focus-card {
    border-color: #cfe8de;
    background:
        radial-gradient(circle at top right, rgba(77, 196, 151, 0.12), transparent 30%),
        linear-gradient(180deg, #fff, #f7fcfa);
    box-shadow: 0 18px 34px rgba(8, 72, 57, 0.11);
}

.travel-task-focus-card .task-focus-image-shell {
    width: 112px;
    height: 112px;
    border: 4px solid #e0f2eb;
    box-shadow: 0 14px 28px rgba(10, 94, 73, 0.16);
}

.travel-task-focus-card .task-focus-status {
    margin-bottom: 6px;
    color: #209477;
    font-size: 24px;
}

.travel-task-kicker {
    display: inline-flex;
    margin-bottom: 8px;
    color: #25896f;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.travel-task-focus-card .task-focus-title,
.travel-task-focus-card .task-focus-name {
    color: #173f36;
}

.travel-task-focus-card .task-focus-price {
    color: #178068;
    font-size: 25px;
}

.travel-task-focus-card .task-focus-details,
.task-payment-dialog .task-modal-details {
    border-color: #dcece6;
    background: #f3faf7;
}

.travel-task-focus-card .detail-row,
.task-payment-dialog .detail-row {
    color: #56726a;
}

.travel-task-focus-card .detail-row strong,
.task-payment-dialog .detail-row strong {
    color: #17483d;
}

.travel-task-focus-card .task-earn-value,
.task-payment-dialog .task-earn-value {
    color: #168068 !important;
}

body.user-page .confirm-pay-btn,
body.user-page .task-payment-actions .btn-primary {
    background: linear-gradient(135deg, #177d65, #38b98e);
    box-shadow: 0 12px 24px rgba(20, 125, 101, 0.22);
}

.travel-history-title {
    color: #1a493e;
}

.travel-history-title i {
    margin-right: 7px;
    color: #dfa825;
}

body.user-page .paid-task-pill {
    background: rgba(31, 153, 116, 0.12);
    color: #167b63;
}

.task-payment-dialog {
    border-color: #d3e9e0;
    background: #fff;
}

.task-payment-head h3,
.task-modal-name {
    color: #173f36;
}

.task-review-rating {
    border-color: #f0dfaf;
    background: linear-gradient(180deg, #fffdf7, #fff7dc);
}

.task-review-stars .task-review-star:hover,
.task-review-stars .task-review-star.selected {
    color: #e2aa27;
}

@media (max-width: 359px) {
    body.auth-page .app-header {
        padding: 9px 10px;
    }

    body.auth-page .header-content {
        gap: 6px;
        min-height: 44px;
        padding: 5px 7px 5px 11px;
    }

    body.auth-page .app-title {
        font-size: 14px;
        max-width: calc(100vw - 170px);
    }

    body.auth-page .language-selector {
        gap: 5px;
        min-height: 31px;
        padding: 0 7px;
    }

    body.auth-page .language-trigger {
        min-width: 72px;
        font-size: 10px;
    }

    .travel-hero,
    .travel-hero-content {
        min-height: 304px;
    }

    .travel-hero-content {
        padding: 92px 18px 43px;
    }

    .travel-hero-copy h2 {
        font-size: 27px;
    }

    .travel-place-card {
        right: 14px;
        top: 103px;
    }

    .travel-card.auth-card,
    .auth-card.compact-center.travel-card {
        width: calc(100% - 16px);
        padding: 22px 16px 19px;
        border-radius: 22px;
    }

    .travel-auth-register .travel-hero,
    .travel-auth-register .travel-hero-content {
        min-height: 257px;
    }

    .travel-auth-register .travel-hero-content {
        padding: 82px 18px 35px;
    }

    .auth-site-footer {
        padding: 20px 14px 25px;
    }
}

@media (min-width: 400px) {
    .travel-card.auth-card,
    .auth-card.compact-center.travel-card {
        width: calc(100% - 32px);
        padding-right: 24px;
        padding-left: 24px;
    }

    .travel-hero-content {
        padding-right: 28px;
        padding-left: 28px;
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 374px) {
    body.user-page .app-container {
        padding-top: 84px;
        padding-bottom: 104px;
    }

    body.auth-page .app-container {
        padding: 0;
    }

    .app-header {
        width: 100%;
    }

    .main-content {
        height: calc(100dvh - 188px);
    }

    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .balance-hero-grid,
    .balance-grid,
    .quick-actions,
    .action-grid {
        grid-template-columns: 1fr;
    }

    .amount-grid,
    .quick-amounts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
