/* =========================================================
   RUB-FAUCET — Stylesheet (Faucetra Style)
   ========================================================= */
:root {
    --bg-main: #0f172a;
    --bg-card: #1e293b;
    --bg-card-hover: #334155;
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.2);
    --secondary: #10b981;
    --secondary-glow: rgba(16, 185, 129, 0.2);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.05);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
    background-color: var(--bg-main); 
    color: var(--text-main); 
    font-family: 'Inter', sans-serif; 
    overflow-x: hidden;
}

#particles-js { position: fixed; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* --- HEADER --- */
.site-header {
    position: relative; z-index: 10;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 40px;
    display: flex; justify-content: space-between; align-items: center;
}
.header-logo {
    font-family: 'Poppins', sans-serif;
    font-size: 24px; font-weight: 900;
    color: #fff; text-decoration: none; display: flex; align-items: center; gap: 8px;
}
.header-logo i { color: var(--primary); }
.header-logo span { color: var(--secondary); }
.header-nav { display: flex; gap: 20px; }
.header-link {
    color: var(--text-muted); font-weight: 600; text-decoration: none; 
    font-size: 14px; text-transform: uppercase; padding: 8px 12px; border-radius: 8px; transition: 0.3s;
}
.header-link:hover, .header-link.active { color: #fff; background: rgba(255,255,255,0.05); }
.offerwall-link { color: #f59e0b; }
.header-auth { display: flex; gap: 10px; }

/* --- BUTTONS --- */
.btn {
    padding: 10px 20px; border-radius: 8px; font-weight: 700; text-decoration: none;
    font-size: 14px; transition: 0.3s; cursor: pointer; border: none;
}
.btn-login { background: transparent; color: #fff; border: 1px solid var(--border-color); }
.btn-login:hover { background: rgba(255,255,255,0.05); }
.btn-register { background: var(--primary); color: #fff; box-shadow: 0 4px 15px var(--primary-glow); }
.btn-register:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4); }

.btn-large {
    display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px;
    border-radius: 12px; font-size: 16px; font-weight: 800; text-transform: uppercase; text-decoration: none; transition: 0.3s;
}
.btn-primary { background: var(--secondary); color: #fff; box-shadow: 0 5px 20px var(--secondary-glow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4); }
.btn-secondary { background: var(--bg-card-hover); color: #fff; }
.btn-secondary:hover { background: #475569; transform: translateY(-3px); }

/* --- LAYOUT (2 COLUMNS) --- */
.app-viewport { position: relative; z-index: 2; padding: 30px 20px; min-height: 80vh; }
.grid-container {
    display: grid;
    grid-template-columns: 1fr 340px; /* Убрана левая колонка[cite: 1, 2] */
    gap: 25px;
    width: 100%; max-width: 1300px; margin: 0 auto;
}

@media (max-width: 992px) {
    .grid-container { grid-template-columns: 1fr; }
    .header-nav { display: none; }
    .site-header { padding: 15px 20px; }
}

/* --- MAIN HERO CARD --- */
.faucet-hero-card {
    background: linear-gradient(145deg, var(--bg-card), #0f172a);
    border: 1px solid var(--border-color);
    border-radius: 20px; padding: 50px 30px; text-align: center; margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.faucet-hero-card h1 { font-family: 'Poppins', sans-serif; font-size: 42px; margin-bottom: 10px; color: #fff; }
.faucet-hero-card h1 span { color: var(--secondary); }
.faucet-hero-card h2 { font-size: 18px; color: var(--primary); margin-bottom: 20px; font-weight: 700; }
.faucet-hero-card p { color: var(--text-muted); line-height: 1.6; max-width: 600px; margin: 0 auto 30px; font-size: 15px; }
.hero-actions { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }

/* --- CONTENT CARDS & FEATURES --- */
.content-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: 20px; padding: 25px; margin-bottom: 25px;
}
.card-title {
    font-size: 16px; font-weight: 800; color: #fff; text-transform: uppercase;
    margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
    padding-bottom: 12px; border-bottom: 1px solid var(--border-color);
}
.card-title i { color: var(--primary); }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 15px; }
.feature-box {
    background: rgba(15, 23, 42, 0.5); border: 1px solid var(--border-color);
    border-radius: 16px; padding: 20px; transition: 0.3s; text-align: center;
}
.feature-box:hover { transform: translateY(-5px); border-color: var(--primary); background: rgba(59, 130, 246, 0.05); }
.fc-icon { font-size: 32px; margin-bottom: 15px; }
.fc-icon.green { color: var(--secondary); }
.fc-icon.orange { color: #f59e0b; }
.fc-icon.blue { color: var(--primary); }
.fc-icon.yellow { color: #eab308; }
.fc-icon.purple { color: #a855f7; }
.fc-icon.red { color: #ef4444; }
.feature-box h4 { font-size: 15px; color: #fff; margin-bottom: 8px; font-weight: 700; }
.feature-box p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* --- SIDEBAR & TABLES --- */
.sidebar-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 20px; margin-bottom: 20px; }
.stats-list { display: flex; flex-direction: column; gap: 12px; }
.stat-item { display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.02); padding: 12px; border-radius: 8px; font-size: 14px; }
.stat-item span { color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.stat-item strong { color: #fff; font-family: monospace; font-size: 15px; }
.stat-item.highlight { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.2); }
.stat-item.highlight strong { color: var(--secondary); font-size: 16px; }

.sidebar-table { width: 100%; border-collapse: collapse; }
.sidebar-table td { padding: 12px 8px; font-size: 13px; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.02); }
.sidebar-table tr:last-child td { border-bottom: none; }
.text-green { color: var(--secondary) !important; }
.text-blue { color: var(--primary) !important; }
.text-muted { color: var(--text-muted); }
.text-right { text-align: right; }

.rank-badge {
    display: inline-flex; justify-content: center; align-items: center;
    width: 24px; height: 24px; border-radius: 6px; font-size: 12px; font-weight: 800; background: #334155; color: #fff;
}
.rank-1 { background: rgba(234, 179, 8, 0.2); color: #eab308; }
.rank-2 { background: rgba(148, 163, 184, 0.2); color: #94a3b8; }
.rank-3 { background: rgba(249, 115, 22, 0.2); color: #f97316; }

/* --- FOOTER --- */
.site-footer {
    position: relative; z-index: 10; background: var(--bg-card); border-top: 1px solid var(--border-color);
    padding: 30px 20px; margin-top: 40px;
}
.footer-content { max-width: 1300px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-logo { font-family: 'Poppins', sans-serif; font-weight: 800; color: #fff; }
.footer-links a { color: var(--text-muted); text-decoration: none; margin: 0 10px; font-size: 13px; transition: 0.3s; }
.footer-links a:hover { color: var(--primary); }
.footer-payments { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-muted); }
.pay-badge { background: rgba(255,255,255,0.05); padding: 4px 8px; border-radius: 4px; font-weight: 700; color: #fff; }

/* --- MOBILE NAV & WIDGET --- */
.app-nav {
    display: none; position: fixed; bottom: 0; left: 0; width: 100%; background: var(--bg-card);
    border-top: 1px solid var(--border-color); z-index: 1000; justify-content: space-around; padding: 10px 0;
}
@media (max-width: 768px) {
    .app-nav { display: flex; }
    .site-footer { padding-bottom: 80px; }
    .faucet-hero-card h1 { font-size: 28px; }
}
.nav-link { color: var(--text-muted); text-align: center; text-decoration: none; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.nav-link i { display: block; font-size: 20px; margin-bottom: 4px; }
.nav-link.active { color: var(--primary); }

.online-float-badge {
    position: fixed; left: 0; top: 50%; transform: translateY(-50%);
    background: rgba(30, 41, 59, 0.9); border: 1px solid var(--border-color); border-left: none;
    border-radius: 0 12px 12px 0; padding: 12px 8px; display: flex; flex-direction: column; align-items: center; gap: 5px;
    z-index: 900; backdrop-filter: blur(5px);
}
.ofb-dot { width: 8px; height: 8px; background: var(--secondary); border-radius: 50%; box-shadow: 0 0 8px var(--secondary); animation: pulse 1.5s infinite; }
.ofb-val { font-size: 14px; font-weight: 800; color: #fff; writing-mode: vertical-rl; }
.ofb-label { font-size: 9px; font-weight: 700; color: var(--text-muted); writing-mode: vertical-rl; letter-spacing: 1px; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }