@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --white: #fefefe;
    --black: #0f0f1a;
    --text: #1a1a2e;
    --text-light: #5a5a72;
    --accent: #e8a838;
    --accent-light: #ffd076;
    --accent-dark: #c78520;
    --accent-glow: rgba(232, 168, 56, 0.25);
    --green: #00c853;
    --green-soft: rgba(0, 200, 83, 0.12);
    --red: #ff3d57;
    --red-soft: rgba(255, 61, 87, 0.12);
    --teal: #00bfa5;
    --teal-dark: #008e76;
    --purple: #7c4dff;
    --blue: #448aff;
    --pink: #ff6090;
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.45);
    --glass-shadow: 0 8px 40px rgba(31, 38, 135, 0.08);
    --glass-shadow-lg: 0 12px 48px rgba(31, 38, 135, 0.12);
    --radius: 18px;
    --radius-sm: 12px;
    --radius-xs: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body {
    padding-bottom: 80px;
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}

/* ===== ANIMATED GRADIENT BACKGROUND ===== */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 480px;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-gradient::before {
    content: '';
    position: absolute;
    width: 250%;
    height: 250%;
    top: -60%;
    left: -60%;
    background: radial-gradient(ellipse at 20% 50%, rgba(124, 77, 255, 0.18) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, rgba(68, 138, 255, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 40% 80%, rgba(255, 96, 144, 0.12) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 60%, rgba(0, 191, 165, 0.10) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 40%, rgba(232, 168, 56, 0.08) 0%, transparent 40%);
    animation: bgShift 25s ease-in-out infinite alternate;
}

.bg-gradient::after {
    content: '';
    position: absolute;
    width: 250%;
    height: 250%;
    top: -40%;
    left: -40%;
    background: radial-gradient(ellipse at 60% 30%, rgba(156, 39, 176, 0.12) 0%, transparent 45%),
                radial-gradient(ellipse at 30% 70%, rgba(41, 121, 255, 0.10) 0%, transparent 45%),
                radial-gradient(ellipse at 80% 80%, rgba(255, 145, 203, 0.10) 0%, transparent 45%),
                radial-gradient(ellipse at 15% 15%, rgba(0, 200, 83, 0.06) 0%, transparent 40%);
    animation: bgShift2 30s ease-in-out infinite alternate;
}

@keyframes bgShift {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(5%, -3%) rotate(2deg); }
    50% { transform: translate(-3%, 5%) rotate(-1deg); }
    75% { transform: translate(4%, 2%) rotate(1.5deg); }
    100% { transform: translate(-2%, -4%) rotate(-2deg); }
}

@keyframes bgShift2 {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-4%, 3%) rotate(-2deg); }
    66% { transform: translate(3%, -5%) rotate(1.5deg); }
    100% { transform: translate(-1%, 2%) rotate(-1deg); }
}

/* ===== MAIN CONTENT ===== */
.main-content {
    position: relative;
    z-index: 1;
    padding: 0 16px;
}

/* ===== GLASS CARD ===== */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,0.6);
}

.glass-sm {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 20px rgba(31, 38, 135, 0.06), inset 0 1px 0 rgba(255,255,255,0.5);
}

/* ===== HEADER ===== */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    position: relative;
    z-index: 10;
}

.top-bar .globe-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    box-shadow: 0 4px 14px var(--accent-glow);
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement {
    margin: 0 16px 16px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.announcement i {
    color: var(--accent);
    font-size: 16px;
}

.announcement span {
    font-size: 13px;
    color: var(--text-light);
}

/* ===== BANNER SLIDER ===== */
.banner-slider {
    margin: 0 16px 20px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    height: 200px;
}

.banner-slider .slides {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.banner-slider .slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.slide-1 {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 40%, #93c5fd 100%);
}

.slide-2 {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 40%, #fbbf24 100%);
}

.slide-3 {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 40%, #6ee7b7 100%);
}

.slide-content {
    text-align: center;
    z-index: 1;
}

.slide-content h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.slide-content p {
    font-size: 13px;
    color: var(--text-light);
}

.slide-content .platform-logo {
    width: 120px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.banner-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.banner-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.banner-dots .dot.active {
    background: var(--accent);
    width: 20px;
    border-radius: 4px;
}

/* ===== QUICK ACTIONS GRID ===== */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 0 16px;
    margin-bottom: 24px;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 14px 6px;
    border-radius: var(--radius-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.action-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.action-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.action-icon.deposit { background: #fff3e0; color: #f5a623; }
.action-icon.withdrawal { background: #e3f2fd; color: #2196f3; }
.action-icon.invitation { background: #fce4ec; color: #e91e63; }
.action-icon.customer { background: #e8f5e9; color: #4caf50; }
.action-icon.terms { background: #e3e8f0; color: #607d8b; }
.action-icon.about { background: #fff8e1; color: #ff9800; }
.action-icon.faq { background: #f3e5f5; color: #9c27b0; }
.action-icon.wfp { background: #fce4ec; color: #e91e63; }

.action-item span {
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
    text-align: center;
    line-height: 1.2;
}

/* ===== SECTION TITLE ===== */
.section-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--accent-dark);
    padding: 0 16px;
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}

/* ===== WITHDRAW FEED ===== */
.withdraw-feed {
    padding: 0 16px;
    margin-bottom: 20px;
    max-height: 320px;
    overflow: hidden;
    position: relative;
}

.withdraw-feed-inner {
    animation: scrollFeed 12s linear infinite;
}

.withdraw-feed:hover .withdraw-feed-inner {
    animation-play-state: paused;
}

@keyframes scrollFeed {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.withdraw-item {
    display: flex;
    align-items: center;
    padding: 16px;
    margin-bottom: 10px;
    gap: 14px;
}

.withdraw-item .icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px var(--accent-glow);
}

.withdraw-item .info {
    flex: 1;
}

.withdraw-item .info .user {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.withdraw-item .info .status {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px;
}

.withdraw-item .amount {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

/* ===== TABS ===== */
.tabs {
    display: flex;
    gap: 8px;
    padding: 0 16px;
    margin-bottom: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tabs::-webkit-scrollbar { display: none; }

.tab-btn {
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    color: var(--text-light);
    border: 1px solid rgba(0,0,0,0.06);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    color: white;
    border-color: var(--accent);
    box-shadow: 0 6px 18px var(--accent-glow);
    font-weight: 600;
}

/* ===== VIP CARDS ===== */
.vip-card {
    margin: 0 16px 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    overflow: hidden;
    position: relative;
}

.vip-card .vip-info {
    flex: 1;
}

.vip-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    background: var(--accent);
    margin-bottom: 8px;
}

.vip-card .platform-name {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-dark);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.vip-card .vip-details p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 3px;
}

.vip-card .platform-image {
    width: 130px;
    height: 130px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
}

.platform-placeholder {
    width: 130px;
    height: 130px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

/* ===== ORDER RECORD ===== */
.order-card {
    margin: 0 16px 16px;
    padding: 18px;
}

.order-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 14px;
    line-height: 1.6;
}

.order-product {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.order-product .product-img {
    width: 90px;
    height: 90px;
    border-radius: 10px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #ccc;
    flex-shrink: 0;
    overflow: hidden;
}

.order-product .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-product .product-info {
    flex: 1;
}

.order-product .product-info .name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.order-product .product-info .price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-product .product-info .price {
    font-size: 14px;
    color: var(--text-light);
}

.order-product .product-info .qty {
    font-size: 14px;
    color: var(--text-light);
}

.order-summary {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-summary .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.order-summary .row:last-child {
    border-bottom: none;
}

.order-summary .row .label {
    font-size: 14px;
    color: var(--text);
}

.order-summary .row .value {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent-dark);
}

/* ===== BUTTONS ===== */
.btn {
    display: block;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-light), var(--accent), var(--accent-dark));
    color: white;
    box-shadow: 0 6px 20px var(--accent-glow);
    font-weight: 700;
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(232, 168, 56, 0.5);
}

.btn-teal {
    background: linear-gradient(135deg, #26d9c1, var(--teal), var(--teal-dark));
    color: white;
    box-shadow: 0 6px 20px rgba(0, 191, 165, 0.3);
    font-weight: 700;
    letter-spacing: 0.3px;
}

.btn-teal:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 191, 165, 0.45);
}

/* ===== DEPOSIT PAGE ===== */
.page-title {
    font-size: 26px;
    font-weight: 900;
    color: var(--accent-dark);
    padding: 20px 16px 16px;
    letter-spacing: -0.5px;
}

.deposit-option {
    margin: 0 16px 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s;
}

.deposit-option:hover {
    transform: translateY(-1px);
}

.deposit-option .left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.deposit-option .crypto-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.deposit-option .crypto-icon.usdt {
    background: #26a17b;
    color: white;
}

.deposit-option .name {
    font-size: 16px;
    font-weight: 500;
}

.deposit-option .radio {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #ddd;
    position: relative;
    transition: all 0.2s;
}

.deposit-option.selected .radio {
    border-color: var(--accent);
}

.deposit-option.selected .radio::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
}

.deposit-actions {
    padding: 16px;
}

.deposit-actions .btn {
    margin-bottom: 12px;
}

.cs-link {
    margin: 0 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: var(--text);
    font-size: 15px;
}

.cs-link i {
    color: #ccc;
}

/* ===== PROFILE PAGE ===== */
.profile-header {
    padding: 20px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
}

.profile-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    font-weight: 600;
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info .name {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-dark);
}

.profile-info .meta {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px;
}

.profile-info .invite-code {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-info .invite-code .copy-btn {
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    font-size: 14px;
}

.profile-bell {
    position: absolute;
    right: 16px;
    top: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--accent);
}

/* ===== WALLET CARD ===== */
.wallet-card {
    margin: 0 16px 20px;
    padding: 28px;
    background: linear-gradient(135deg, #26d9c1, var(--teal), var(--teal-dark));
    color: white;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 12px 36px rgba(0, 191, 165, 0.3);
    position: relative;
    overflow: hidden;
}

.wallet-card::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.wallet-card::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 180px;
    height: 180px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.wallet-card .wallet-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.wallet-card .wallet-balance {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
}

.wallet-buttons {
    display: flex;
    gap: 12px;
    padding: 0 16px;
    margin-bottom: 24px;
}

.wallet-buttons .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px;
    font-size: 15px;
    border-radius: var(--radius-sm);
}

/* ===== SERVICE CENTER ===== */
.service-center {
    padding: 0 16px;
    margin-bottom: 24px;
}

.service-center .sc-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent-dark);
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.service-item {
    padding: 18px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.2s;
}

.service-item:hover {
    transform: translateY(-2px);
}

.service-item .si-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.si-icon.balance { background: #ede7f6; color: #7c4dff; }
.si-icon.team { background: #e0f2f1; color: #26a69a; }
.si-icon.dep-rec { background: #fff3e0; color: #ff9800; }
.si-icon.wd-rec { background: #e8f5e9; color: #66bb6a; }
.si-icon.invite { background: #fce4ec; color: #ef5350; }
.si-icon.settings { background: #f3e5f5; color: #ab47bc; }

.service-item .si-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

/* ===== BALANCE PAGE ===== */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    font-size: 20px;
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: none;
}

.transaction-list {
    padding: 0 16px;
}

.transaction-item {
    display: flex;
    align-items: center;
    padding: 16px;
    margin-bottom: 10px;
    gap: 14px;
}

.transaction-item .tx-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.tx-icon.tx-in {
    background: #fff3e0;
    color: #f5a623;
}

.tx-icon.tx-out {
    background: #e3f2fd;
    color: #2196f3;
}

.transaction-item .tx-info {
    flex: 1;
}

.transaction-item .tx-info .tx-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.transaction-item .tx-info .tx-date {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}

.transaction-item .tx-amount {
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.tx-amount.positive {
    color: var(--green);
    font-weight: 700;
}

.tx-amount.negative {
    color: var(--red);
    font-weight: 700;
}

/* ===== SETTINGS PAGE ===== */
.settings-list {
    padding: 0 16px;
}

.settings-item {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    margin-bottom: 10px;
    text-decoration: none;
    color: var(--text);
    gap: 14px;
    transition: transform 0.2s;
}

.settings-item:hover {
    transform: translateX(4px);
}

.settings-item .si-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.si-icon-wrap.login-pass { background: #ede7f6; color: #7c4dff; }
.si-icon-wrap.wd-pass { background: #e0f2f1; color: #26a69a; }
.si-icon-wrap.wd-method { background: #fff3e0; color: #ff9800; }
.si-icon-wrap.logout { background: #e8f5e9; color: #66bb6a; }

.settings-item .si-label {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
}

.settings-item .si-arrow {
    color: #ccc;
    font-size: 14px;
}

/* ===== FORM ELEMENTS ===== */
.form-group {
    margin-bottom: 16px;
    padding: 0 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-sm);
    font-size: 15px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 168, 56, 0.1);
}

/* ===== INVITATION PAGE ===== */
.invite-card {
    margin: 16px;
    padding: 30px 24px;
    text-align: center;
}

.invite-card .invite-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.invite-card .invite-desc {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.5;
}

.invite-code-box {
    background: rgba(245, 166, 35, 0.08);
    border: 2px dashed var(--accent);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.invite-code-box .code {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 3px;
}

.invite-code-box .copy-icon {
    background: var(--accent);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
}

/* ===== INFO PAGES (Terms, About, FAQ) ===== */
.info-content {
    padding: 0 16px;
    margin-bottom: 24px;
}

.info-card {
    padding: 24px;
    margin-bottom: 16px;
}

.info-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.info-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 10px;
}

.info-card ul {
    padding-left: 20px;
    margin-bottom: 10px;
}

.info-card ul li {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 4px;
}

.faq-item {
    margin-bottom: 12px;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.faq-question i {
    transition: transform 0.3s;
    color: var(--text-light);
}

.faq-question.open i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px 16px;
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    display: none;
}

.faq-answer.show {
    display: block;
}

/* ===== WITHDRAWAL PAGE ===== */
.wd-amount-input {
    margin: 16px;
    padding: 24px;
    text-align: center;
}

.wd-amount-input .wd-label {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 14px;
}

.wd-amount-input .wd-field {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 10px;
}

.wd-amount-input .wd-field .currency-symbol {
    font-size: 28px;
    font-weight: 600;
    color: var(--text);
}

.wd-amount-input .wd-field input {
    font-size: 40px;
    font-weight: 700;
    color: var(--text);
    border: none;
    background: none;
    width: 200px;
    text-align: center;
    outline: none;
    font-family: inherit;
}

.wd-amount-input .wd-balance {
    font-size: 13px;
    color: var(--text-light);
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 50px 16px;
    color: var(--text-light);
    font-size: 14px;
}

/* ===== BOTTOM NAVBAR ===== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: space-around;
    padding: 8px 0 14px;
    z-index: 100;
    box-shadow: 0 -6px 30px rgba(31, 38, 135, 0.06);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    color: #999;
    font-size: 10px;
    font-weight: 500;
    padding: 4px 12px;
    transition: color 0.2s;
    position: relative;
}

.nav-item i {
    font-size: 20px;
    transition: transform 0.2s;
}

.nav-item.active {
    color: var(--accent);
}

.nav-item.active i {
    transform: scale(1.1);
}

.nav-item span {
    font-size: 10px;
}

/* ===== LOGIN/REGISTER ===== */
.auth-page {
    padding: 40px 16px;
    text-align: center;
}

.auth-page .auth-logo {
    font-size: 48px;
    color: var(--accent);
    margin-bottom: 10px;
}

.auth-page .auth-title {
    font-size: 28px;
    font-weight: 900;
    color: var(--black);
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.auth-page .auth-subtitle {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.auth-form {
    text-align: left;
}

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-link {
    text-align: center;
    padding: 16px;
    font-size: 14px;
    color: var(--text-light);
}

.auth-link a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

/* ===== WFP PAGE ===== */
.wfp-card {
    margin: 16px;
    padding: 24px;
    text-align: center;
}

.wfp-card .wfp-icon {
    font-size: 50px;
    color: var(--accent);
    margin-bottom: 14px;
}

.wfp-card h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.wfp-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 0;
    height: 0;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.4s ease forwards;
}

.fade-in-delay-1 { animation-delay: 0.05s; opacity: 0; }
.fade-in-delay-2 { animation-delay: 0.1s; opacity: 0; }
.fade-in-delay-3 { animation-delay: 0.15s; opacity: 0; }
.fade-in-delay-4 { animation-delay: 0.2s; opacity: 0; }
.fade-in-delay-5 { animation-delay: 0.25s; opacity: 0; }

/* ===== RESPONSIVE ===== */
@media (min-width: 481px) {
    body {
        border-left: 1px solid rgba(0,0,0,0.05);
        border-right: 1px solid rgba(0,0,0,0.05);
        box-shadow: 0 0 40px rgba(0,0,0,0.05);
    }
}
