/* ============================================
   Açaí Gold — Modern Purple Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800&family=Fraunces:opsz,wght@9..144,700;9..144,800&family=Fraunces:opsz,wght@9..144,700;9..144,800&display=swap');

:root {
    --bg-primary: #f6f0fb;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #fbf7ff;
    --bg-input: #f3edf8;
    --bg-modal: rgba(36, 12, 58, 0.55);

    --primary: #7C3AED;
    --primary-hover: #6D28D9;
    --primary-light: #F3E8FF;
    --primary-glow: rgba(124, 58, 237, 0.28);
    --accent: #7C3AED;
    --accent-hover: #6D28D9;
    --accent-light: rgba(124, 58, 237, 0.12);
    --accent-lighter: rgba(124, 58, 237, 0.06);
    --accent-glow: 0 4px 24px rgba(124, 58, 237, 0.28);

    --gold: #7C3AED;
    --gold-dark: #5B21B6;
    --gold-light: rgba(124, 58, 237, 0.12);
    --gold-gradient: linear-gradient(135deg, #C084FC 0%, #7C3AED 48%, #5B21B6 100%);

    --text-primary: #2a1240;
    --text-secondary: #6b5b7a;
    --text-muted: #9a8ba8;
    --text-accent: #7C3AED;

    --border: #e2e5ef;
    --border-light: #eff0f5;

    --danger: #dc3545;
    --warning: #d4a017;
    --success: #198754;
    --info: #0d6efd;

    --radius: 18px;
    --radius-sm: 12px;
    --radius-lg: 24px;
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.03);
    --shadow: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.10);
    --transition: all 0.2s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background:
        radial-gradient(900px 520px at 8% -8%, rgba(168, 85, 247, .45), transparent 58%),
        radial-gradient(720px 480px at 108% 12%, rgba(236, 72, 153, .22), transparent 50%),
        linear-gradient(180deg, #1a0528 0%, #3b0764 38%, #2e1065 100%);
    color: var(--text-primary);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.55;
}

/* ============================================
   Auth Pages
   ============================================ */
.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #fafbfe;
}

.auth-logo { text-align: center; margin-bottom: 28px; }

.auth-logo .logo-icon {
    width: 160px; height: 80px;
    border-radius: 16px;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 34px;
    box-shadow: 0 8px 32px rgba(184,134,11,0.30);
    color: white;
}

.auth-logo h1 {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.auth-logo p { color: var(--text-secondary); font-size: 14px; margin-top: 4px; }

.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.auth-card h2 {
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 24px;
}

.auth-footer { text-align: center; margin-top: 20px; color: var(--text-secondary); font-size: 14px; }
.auth-footer a { color: var(--accent); text-decoration: none; font-weight: 700; }

.auth-trust {
    display: flex; justify-content: center; gap: 20px;
    margin-top: 24px; color: var(--text-muted); font-size: 12px;
}
.auth-trust span { display: flex; align-items: center; gap: 4px; }
.auth-trust i { color: var(--accent); font-size: 10px; }

/* ============================================
   Forms
   ============================================ */
.form-group { margin-bottom: 16px; }

.form-group label {
    display: block; font-size: 12px; font-weight: 700;
    color: var(--text-secondary); margin-bottom: 6px;
    text-transform: uppercase; letter-spacing: 0.5px;
}

.input-wrapper { position: relative; display: flex; align-items: center; }

.input-wrapper i {
    position: absolute; left: 14px;
    color: var(--text-muted); font-size: 15px; z-index: 1;
    pointer-events: none;
}

.input-wrapper input,
.input-wrapper select {
    width: 100%;
    padding: 13px 14px 13px 44px;
    background: var(--bg-input);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
}

.input-wrapper input:focus,
.input-wrapper select:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 4px var(--accent-light);
}

.input-wrapper input::placeholder { color: var(--text-muted); }

.input-wrapper .toggle-pass {
    position: absolute; right: 14px;
    background: none; border: none;
    color: var(--text-muted); cursor: pointer; padding: 4px; z-index: 1;
}

.captcha-wrapper { display: flex; gap: 10px; align-items: stretch; }
.captcha-input { flex: 1; }

.captcha-image {
    background: var(--bg-input);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 18px;
    font-family: 'Courier New', monospace;
    font-size: 22px; font-weight: bold; letter-spacing: 4px;
    color: var(--accent);
    display: flex; align-items: center; cursor: pointer;
    user-select: none; position: relative; overflow: hidden;
}

.captcha-image span { position: relative; z-index: 1; }

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold-gradient);
    color: white;
    box-shadow: 0 4px 16px rgba(184,134,11,0.30);
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(184,134,11,0.40);
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    background: var(--bg-input);
    color: var(--text-primary);
    border: 1.5px solid var(--border);
}

.btn-secondary:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }

.btn-gold {
    background: var(--gold-gradient);
    color: white;
    box-shadow: 0 4px 16px rgba(184,134,11,0.30);
}

.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(184,134,11,0.40); }

.btn-danger { background: var(--danger); color: white; }

.btn-sm { padding: 8px 14px; font-size: 12px; border-radius: 10px; }
.btn-icon { width: 44px; height: 44px; padding: 0; border-radius: 12px; font-size: 18px; }

/* ============================================
   App Layout
   ============================================ */
.app-layout {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background: transparent;
    position: relative;
    padding-bottom: 85px;
}

/* ============================================
   Header
   ============================================ */
.app-header {
    position: sticky; top: 0; z-index: 100;
    background: linear-gradient(180deg, rgba(255,255,255,0.78) 0%, rgba(232,246,232,0.88) 100%);
    backdrop-filter: blur(22px) saturate(1.2);
    -webkit-backdrop-filter: blur(22px) saturate(1.2);
    border-bottom: 1px solid rgba(255,255,255,0.55);
    padding: 12px 16px 14px;
    transition: padding 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s ease,
                background 0.35s ease;
}

.app-header.is-compact {
    padding: 7px 16px 8px;
    box-shadow: 0 10px 28px rgba(16, 24, 16, 0.08);
    background: rgba(255,255,255,0.86);
}

.header-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
}

.header-datetime {
    justify-self: start;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
    min-width: 0;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(255,255,255,0.95);
    border-radius: 14px;
    padding: 6px 10px 6px 11px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.05);
    transition: padding 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-radius 0.35s ease;
}

.app-header.is-compact .header-datetime {
    padding: 5px 9px;
    border-radius: 999px;
}

.header-datetime .header-date {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: capitalize;
    letter-spacing: 0.2px;
    max-height: 16px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.28s ease, opacity 0.22s ease;
}

.app-header.is-compact .header-datetime .header-date {
    max-height: 0;
    opacity: 0;
}

.header-datetime .header-time {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.4px;
    font-variant-numeric: tabular-nums;
}

.header-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.header-brand .brand-icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: var(--gold-gradient);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; color: white;
    box-shadow: 0 2px 8px rgba(184,134,11,0.25);
}

.app-header.is-compact .header-brand .brand-icon {
    transform: none;
}

.header-brand h1 { font-size: 17px; font-weight: 800; letter-spacing: -0.3px; }
.header-actions { display: flex; gap: 8px; justify-self: end; }

.header-btn {
    width: 38px; height: 38px; border-radius: 12px;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(255,255,255,0.95);
    color: var(--text-secondary);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                width 0.35s ease, height 0.35s ease, border-radius 0.35s ease,
                color 0.2s ease, background 0.2s ease;
    position: relative; text-decoration: none;
    box-shadow: 0 6px 16px rgba(0,0,0,0.05);
}

.app-header.is-compact .header-btn {
    width: 32px;
    height: 32px;
    border-radius: 999px;
}

.header-btn:hover { color: var(--accent); background: var(--accent-light); }

.header-btn .badge {
    position: absolute; top: -3px; right: -3px;
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--danger); color: white;
    font-size: 10px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid white;
}

/* ============================================
   Page Content
   ============================================ */
.page-content { padding: 20px; }

/* ============================================
   Hero Banner
   ============================================ */
.hero-banner {
    border-radius: var(--radius-lg);
    background: var(--gold-gradient);
    padding: 28px 24px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-banner::before {
    content: ''; position: absolute; top: -40%; right: -20%;
    width: 260px; height: 260px; border-radius: 50%;
    background: rgba(255,255,255,0.10);
}

.hero-banner::after {
    content: ''; position: absolute; bottom: -30%; left: -10%;
    width: 180px; height: 180px; border-radius: 50%;
    background: rgba(255,255,255,0.06);
}

.hero-banner .badge-top {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.20);
    color: white;
    padding: 5px 12px; border-radius: 20px;
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.8px;
    margin-bottom: 14px;
    position: relative; z-index: 1;
    backdrop-filter: blur(8px);
}

.hero-banner h2 {
    font-size: 20px; font-weight: 800;
    line-height: 1.35; margin-bottom: 8px;
    position: relative; z-index: 1;
}

.hero-banner p {
    font-size: 13px; color: rgba(255,255,255,0.85);
    line-height: 1.5;
    position: relative; z-index: 1;
}

.hero-tags {
    display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap;
    position: relative; z-index: 1;
}

.hero-tag {
    display: flex; align-items: center; gap: 5px;
    background: rgba(255,255,255,0.18);
    color: white;
    padding: 4px 10px; border-radius: 8px;
    font-size: 10px; font-weight: 700;
    backdrop-filter: blur(6px);
}

.hero-banner-slider { margin-bottom: 24px; }
.hero-banner-slider .hero-banner.is-image { display: none; }
.hero-banner-slider .hero-banner.is-image.active { display: block; }
.hero-banner.is-image {
    display: block;
    padding: 0;
    background: none;
    margin-bottom: 0;
    line-height: 0;
}
.hero-banner.is-image::before,
.hero-banner.is-image::after { display: none; }
.hero-banner.is-image img,
.hero-banner.is-image video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

/* ============================================
   Balance Card
   ============================================ */
.balance-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 22px;
    border: 1px solid var(--border);
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

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

.balance-label { font-size: 12px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; }

.balance-amount {
    font-size: 30px; font-weight: 800; color: var(--text-primary);
    letter-spacing: -1px; margin-top: 4px;
}

.balance-stats {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 12px; margin-top: 16px;
    padding-top: 16px; border-top: 1px solid var(--border-light);
}

.balance-stat { text-align: center; }

.balance-stat .label {
    font-size: 10px; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.3px; font-weight: 700;
}

.balance-stat .value { font-size: 16px; font-weight: 800; margin-top: 2px; }

/* ============================================
   Quick Actions
   ============================================ */
.section-title {
    font-size: 15px; font-weight: 800; margin-bottom: 14px;
    display: flex; align-items: center; justify-content: space-between;
    color: var(--text-primary); letter-spacing: -0.2px;
}

.quick-actions {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 10px; margin-bottom: 22px;
}

.quick-action {
    display: flex; flex-direction: column; align-items: center;
    gap: 10px; padding: 18px 10px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    cursor: pointer; transition: var(--transition);
    text-decoration: none; color: var(--text-primary);
    box-shadow: var(--shadow-xs);
}

.quick-action:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.quick-action .icon {
    width: 48px; height: 48px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}

.quick-action .icon.green { background: #ecfdf5; color: #059669; }
.quick-action .icon.gold { background: #fffbeb; color: var(--gold); }
.quick-action .icon.blue { background: #eff6ff; color: #2563eb; }
.quick-action .icon.red { background: #fef2f2; color: #dc2626; }
.quick-action .icon.purple { background: #f5f3ff; color: #7c3aed; }

.quick-action .label { font-size: 12px; font-weight: 700; }

/* ============================================
   Feature Cards
   ============================================ */
.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 16px; margin-bottom: 10px;
    display: flex; align-items: center; gap: 12px;
    cursor: pointer; transition: var(--transition);
    text-decoration: none; color: var(--text-primary);
    box-shadow: var(--shadow-xs);
}

.feature-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }

.feature-card .icon {
    width: 42px; height: 42px; min-width: 42px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-size: 16px;
}

.feature-card .content { flex: 1; }
.feature-card .content h3 { font-size: 14px; font-weight: 700; }
.feature-card .content p { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.feature-card .arrow { color: var(--text-muted); font-size: 12px; }

/* ============================================
   Plans
   ============================================ */
.plan-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden; margin-bottom: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.plan-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }

.plan-card .plan-image {
    width: 100%; height: 130px;
    object-fit: cover;
    background: linear-gradient(135deg, #fff7e6, #fef3c7);
}

.plan-card .plan-body { padding: 20px; }

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

.plan-card .plan-name { font-size: 17px; font-weight: 800; }
.plan-card .plan-price { font-size: 14px; font-weight: 800; color: var(--accent); }

.plan-stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px;
}

.plan-stat {
    text-align: center; padding: 10px 4px;
    background: var(--bg-input); border-radius: var(--radius-sm);
}

.plan-stat .label { font-size: 9px; color: var(--text-muted); text-transform: uppercase; font-weight: 700; letter-spacing: 0.3px; }
.plan-stat .value { font-size: 14px; font-weight: 800; margin-top: 2px; color: var(--accent); }

.plan-card .btn-buy {
    width: 100%; padding: 13px; border: none;
    border-radius: var(--radius-sm);
    background: var(--gold-gradient);
    color: white; font-size: 14px; font-weight: 800;
    cursor: pointer; transition: var(--transition);
    font-family: inherit;
    box-shadow: 0 4px 14px rgba(184,134,11,0.25);
}

.plan-card .btn-buy:hover { box-shadow: 0 6px 20px rgba(184,134,11,0.40); transform: translateY(-1px); }

/* ============================================
   Bottom Nav
   ============================================ */
.bottom-nav {
    position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 480px;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(24px);
    border-top: 1px solid var(--border-light);
    display: flex; justify-content: space-around;
    padding: 6px 0;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    z-index: 1000;
}

.nav-item {
    display: flex; flex-direction: column; align-items: center;
    gap: 2px; padding: 6px 14px;
    text-decoration: none; color: var(--text-muted);
    font-size: 10px; font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-item i { font-size: 18px; transition: var(--transition); }
.nav-item.active { color: var(--accent); }

.nav-item.active::before {
    content: ''; position: absolute; top: -6px;
    left: 50%; transform: translateX(-50%);
    width: 18px; height: 3px; border-radius: 3px;
    background: var(--gold-gradient);
}

.nav-item.center-btn { position: relative; top: -14px; }

.nav-item.center-btn .icon-circle {
    width: 58px; height: 58px; border-radius: 50%;
    background: linear-gradient(180deg, #FFE566, #F5C518);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: #3b0764;
    box-shadow: 0 8px 22px rgba(245, 197, 24, 0.45);
    border: 3px solid #fff;
    transition: var(--transition);
}

.nav-item.center-btn:hover .icon-circle { transform: scale(1.05); }

/* ============================================
   Modals
   ============================================ */
.modal-overlay {
    position: fixed; inset: 0;
    background: var(--bg-modal);
    display: none; align-items: flex-end; justify-content: center;
    z-index: 2000; animation: fadeIn 0.2s ease;
}

.modal-overlay.active { display: flex; }

.modal {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    width: 100%; max-width: 480px;
    max-height: 90vh; overflow-y: auto;
    padding: 24px;
    animation: slideUp 0.3s ease;
}

.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.modal-header h3 { font-size: 18px; font-weight: 800; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* ============================================
   Deposit
   ============================================ */
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }

.amount-btn {
    padding: 14px 6px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px; font-weight: 800;
    cursor: pointer; transition: var(--transition);
    text-align: center; font-family: inherit;
}

.amount-btn:hover, .amount-btn.active {
    border-color: var(--accent);
    background: var(--accent-light);
    color: var(--accent);
}

.method-card {
    display: flex; align-items: center; gap: 12px;
    padding: 14px; background: var(--bg-card);
    border: 2px solid var(--accent);
    border-radius: var(--radius-sm); margin-bottom: 10px;
}

.method-card .method-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--accent-light); color: var(--accent);
    display: flex; align-items: center; justify-content: center; font-size: 16px;
}

.method-card .method-info h4 { font-size: 14px; font-weight: 700; }
.method-card .method-info p { font-size: 12px; color: var(--text-secondary); }

/* ============================================
   My Plans
   ============================================ */
.my-plan-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 16px; margin-bottom: 10px;
    box-shadow: var(--shadow-xs);
}

.my-plan-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.my-plan-header h3 { font-size: 15px; font-weight: 800; }

.status-badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 10px; border-radius: 20px;
    font-size: 10px; font-weight: 700;
}

.status-badge.active { background: #ecfdf5; color: #059669; }

.progress-bar { height: 5px; background: var(--bg-input); border-radius: 3px; overflow: hidden; margin: 10px 0; }
.progress-bar .fill { height: 100%; background: var(--gold-gradient); border-radius: 3px; transition: width 0.5s ease; }

.plan-detail-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 12px; }
.plan-detail-row .label { color: var(--text-secondary); }
.plan-detail-row .value { font-weight: 700; }

/* ============================================
   Team
   ============================================ */
.invite-link-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 18px; margin-bottom: 18px;
    box-shadow: var(--shadow);
}

.invite-link-card .link-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}
.invite-link-card .link-input {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    background: var(--bg-input);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.invite-link-card .link-input span {
    color: var(--accent);
    font-weight: 800;
}
.invite-copy {
    flex: 0 0 auto;
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    padding: 0 14px;
    border: 0;
    border-radius: 12px;
    background: var(--gold-gradient);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

.team-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }

.team-stat {
    text-align: center; padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
}

.team-stat .value { font-size: 22px; font-weight: 800; color: var(--accent); }
.team-stat .label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; margin-top: 4px; font-weight: 700; }

.team-level-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 16px; margin-bottom: 10px;
    display: flex; align-items: center; gap: 12px;
    box-shadow: var(--shadow-xs);
}

.team-level-card .level-number {
    width: 46px; height: 46px; min-width: 46px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 800; color: white;
}

.level-1 { background: var(--gold-gradient); }
.level-2 { background: linear-gradient(135deg, #d97706, #f59e0b); }
.level-3 { background: linear-gradient(135deg, #7c3aed, #8b5cf6); }

.team-level-card .level-info { flex: 1; }
.team-level-card .level-info h4 { font-size: 14px; font-weight: 700; }
.team-level-card .level-info p { font-size: 11px; color: var(--text-secondary); }
.team-level-card .level-stats { text-align: right; }
.team-level-card .level-stats .commission { font-size: 16px; font-weight: 800; color: var(--accent); }
.team-level-card .level-stats .count { font-size: 11px; color: var(--text-muted); font-weight: 600; }

.milestone-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 16px; margin-bottom: 10px;
    display: flex; align-items: center; gap: 14px;
    box-shadow: var(--shadow-xs);
}

.milestone-progress {
    width: 52px; height: 52px; min-width: 52px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 800;
    background: var(--bg-input); color: var(--text-muted);
}

.milestone-progress.filled { background: var(--accent-light); color: var(--accent); }

.milestone-info { flex: 1; }
.milestone-info h4 { font-size: 13px; font-weight: 700; }
.milestone-info p { font-size: 11px; color: var(--text-secondary); margin-top: 2px; }
.milestone-info .progress-bar { margin-top: 8px; margin-bottom: 0; }

.milestone-badge { padding: 5px 10px; border-radius: 8px; font-size: 10px; font-weight: 700; }
.milestone-badge.locked { background: var(--bg-input); color: var(--text-muted); }
.milestone-badge.unlocked { background: var(--accent-light); color: var(--accent); }
.milestone-claim { margin: 0; flex-shrink: 0; }
.milestone-claim-btn {
    border: none; cursor: pointer;
    background: var(--accent); color: #fff;
    font-size: 12px; font-weight: 800;
    padding: 10px 14px; border-radius: 10px;
    white-space: nowrap;
}

/* ============================================
   Profile
   ============================================ */
.profile-header { text-align: center; padding: 24px 0; }

.profile-avatar {
    width: 80px; height: 80px; border-radius: 22px;
    background: var(--gold-gradient);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px;
    font-size: 30px; font-weight: 800; color: white;
    box-shadow: 0 8px 30px rgba(184,134,11,0.30);
}

.profile-name { font-size: 20px; font-weight: 800; }
.profile-phone { font-size: 13px; color: var(--text-secondary); margin-top: 2px; }

.profile-menu { margin-top: 8px; }

.profile-menu-item {
    display: flex; align-items: center; gap: 12px;
    padding: 14px; background: var(--bg-card);
    border-radius: var(--radius-sm);
    margin-bottom: 6px;
    cursor: pointer; transition: var(--transition);
    text-decoration: none; color: var(--text-primary);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xs);
}

.profile-menu-item:hover { border-color: var(--border); background: var(--bg-card-hover); }

.profile-menu-item i {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; font-size: 15px;
}

.profile-menu-item .menu-text { flex: 1; }
.profile-menu-item .menu-text h4 { font-size: 13px; font-weight: 700; }
.profile-menu-item .menu-text p { font-size: 11px; color: var(--text-secondary); }
.profile-menu-item .arrow { color: var(--text-muted); font-size: 12px; }
.profile-menu-item.danger { color: var(--danger); }

/* ============================================
   Support / Chat
   ============================================ */
.ticket-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 14px; margin-bottom: 8px;
    cursor: pointer; transition: var(--transition);
    text-decoration: none; color: var(--text-primary);
    display: block; box-shadow: var(--shadow-xs);
}

.ticket-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }

.ticket-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.ticket-header h4 { font-size: 13px; font-weight: 700; }
.ticket-preview { font-size: 12px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.chat-container { display: flex; flex-direction: column; height: calc(100vh - 140px); }
.chat-messages { flex: 1; overflow-y: auto; padding: 14px 0; }

.chat-message { display: flex; gap: 10px; margin-bottom: 14px; }
.chat-message.sent { flex-direction: row-reverse; }
.chat-message.sent .chat-time { text-align: right; }

.chat-message .avatar {
    width: 30px; height: 30px; min-width: 30px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; color: white;
}

.chat-bubble { max-width: 75%; padding: 10px 14px; border-radius: 16px; font-size: 13px; line-height: 1.5; }
.chat-time { font-size: 11px; color: #9aa3b2; margin-top: 4px; }

.chat-message:not(.sent) .chat-bubble { background: var(--bg-input); border-bottom-left-radius: 4px; }
.chat-message.sent .chat-bubble { background: var(--accent); color: white; border-bottom-right-radius: 4px; }

.chat-input-area { padding: 12px 0; border-top: 1px solid var(--border); display: flex; gap: 10px; }

.chat-input-area textarea {
    flex: 1; padding: 10px 14px;
    background: var(--bg-input);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 13px; font-family: inherit;
    resize: none; outline: none;
    min-height: 42px; max-height: 120px;
    transition: var(--transition);
}

.chat-input-area textarea:focus { border-color: var(--accent); background: white; }

/* ============================================
   Admin Panel
   ============================================ */
.admin-layout { display: flex; min-height: 100vh; }

.admin-sidebar {
    width: 260px; background: #ffffff;
    border-right: 1px solid var(--border);
    padding: 20px 0; position: fixed;
    top: 0; left: 0; bottom: 0;
    overflow-y: auto; z-index: 100;
}

.admin-sidebar .sidebar-brand {
    padding: 0 12px 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-sidebar .sidebar-brand-logo {
    width: 100%;
    max-width: 220px;
    max-height: 88px;
    height: auto;
    object-fit: contain;
}

.admin-nav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 20px; color: var(--text-secondary);
    text-decoration: none; font-size: 13px; font-weight: 600;
    transition: var(--transition);
    margin: 2px 8px; border-radius: 10px;
}

.admin-nav-item:hover { background: var(--bg-input); color: var(--text-primary); }
.admin-nav-item.active { background: var(--accent-light); color: var(--accent); }
.admin-nav-item i { width: 20px; text-align: center; font-size: 15px; }

.admin-nav-section {
    padding: 8px 20px 4px;
    font-size: 10px; text-transform: uppercase;
    letter-spacing: 1px; color: var(--text-muted); font-weight: 700;
}

.admin-main {
    margin-left: 260px; flex: 1;
    padding: 24px; min-height: 100vh;
    background: var(--bg-primary);
}

.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.admin-header h1 { font-size: 22px; font-weight: 800; }

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px; margin-bottom: 24px;
}

.admin-stat-card {
    background: var(--bg-card);
    border-radius: var(--radius); padding: 18px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.admin-stat-card .stat-icon {
    width: 42px; height: 42px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; margin-bottom: 12px;
}

.admin-stat-card .stat-value { font-size: 26px; font-weight: 800; letter-spacing: -1px; }
.admin-stat-card .stat-label { font-size: 11px; color: var(--text-secondary); text-transform: uppercase; font-weight: 700; margin-top: 2px; }
.admin-stat-card .stat-change { font-size: 11px; font-weight: 700; margin-top: 6px; }
.admin-stat-card .stat-change.up { color: var(--accent); }
.admin-stat-card .stat-change.down { color: var(--danger); }

/* ============================================
   Tables
   ============================================ */
.data-table-wrapper {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden; box-shadow: var(--shadow);
}

.data-table-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px; border-bottom: 1px solid var(--border);
}

.data-table-header h3 { font-size: 15px; font-weight: 800; }

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

.data-table th {
    padding: 10px 20px; text-align: left;
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    background: var(--bg-primary);
}

.data-table td {
    padding: 12px 20px; font-size: 12px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-card-hover); }

.table-user { display: flex; align-items: center; gap: 10px; }

.table-avatar {
    width: 32px; height: 32px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; color: white;
}

.table-user-info .name { font-weight: 700; font-size: 13px; }
.table-user-info .phone { font-size: 10px; color: var(--text-muted); }

/* ============================================
   Alerts
   ============================================ */
.alert {
    padding: 12px 16px; border-radius: var(--radius-sm);
    margin-bottom: 14px; display: flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 600;
    animation: slideDown 0.3s ease;
}

.alert-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.alert-warning { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }

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

/* ============================================
   Check-in
   ============================================ */
.checkin-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 16px;
    margin-bottom: 20px;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.checkin-card::before { display: none; }
.checkin-main {
    display: flex;
    align-items: center;
    gap: 14px;
}
.checkin-card .checkin-icon {
    width: 82px;
    height: 82px;
    flex-shrink: 0;
    margin: 0;
    border-radius: 0;
    overflow: visible;
    background: none;
    box-shadow: none;
}
.checkin-card .checkin-icon img {
    width: 82px;
    height: 82px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 10px 18px rgba(109, 76, 201, 0.28));
}
.checkin-info { flex: 1; min-width: 0; text-align: left; }
.checkin-card h3 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 2px;
    color: var(--text-primary);
}
.checkin-card p {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}
.checkin-card p strong { color: var(--accent); font-weight: 800; }
.checkin-card .btn {
    margin-top: 0;
    width: 100%;
    padding: 10px 14px;
    font-size: 13px;
    border-radius: 12px;
}
.checkin-card .btn.checked {
    background: #e8f8ee;
    color: #16a34a;
    cursor: default;
    box-shadow: none;
}

.checkin-streak {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.checkin-dot {
    flex: 1;
    height: 30px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 700;
    background: var(--bg-primary);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.checkin-dot.done {
    background: var(--accent-light);
    color: var(--accent);
    border-color: transparent;
}

.refer-card {
    background: var(--bg-card);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    border: 1px solid var(--border);
}
.refer-hero {
    background: var(--gold-gradient);
    color: #fff;
    padding: 20px 18px 18px;
    position: relative;
}
.refer-hero::after {
    content: '';
    position: absolute;
    right: -24px; top: -28px;
    width: 110px; height: 110px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
}
.refer-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 4px;
}
.refer-hero h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 4px;
    position: relative;
    z-index: 1;
}
.refer-hero p {
    font-size: 13px;
    opacity: 0.92;
    margin: 0;
    position: relative;
    z-index: 1;
}
.refer-body { padding: 16px; }
.refer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 8px 8px 8px 10px;
}
.refer-link-ico {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}
.refer-link-text { flex: 1; min-width: 0; }
.refer-link-text small {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2px;
}
.refer-link-text span {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.refer-link-text span em {
    font-style: normal;
    font-weight: 800;
    color: var(--accent);
}
.refer-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 38px;
    padding: 0 12px;
    border: 0;
    border-radius: 11px;
    background: var(--gold-gradient);
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 800;
    box-shadow: var(--accent-glow);
    position: relative;
    z-index: 95;
}
.refer-copy.is-ok {
    background: #059669;
    box-shadow: none;
}
.refer-share {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}
.refer-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 6px;
    border-radius: 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    line-height: 1.2;
}
.refer-share .wa { background: #22c55e; }
.refer-share .tg { background: #2aabee; }
.refer-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}
.refer-stat {
    background: var(--bg-primary);
    border-radius: 14px;
    padding: 12px;
    text-align: left;
}
.refer-stat .value {
    font-size: 18px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.2;
}
.refer-stat .label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 2px;
}

/* ============================================
   Empty State
   ============================================ */
.empty-state { text-align: center; padding: 40px 20px; }
.empty-state i { font-size: 44px; color: var(--text-muted); margin-bottom: 14px; }
.empty-state h3 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.empty-state p { font-size: 12px; color: var(--text-secondary); }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 767px) {
    .admin-sidebar { transform: translateX(-100%); transition: var(--transition); z-index: 1001; }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-main { margin-left: 0; }
}

@media (max-width: 400px) {
    .quick-actions { grid-template-columns: repeat(2, 1fr); }
    .amount-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   Scrollbar
   ============================================ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ============================================
   Utils
   ============================================ */
.text-center { text-align: center; }
.text-accent { color: var(--accent) !important; }
.text-gold { color: var(--gold) !important; }
.text-danger { color: var(--danger) !important; }
.text-muted { color: var(--text-muted) !important; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.hidden { display: none !important; }
.w-full { width: 100%; }

/* ═══════════════ INVEST PAGE — MODERN PREMIUM ═══════════════ */

/* Hero Stats */
.invest-hero {
    position: relative;
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: visible;
    width: 100%;
    margin-bottom: 28px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}
.invest-hero-bg {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}
.invest-hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
}
.invest-hero-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.invest-hero-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #FFF1E6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF6A00;
    font-size: 16px;
    flex-shrink: 0;
}
.invest-hero-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}
.invest-hero-info span {
    font-size: 11px;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 700;
    line-height: 1.2;
}
.invest-hero-info strong {
    font-size: 16px;
    color: #111;
    font-weight: 800;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.2;
}
.invest-hero-accent {
    color: #FF6A00 !important;
}
.invest-hero-divider {
    display: none;
}

/* Section Headers */
.invest-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    padding: 0 4px;
}
.invest-section-dot {
    width: 4px;
    height: 20px;
    border-radius: 4px;
    background: var(--primary);
}
.invest-section-header h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}
.invest-section-count {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    padding: 3px 10px;
    border-radius: 20px;
    margin-left: auto;
}
.invest-section-sub {
    font-size: 13px;
    color: var(--text-muted);
    padding: 0 16px;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Active Plans Grid */
.invest-active-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 28px;
}
.invest-active-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}
.invest-active-card:active { transform: scale(0.99); }
.invest-active-media {
    width: 72px;
    height: 52px;
    border-radius: 10px;
    background: #f4f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.invest-active-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.invest-active-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.invest-active-icon {
    width: 56px;
    height: 42px;
    border-radius: 12px;
    background: #f4f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
    overflow: hidden;
}
.invest-active-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.invest-active-info {
    flex: 1;
    min-width: 0;
}
.invest-active-info h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 2px;
}
.invest-active-status {
    font-size: 12px;
    color: #16a34a;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}
.invest-active-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    display: inline-block;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.invest-active-days {
    text-align: right;
    line-height: 1.2;
    flex-shrink: 0;
}
.invest-active-days-kicker {
    display: block;
    font-size: 11px;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 700;
    margin-bottom: 2px;
}
.invest-active-days-num {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
}
.invest-days-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 14px;
}
.invest-days-bar {
    flex: 1;
    width: auto;
    height: 8px;
    margin: 0;
    background: #e5e7eb;
    border-radius: 99px;
    overflow: hidden;
}
.invest-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff8a1a, #ff4d00);
    border-radius: 99px;
    min-width: 0;
    transition: width 0.8s ease;
}
.invest-progress-label {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #e85d00;
    line-height: 1;
    min-width: 36px;
    text-align: right;
}
.invest-active-stats {
    display: flex;
    gap: 12px;
}
.invest-active-stat {
    flex: 1;
    background: var(--bg-secondary);
    border-radius: 10px;
    padding: 10px 12px;
    text-align: center;
}
.invest-active-stat span {
    display: block;
    font-size: 11px;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin-bottom: 2px;
}
.invest-active-stat strong {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 700;
}

/* Products Grid */
.invest-products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 4px 100px;
}
@media (min-width: 480px) {
    .invest-products-grid { grid-template-columns: 1fr 1fr; }
    .invest-hero-content {
        grid-template-columns: 1fr 1fr 1fr;
        padding: 20px;
        gap: 16px;
    }
    .invest-hero-info strong { font-size: 17px; }
    .invest-hero-icon { width: 44px; height: 44px; font-size: 18px; }
}

.plan-detail-sheet { padding: 12px 18px 28px; }
.plan-detail-handle {
    width: 40px; height: 4px; border-radius: 99px;
    background: #d1d5db; margin: 4px auto 16px;
}
.plan-detail-top {
    display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.plan-detail-top img {
    width: 72px; height: 52px; object-fit: cover;
    background: #2a1248; border-radius: 10px; flex-shrink: 0;
}
.plan-detail-top h3 { margin: 0 0 4px; font-size: 16px; font-weight: 800; }
.plan-detail-top > div { flex: 1; min-width: 0; }
.plan-detail-close {
    width: 36px; height: 36px; border: 0; border-radius: 50%;
    background: #f3f4f6; color: #374151; cursor: pointer; flex-shrink: 0;
}
.plan-detail-kpis {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 16px;
}
.plan-detail-kpi {
    background: #f8faf8; border: 1px solid #eef0f3;
    border-radius: 12px; padding: 12px 8px; text-align: center;
}
.plan-detail-kpi.accent { background: #FFF1E6; border-color: #ffe0c7; }
.plan-detail-kpi span {
    display: block; font-size: 10px; font-weight: 700;
    color: #4b5563; text-transform: uppercase; letter-spacing: 0.2px; margin-bottom: 4px;
}
.plan-detail-kpi strong { font-size: 20px; font-weight: 800; color: #111; }
.plan-detail-kpi.accent strong { color: #e85d00; }
.plan-detail-progress { margin-bottom: 16px; }
.plan-detail-progress-head {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 12px; font-weight: 700; color: #4b5563; margin-bottom: 8px;
}
.plan-detail-progress-head b { color: #e85d00; }
.plan-detail-progress .invest-days-bar { width: 100%; height: 8px; }
.plan-detail-rows {
    background: #f8faf8; border-radius: 14px; padding: 4px 14px;
}
.plan-detail-row {
    display: flex; justify-content: space-between; gap: 12px;
    padding: 12px 0; border-bottom: 1px solid #eceff3;
    font-size: 13px;
}
.plan-detail-row:last-child { border-bottom: 0; }
.plan-detail-row span { color: #4b5563; font-weight: 600; }
.plan-detail-row b { color: #111; font-weight: 800; }
.plan-detail-note {
    margin: 14px 0 0; font-size: 12px; color: #6b7280; line-height: 1.45; text-align: center;
}
.plan-next-box {
    margin-top: 10px;
    padding: 12px 12px 8px;
    border-radius: 12px;
    background: #fff7f0;
    border: 1px solid #ffe0c7;
}
.plan-next-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
    font-size: 13px;
}
.plan-next-row span { color: #6b7280; font-weight: 600; }
.plan-next-row b { color: #111; font-weight: 800; font-variant-numeric: tabular-nums; }
.plan-cal-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; margin: 8px 0 4px; padding: 11px 12px;
    border: 1px solid #ffe0c7; border-radius: 12px;
    background: #fff7f0; color: #e85d00;
    font-size: 13px; font-weight: 800; cursor: pointer;
}
.plan-cal {
    margin: 6px 0 10px; padding: 12px;
    border-radius: 14px; background: #f8f8fa; border: 1px solid #eee;
}
.plan-cal-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.plan-cal-head strong { font-size: 14px; color: #111; }
.plan-cal-head span { font-size: 11px; color: #6b7280; }
.plan-cal-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.plan-cal-day {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: 52px; border-radius: 12px; background: #fff; border: 1px solid #eee;
}
.plan-cal-day b { font-size: 15px; font-weight: 800; line-height: 1.1; }
.plan-cal-day small { font-size: 8px; font-weight: 700; text-transform: none; letter-spacing: 0; white-space: nowrap; }
.plan-cal-day.is-done { background: #ecfdf5; border-color: #bbf7d0; color: #059669; }
.plan-cal-day.is-now { background: #fff7f0; border-color: #ffd0a8; color: #e85d00; }
.plan-cal-day.is-wait { color: #9ca3af; }
.plan-cal-legend { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; font-size: 11px; color: #6b7280; }
.plan-cal-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; vertical-align: middle; }
.plan-cal-legend i.done { background: #059669; }
.plan-cal-legend i.now { background: #e85d00; }
.plan-cal-legend i.wait { background: #d1d5db; }

/* Product Card */
.invest-product {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    animation: investFadeUp 0.5s ease backwards;
}
@keyframes investFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.invest-product:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    border-color: var(--primary);
}
.invest-product-img {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
}
.invest-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.invest-product:hover .invest-product-img img {
    transform: scale(1.08);
}
.invest-product-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.6) 100%);
}
.invest-product-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}
.invest-product-level {
    position: absolute;
    bottom: 10px;
    left: 10px;
}
.invest-product-level span {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 8px;
    letter-spacing: 0.5px;
}

/* Product Info */
.invest-product-info {
    padding: 14px 14px 16px;
}
.invest-product-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 12px;
}
.invest-product-metrics {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}
.invest-metric {
    display: flex;
    align-items: center;
    gap: 10px;
}
.invest-metric-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--primary);
    flex-shrink: 0;
}
.invest-metric-icon.total {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}
.invest-metric-icon.roi {
    color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
}
.invest-metric-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    min-width: 0;
}
.invest-metric-text span {
    font-size: 12px;
    color: var(--text-muted);
}
.invest-metric-text strong {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Buy Button */
.invest-buy-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px var(--primary-glow);
}
.invest-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--primary-glow);
}
.invest-buy-btn:active {
    transform: translateY(0);
}
.invest-buy-price {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 14px;
    letter-spacing: 0.3px;
}

/* Slide Down Animation */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════ ADMIN CRON TAB ═══════════════ */
.cron-info-card {
    background: linear-gradient(135deg, var(--primary-light), transparent);
    border: 1px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 20px;
}
.cron-info-card h3 {
    color: var(--primary);
    font-size: 15px;
    margin-bottom: 8px;
}
.cron-info-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   Login (mobile welcome screen)
   ============================================ */
.login-body {
    background: linear-gradient(180deg, #faf7ff 0%, #efe6fb 100%);
}

.login-page {
    position: relative;
    min-height: 100vh;
    max-width: 480px;
    margin: 0 auto;
    padding: 18px 22px 32px;
    overflow: hidden;
}

.login-pattern {
    position: absolute;
    top: -40px;
    right: -80px;
    width: 280px;
    height: 280px;
    pointer-events: none;
    background:
        repeating-linear-gradient(
            125deg,
            transparent,
            transparent 28px,
            rgba(0,0,0,0.025) 28px,
            rgba(0,0,0,0.025) 56px
        );
    clip-path: polygon(20% 0, 100% 0, 100% 80%, 40% 100%, 0 50%);
    opacity: 0.9;
}

.login-back {
    position: relative;
    z-index: 1;
    width: 36px;
    height: 36px;
    margin: 4px 0 18px;
    border: none;
    background: none;
    color: #1a1d29;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    text-decoration: none;
}

.login-topbar {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    margin-bottom: 12px;
}

.login-topbar .login-back {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
}

.login-brand {
    font-size: 16px;
    font-weight: 600;
    color: #2a2e3a;
}

.login-brand-logo {
    height: 64px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    display: block;
}

.login-header {
    position: relative;
    z-index: 1;
    margin-bottom: 28px;
}

.login-welcome {
    color: #9aa0b0;
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 4px;
}

.login-header h1 {
    font-size: 34px;
    font-weight: 800;
    color: #111;
    letter-spacing: -0.6px;
    line-height: 1.15;
}

.login-form { position: relative; z-index: 1; }

.login-field { margin-bottom: 18px; }

.login-field label {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: #9aa0b0;
    margin-bottom: 8px;
    text-transform: none;
    letter-spacing: 0;
}

.login-phone-row {
    display: flex;
    gap: 10px;
}

.login-cc {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: none;
    border-radius: 12px;
    padding: 0 12px;
    height: 52px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #1a1d29;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    cursor: default;
}

.login-cc i { font-size: 10px; color: #c0c4ce; }

.login-flag { font-size: 16px; line-height: 1; }

.login-phone-row input,
.login-input input {
    width: 100%;
    height: 52px;
    background: #fff;
    border: none;
    border-radius: 12px;
    padding: 0 16px;
    font-family: inherit;
    font-size: 14px;
    color: #1a1d29;
    outline: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.login-phone-row input { flex: 1; }

.login-phone-row input::placeholder,
.login-input input::placeholder {
    color: #c5c9d4;
}

.login-input { position: relative; }

.login-input input { padding-right: 46px; }

.login-input .toggle-pass {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #c0c4ce;
    cursor: pointer;
    padding: 4px;
    font-size: 16px;
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 8px 0 22px;
}

.login-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #8b90a0;
    cursor: pointer;
    user-select: none;
}

.login-remember input { display: none; }

.login-check {
    width: 16px;
    height: 16px;
    border: 1.5px solid #c8ccd6;
    border-radius: 3px;
    background: #fff;
    position: relative;
    flex-shrink: 0;
}

.login-remember input:checked + .login-check {
    background: #ff7a00;
    border-color: #ff7a00;
}

.login-remember input:checked + .login-check::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.login-forgot {
    color: #ff7a00;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.login-submit {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 26px;
    background: #ff7a00;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255,122,0,0.28);
}

.login-submit:active { transform: scale(0.99); }

.login-register {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-top: 28px;
    font-size: 14px;
    color: #8b90a0;
}

.login-register a {
    color: #ff7a00;
    font-weight: 600;
    text-decoration: none;
}

.login-captcha-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.login-captcha-row .login-input { flex: 1; min-width: 0; }

.login-captcha {
    position: relative;
    flex: 0 0 108px;
    height: 52px;
    border: none;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    font-family: 'Times New Roman', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 2px;
    overflow: hidden;
}

.login-captcha-line {
    position: absolute;
    left: 8px;
    right: 8px;
    top: 50%;
    height: 2px;
    background: #27ae60;
    transform: rotate(-8deg);
    pointer-events: none;
}

.login-terms {
    align-items: flex-start;
    margin: 4px 0 20px;
    line-height: 1.4;
}

.login-terms a {
    color: #ff7a00;
    text-decoration: none;
    font-weight: 500;
}

.privacy-text {
    position: relative;
    z-index: 1;
    font-size: 14px;
    color: #5f6578;
    line-height: 1.7;
}

.privacy-text h2 {
    font-size: 16px;
    color: #111;
    margin: 18px 0 8px;
}

.legal-page { padding-bottom: 24px; }
.legal-wrap { padding: 8px 0 20px; }
.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary, #666);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}
.legal-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 14px;
    color: #111;
}
.legal-card {
    background: #fff;
    border-radius: 16px;
    padding: 18px 16px 22px;
    box-shadow: 0 8px 24px rgba(0,0,0,.04);
}

@media (min-width: 768px) {
    .login-page { padding-top: 40px; }
}

.bottom-nav.is-hidden { display: none; }
.app-layout.no-nav { padding-bottom: 0; }

.side-fabs {
    position: fixed;
    right: max(12px, calc(50% - 228px));
    bottom: 92px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}
.side-fab {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #1a1a1a;
    pointer-events: auto;
}
.side-fab-icon {
    width: 50px; height: 50px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(255,255,255,0.55);
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.side-fab:hover .side-fab-icon,
.side-fab:active .side-fab-icon {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.22);
}
.side-fab-icon.online {
    background: linear-gradient(145deg, #5b8cff, #3b5bfd);
    color: #fff;
    font-size: 18px;
}
.side-fab-icon.telegram {
    background: linear-gradient(145deg, #37aee2, #1e96c8);
    color: #fff;
    font-size: 20px;
}
.side-fab-icon.whatsapp {
    background: linear-gradient(145deg, #25d366, #128c7e);
    color: #fff;
    font-size: 22px;
}
.side-fab-tag {
    position: absolute; top: -4px; left: -6px;
    background: #16a34a; color: #fff;
    font-size: 9px; font-weight: 800;
    padding: 2px 5px; border-radius: 6px;
    box-shadow: 0 2px 6px rgba(22,163,74,.4);
}
.tg-group-modal {
    display: none; position: fixed; inset: 0; z-index: 200;
    background: rgba(15,23,42,.45);
    align-items: center; justify-content: center; padding: 20px;
}
.tg-group-modal.open { display: flex; }
.tg-group-card {
    width: min(320px, 92vw); background: #fff; border-radius: 18px;
    padding: 22px 18px; text-align: center; box-shadow: 0 16px 40px rgba(0,0,0,.18);
}
.tg-group-ico {
    width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 18px;
    background: linear-gradient(145deg, #37aee2, #1e96c8);
    color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.tg-group-card h3 { font-size: 17px; margin-bottom: 8px; }
.tg-group-card p { font-size: 14px; color: #475569; margin-bottom: 16px; line-height: 1.4; }
.tg-group-go {
    display: block; background: linear-gradient(145deg, #37aee2, #1e96c8);
    color: #fff; text-decoration: none; font-weight: 800; border-radius: 12px; padding: 12px;
}
.tg-group-close {
    margin-top: 10px; border: 0; background: none; color: #64748b; font-weight: 600; cursor: pointer;
}
.pix-paid-modal {
    display: none; position: fixed; inset: 0; z-index: 240;
    background: rgba(15,23,42,.5);
    align-items: center; justify-content: center; padding: 20px;
}
.pix-paid-modal.open { display: flex; }
.pix-paid-card {
    width: min(340px, 92vw); background: #fff; border-radius: 20px;
    padding: 28px 20px 22px; text-align: center;
    box-shadow: 0 18px 44px rgba(0,0,0,.2);
    animation: pixPaidIn .28s ease-out;
}
.pix-paid-ico {
    width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 50%;
    background: #ecfdf5; color: #16a34a;
    display: flex; align-items: center; justify-content: center; font-size: 38px;
}
.pix-paid-card h3 { font-size: 20px; font-weight: 800; color: #16a34a; margin-bottom: 6px; }
.pix-paid-card p { font-size: 14px; color: #64748b; line-height: 1.4; }
.pix-paid-amt { font-size: 28px; font-weight: 800; color: var(--accent, #ff6a00); margin: 12px 0 4px; }
@keyframes pixPaidIn {
    from { transform: scale(.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.side-fab-icon.bonus {
    background: linear-gradient(145deg, #ff8a3d, #ff5a1f);
    color: #fff;
    font-size: 18px;
}
.side-fab-icon.bola {
    width: 58px;
    height: 58px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 8px 18px rgba(124, 92, 220, 0.28);
    overflow: hidden;
}
.side-fab-icon.bola img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.side-fab-label {
    margin-top: 5px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #334155;
    text-shadow: 0 1px 0 rgba(255,255,255,0.8);
}
.side-fab-dot {
    position: absolute; top: -2px; right: 2px;
    width: 10px; height: 10px; border-radius: 50%;
    background: #ef4444; border: 2px solid #fff;
}

.filter-row {
    display: flex; align-items: center; gap: 14px;
    overflow-x: auto; padding: 2px 2px 12px;
    font-size: 13px; color: #4b5160; font-weight: 600;
    -webkit-overflow-scrolling: touch;
}
.filter-row a, .filter-row span {
    white-space: nowrap; color: inherit; text-decoration: none;
}
.filter-row .is-active { color: var(--accent); }
.filter-row .filter-btn { margin-left: auto; display: flex; align-items: center; gap: 4px; }

.city-pills {
    display: flex; gap: 8px; overflow-x: auto;
    padding: 0 0 14px; -webkit-overflow-scrolling: touch;
}
.city-pill {
    flex: 0 0 auto;
    padding: 8px 16px;
    border-radius: 999px;
    background: #f3e8ff;
    color: #6d28d9;
    font-size: 13px; font-weight: 700;
    text-decoration: none;
}
.city-pill.active { background: var(--accent); color: #fff; }

.taxi-card {
    background: linear-gradient(180deg, #fff 0%, #faf5ff 100%);
    border-radius: 24px;
    padding: 16px 14px 14px;
    margin-bottom: 16px;
    box-shadow: 0 16px 40px rgba(88, 28, 135, 0.10);
    border: 1px solid rgba(196, 181, 253, .45);
    position: relative;
    overflow: hidden;
}
.taxi-card::before {
    content: '';
    position: absolute; right: -30px; top: -40px;
    width: 140px; height: 140px; border-radius: 50%;
    background: radial-gradient(circle, rgba(196,181,253,.45), transparent 70%);
    pointer-events: none;
}
.taxi-card-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.taxi-info { flex: 1; min-width: 0; }
.taxi-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.taxi-media { width: 132px; flex-shrink: 0; text-align: right; }
.taxi-img {
    width: 132px; height: 110px;
    object-fit: contain;
    filter: drop-shadow(0 10px 14px rgba(91, 33, 182, .22));
}
.taxi-title { font-size: 17px; font-weight: 800; font-family: Fraunces, Georgia, serif; color: #3b0764; }
.badge-op {
    background: var(--gold-gradient); color: #fff;
    font-size: 11px; font-weight: 700;
    padding: 3px 8px; border-radius: 6px;
}
.taxi-profit { font-size: 13px; color: #4c1d95; margin: 6px 0 8px; }
.taxi-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.mini-tag {
    background: #f3e8ff; color: #6d28d9;
    font-size: 11px; padding: 3px 8px; border-radius: 999px;
}
.taxi-mid { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.taxi-cycle { font-size: 12px; color: #6b5b7a; }
.taxi-next-yield { font-size: 11px; color: #7c6b8a; margin-top: 4px; line-height: 1.35; }
.taxi-timer {
    background: #7C3AED; color: #fff;
    font-size: 12px; font-weight: 800;
    padding: 4px 8px; border-radius: 6px;
}
.taxi-foot {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 8px;
}
.taxi-price { font-size: 22px; font-weight: 800; color: #3b0764; font-family: Fraunces, Georgia, serif; }
.btn-alugar {
    background: var(--gold-gradient); color: #fff; border: none;
    border-radius: 22px; padding: 10px 28px;
    font-weight: 800; font-size: 15px; cursor: pointer;
    box-shadow: 0 4px 14px rgba(124,58,237,0.35);
    text-decoration: none;
    display: inline-flex; align-items: center;
}
.btn-alugar.is-disabled {
    background: #c5c9d0;
    box-shadow: none;
    cursor: default;
    pointer-events: none;
}

.chat-screen { min-height: 100vh; background: #eef3f7; display: flex; flex-direction: column; }
.chat-head {
    background: #0b1c33; color: #fff;
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; padding-top: max(14px, env(safe-area-inset-top));
}
.chat-head a { color: #fff; font-size: 18px; }
.chat-head h1 { flex: 1; text-align: center; font-size: 16px; margin-right: 24px; }
.chat-body {
    flex: 1; overflow-y: auto; padding: 24px 16px 12px;
    background-image: repeating-linear-gradient(-32deg, transparent, transparent 48px, rgba(0,0,0,0.015) 48px, rgba(0,0,0,0.015) 96px);
    position: relative;
}
.chat-empty { text-align: center; margin-top: 18vh; color: #8a93a3; }
.chat-empty i { font-size: 42px; margin-bottom: 10px; display: block; }
.chat-composer {
    background: #fff; display: flex; align-items: center; gap: 8px;
    padding: 10px 12px; padding-bottom: max(12px, env(safe-area-inset-bottom));
}
.chat-composer textarea {
    flex: 1; border: none; background: #f1f3f6; border-radius: 20px;
    padding: 10px 14px; resize: none; min-height: 40px; max-height: 90px;
    font-family: inherit; font-size: 14px; outline: none;
}
.chat-send {
    width: 42px; height: 42px; border: none; border-radius: 10px;
    background: #14b8a6; color: #fff; font-size: 16px; cursor: pointer;
}
.chat-message.sent .chat-bubble { background: #14b8a6; }

.page-subhead {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px;
}
.page-subhead h1 { font-size: 17px; font-weight: 800; }
.page-subhead a { color: #222; font-size: 18px; }

.prize-card {
    background: #fff; border-radius: 18px; padding: 20px 16px 18px;
    text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.timer-row { display: flex; justify-content: center; align-items: center; gap: 6px; margin-bottom: 14px; }
.timer-box {
    min-width: 36px; height: 36px; border-radius: 8px;
    background: #f3f3f3; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 14px;
}
.digit-row { display: flex; justify-content: center; gap: 4px; margin: 10px 0 16px; flex-wrap: wrap; }
.digit-box {
    width: 28px; height: 42px; border-radius: 8px;
    background: #f2f2f2; color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 18px;
}
.btn-receber {
    width: 100%; height: 48px; border: none; border-radius: 999px;
    background: var(--accent); color: #fff; font-weight: 800; font-size: 18px; cursor: pointer;
}
.invite100-card {
    background: #fff; border-radius: 18px; padding: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06); margin-bottom: 14px;
}
.invite-progress-bar { height: 10px; background: #eee; border-radius: 999px; overflow: hidden; margin: 10px 0; }
.invite-progress-bar span { display: block; height: 100%; background: var(--accent); }

.lucky-page {
    margin: -20px; min-height: calc(100vh - 120px);
    background: radial-gradient(circle at 50% 20%, #5b2db3, #2a1060 70%);
    color: #fff; padding: 16px 16px 40px; text-align: center;
}
.lucky-title {
    font-size: 32px; font-weight: 900; color: #ffe14a;
    text-shadow: 0 3px 0 #2d6dff, 0 8px 18px rgba(0,0,0,0.35);
    margin: 8px 0 6px;
}
.lucky-ribbon {
    display: inline-block; background: #7a3ad6; padding: 6px 18px;
    border-radius: 8px; font-size: 12px; margin-bottom: 16px;
}
.lucky-globe {
    width: 250px; height: 250px; margin: 0 auto 16px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 30%, #7ad7ff, #1a4cff 70%);
    box-shadow: 0 0 0 10px #8a5cff, 0 0 0 16px #4de2ff, 0 20px 40px rgba(0,0,0,0.35);
    position: relative; overflow: hidden;
}
.lucky-globe .caps {
    position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px;
}
.cap { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(#ff8ec8, #ff4fa0); box-shadow: inset 0 -6px 0 rgba(255,255,255,0.3); }
.cap.w { background: linear-gradient(#fff, #e8e8e8); }
.lucky-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.lucky-btn {
    border: none; border-radius: 14px; padding: 14px;
    font-weight: 800; color: #fff; cursor: pointer;
}
.lucky-btn.one { background: linear-gradient(90deg, #ff8a1a, #ff4d00); }
.lucky-btn.ten { background: #6b6b6b; }
.lucky-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.dark-toast {
    position: fixed; left: 50%; top: 42%; transform: translate(-50%,-50%);
    background: #2b2b2b; color: #fff; border-radius: 16px;
    padding: 22px 20px; width: min(300px, 86vw); text-align: center; z-index: 1200;
}
.dark-toast .x {
    width: 48px; height: 48px; border-radius: 50%; border: 3px solid #fff;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px; font-size: 22px;
}

a.btn-alugar { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

.page-content.plan-page {
    background: #fff;
    color: #1a1d29;
    min-height: 100vh;
    padding: 0 0 140px !important;
    margin: -20px;
    width: calc(100% + 40px);
}
.plan-head {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 8px;
    position: sticky; top: 0; z-index: 20;
    background: #fff;
}
.plan-back { color: #222; font-size: 18px; width: 40px; text-align: center; }
.plan-head h1 { flex: 1; text-align: center; font-size: 16px; font-weight: 800; margin: 0 32px 0 0; color: #1a1d29; }
.plan-head-space { width: 8px; }
.plan-hero-img { text-align: center; padding: 8px 20px 4px; }
.plan-hero-img img { max-width: 86%; height: 160px; object-fit: cover; border-radius: 16px; }
.plan-hero-dot { width: 36px; height: 4px; border-radius: 4px; background: var(--accent); margin: 8px auto 0; }
.plan-idrow { display: flex; align-items: center; gap: 8px; padding: 12px 16px 6px; }
.plan-idrow strong { font-size: 16px; }
.plan-h { font-size: 15px; font-weight: 800; padding: 8px 16px 8px; color: #333; }
.plan-next-yield {
    margin: 0 16px 12px;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
}
.plan-infogrid {
    margin: 0 16px 16px;
    background: #f4f4f6;
    border-radius: 14px;
    padding: 14px 12px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px 8px;
}
.plan-infogrid div { display: flex; flex-direction: column; gap: 4px; }
.plan-infogrid span { font-size: 11px; color: #888; }
.plan-infogrid strong { font-size: 13px; font-weight: 800; }
.plan-infogrid .span2 { grid-column: 1 / -1; }
.plan-details { padding: 0 16px 20px; font-size: 13px; color: #444; line-height: 1.65; }
.plan-details p { margin-bottom: 12px; }
.plan-sticky {
    position: fixed; left: 50%; transform: translateX(-50%);
    bottom: 0; width: 100%; max-width: 480px;
    background: #fff; padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
    box-shadow: 0 -12px 32px rgba(16,24,40,0.10);
    border-top: 1px solid #f0f1f4;
    z-index: 80;
}
.plan-buy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.plan-buy-price {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.plan-buy-price span {
    font-size: 11px;
    font-weight: 700;
    color: #8b93a7;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.plan-buy-price strong {
    font-size: 24px;
    font-weight: 800;
    color: #1a1d29;
    line-height: 1.15;
    margin: 2px 0 3px;
}
.plan-buy-price em {
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
}
.plan-buy-btn {
    flex: 0 0 auto;
    min-width: 132px;
    padding: 13px 28px;
    border-radius: 999px;
    font-size: 16px;
}
.plan-sticky-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}
.plan-sticky-row strong { font-size: 18px; }
.plan-sticky-btn { width: 100%; padding: 14px; border-radius: 14px; font-size: 16px; }
.plan-total-red { color: #e11d2e; font-weight: 800; }
.plan-confirm-card {
    margin: 8px 16px 20px; background: #fff;
    border-top: 1px solid #eee;
}
.plan-line {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 4px; border-bottom: 1px solid #f1f1f1; font-size: 14px;
}
.plan-muted { color: #e11d2e; font-size: 13px; }
.plan-pay-lead { padding: 16px 16px 10px; font-size: 14px; font-weight: 700; color: #1a1d29; }
.plan-pay-list { padding: 0 16px; display: flex; flex-direction: column; gap: 10px; }
.plan-pay-opt {
    display: flex; align-items: center; gap: 12px;
    background: #f3f3f5; border-radius: 14px; padding: 16px;
    cursor: pointer;
    color: #1a1d29;
}
.rent-receipt {
    margin: 16px 16px 24px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 22px 18px 12px;
    box-shadow: 0 10px 28px rgba(16,24,40,0.06);
}
.rent-receipt-ok {
    width: 52px; height: 52px; border-radius: 50%;
    background: #16a34a; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; margin: 0 auto 12px;
}
.rent-receipt h2 { font-size: 18px; font-weight: 800; margin: 0 0 4px; text-align: center; color: #1a1d29; }
.rent-receipt .sub { font-size: 12px; color: #8b8f97; text-align: center; margin-bottom: 16px; }
.rent-receipt .line {
    display: flex; justify-content: space-between; gap: 12px;
    font-size: 13px; padding: 9px 0; border-bottom: 1px solid #f1f1f3; color: #555;
}
.rent-receipt .line b { font-weight: 800; color: #1a1d29; text-align: right; }
.rent-receipt .net { font-size: 15px; border-bottom: 0; padding-top: 12px; color: #1a1d29; }
.rent-receipt .net b { color: #16a34a; }
.plan-pay-opt input { display: none; }
.plan-pay-opt div { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.plan-pay-opt span { font-size: 12px; color: #888; }
.plan-pay-opt i { color: #ccc; }
.plan-pay-opt.is-on { background: #f3e8ff; }
.plan-pay-opt.is-on i { color: var(--accent); }
.plan-hero-img {
    position: relative;
    display: flex; justify-content: center; align-items: flex-end;
    padding: 12px 0 8px;
    min-height: 220px;
}
.plan-hero-img::before { display: none; }
.plan-hero-img img {
    width: 220px; height: 220px;
    object-fit: cover;
    border-radius: 24px;
    position: relative; z-index: 1;
}
.acai-bubbles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 12px;
    padding: 10px 18px 18px;
    max-width: 380px;
    margin: 0 auto;
}
.acai-bubble {
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.9), rgba(216,180,254,.62) 48%, rgba(167,139,250,.42));
    box-shadow: 0 14px 30px rgba(109,40,217,.18), inset 0 1px 0 rgba(255,255,255,.75);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
    padding: 18px 14px;
}
.acai-bubble span {
    font-size: 11px;
    color: #fff;
    text-shadow: 0 1px 8px rgba(91,33,182,.5);
}
.acai-bubble strong {
    font-family: Fraunces, Georgia, serif;
    font-size: 18px;
    color: #3b0764;
    margin-top: 6px;
    line-height: 1.15;
}

.acai-bubbles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 10px;
    padding: 8px 8px 20px;
    max-width: 360px;
    margin: 0 auto;
}
.acai-bubble {
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.85), rgba(216,180,254,.55) 45%, rgba(167,139,250,.4));
    box-shadow: 0 12px 28px rgba(109,40,217,.16), inset 0 1px 0 rgba(255,255,255,.7);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
    padding: 16px 12px;
}
.acai-bubble span {
    font-size: 11px;
    color: #fff;
    text-shadow: 0 1px 6px rgba(91,33,182,.45);
    letter-spacing: .2px;
}
.acai-bubble strong {
    font-family: Fraunces, Georgia, serif;
    font-size: 20px;
    color: #3b0764;
    margin-top: 6px;
    line-height: 1.15;
}
.plan-hero-img {
    position: relative;
    display: flex; justify-content: center;
    padding: 8px 0 4px;
}
.plan-hero-img img {
    width: 210px; height: 210px;
    object-fit: cover;
    border-radius: 24px;
    position: relative; z-index: 1;
}
.plan-hero-img::before {
    display: none;
    content: '';
    position: absolute;
    width: 180px; height: 90px;
    bottom: 18px;
    background: #86efac;
    border-radius: 50% 50% 40% 40%;
    filter: blur(0);
    z-index: 0;
}
.plan-idrow strong, .plan-head h1 {
    font-family: Fraunces, Georgia, serif;
}
.team-level-card .level-number {
    background: var(--gold-gradient) !important;
}

/* ============================================
   Açaí shell — dock + dark pulp look
   ============================================ */
.app-layout {
    background: transparent;
    padding-bottom: 108px;
    color: #faf5ff;
}
.app-header {
    background: linear-gradient(180deg, rgba(26,5,40,.92) 0%, rgba(26,5,40,.55) 100%) !important;
    border-bottom: 0 !important;
    backdrop-filter: blur(18px);
}
.app-header.is-compact {
    background: rgba(26, 5, 40, .88) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.header-datetime {
    background: rgba(255,255,255,.08) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    box-shadow: none !important;
}
.header-datetime .header-date,
.header-datetime .header-time { color: #f3e8ff !important; }
.header-btn {
    background: rgba(255,255,255,.1) !important;
    color: #f5d0fe !important;
    border-radius: 50%;
}
.page-content { color: #faf5ff; }

.hero-banner {
    background: linear-gradient(145deg, #6d28d9 0%, #86198f 55%, #4c1d95 100%) !important;
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 18px 40px rgba(76, 29, 149, .35);
}
.balance-card {
    background: linear-gradient(160deg, rgba(88,28,135,.92), rgba(49,10,81,.95)) !important;
    border: 1px solid rgba(216,180,254,.28) !important;
    color: #fff;
    box-shadow: 0 20px 48px rgba(24, 6, 45, .35) !important;
}
.balance-label, .balance-stat .label { color: #e9d5ff !important; }
.balance-amount { color: #fff !important; }
.balance-stat .value,
.balance-stat .value.text-gold,
.balance-stat .value.text-accent { color: #f5d0fe !important; }
.section-title { color: #f3e8ff !important; }

.quick-actions { gap: 10px; }
.quick-action {
    background: rgba(255,255,255,.08) !important;
    border: 1px solid rgba(255,255,255,.1) !important;
    color: #faf5ff !important;
    border-radius: 18px !important;
    box-shadow: none !important;
}
.quick-action .icon {
    background: linear-gradient(145deg, #c084fc, #7c3aed) !important;
    color: #fff !important;
}
.quick-action .icon.green,
.quick-action .icon.gold,
.quick-action .icon.blue,
.quick-action .icon.purple { color: #fff !important; }
.quick-action .label { color: #f3e8ff !important; }

.checkin-card,
.my-plan-card,
.refer-card,
.invite100-card,
.team-level-card,
.milestone-card {
    background: rgba(255,255,255,.08) !important;
    border: 1px solid rgba(255,255,255,.1) !important;
    color: #faf5ff;
    box-shadow: none !important;
}
.checkin-info h3, .my-plan-card h3, .refer-card h3 { color: #fff !important; }
.checkin-info p { color: #e9d5ff !important; }

.taxi-card {
    background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(88,28,135,.35)) !important;
    border: 1px solid rgba(216,180,254,.25) !important;
    box-shadow: 0 16px 36px rgba(10,0,20,.25) !important;
}
.taxi-title, .taxi-price { color: #faf5ff !important; }
.taxi-profit, .taxi-cycle, .taxi-next-yield { color: #e9d5ff !important; }
.mini-tag { background: rgba(192,132,252,.22) !important; color: #f5d0fe !important; }
.filter-row, .filter-row a { color: #e9d5ff !important; }
.city-pill { background: rgba(255,255,255,.1) !important; color: #f5d0fe !important; }
.city-pill.active { background: #c026d3 !important; color: #fff !important; }

.bottom-nav,
.bottom-nav { display: none !important; }

.acai-dock,
.acai-dock {
    position: fixed;
    left: 50%;
    bottom: max(10px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    width: calc(100% - 22px);
    max-width: 430px;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 8px 10px 10px;
    background: linear-gradient(180deg, #3b0764, #1e0533);
    border: 1px solid rgba(244, 114, 182, .28);
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(12, 0, 24, .45), inset 0 1px 0 rgba(255,255,255,.12);
    backdrop-filter: blur(16px);
}
.acai-dock.is-hidden,
.acai-dock.is-hidden { display: none; }
.acai-dock-item,
.acai-dock-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    color: #c4b5fd;
    font-size: 10px;
    font-weight: 700;
    padding: 6px 0 2px;
}
.acai-dock-item i,
.acai-dock-item i { font-size: 17px; }
.acai-dock-item.is-on,
.acai-dock-item.is-on { color: #fce7f3; }
.acai-dock-item.is-on i,
.acai-dock-item.is-on i {
    background: rgba(236, 72, 153, .28);
    width: 38px; height: 28px;
    border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fbcfe8;
}
.acai-dock-main,
.acai-dock-main { position: relative; top: -22px; }
.acai-dock-bowl,
.acai-dock-bowl {
    width: 62px; height: 62px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 30% 25%, #f0abfc, #d946ef 42%, #7e22ce 100%);
    color: #fff;
    font-size: 22px;
    border: 3px solid #2e1065;
    box-shadow: 0 10px 24px rgba(217, 70, 239, .45);
}
.acai-dock-main span:last-child,
.acai-dock-main span:last-child { color: #f5d0fe; margin-top: 2px; }

.side-fab-label { color: #f3e8ff !important; text-shadow: 0 1px 4px rgba(0,0,0,.4); }

.plan-page, .plan-head h1 { color: #faf5ff; }
.plan-head { color: #fff; }
.plan-back { color: #f5d0fe !important; }
.plan-infogrid, .plan-details, .plan-confirm-card {
    color: #f3e8ff;
}
.plan-sticky {
    background: linear-gradient(180deg, transparent, #1e0533 30%) !important;
}

.side-fabs { display: none !important; }

.acai-topbar {
    position: sticky; top: 0; z-index: 100;
    padding: 8px 14px !important;
    background: rgba(18, 4, 32, .78) !important;
    border-bottom: 1px solid rgba(255,255,255,.06) !important;
    backdrop-filter: blur(18px);
}
.acai-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    min-height: 56px;
}
.acai-when {
    font-size: 11px;
    font-weight: 700;
    color: #e9d5ff;
    opacity: .85;
    white-space: nowrap;
    z-index: 2;
}
.acai-logo-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}
.acai-logo-center {
    height: 58px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,.4));
}
.acai-top-actions {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    z-index: 2;
}
.acai-ico {
    width: 40px; height: 40px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.08);
    color: #f5d0fe;
    position: relative;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.08);
}
.acai-ico .badge {
    position: absolute; top: -4px; right: -4px;
    min-width: 16px; height: 16px; padding: 0 4px;
    border-radius: 99px; background: #f472b6; color: #fff;
    font-size: 9px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}

.qa-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 0 0 18px;
}
.qa-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 8px 12px;
    border-radius: 20px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    color: #f5e1ff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
}
.qa-item em {
    position: absolute;
    top: 6px; right: 8px;
    font-style: normal;
    font-size: 9px;
    background: #22c55e;
    color: #fff;
    padding: 2px 5px;
    border-radius: 99px;
}
.qa-ico {
    width: 42px; height: 42px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 16px;
}
.qa-in { background: #16a34a; }
.qa-out { background: #a21caf; }
.qa-tg { background: #0284c7; }
.qa-wa { background: #16a34a; }
.qa-chat { background: #7c3aed; }
.qa-gift { background: #c2410c; }

.invite-sheet {
    margin: 8px 0 18px;
    padding: 16px;
    border-radius: 22px;
    background: #fff;
    color: #3b0764;
}
.invite-copy-block span,
.invite-sheet .invite-copy-block span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #a21caf;
}
.invite-copy-block strong,
.invite-sheet .invite-copy-block strong {
    display: block;
    font-size: 18px;
    margin: 4px 0 12px;
    color: #3b0764;
}
.invite-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #faf5ff;
    border-radius: 16px;
    padding: 10px 10px 10px 14px;
}
.invite-link small { display: block; font-size: 10px; color: #7e22ce; font-weight: 700; }
.invite-link b { font-size: 12px; color: #3b0764; word-break: break-all; }
.invite-copy-btn {
    margin-left: auto;
    border: 0;
    background: #7e22ce;
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    border-radius: 12px;
    padding: 10px 14px;
    cursor: pointer;
}
.invite-copy-btn.is-ok { background: #16a34a; }
.invite-nums {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}
.invite-nums div {
    background: #faf5ff;
    border-radius: 14px;
    padding: 12px 10px;
    text-align: center;
}
.invite-nums b { display: block; font-size: 16px; color: #6b21a8; }
.invite-nums small { color: #7e22ce; font-size: 11px; }

.checkin-card {
    background: rgba(255,255,255,.08) !important;
    border: 1px solid rgba(255,255,255,.1) !important;
}
