* { margin:0; padding:0; box-sizing:border-box; font-family:'Segoe UI',sans-serif; }
body { background:#f0f2f5; color:#1a1a2e; }
.navbar { background:#1a1a2e; color:#fff; padding:15px 30px; display:flex; justify-content:space-between; align-items:center; }
.logo { font-size:22px; font-weight:bold; }
.nav-right { display:flex; align-items:center; gap:15px; }
.container { max-width:1100px; margin:20px auto; padding:0 20px; }

/* Landing */
.landing { background:linear-gradient(135deg,#667eea,#764ba2); min-height:100vh; }
.hero { text-align:center; color:#fff; padding:50px 20px; }
.hero h1 { font-size:38px; margin-bottom:12px; }
.hero p { font-size:17px; opacity:.9; margin-bottom:20px; }
.announce { background:rgba(255,255,255,.2); padding:10px 20px; border-radius:8px; margin:0 auto 20px; max-width:500px; }

.login-box { background:#fff; color:#333; max-width:400px; margin:0 auto; padding:30px; border-radius:14px; box-shadow:0 10px 40px rgba(0,0,0,.2); }
.auth-tabs { display:flex; margin-bottom:20px; border-bottom:2px solid #eee; }
.auth-tab { flex:1; background:none; border:none; padding:12px; cursor:pointer; font-size:15px; color:#888; border-bottom:2px solid transparent; margin-bottom:-2px; }
.auth-tab.active { color:#667eea; border-bottom-color:#667eea; font-weight:bold; }
.login-box input { width:100%; padding:12px; margin-bottom:12px; border:1px solid #ddd; border-radius:8px; font-size:14px; }
.divider { text-align:center; color:#aaa; margin:18px 0; font-size:13px; position:relative; }
.btn-google-soon { width:100%; padding:12px; background:#f0f0f0; color:#888; border:1px dashed #ccc; border-radius:8px; cursor:not-allowed; font-size:14px; }
.g_id_signin { display:flex; justify-content:center; }

.features { display:flex; justify-content:center; gap:15px; margin-top:35px; flex-wrap:wrap; }
.feature { background:rgba(255,255,255,.2); color:#fff; padding:12px 20px; border-radius:8px; }

/* Stats */
.stats-row { display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:15px; margin-bottom:25px; }
.stat-card { background:#fff; padding:20px; border-radius:10px; text-align:center; box-shadow:0 2px 8px rgba(0,0,0,.06); }
.stat-card h3 { font-size:26px; color:#667eea; }
.stat-card p { color:#888; margin-top:5px; font-size:14px; }

.section { background:#fff; padding:25px; border-radius:10px; margin-bottom:20px; box-shadow:0 2px 8px rgba(0,0,0,.06); }
.section h2 { margin-bottom:18px; }

/* Referral */
.referral-box { background:linear-gradient(135deg,#f093fb,#f5576c); color:#fff; }
.referral-box h2, .referral-box p { color:#fff; }
.ref-code { display:flex; gap:10px; margin-top:12px; }
.ref-code input { flex:1; padding:10px; border:none; border-radius:8px; }

/* Tasks */
.tasks-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:15px; }
.task-card { border:1px solid #eee; border-radius:10px; padding:18px; position:relative; }
.task-card h3 { margin:8px 0; }
.task-card p { color:#666; font-size:14px; margin-bottom:12px; }
.reward { background:#4caf50; color:#fff; padding:4px 10px; border-radius:20px; font-size:13px; }

/* Buttons */
.btn { background:#667eea; color:#fff; border:none; padding:10px 18px; border-radius:8px; cursor:pointer; font-size:14px; }
.btn:hover { background:#556cd6; }
.btn-full { width:100%; padding:12px; }
.btn-sm { background:#e74c3c; color:#fff; border:none; padding:8px 14px; border-radius:6px; cursor:pointer; }
.btn-danger { background:#e74c3c; color:#fff; border:none; padding:8px 14px; border-radius:6px; cursor:pointer; }
.btn-link { display:inline-block; color:#667eea; margin-bottom:10px; }
.badge { padding:4px 12px; border-radius:20px; font-size:12px; }
.badge.approved { background:#d4edda; color:#155724; }
.badge.pending { background:#fff3cd; color:#856404; }
.badge.rejected { background:#f8d7da; color:#721c24; }

/* Forms */
.form-box, .withdraw-box { display:flex; flex-direction:column; gap:12px; max-width:500px; }
.form-box label, .switch-label { font-size:14px; color:#555; }
.switch-label { display:flex; align-items:center; gap:8px; }
input, textarea, select { padding:10px; border:1px solid #ddd; border-radius:8px; font-size:14px; }
hr { border:none; border-top:1px solid #eee; margin:8px 0; }

.list-item { display:flex; justify-content:space-between; align-items:center; padding:12px; border-bottom:1px solid #eee; gap:10px; }
.list-item small { color:#888; }

/* Admin Login */
.admin-login-page { min-height:100vh; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,#232526,#414345); }
.admin-login-box { background:#fff; padding:40px; border-radius:16px; width:100%; max-width:380px; box-shadow:0 10px 40px rgba(0,0,0,.3); text-align:center; }
.lock-icon { font-size:48px; margin-bottom:10px; }
.subtitle { color:#888; margin-bottom:25px; font-size:14px; }
.admin-login-box input { width:100%; padding:12px; margin-bottom:15px; border:1px solid #ddd; border-radius:8px; font-size:15px; }
.setup-link { display:inline-block; margin-top:20px; color:#667eea; font-size:13px; }
.attempts-info { color:#e67e22; font-size:13px; margin-top:12px; }

/* Alerts */
.alert { padding:12px; border-radius:8px; margin-bottom:15px; font-size:14px; }
.alert-error { background:#f8d7da; color:#721c24; }
.alert-info { background:#d1ecf1; color:#0c5460; }

/* Tabs */
.tabs { display:flex; gap:8px; margin-bottom:20px; flex-wrap:wrap; }
.tab { background:#fff; border:none; padding:12px 18px; border-radius:8px; cursor:pointer; font-size:14px; box-shadow:0 2px 6px rgba(0,0,0,.05); }
.tab.active { background:#667eea; color:#fff; }

.success-row { border-left:3px solid #4caf50; }
.fail-row { border-left:3px solid #e74c3c; }

@media(max-width:600px){ .hero h1{font-size:28px;} .stats-row{grid-template-columns:repeat(2,1fr);} }