:root {
    --bg-base: #030712;
    --bg-surface: #0b0f19;
    --bg-card: #111827;
    --bg-card-hover: #1f2937;
    --accent: #38bdf8;
    --accent-glow: rgba(56, 189, 248, 0);
    --accent-blue: #60a5fa;
    --accent-gold: #fbbf24;
    --accent-purple: #a78bfa;
    --text-main: #f9fafb;
    --text-muted: #9ca3af;
    --border: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(56, 189, 248, 0);
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Plus Jakarta Sans', sans-serif; }

body { 
    background: var(--bg-base); 
    color: var(--text-main); 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    min-height: 100vh; 
    font-size: 15px; 
    position: relative; 
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        radial-gradient(circle at 50% -20%, rgba(56, 189, 248, 0) 0%, transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(167, 139, 250, 0) 0%, transparent 50%),
        linear-gradient(rgba(3, 7, 18, 0.9), rgba(3, 7, 18, 0.96)),
        url('../screens/scroller2/scroller2_1.png'); 
    background-size: cover, cover, cover, cover; 
    background-position: center, center, center, center;
    filter: contrast(105%) brightness(90%); 
    z-index: -1; 
}

.logo-container { margin: 35px 0 25px 0; text-align: center; transition: var(--transition); cursor: pointer; }
.logo-container:hover { transform: scale(1.03); }
.logo-image { max-width: 100px; height: auto; display: block; margin: 0 auto; border-radius:7px; }

.wrapper { width: 100%; max-width: 1200px; padding: 0 24px; }

.top-nav-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.brand-area {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    text-decoration: none;
}
.brand-logo { width: 44px; height: 44px; border-radius:7px; border: 1px solid var(--border); object-fit: cover; box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.brand-title { font-size: 20px; font-weight: 800; color: var(--text-main); letter-spacing: -0.5px; }
.brand-title span { color: var(--accent); }
.brand-sub { font-size: 11px; color: var(--text-muted); font-family: 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: 1.5px; }

.top-nav-links { display: flex; list-style: none; align-items: center; gap: 6px; flex-wrap: wrap; }
.top-nav-links li a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 13.5px;
    border-radius:5px;
    transition: var(--transition);
}
.top-nav-links li a:hover { color: var(--text-main); background: rgba(255,255,255,0.05); }
.top-nav-links li a.active { color: var(--accent); background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.2); }

nav { 
    background: rgba(11, 15, 25, 0.6); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius:8px;
    display: flex; justify-content: space-between; align-items: center; 
    margin-bottom: 36px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    overflow: hidden;
}
.nav-links { display: flex; list-style: none; flex-wrap: wrap; }
.nav-links li a { 
    display: block; padding: 16px 20px; color: var(--text-muted); 
    text-decoration: none; font-weight: 600; font-size: 13.5px; 
    transition: var(--transition); cursor: pointer; border-bottom: 2px solid transparent;
}
.nav-links li a:hover { color: var(--text-main); background: rgba(255,255,255,0.03); }
.nav-links li a.active { color: var(--accent); border-bottom-color: var(--accent); background: rgba(56, 189, 248, 0.05); }

.shop-btn { 
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%); 
    color: #030712 !important; 
    padding: 16px 28px !important; 
    text-decoration: none; font-weight: 800; font-size: 14px; 
    letter-spacing: 0.5px; transition: var(--transition); 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0) !important;
    display: flex; align-items: center; justify-content: center;
}
.shop-btn:hover { 
    filter: brightness(1.1); 
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0) !important;
    transform: translateY(-1px);
}

.tab-content { display: none; }

.hero-banner {
    background: rgba(11, 15, 25, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius:12px;
    padding: 44px;
    margin-bottom: 36px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hero-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.hero-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: -1px;
}
.hero-title span { color: var(--accent); }

.hero-desc {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary-action {
    background: var(--accent);
    color: var(--bg-base);
    padding: 13px 26px;
    border-radius:6px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0);
    border: none;
    cursor: pointer;
}
.btn-primary-action:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0); }

.btn-secondary-action {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    padding: 13px 26px;
    border-radius:6px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.btn-secondary-action:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255,255,255,0.15); transform: translateY(-2px); }

.connect-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius:10px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.connect-header {
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.connect-steps {
    display: flex;
    gap: 14px;
}
.step-num {
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent);
    border: 1px solid rgba(56, 189, 248, 0.25);
    width: 32px;
    height: 32px;
    border-radius:5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    flex-shrink: 0;
}
.step-num.inactive {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    border-color: var(--border);
}
.step-title { font-weight: 700; font-size: 15px; color: var(--text-main); margin-bottom: 4px; }
.step-desc { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }

.home-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: stretch; margin-bottom: 40px; }

.home-info-pane {
    background: rgba(11, 15, 25, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius:12px;
    padding: 36px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
}
.home-info-title { font-size: 30px; font-weight: 800; color: var(--text-main); margin-bottom: 14px; letter-spacing: -0.5px; }
.home-info-title span { color: var(--accent); }
.home-info-desc { color: var(--text-muted); font-size: 15px; line-height: 1.8; margin-bottom: 22px; }

.feature-checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 26px;
}
.feature-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-main);
}
.feature-check-item span { color: var(--accent); font-weight: 800; }

.showcase-slider-container { 
    position: relative; height: 440px; background: var(--bg-surface); 
    border: 1px solid var(--border); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.3); 
    overflow: hidden; border-radius:12px; display: flex; flex-direction: column; 
}
.showcase-card { width: 100%; height: 100%; background-size: cover; background-position: center; transition: background-image 0.6s cubic-bezier(0.16, 1, 0.3, 1); position: relative; }

.updates-container { margin-top: 36px; width: 100%; display: flex; flex-direction: column; gap: 16px; }

.scroll-arrow {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.scroll-arrow:hover { color: var(--accent); border-color: var(--accent); transform: translateY(3px); }
.update-card { background: rgba(11, 15, 25, 0.6); backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius:10px; padding: 28px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); transition: var(--transition); }
.update-card:hover { border-color: rgba(56, 189, 248, 0.3); transform: translateY(-2px); }
.update-date { background: rgba(56, 189, 248, 0.1); color: var(--accent); display: inline-block; padding: 5px 10px; font-size: 11.5px; font-weight: 700; border-radius:4px; margin-bottom: 14px; font-family: 'JetBrains Mono', monospace; border: 1px solid rgba(56, 189, 248, 0.2); }
.update-title { color: var(--text-main); font-size: 19px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.3px; }
.update-text { color: var(--text-muted); line-height: 1.7; font-size: 14.5px; }

.content-panel { background: rgba(11, 15, 25, 0.6); backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius:10px; padding: 40px; box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.panel-title { font-size: 30px; font-weight: 800; margin-bottom: 18px; color: var(--text-main); border-bottom: 1px solid var(--border); padding-bottom: 18px; letter-spacing: -0.5px; }
.panel-text { color: var(--text-muted); font-size: 15px; line-height: 1.8; margin-bottom: 24px; }

.wiki-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 18px;
    background-color: rgba(11, 15, 25, 0.4);
    border: 1px solid var(--border);
    border-radius:7px;
    overflow: hidden;
}
.wiki-table th {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}
.wiki-table td {
    padding: 14px 18px;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
}
.wiki-table tbody tr:last-child td { border-bottom: none; }
.wiki-table tbody tr:hover { background-color: rgba(56, 189, 248, 0.03); }

.commands-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 24px; }
.command-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius:8px;
    padding: 22px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}
.command-name { font-size: 17px; font-weight: 700; color: var(--accent); font-family: 'JetBrains Mono', monospace; margin-bottom: 8px; }
.command-desc { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin-bottom: 14px; }
.command-example { color: var(--text-main); font-size: 13px; margin-bottom: 14px; font-family: 'Plus Jakarta Sans', sans-serif; }
.command-example code {
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent);
    background: rgba(56, 189, 248, 0.1);
    padding: 2px 6px;
    border-radius:3px;
    border: 1px solid rgba(56, 189, 248, 0.2);
}
.command-ranks { font-size: 13px; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 12px; }
.rank-tag-none { color: var(--text-muted); font-weight: 600; }
.rank-tag-vip { color: var(--accent-blue); font-weight: 700; }
.rank-tag-premium { color: var(--accent-gold); font-weight: 700; }
.rank-tag-booster { color: #f472b6; font-weight: 700; }

.ranks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-top: 28px; }
.rank-card { 
    background: var(--bg-card); border: 1px solid var(--border); 
    border-radius:10px; padding: 32px 28px; display: flex; flex-direction: column; 
    justify-content: space-between; transition: var(--transition); position: relative; overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.rank-card.rank-default { border-top: 4px solid #9ca3af; }
.rank-card.rank-member { border-top: 4px solid #55FFFF; }
.rank-card.rank-booster { border-top: 4px solid #f472b6; }
.rank-card.rank-vip { border-top: 4px solid var(--accent-blue); }
.rank-card.rank-premium { border-top: 4px solid var(--accent-gold); }
.rank-card.rank-youtuber { border-top: 4px solid var(--accent-purple); }

.rank-header { margin-bottom: 18px; }
.rank-badge { 
    display: inline-block; font-size: 11px; font-weight: 800; 
    padding: 5px 12px; border-radius:4px; margin-bottom: 14px; font-family: 'JetBrains Mono', monospace; 
    letter-spacing: 0.5px; text-transform: uppercase;
}
.rank-default .rank-badge { background: rgba(156, 163, 175, 0.12); color: #9ca3af; border: 1px solid rgba(156, 163, 175, 0.25); }
.rank-member .rank-badge { background: rgba(85, 255, 255, 0.12); color: #55FFFF; border: 1px solid rgba(85, 255, 255, 0.25); }
.rank-booster .rank-badge { background: rgba(244, 114, 182, 0.12); color: #f472b6; border: 1px solid rgba(244, 114, 182, 0.25); }
.rank-vip .rank-badge { background: rgba(96, 165, 250, 0.12); color: var(--accent-blue); border: 1px solid rgba(96, 165, 250, 0.25); }
.rank-premium .rank-badge { background: rgba(251, 191, 36, 0.12); color: var(--accent-gold); border: 1px solid rgba(251, 191, 36, 0.25); }
.rank-youtuber .rank-badge { background: rgba(167, 139, 250, 0.12); color: var(--accent-purple); border: 1px solid rgba(167, 139, 250, 0.25); }

.rank-name { font-size: 22px; font-weight: 800; color: var(--text-main); margin-bottom: 6px; letter-spacing: -0.5px; }
.rank-price { font-size: 13.5px; font-weight: 600; color: var(--text-muted); font-family: 'JetBrains Mono', monospace; }

.rank-features { list-style: none; margin: 18px 0 24px 0; }
.rank-features li { color: var(--text-muted); font-size: 14px; margin-bottom: 10px; display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.rank-features li::before { content: "✓"; color: var(--accent); font-weight: 800; flex-shrink: 0; }

.rank-btn { 
    display: block; text-align: center; padding: 13px; border-radius:6px; 
    font-weight: 700; text-decoration: none; font-size: 14px; transition: var(--transition); 
}
.rank-default .rank-btn { background: rgba(156, 163, 175, 0.08); color: #9ca3af; border: 1px solid rgba(156, 163, 175, 0.25); }
.rank-default .rank-btn:hover { background: #9ca3af; color: #030712; box-shadow: 0 0 15px rgba(0, 0, 0, 0); }
.rank-member .rank-btn { background: rgba(85, 255, 255, 0.08); color: #55FFFF; border: 1px solid rgba(85, 255, 255, 0.25); }
.rank-member .rank-btn:hover { background: #55FFFF; color: #030712; box-shadow: 0 0 15px rgba(0, 0, 0, 0); }
.rank-booster .rank-btn { background: rgba(244, 114, 182, 0.08); color: #f472b6; border: 1px solid rgba(244, 114, 182, 0.25); }
.rank-booster .rank-btn:hover { background: #f472b6; color: #030712; box-shadow: 0 0 15px rgba(0, 0, 0, 0); }
.rank-vip .rank-btn { background: rgba(96, 165, 250, 0.08); color: var(--accent-blue); border: 1px solid rgba(96, 165, 250, 0.25); }
.rank-vip .rank-btn:hover { background: var(--accent-blue); color: #030712; box-shadow: 0 0 15px rgba(0, 0, 0, 0); }
.rank-premium .rank-btn { background: rgba(251, 191, 36, 0.08); color: var(--accent-gold); border: 1px solid rgba(251, 191, 36, 0.25); }
.rank-premium .rank-btn:hover { background: var(--accent-gold); color: #030712; box-shadow: 0 0 15px rgba(0, 0, 0, 0); }
.rank-youtuber .rank-btn { background: rgba(167, 139, 250, 0.08); color: var(--accent-purple); border: 1px solid rgba(167, 139, 250, 0.25); }
.rank-youtuber .rank-btn:hover { background: var(--accent-purple); color: #030712; box-shadow: 0 0 15px rgba(0, 0, 0, 0); }

.mod-header { margin-bottom: 2rem; }
.mod-intro { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 2rem; }
.mod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (max-width: 768px) { .mod-grid { grid-template-columns: 1fr; } }
.mod-card {
    --card-accent: var(--accent);
    --card-glow: rgba(56, 189, 248, 0.15);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    outline: 1px solid color-mix(in srgb, var(--card-accent) 30%, transparent);
    outline-offset: -1px;
}
.mod-grid > *:last-child:nth-child(odd) { grid-column: 1 / -1; }
.mod-card:hover { outline-color: var(--card-accent); }
.mod-card-header { display: flex; align-items: center; gap: 12px; }
.mod-index {
    margin-left: auto; font-family: 'JetBrains Mono', monospace; font-size: 1.5rem; font-weight: 800;
    color: var(--card-accent); opacity: 0.45; letter-spacing: 0.04em;
    line-height: 1;
}
.mod-category { font-family: 'JetBrains Mono', monospace; font-size: 0.95rem; font-weight: 700; color: var(--card-accent); letter-spacing: 0.05em; }
.mod-desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.mod-card.mod-wg    { --card-accent: var(--accent);         --card-glow: rgba(56, 189, 248, 0.18); }
.mod-card.mod-spawn { --card-accent: #34d399;               --card-glow: rgba(52, 211, 153, 0.18); }
.mod-card.mod-dup   { --card-accent: var(--accent-gold);    --card-glow: rgba(251, 191, 36, 0.18); }
.mod-card.mod-roof  { --card-accent: #fb7185;               --card-glow: rgba(251, 113, 133, 0.18); }
.mod-card.mod-ncp   { --card-accent: var(--accent-purple);  --card-glow: rgba(167, 139, 250, 0.2); }

.wiki-layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; margin-bottom: 44px; }
.wiki-sidebar {
    background: rgba(11, 15, 25, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius:10px;
    padding: 24px 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    position: sticky;
    top: 24px;
}
.wiki-sidebar h3 { font-size: 11px; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 14px; padding-left: 12px; font-family: 'JetBrains Mono', monospace; text-transform: uppercase; }
.wiki-menu { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.wiki-menu li a {
    display: block; padding: 11px 14px; color: var(--text-muted); text-decoration: none;
    font-weight: 600; font-size: 13.5px; border-radius:6px; transition: var(--transition);
}
.wiki-menu li a:hover { color: var(--text-main); background: rgba(255,255,255,0.04); }
.wiki-menu li a.active { color: var(--accent); background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.2); }

.wiki-content {
    background: rgba(11, 15, 25, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius:10px;
    padding: 44px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.wiki-title { font-size: 30px; font-weight: 800; margin-bottom: 18px; color: var(--text-main); border-bottom: 1px solid var(--border); padding-bottom: 18px; letter-spacing: -0.5px; }
.wiki-subtitle { font-size: 20px; font-weight: 700; color: var(--text-main); margin: 32px 0 14px 0; letter-spacing: -0.3px; }
.wiki-text { color: var(--text-muted); font-size: 15px; line-height: 1.8; margin-bottom: 18px; }

.wiki-callout {
    background: rgba(56, 189, 248, 0.05);
    border-left: 3px solid var(--accent);
    padding: 18px;
    border-radius: 0 12px 12px 0;
    margin: 22px 0;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 14px;
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-left-width: 3px;
}
.wiki-callout strong { color: var(--text-main); }

.wiki-list { list-style: none; color: var(--text-muted); font-size: 15px; line-height: 2; margin-bottom: 22px; display: flex; flex-direction: column; align-items: flex-start; }
.wiki-list li { margin-bottom: 10px; padding-left: 24px; position: relative; width: fit-content; text-align: left; }
.wiki-list li::before { 
    content: "›"; color: var(--accent); font-weight: 800; font-size: 22px; 
    position: absolute; left: 0; top: 50%; transform: translateY(-50%); line-height: 1;
}
.wiki-list li strong { color: var(--text-main); }

.wiki-img-container { margin: 22px 0; text-align: center; }
.wiki-img { max-width: 100%; height: auto; border-radius:7px; border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
.wiki-img-caption { font-size: 13px; color: var(--text-muted); margin-top: 10px; font-family: 'JetBrains Mono', monospace; }

.info-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-top: 22px; }
.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius:8px;
    padding: 24px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.info-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%;
    background: var(--accent); opacity: 0.4; transition: var(--transition);
}
.info-card:hover { border-color: rgba(56, 189, 248, 0.4); transform: translateY(-2px); }
.info-card:hover::before { opacity: 1; box-shadow: 0 0 10px rgba(0, 0, 0, 0); }
.info-card-title { font-family: 'JetBrains Mono', monospace; font-size: 1rem; font-weight: 700; color: var(--accent); margin-bottom: 8px; letter-spacing: 0.05em; }
.info-card-desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.info-card-link {
    display: inline-block; margin-top: 14px; color: var(--accent); text-decoration: none;
    font-weight: 700; font-size: 0.9rem; font-family: 'JetBrains Mono', monospace; transition: var(--transition);
}
.info-card-link:hover { color: #fff; text-shadow: 0 0 10px rgba(0, 0, 0, 0); }

.faq-item {
    background: rgba(11, 15, 25, 0.6);
    border: 1px solid var(--border);
    border-radius:8px;
    overflow: hidden;
    transition: var(--transition);
}
.faq-item.active {
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}
.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 15.5px;
    color: var(--text-main);
    cursor: pointer;
    user-select: none;
}
.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}
.faq-arrow {
    color: var(--text-muted);
    font-size: 18px;
    transition: transform 0.3s ease, color 0.3s ease;
}
.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--accent);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
    padding: 0 24px;
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.7;
}
.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px 24px;
}

footer { margin: 50px 0 30px 0; color: var(--text-muted); font-size: 13px; width: 100%; max-width: 1200px; display: flex; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 24px; }

@media (max-width: 950px) { 
    .hero-banner { grid-template-columns: 1fr; }
    .home-grid { grid-template-columns: 1fr; } 
    .wiki-layout { grid-template-columns: 1fr; }
    .wiki-sidebar { position: static; }
    nav { display: flex; justify-content: space-between; align-items: center; }
    .nav-links { justify-content: center; } 
    .shop-btn { height: 100%; box-sizing: border-box; }
}
.wiki-content code { font-family: 'JetBrains Mono', monospace; color: var(--accent); background: rgba(56, 189, 248, 0.1); padding: 2px 6px; border-radius:3px; border: 1px solid rgba(56, 189, 248, 0.2); font-size: 13px; }
.wiki-content a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(56, 189, 248, 0.3); }
.wiki-content a:hover { border-bottom-color: var(--accent); }
.wiki-content h3 { font-size: 17px; font-weight: 700; color: var(--text-main); margin: 26px 0 12px 0; letter-spacing: -0.3px; }
.wiki-code-block { background: rgba(11, 15, 25, 0.8); border: 1px solid var(--border); border-radius:6px; padding: 18px; overflow-x: auto; margin: 18px 0; }
.wiki-code-block code { color: var(--text-main); background: none; border: none; padding: 0; font-size: 13.5px; line-height: 1.7; }
.wiki-content ol { list-style: none; margin: 0 0 22px 0; padding: 0; counter-reset: md; color: var(--text-muted); font-size: 15px; line-height: 1.7; display: flex; flex-direction: column; align-items: flex-start; }
.wiki-content ol li { counter-increment: md; position: relative; padding-left: 34px; margin-bottom: 10px; }
.wiki-content ol li::before { content: counter(md); position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.25); color: var(--accent); border-radius:4px; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; line-height: 1; }

html.no-fouc { visibility: hidden; }
html.no-fouc body { background: #030712; }
