
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Syne:wght@700;800&display=swap');

:root {
    --primary: #8b5cf6;
    --accent: #ec4899;
    --grad-main: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --bg-dark: #020205;
    --card-bg: #0b0b0d; 
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-blur: blur(20px);
    --radius: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; scroll-behavior: smooth; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(236, 72, 153, 0.08) 0%, transparent 25%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

.container { width: 90%; max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.mt-100 { margin-top: 100px; }
.text-grad {
    background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    font-weight: 800; background-size: 200% auto; animation: textShine 5s linear infinite;
}
@keyframes textShine { to { background-position: 200% center; } }

.loader-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #020205; z-index: 9999;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s;
}
.loader-logo { width: 80px; animation: pulse 2s infinite; filter: drop-shadow(0 0 20px var(--primary)); }
.loader-bar { width: 150px; height: 3px; background: rgba(255,255,255,0.1); border-radius: 4px; margin-top: 20px; overflow: hidden; }
.loader-progress { width: 0%; height: 100%; background: var(--grad-main); animation: load 2s ease-in-out forwards; }
@keyframes pulse { 50% { transform: scale(1.1); opacity: 0.8; } }
@keyframes load { 100% { width: 100%; } }

.navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 20px 0; background: rgba(2, 2, 5, 0.85); backdrop-filter: blur(20px); border-bottom: var(--glass-border);
}
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 40px; }
.nav-links { display: flex; gap: 40px; }
.nav-links a { font-weight: 500; color: var(--text-muted); position: relative; font-size: 0.95rem; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 100%; height: 2px; background: var(--grad-main); }
.hero { min-height: 85vh; display: flex; align-items: center; justify-content: center; text-align: center; padding-top: 80px; }
.hero h1 { font-family: 'Syne', sans-serif; font-size: 5rem; line-height: 1.1; margin-bottom: 25px; letter-spacing: -2px; }
.hero p { font-size: 1.3rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 40px; }
.btn { padding: 14px 35px; border-radius: 50px; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; transition: 0.3s; border: none; cursor: pointer; color: #fff; font-size: 1rem; }
.btn-primary { background: var(--grad-main); box-shadow: 0 0 30px rgba(139, 92, 246, 0.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 50px rgba(139, 92, 246, 0.6); }
.btn-glass { background: rgba(255,255,255,0.05); border: var(--glass-border); }
.btn-glass:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 30px; width: 100%; }
.card { 
    background: var(--card-bg); border: var(--glass-border); padding: 40px; border-radius: var(--radius); 
    transition: 0.4s; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start;
}
.card:hover { transform: translateY(-8px); border-color: var(--primary); box-shadow: 0 15px 40px -10px rgba(0,0,0,0.6); }
.feedback-container { max-width: 700px; margin: 0 auto; background: linear-gradient(180deg, #111 0%, #050505 100%); padding: 50px; border-radius: 30px; border: 1px solid #222; }
.input-glass { background: #000; border: 1px solid #333; padding: 18px; border-radius: 12px; color: #fff; width: 100%; margin-bottom: 0; font-size: 1rem; outline: none; transition: 0.3s; }
.input-glass:focus { border-color: var(--primary); }
.captcha-box { display: flex; gap: 15px; justify-content: center; align-items: center; margin-top: 20px; background: #111; padding: 10px; border-radius: 10px; border: 1px solid #333; }
.setup-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(2, 2, 5, 0.98); backdrop-filter: blur(30px); z-index: 9990; display: flex; justify-content: center; align-items: center; transition: opacity 0.5s ease; }
.setup-box { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 50px; border-radius: 30px; text-align: center; max-width: 500px; width: 90%; }
.setup-title { font-family: 'Syne'; font-size: 2rem; margin-bottom: 30px; }
.lang-options, .color-options { display: flex; justify-content: center; gap: 15px; margin-top: 10px; }
.lang-btn { padding: 10px 20px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; color: #fff; cursor: pointer; }
.lang-btn.active { border-color: var(--primary); background: rgba(255,255,255,0.1); }
.color-btn { width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.2); cursor: pointer; }
.color-btn.active { transform: scale(1.2); border-color: #fff; }

.site-footer { border-top: 1px solid #222; background: #010101; padding: 80px 0 40px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand p { color: #666; margin-top: 20px; line-height: 1.6; font-size: 0.95rem; max-width: 350px; }
.footer-col h4 { color: #fff; margin-bottom: 25px; font-family: 'Syne'; font-size: 1.1rem; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col a { color: #888; transition: 0.3s; font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #222; padding-top: 30px; display: flex; justify-content: space-between; align-items: center; color: #444; font-size: 0.9rem; }

.stats-header-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.stat-box { background: #0a0a0a; border: 1px solid #222; border-radius: 20px; padding: 30px; }
.stat-box h2 { font-size: 3.5rem; font-family: 'Syne'; margin-bottom: 5px; background: #fff; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.chart-wrapper { background: #0a0a0a; border: 1px solid #222; border-radius: 20px; padding: 30px; margin-bottom: 30px; }
.plugin-rank-list { display: grid; gap: 10px; margin-top: 20px; max-height: 500px; overflow-y: auto; padding-right: 10px; }
.rank-item { display: flex; align-items: center; padding: 12px; background: rgba(255,255,255,0.03); border-radius: 10px; }
.rank-dot { width: 8px; height: 8px; border-radius: 50%; margin-right: 10px; }

@media(max-width: 1024px) { .hero h1 { font-size: 4rem; } .stats-header-grid { grid-template-columns: 1fr; } }
@media(max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } .nav-links { display: none; } .hero h1 { font-size: 3rem; } }

.wiki-header-bg {
    background: linear-gradient(180deg, rgba(11,11,13,0) 0%, #020205 100%), 
                url('https://www.transparenttextures.com/patterns/cubes.png');
    padding: 150px 0 50px; text-align: center;
}
.wiki-container { display: flex; gap: 50px; margin-top: 40px; align-items: flex-start; }
.wiki-sidebar { 
    width: 300px; position: sticky; top: 120px; background: #0b0b0d; 
    padding: 30px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.08); 
}
.wiki-sidebar h4 { color: #fff; margin-bottom: 20px; font-family: 'Syne'; border-bottom: 1px solid #333; padding-bottom: 10px; }
.wiki-sidebar a { display: block; padding: 10px 0; color: #888; transition: 0.2s; border-bottom: 1px solid rgba(255,255,255,0.02); }
.wiki-sidebar a:hover { color: var(--primary); padding-left: 10px; }

.wiki-content { flex: 1; min-width: 0; background: #0b0b0d; padding: 50px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.08); }
.wiki-content h1 { font-family: 'Syne'; font-size: 3rem; margin-bottom: 10px; color: #fff; }
.wiki-content h2 { font-family: 'Syne'; font-size: 2rem; margin-top: 50px; margin-bottom: 25px; color: #fff; border-left: 5px solid var(--primary); padding-left: 20px; }
.wiki-content h3 { font-size: 1.5rem; margin-top: 30px; margin-bottom: 15px; color: #eee; }
.wiki-content p, .wiki-content li { line-height: 1.8; color: #ccc; margin-bottom: 15px; }
.wiki-content ul { list-style: disc; margin-left: 20px; margin-bottom: 20px; }

.wiki-table { width: 100%; border-collapse: collapse; margin: 30px 0; background: rgba(0,0,0,0.3); border-radius: 10px; overflow: hidden; }
.wiki-table th { background: rgba(255,255,255,0.05); color: #fff; padding: 15px; text-align: left; font-family: 'Syne'; }
.wiki-table td { padding: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); color: #aaa; }

.wiki-code { 
    background: #050505; border: 1px solid #222; padding: 25px; border-radius: 15px; 
    font-family: 'Consolas', monospace; color: #a9b7c6; overflow-x: auto; font-size: 0.9rem; margin: 20px 0; 
}
.wiki-img { max-width: 100%; border-radius: 15px; margin: 20px 0; border: 1px solid #333; }
.badge-row img { margin-right: 5px; }

.download-btn {
    display: inline-block; background: var(--grad-main); color: #fff; padding: 15px 40px; 
    border-radius: 50px; font-weight: bold; margin-top: 20px; text-decoration: none; 
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3); transition: 0.3s;
}
.download-btn:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(139, 92, 246, 0.5); }