:root {
    /* Premium Green Palette: Deep Navy & Emerald */
    --bg-deep: #050b14;
    --bg-card: rgba(14, 29, 47, 0.85);
    --bg-card-hover: rgba(19, 38, 60, 0.95);
    
    --primary-accent: #00C853;
    --secondary-accent: #00E676;
    --cyan-glow: #00BFA5;
    
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;

    --gradient-main: linear-gradient(135deg, #00C853 0%, #00E676 100%);
    --gradient-gold: linear-gradient(135deg, #00E676 0%, #00C853 100%);
    --gradient-dark: linear-gradient(180deg, #0A1929 0%, #0C253C 100%);
    
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-shine: 1px solid rgba(255, 255, 255, 0.15);
    
    --shadow-glow: 0 0 20px rgba(0, 200, 83, 0.2);
    --shadow-card: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.6);

    /* Typography */
    --font-body: 'Outfit', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;

    /* Spacing & Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    
    --container-width: 1240px;
    --header-height: 80px;
}

/* Modern Reset & Base */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    outline: none; 
    -webkit-tap-highlight-color: transparent; 
}

html { 
    scroll-behavior: smooth; 
    font-size: 16px; 
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-deep);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(0, 200, 83, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 230, 118, 0.05), transparent 25%);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: #1E3A5F; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-accent); }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Utilities */
h1, h2, h3, h4 { 
    font-family: var(--font-heading); 
    color: var(--text-main); 
    line-height: 1.2; 
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Preloader */
.preloader {
    position: fixed; 
    inset: 0;
    background: #0A1929;
    display: flex; 
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.fade-out { 
    opacity: 0; 
    visibility: hidden; 
}

.loader { 
    display: flex; 
    gap: 6px; 
    margin-bottom: 20px; 
}
.green-bar {
    width: 6px; 
    height: 30px;
    background: var(--gradient-main);
    border-radius: 10px;
    animation: pulse-loader 1s ease-in-out infinite;
}
.green-bar:nth-child(2) { animation-delay: 0.1s; height: 45px; }
.green-bar:nth-child(3) { animation-delay: 0.2s; height: 60px; }
.green-bar:nth-child(4) { animation-delay: 0.3s; height: 45px; }
.green-bar:nth-child(5) { animation-delay: 0.4s; }

@keyframes pulse-loader {
    0%, 100% { transform: scaleY(0.5); opacity: 0.5; }
    50% { transform: scaleY(1); opacity: 1; box-shadow: 0 0 15px var(--primary-accent); }
}

.preloader-text { 
    font-family: var(--font-heading); 
    font-size: 1.5rem; 
    letter-spacing: 4px; 
    font-weight: 700; 
    color: white; 
}

/* Header / Navbar */
.header {
    position: fixed; 
    top: 0; 
    left: 0; 
    right: 0;
    height: var(--header-height);
    background: rgba(5, 11, 20, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 100%; 
}

.nav__logo { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    text-decoration: none; 
}
.logo { 
    width: 36px; 
    height: 36px; 
    filter: drop-shadow(0 0 8px rgba(0, 200, 83, 0.5)); 
    transition: transform 0.3s ease; 
}
.nav__logo:hover .logo { 
    transform: rotate(10deg); 
}
.logo__text { 
    font-size: 1.3rem; 
    font-weight: 700; 
    letter-spacing: 1px; 
    color: white; 
    font-family: var(--font-heading); 
}

.nav__menu { 
    display: flex; 
    align-items: center; 
    gap: 40px; 
}
.nav__list { 
    display: flex; 
    list-style: none; 
    gap: 32px; 
}

.nav__link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
    position: relative;
    cursor: pointer;
}
.nav__link:hover, 
.nav__link.active { 
    color: white; 
    text-shadow: 0 0 10px rgba(0, 200, 83, 0.6); 
}
.nav__link::after {
    content: ''; 
    position: absolute; 
    bottom: -6px; 
    left: 50%; 
    transform: translateX(-50%) scaleX(0);
    width: 20px; 
    height: 2px; 
    background: var(--primary-accent);
    transition: 0.3s; 
    border-radius: 2px;
}
.nav__link:hover::after, 
.nav__link.active::after { 
    transform: translateX(-50%) scaleX(1); 
    width: 100%; 
}

.nav__toggle { 
    display: none; 
    font-size: 1.5rem; 
    color: white; 
    cursor: pointer; 
    padding: 10px;
}

/* Buttons */
.btn {
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600; 
    font-size: 0.95rem; 
    font-family: var(--font-body);
    cursor: pointer; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none; 
    position: relative; 
    overflow: hidden; 
    border: none;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn--primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 200, 83, 0.3);
}
.btn--primary::before {
    content: ''; 
    position: absolute; 
    top: 0; 
    left: -100%; 
    width: 100%; 
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}
.btn--primary:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 25px rgba(0, 230, 118, 0.4); 
}
.btn--primary:hover::before { 
    left: 100%; 
}

.btn--outline {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 200, 83, 0.4);
    color: white;
    backdrop-filter: blur(5px);
}
.btn--outline:hover {
    background: rgba(0, 200, 83, 0.1);
    border-color: var(--primary-accent);
    transform: translateY(-2px);
}

.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* Compact Buttons for Mobile */
.compact-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    height: 44px;
    min-width: 120px;
}

/* Timer Section - FIXED for Mobile */
.timer-section {
    display: none;
    margin-bottom: 30px;
    width: 100%;
}

.timer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
}

.timer-box {
    background: rgba(0, 200, 83, 0.08);
    border: 1px solid rgba(0, 200, 83, 0.2);
    border-radius: var(--radius-lg);
    padding: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    width: 100%;
    min-width: 0; /* Prevent overflow */
    overflow: hidden;
}

.timer-label {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.timer-value {
    color: #A7FFEB;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 200, 83, 0.3);
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Sections General */
.section { 
    padding-top: 130px; 
    padding-bottom: 80px; 
    min-height: 100vh;
    display: flex; 
    flex-direction: column;
    justify-content: flex-start;
}
.section__header { 
    text-align: center; 
    margin-bottom: 60px; 
    max-width: 800px; 
    margin-left: auto; 
    margin-right: auto; 
}
.section__title {
    font-size: 3rem; 
    margin-bottom: 16px; 
    font-weight: 700;
    background: linear-gradient(to right, #fff, #b8b8b8);
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;
}
.section__subtitle { 
    color: var(--text-muted); 
    font-size: 1.125rem; 
}

/* Dashboard Sections */
.dashboard-section {
    margin-bottom: 40px;
    width: 100%;
}

.dashboard-subtitle {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.dashboard-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gradient-main);
    border-radius: 2px;
}

/* Compact Stats for Mobile & Desktop */
.compact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
    width: 100%;
}

.compact-card {
    padding: 20px !important;
    flex-direction: column;
    text-align: center;
    gap: 12px;
    min-height: auto;
    height: 100%;
    width: 100%;
    position: relative;
}

.compact-card .stat-icon {
    width: 46px;
    height: 46px;
    font-size: 1.4rem;
    margin: 0 auto;
    background: rgba(0, 200, 83, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-accent);
}

.compact-card .stat-value {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.2;
    color: white;
    word-break: break-word;
}

.compact-card .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.2;
}

/* Compact Action Buttons */
.compact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    width: 100%;
}

.compact-buttons .compact-btn {
    flex: 1;
    min-width: 140px;
    max-width: 240px;
}

/* Premium Cards */
.premium-card {
    background: linear-gradient(145deg, rgba(14, 29, 47, 0.9), rgba(10, 25, 41, 0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    width: 100%;
}

.premium-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.03), transparent 30%);
    pointer-events: none;
}

/* Premium Table Containers */
.premium-table-container {
    background: rgba(255, 255, 255, 0.015);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    margin-top: 20px;
    overflow-x: auto; 
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.table-responsive {
    width: 100%;
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch;
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.premium-table th {
    background: rgba(0, 200, 83, 0.1);
    color: white;
    padding: 16px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(0, 200, 83, 0.3);
    white-space: nowrap;
}

.premium-table td {
    padding: 16px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.95rem;
    vertical-align: middle;
    word-break: break-word;
}

.premium-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.premium-table tr:last-child td {
    border-bottom: none;
}

/* Team Data Table Specific */
.team-table td {
    font-size: 0.9rem;
    padding: 12px 8px;
}

.team-table th {
    padding: 12px 8px;
    font-size: 0.8rem;
}

/* Mobile Positions View */
.mobile-positions-view {
    display: none;
}

.mobile-position-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 15px;
}

.mobile-position-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-position-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.mobile-position-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.mobile-position-value {
    color: white;
    font-weight: 600;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

/* Hero Section - FIXED: LIVE indicator alignment */
#home { 
    padding-top: 150px; 
    justify-content: center;
    min-height: 100vh;
}
.hero__container { 
    display: grid; 
    grid-template-columns: 1.2fr 0.8fr; 
    gap: 60px; 
    align-items: center; 
}

.badge {
    background: rgba(0, 200, 83, 0.15); 
    border: 1px solid rgba(0, 200, 83, 0.4);
    color: #A7FFEB; 
    padding: 8px 20px; 
    border-radius: 20px;
    font-size: 0.875rem; 
    font-weight: 600; 
    letter-spacing: 0.5px; 
    margin-bottom: 24px; 
    display: inline-block;
}

.hero__title { 
    font-size: 3.5rem; 
    line-height: 1.1; 
    margin-bottom: 24px; 
    font-weight: 800; 
}
.hero__description { 
    color: var(--text-muted); 
    font-size: 1.125rem; 
    margin-bottom: 40px; 
    max-width: 90%; 
}
.hero__buttons { 
    display: flex; 
    gap: 16px; 
    margin-bottom: 40px; 
}

.floating-card {
    padding: 32px; 
    border-radius: var(--radius-xl);
    background: linear-gradient(160deg, rgba(19, 38, 60, 0.8) 0%, rgba(10, 25, 41, 0.9) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    animation: float-hero 6s ease-in-out infinite;
    position: relative;
    width: 100%;
}
.floating-card::before {
    content: ''; 
    position: absolute; 
    inset: -1px; 
    border-radius: inherit; 
    padding: 1px;
    background: linear-gradient(135deg, rgba(0,200,83,0.5), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; 
    mask-composite: exclude; 
    pointer-events: none;
}

@keyframes float-hero {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* FIXED: Card header alignment untuk Platform Statistics */
.card__header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 24px; 
    border-bottom: 1px solid rgba(255,255,255,0.05); 
    padding-bottom: 16px; 
}
.card__header h3 { 
    font-size: 1.2rem; 
    font-weight: 600; 
    margin: 0;
    text-align: left; /* Perbaikan: teks lebih ke kiri */
    flex: 1; /* Perbaikan: agar tidak terlalu ke tengah */
}
.live-indicator { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    color: #4ade80; 
    font-weight: 700; 
    font-size: 0.85rem; 
    white-space: nowrap;
}
.dot { 
    width: 8px; 
    height: 8px; 
    background: #4ade80; 
    border-radius: 50%; 
    box-shadow: 0 0 10px #4ade80; 
    animation: blink 2s infinite; 
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.stat-item { 
    display: flex; 
    justify-content: space-between; 
    padding: 12px 0; 
    border-bottom: 1px solid rgba(255,255,255,0.03); 
}
.stat-item:last-child { 
    border-bottom: none; 
}
.stat-item .label { 
    color: var(--text-muted); 
    font-size: 0.95rem; 
}
.stat-item .value { 
    color: white; 
    font-weight: 600; 
    font-family: var(--font-heading); 
    font-size: 1.1rem; 
    text-shadow: 0 0 10px rgba(0,200,83,0.3); 
}

/* Investment Plans */
.investment-plans { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 25px; 
    margin-bottom: 50px; 
}

.plan-card {
    padding: 25px; 
    text-align: center; 
    position: relative; 
    transition: 0.4s ease;
    display: flex; 
    flex-direction: column; 
    height: 100%;
    background: linear-gradient(145deg, rgba(14, 29, 47, 0.8), rgba(10, 25, 41, 0.9));
    border: var(--glass-border);
    border-radius: var(--radius-lg);
}
.plan-card:hover { 
    transform: translateY(-8px); 
    border-color: var(--primary-accent); 
    box-shadow: 0 15px 40px rgba(0,0,0,0.4); 
}

.plan-header {
    margin-bottom: 15px;
}

.plan-badge {
    background: rgba(0, 200, 83, 0.2);
    color: #A7FFEB;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
    border: 1px solid rgba(0, 200, 83, 0.4);
}

.plan-card.featured {
    border: 2px solid var(--primary-accent);
    transform: scale(1.05);
    background: linear-gradient(145deg, rgba(19, 38, 60, 0.9), rgba(14, 29, 47, 0.95));
}

.plan-card.featured .plan-badge {
    background: var(--gradient-main);
    color: white;
}

.plan-roi { 
    font-size: 1.4rem; 
    font-weight: 700; 
    margin-bottom: 10px; 
    color: #A7FFEB; 
    text-shadow: 0 0 15px rgba(0,200,83,0.3);
    line-height: 1.3;
}

.plan-range { 
    background: rgba(255,255,255,0.05); 
    padding: 10px; 
    border-radius: 10px;
    margin-bottom: 20px; 
    color: var(--text-muted); 
    font-size: 0.9rem; 
    border: 1px solid rgba(255,255,255,0.05);
}
.plan-features { 
    list-style: none; 
    margin-bottom: 25px; 
    flex-grow: 1; 
    text-align: left; 
    padding-left: 10px; 
}
.plan-features li { 
    margin-bottom: 10px; 
    color: #cbd5e1; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    font-size: 0.85rem;
}
.plan-features li i { 
    color: #00E676; 
    font-size: 0.8rem; 
}

/* Plan Details Box */
.plan-details-box {
    background: rgba(0, 200, 83, 0.1);
    border: 1px solid rgba(0, 200, 83, 0.2);
    padding: 20px;
    border-radius: 12px;
    margin-top: 10px;
}

.plan-details-box h4 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.plan-details-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.plan-details-box li {
    color: #A7FFEB;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.plan-details-box li i {
    color: #00E676; 
    font-size: 0.8rem;
}

/* Forms */
.investment-form-container, 
.referral-link-container { 
    max-width: 600px; 
    margin: 0 auto 40px; 
    padding: 30px; 
    width: 100%;
}

.referral-link-container {
    text-align: center;
}
.referral-link-container p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
    width: 100%;
}

.form-group label { 
    display: block; 
    margin-bottom: 8px; 
    color: var(--text-muted); 
    font-size: 0.9rem; 
    font-weight: 500;
}

.form-input, 
.link-input {
    width: 100%; 
    padding: 14px 16px; 
    border-radius: 12px;
    background: rgba(10, 25, 41, 0.8); 
    border: 1px solid rgba(255,255,255,0.1);
    color: white; 
    font-family: var(--font-body); 
    font-size: 1rem;
    transition: 0.3s;
}
.form-input:focus, 
.link-input:focus { 
    border-color: var(--primary-accent); 
    box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.1); 
}

/* Custom Select Styling */
.custom-select-wrapper {
    position: relative;
    width: 100%;
    max-width: 200px;
}

.custom-select-wrapper::after {
    content: "▼";
    font-size: 0.8rem;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: var(--primary-accent);
    pointer-events: none;
    transition: transform 0.3s;
}

.custom-select-wrapper:focus-within::after {
    transform: translateY(-50%) rotate(180deg);
}

.link-input-group {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
}

.link-input-group .link-input {
    flex: 1;
    min-width: 0;
}

.link-input-group .btn {
    min-width: 100px;
}

.amount-range {
    font-size: 0.8rem; 
    color: var(--text-muted); 
    margin-top: 6px;
}

.form-hint {
    color: var(--text-muted); 
    font-size: 0.8rem; 
    margin-top: 5px; 
    display: block;
}

#confirmInvestment {
    margin: 20px auto 0;
    display: flex;
    min-width: 200px;
}

/* Alerts & States */
.alert {
    padding: 20px; 
    border-radius: 16px; 
    display: flex; 
    align-items: center; 
    gap: 16px;
    max-width: 800px; 
    margin: 0 auto 30px; 
    font-size: 0.95rem;
    background: rgba(15, 23, 42, 0.9); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
}
.alert-warning { 
    background: rgba(245, 158, 11, 0.1); 
    border-color: rgba(245, 158, 11, 0.3); 
    color: #fbbf24; 
}

.empty-state { 
    text-align: center; 
    padding: 60px 20px; 
}
.empty-icon { 
    font-size: 3rem; 
    color: rgba(255,255,255,0.1); 
    margin-bottom: 20px; 
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-active {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-completed {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Wallet Address Styling - FIXED */
.wallet-address {
    font-family: monospace;
    background: rgba(255,255,255,0.08);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    word-break: break-all;
    max-width: 100%;
    display: inline-block;
    color: var(--primary-accent) !important; /* Hijau */
}

/* Referral Address Format */
.referral-address {
    font-family: monospace;
    color: var(--primary-accent);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Popups & Notifications - FIXED: Success popup styling */
.investment-success-popup {
    position: fixed; 
    inset: 0; 
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px); 
    z-index: 2000;
    display: flex; 
    justify-content: center; 
    align-items: center;
    opacity: 0; 
    visibility: hidden; 
    transition: 0.3s;
    cursor: pointer;
}
.investment-success-popup.active { 
    opacity: 1; 
    visibility: visible; 
}
.investment-success { 
    max-width: 450px; 
    width: 90%; 
    padding: 40px; 
    text-align: center; 
    transform: scale(0.9); 
    transition: 0.3s; 
    background: linear-gradient(145deg, #0e1d2f, #071422);
    border: 1px solid var(--primary-accent);
    border-radius: var(--radius-xl);
    box-shadow: 0 0 50px rgba(0, 200, 83, 0.2);
    cursor: default;
}
.investment-success-popup.active .investment-success { 
    transform: scale(1); 
}

.success-icon {
    width: 80px; 
    height: 80px; 
    background: var(--gradient-main); 
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 2rem; 
    color: white;
    margin: 0 auto 24px; 
    box-shadow: 0 0 30px rgba(0, 230, 118, 0.5);
}

.success-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* FIXED: Only one button in success popup */
.single-success-action {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.notification {
    position: fixed; 
    top: 100px; 
    right: 20px; 
    padding: 16px 24px;
    background: rgba(14, 29, 47, 0.95); 
    border: 1px solid rgba(255,255,255,0.1);
    color: white; 
    border-radius: 12px; 
    z-index: 3000;
    transform: translateX(120%); 
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex; 
    align-items: center; 
    gap: 10px;
    max-width: 90%;
    word-break: break-word;
}
.notification.show { 
    transform: translateX(0); 
}
.notification.success { 
    border-left: 4px solid #00C853; 
    background: linear-gradient(to right, rgba(0, 200, 83, 0.1), rgba(14, 29, 47, 0.9));
}
.notification.error { 
    border-left: 4px solid #ef4444; 
    background: linear-gradient(to right, rgba(239, 68, 68, 0.1), rgba(14, 29, 47, 0.9));
}
.notification.info { 
    border-left: 4px solid #00BFA5; 
    background: linear-gradient(to right, rgba(0, 191, 165, 0.1), rgba(14, 29, 47, 0.9));
}

/* Referral Levels Compact */
.referral-levels-compact, 
.leadership-levels-compact { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); 
    gap: 15px; 
    margin-bottom: 40px; 
    margin-top: 30px;
}
.referral-level-compact, 
.leadership-level-compact { 
    padding: 20px; 
    text-align: center; 
    transition: 0.3s;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
}
.referral-level-compact:hover, 
.leadership-level-compact:hover { 
    background: rgba(0, 200, 83, 0.1); 
    border-color: rgba(0, 200, 83, 0.3); 
    transform: translateY(-3px);
}

.level-number-compact {
    width: 32px; 
    height: 32px; 
    background: rgba(255,255,255,0.1); 
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 auto 10px;
    font-size: 0.8rem; 
    font-weight: 700; 
    color: var(--primary-accent);
}
.level-commission-compact { 
    color: white; 
    font-weight: 700; 
    font-size: 1rem; 
    margin-bottom: 5px;
}
.level-requirement-compact { 
    font-size: 0.7rem; 
    color: var(--text-muted); 
    line-height: 1.2; 
}

/* FAQ - UPDATED with 10 questions */
.faq-item { 
    margin-bottom: 16px; 
    overflow: hidden; 
    transition: 0.3s; 
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.faq-item:hover { 
    border-color: rgba(0, 200, 83, 0.3); 
}
.faq-question { 
    padding: 20px; 
    cursor: pointer; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.faq-question h3 { 
    font-size: 1rem; 
    font-weight: 600; 
    margin: 0; 
    color: white;
}
.faq-icon { 
    transition: 0.3s; 
    color: var(--primary-accent); 
}
.faq-answer { 
    max-height: 0; 
    overflow: hidden; 
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 20px; 
    color: var(--text-muted); 
    line-height: 1.7;
}
.faq-item.active .faq-answer { 
    padding-bottom: 20px; 
    max-height: 500px; 
}
.faq-item.active .faq-icon { 
    transform: rotate(180deg); 
}

/* Footer */
.footer { 
    border-top: 1px solid rgba(255,255,255,0.05); 
    padding: 80px 0 30px; 
    background: #030810; 
    margin-top: auto; 
}
.footer__content {
    text-align: center;
}
.footer__logo { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    margin-bottom: 20px; 
    justify-content: center; 
}
.footer__logo img { 
    width: 30px; 
    height: 30px; 
    filter: drop-shadow(0 0 8px rgba(0, 200, 83, 0.5));
}
.footer__logo span { 
    font-size: 1.5rem; 
    font-weight: 700; 
    font-family: var(--font-heading); 
    color: white; 
}
.footer__content p {
    color: var(--text-muted); 
    max-width: 500px; 
    margin: 0 auto 30px; 
    line-height: 1.6;
}
.footer__social { 
    display: flex; 
    gap: 16px; 
    margin-top: 30px; 
    justify-content: center; 
}
.social__link {
    width: 44px; 
    height: 44px; 
    border-radius: 12px; 
    background: rgba(255,255,255,0.05);
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: white;
    transition: 0.3s; 
    border: 1px solid rgba(255,255,255,0.05); 
    text-decoration: none;
}
.social__link:hover { 
    background: var(--primary-accent); 
    transform: translateY(-3px); 
    box-shadow: 0 5px 15px rgba(0, 200, 83, 0.4); 
}
.footer__bottom { 
    margin-top: 60px; 
    padding-top: 30px; 
    border-top: 1px solid rgba(255,255,255,0.05); 
    text-align: center; 
    color: rgba(255,255,255,0.3); 
    font-size: 0.9rem; 
}

/* Team Data Container */
.team-data-container {
    margin-top: 30px;
    width: 100%;
}

.team-filters {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.compact-select {
    width: 100%;
    max-width: 200px;
    height: 45px;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0 35px 0 15px; /* Memberikan ruang untuk tanda panah */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: rgba(10, 25, 41, 0.8);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: white;
    font-family: var(--font-body);
}

/* Mobile Table View for Team Data */
.mobile-team-view {
    display: none;
}

.mobile-team-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 15px;
}

.mobile-team-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-team-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.mobile-team-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.mobile-team-value {
    color: white;
    font-weight: 600;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

/* --- RESPONSIVE ADJUSTMENTS --- */

@media (max-width: 1200px) {
    .hero__title { font-size: 3rem; }
    .section__title { font-size: 2.5rem; }
}

@media (max-width: 968px) {
    .hero__container { 
        grid-template-columns: 1fr; 
        text-align: center; 
        gap: 50px; 
    }
    .hero__content { 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
    }
    .hero__title { font-size: 2.5rem; }
    .hero__buttons { 
        justify-content: center; 
        flex-wrap: wrap; 
    }
    .compact-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .investment-plans {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .plan-roi {
        font-size: 1.3rem;
    }
    .plan-card.featured {
        transform: scale(1);
    }
    
    /* FIXED: Timer for tablet */
    .timer-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .timer-box {
        padding: 12px;
    }
    
    .timer-value {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding-top: 110px; 
        padding-bottom: 60px;
    }

    .nav__menu {
        position: fixed; 
        top: var(--header-height); 
        left: -100%; 
        width: 100%; 
        height: calc(100vh - var(--header-height));
        background: #050b14; 
        flex-direction: column; 
        padding: 40px 24px;
        transition: 0.4s; 
        align-items: flex-start; 
        border-top: 1px solid rgba(255,255,255,0.05);
        overflow-y: auto;
    }
    .nav__menu.active { left: 0; }
    .nav__list { 
        flex-direction: column; 
        gap: 20px; 
        width: 100%; 
        margin-bottom: 30px; 
    }
    .nav__toggle { display: block; }
    
    .section__title { font-size: 2.2rem; }
    .hero__title { font-size: 2.2rem; }
    .hero__description { font-size: 1rem; }
    
    /* FIXED: Card header untuk mobile - LIVE indicator tetap sejajar */
    .card__header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }
    
    .card__header h3 {
        font-size: 1.1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 1;
        text-align: left; /* Perbaikan untuk mobile */
    }
    
    .live-indicator {
        font-size: 0.8rem;
        white-space: nowrap;
    }
    
    /* FIXED: Timer for mobile */
    .timer-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .timer-box {
        padding: 15px 12px;
    }
    
    .timer-label {
        font-size: 0.75rem;
        white-space: normal;
        line-height: 1.2;
    }
    
    .timer-value {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    /* FIXED: Mobile Dashboard adjustments */
    .compact-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .compact-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .compact-buttons .compact-btn {
        max-width: none;
        width: 100%;
    }
    
    .dashboard-subtitle {
        font-size: 1.2rem;
    }
    
    .compact-select {
        max-width: none;
    }
    
    .link-input-group {
        flex-direction: column;
    }
    .link-input-group .btn {
        width: 100%;
    }
    
    /* FIXED: Grid columns for small screens */
    .referral-levels-compact, 
    .leadership-levels-compact {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* FIXED: Investment plans for mobile */
    .investment-plans {
        grid-template-columns: 1fr;
    }
    
    /* FIXED: My Positions for mobile */
    .premium-table {
        display: none;
    }
    
    .mobile-positions-view {
        display: block;
    }
    
    /* FIXED: Team data for mobile */
    .team-table {
        display: none;
    }
    
    .mobile-team-view {
        display: block;
    }
    
    .team-filters {
        justify-content: center;
    }
    
    .compact-select {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero__title { font-size: 2rem; }
    .hero__buttons { 
        flex-direction: column; 
        width: 100%; 
    }
    .hero__buttons .btn { 
        width: 100%; 
    }
    
    .section__title { 
        font-size: 1.8rem; 
    }
    
    /* FIXED: Card header untuk very small screens - tetap sejajar */
    .card__header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 5px;
    }
    
    .card__header h3 {
        font-size: 1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 1;
        text-align: left; /* Perbaikan untuk very small screens */
    }
    
    .live-indicator {
        font-size: 0.75rem;
        white-space: nowrap;
    }
    
    /* FIXED: Timer for very small screens */
    .timer-container {
        grid-template-columns: 1fr;
    }
    
    .timer-box {
        padding: 12px 10px;
    }
    
    .timer-value {
        font-size: 1rem;
    }
    
    .referral-levels-compact, 
    .leadership-levels-compact {
        grid-template-columns: repeat(2, 1fr); 
        gap: 10px;
    }
    
    .level-commission-compact {
        font-size: 0.9rem;
    }
    
    .investment-form-container, 
    .referral-link-container {
        padding: 24px 16px;
    }
    
    .faq-question h3 {
        font-size: 0.9rem;
    }
    
    .plan-card {
        padding: 20px;
    }
    
    .premium-table-container {
        padding: 15px;
        margin: 20px 0;
    }
}

@media (max-width: 360px) {
    .referral-levels-compact, 
    .leadership-levels-compact {
        grid-template-columns: 1fr;
    }
    
    .timer-value {
        font-size: 0.9rem;
    }
    
    .compact-card .stat-value {
        font-size: 1.1rem;
    }
}
