/* ===================================
   SULTAN PREMIUM ADDONS
   Tambahan style di atas mobile.css
   (Jangan ganti atau rusak mobile.css)
   =================================== */

:root {
    --gold-primary: #D4AF37;
    --gold-secondary: #8C6A1B;
    --gold-glow: 0 0 25px rgba(212, 175, 55, 0.4);
    --border-glass: rgba(255, 255, 255, 0.08);
}

/* BASE GLASS CARD */
.glass-card {
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* SULTAN ELITE 3D CARD */
.card-perspective {
    perspective: 1500px;
    margin-bottom: 24px;
}

.sultan-card {
    width: 100%;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.sultan-card.is-flipped {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.card-front {
    background: linear-gradient(135deg, #111 0%, #000 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(212, 175, 55, 0.1);
}

.card-back {
    background: linear-gradient(135deg, #050505 0%, #111 100%);
    transform: rotateY(180deg);
    border: 1px solid rgba(212, 175, 55, 0.3);
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hologram-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(212, 175, 55, 0.15) 50%, transparent 60%);
    background-size: 200% 200%;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.card-chip {
    width: 45px;
    height: 35px;
    background: linear-gradient(135deg, #D4AF37, #F5E0A0);
    border-radius: 6px;
    position: relative;
}

.card-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--gold-primary);
}

.card-status { font-size: 10px; color: #888; font-weight: 700; }
.card-number { font-size: 18px; font-weight: 700; color: #fff; letter-spacing: 2.5px; margin: 15px 0; }
.card-holder { font-size: 12px; font-weight: 800; color: #fff; letter-spacing: 1px; }

/* PROMO SLIDER */
.promo-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 20px;
    scrollbar-width: none;
}

.promo-slider::-webkit-scrollbar { display: none; }

.promo-slide {
    min-width: 280px;
    width: 280px;
    height: 160px;
    background: #111;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    border: 1px solid rgba(255,255,255,0.05);
}

.promo-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.promo-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
}

.promo-content h4 { font-size: 13px; font-weight: 800; color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }

/* PORTFOLIO CARD */
.portfolio-card {
    background: linear-gradient(135deg, #0f0f0f, #050505);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 32px;
    padding: 30px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.portfolio-card::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
}

.crypto-logo-3d {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #000;
    font-size: 24px;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.card-label { font-size: 11px; font-weight: 800; color: #888; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 6px; }
.balance-amount { font-size: 36px; font-weight: 900; color: #fff; letter-spacing: -1px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }

.stats-grid { display: flex; justify-content: space-between; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); }
.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-item .val { font-size: 16px; font-weight: 800; }
.stat-item .lbl { font-size: 10px; color: #666; font-weight: 700; text-transform: uppercase; }

/* ACTION GRID */
.action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    transition: all 0.3s ease;
}

.action-item:active .icon-circle { transform: scale(0.9); background: rgba(212, 175, 55, 0.1); border-color: rgba(212, 175, 55, 0.3); }
.action-item span { font-size: 10px; font-weight: 800; color: #bbb; text-transform: uppercase; letter-spacing: 0.5px; }

/* CHART BOX */
.chart-box {
    background: rgba(0,0,0,0.3);
    border-radius: 24px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    height: 180px;
    margin-bottom: 32px;
}

/* FAB NAVIGATION (Floating Bottom Nav) */
.fab-nav {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    height: 72px;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 28px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 900;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255,255,255,0.03);
}

.fab-nav .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #666;
    transition: all 0.3s ease;
    flex: 1;
    padding: 8px 0;
}

.fab-nav .nav-link i {
    font-size: 20px;
    transition: all 0.3s ease;
}

.fab-nav .nav-link span {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fab-nav .nav-link.active {
    color: var(--primary-gold);
}

.fab-nav .nav-link.active i {
    color: var(--primary-gold);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
    transform: translateY(-2px);
}

/* Padding bawah buat konten agar tidak tertutup navbar */
.main-view {
    padding-bottom: 110px;
}

/* STATUS BADGE */
.sts-success { color: #00E676 !important; }
.sts-error   { color: #FF1744 !important; }
.sts-pending { color: var(--primary-gold) !important; }

/* TRANSACTION LIST AMOUNT COLORS */
.amt.sts-success { color: #00E676 !important; }
.amt.sts-error   { color: #FF1744 !important; }

/* VIP TAG */
.vip-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-gold);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 50px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* LEADERBOARD TAB - Glass list item tambahan */
.glass-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 10px;
}

.item-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(212, 175, 55, 0.08);
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.item-main { flex: 1; }
.item-main h5 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.item-main p  { font-size: 10px; color: #888; }
.item-side    { text-align: right; }

/* RESET PASSWORD BUTTON (di tab Lainnya) */
.btn-reset-pass {
    width: 100%;
    padding: 14px;
    border-radius: 16px;
    background: rgba(10, 132, 255, 0.08);
    color: #0A84FF;
    border: 1px solid rgba(10, 132, 255, 0.2);
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 12px;
    transition: 0.3s;
}

.btn-reset-pass:active { opacity: 0.7; }

/* SECTION HEADER */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.section-header h3 {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

/* ===================================
   NOTIFICATION & FOMO STYLES
   =================================== */

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 16px;
    min-width: 280px;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
}

.toast.show { transform: translateX(0); }

.toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.toast.success .toast-icon { background: rgba(0, 230, 118, 0.1); color: #00E676; }
.toast.error .toast-icon { background: rgba(255, 23, 68, 0.1); color: #FF1744; }
.toast.warning .toast-icon { background: rgba(212, 175, 55, 0.1); color: var(--primary-gold); }

.toast-content { flex: 1; }
.toast-title { font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 2px; }
.toast-message { font-size: 12px; color: #aaa; line-height: 1.4; }

.toast-close {
    background: transparent;
    border: none;
    color: #555;
    font-size: 14px;
    cursor: pointer;
    padding: 4px;
}

/* FOMO Notifications */
.fomo-notification {
    position: fixed;
    bottom: 104px; /* Above fab-nav */
    left: 20px;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 20px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 850;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    max-width: 85vw;
}

.fomo-notification.show { transform: translateY(0); }

.fomo-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--primary-gold);
    background: #111;
}

.fomo-content { flex: 1; }
.fomo-text { font-size: 11px; color: #eee; line-height: 1.3; }
.fomo-text strong { color: var(--primary-gold); }
.fomo-time { font-size: 9px; color: #777; margin-top: 2px; }

/* Status Overlays */
.status-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.status-card {
    background: #0f0f0f;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 32px;
    padding: 40px 24px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    animation: scaleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.status-icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    position: relative;
}

.status-title { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.status-msg { font-size: 14px; color: #aaa; line-height: 1.6; margin-bottom: 32px; }

.status-btn {
    width: 100%;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary-gold), #8C6A1B);
    color: #000;
    border: none;
    font-weight: 800;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

/* Biometric Overlay */
.biometric-overlay {
    position: fixed;
    inset: 0;
    z-index: 11000;
    background: rgba(0,0,0,0.95);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.scanner-box {
    width: 120px;
    height: 120px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.scanner-icon {
    font-size: 60px;
    color: var(--primary-gold);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 15px var(--primary-gold)); }
    100% { transform: scale(1); opacity: 0.8; }
}

.scan-line {
    position: absolute;
    left: 10px;
    right: 10px;
    height: 2px;
    background: var(--primary-gold);
    box-shadow: 0 0 15px var(--primary-gold);
    animation: scan 2s infinite ease-in-out;
}

@keyframes scan {
    0% { top: 20%; }
    50% { top: 80%; }
    100% { top: 20%; }
}

#biometric-text { font-size: 14px; color: #eee; font-weight: 600; letter-spacing: 1px; }
