:root {
    --bg: #07090d;
    --bg-soft: #0b0f16;
    --panel: rgba(14, 18, 27, .88);
    --panel-2: rgba(20, 25, 36, .92);
    --line: rgba(255,255,255,.09);
    --text: #f5f7fb;
    --muted: #98a2b3;
    --accent: #ff4d2e;
    --accent-2: #ff7a45;
    --gold: #f5bf55;
    --cyan: #55d8ff;
    --success: #41d17d;
    --danger: #ff6374;
    --shadow: 0 24px 80px rgba(0,0,0,.38);
    --radius: 22px;
    --shell: min(1180px, calc(100% - 36px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background: var(--bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}
body::selection { background: var(--accent); color: #fff; }
a { color: inherit; }
img { max-width: 100%; }
button, input { font: inherit; }
.site-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
    background:
        radial-gradient(circle at 15% 15%, rgba(255,77,46,.13), transparent 30%),
        radial-gradient(circle at 85% 25%, rgba(85,216,255,.07), transparent 30%),
        linear-gradient(180deg, #07090d, #090c12 55%, #07090d);
}
.site-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .22;
    background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, black, transparent 88%);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(6,8,12,.80);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}
.nav-shell {
    width: var(--shell);
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    flex-shrink: 0;
}
.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--accent-2), var(--accent));
    box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 10px 28px rgba(255,77,46,.25);
    position: relative;
    overflow: hidden;
}
.brand-mark::after {
    content: "";
    position: absolute;
    inset: -45%;
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 50%;
    animation: pulseLogo 2.6s ease-in-out infinite;
}
.brand-mark span { font-weight: 900; font-size: 22px; font-style: italic; position: relative; z-index: 2; }
.brand-mark.small { width: 38px; height: 38px; border-radius: 12px; }
.brand-mark.small span { font-size: 20px; }
@keyframes pulseLogo { 0%,100%{ transform: scale(.55); opacity: .7; } 50%{ transform: scale(1.05); opacity: .05; } }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { font-size: 1.15rem; letter-spacing: .02em; }
.brand-copy small { color: var(--muted); font-size: .66rem; margin-top: 5px; letter-spacing: .1em; text-transform: uppercase; }
.main-nav { margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; padding: 0; margin: 0; }
.nav-link { text-decoration: none; color: #cbd3df; font-size: .91rem; font-weight: 650; transition: .2s ease; position: relative; }
.nav-link:hover { color: #fff; }
.nav-link::after { content:""; position:absolute; height:2px; left:50%; right:50%; bottom:-10px; background:var(--accent); transition:.2s ease; border-radius:99px; }
.nav-link:hover::after { left:0; right:0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.logout-form { display: inline-flex; margin: 0; }
.user-chip { display: inline-flex; gap: 7px; align-items: center; color:#cfd5df; font-size:.86rem; padding: 8px 10px; background: rgba(255,255,255,.04); border:1px solid var(--line); border-radius: 12px; }
.navbar-toggler { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.04); padding: 10px; cursor: pointer; }
.navbar-toggler span { display:block; height:2px; background:#fff; margin:4px 0; border-radius:9px; }

.server-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 36px;
    padding: 0 11px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.035);
    border-radius: 999px;
    font-size: .78rem;
    white-space: nowrap;
}
.server-dot, .status-dot { width: 8px; height: 8px; border-radius: 50%; display:inline-block; box-shadow: 0 0 0 4px rgba(255,255,255,.04); }
.is-online { background: var(--success); box-shadow: 0 0 14px rgba(65,209,125,.8); }
.is-offline { background: var(--danger); box-shadow: 0 0 14px rgba(255,99,116,.55); }
.server-pill-label { color: var(--muted); }
.server-pill strong { color: #fff; }
.server-pill-suffix { color: #778191; }

/* Buttons */
.btn, .btn-submit, .btn-back, .login-button, .cta-button, .btn-download, .btn-clear, .wiki-vip-button, .btn-close-modal {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 12px;
    min-height: 42px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 760;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn:hover, .btn-submit:hover, .btn-back:hover, .cta-button:hover, .btn-download:hover { transform: translateY(-2px); }
.btn-primary, .btn-submit, .cta-primary { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color:#fff; box-shadow: 0 12px 32px rgba(255,77,46,.20); }
.btn-primary:hover, .btn-submit:hover, .cta-primary:hover { box-shadow: 0 16px 40px rgba(255,77,46,.32); }
.btn-ghost, .btn-back, .cta-secondary { background: rgba(255,255,255,.045); border-color: var(--line); color: #e7ebf1; }
.btn-ghost:hover, .btn-back:hover, .cta-secondary:hover { background: rgba(255,255,255,.085); border-color: rgba(255,255,255,.16); }
.btn-lg { min-height: 52px; padding: 0 22px; border-radius: 14px; }
.btn-sm { min-height: 36px; padding: 0 12px; border-radius: 10px; font-size:.82rem; }
.btn-block { width: 100%; }
.is-disabled { opacity: .45; pointer-events: none; }

/* Home hero */
.hero-pulseco {
    min-height: 760px;
    position: relative;
    display: grid;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background: #07090d url('/images/wp12976406-conquer-online-wallpapers.jpg') center/cover no-repeat;
}
.hero-overlay { position:absolute; inset:0; z-index:-1; background: linear-gradient(90deg, rgba(5,7,10,.98) 0%, rgba(5,7,10,.90) 43%, rgba(5,7,10,.50) 74%, rgba(5,7,10,.85) 100%), linear-gradient(180deg, rgba(7,9,13,.1), #07090d 99%); }
.hero-grid { position:absolute; inset:0; z-index:-1; opacity:.10; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(circle at 35% 45%, #000, transparent 68%); }
.hero-shell { width:var(--shell); margin:0 auto; display:grid; grid-template-columns: 1.3fr .7fr; gap:70px; align-items:center; padding: 92px 0 80px; }
.hero-copy { max-width: 730px; }
.eyebrow { display:inline-flex; align-items:center; gap:9px; color:#b6c0ce; font-size:.73rem; font-weight:800; letter-spacing:.18em; text-transform:uppercase; }
.hero-copy h1 { margin:18px 0 22px; font-size: clamp(3.4rem, 7vw, 6.7rem); line-height:.91; letter-spacing:-.06em; text-transform:uppercase; }
.hero-copy h1 span { color: transparent; background: linear-gradient(90deg, #fff 2%, var(--accent-2) 58%, var(--gold)); -webkit-background-clip:text; background-clip:text; }
.hero-description { max-width: 680px; color:#b3bdca; font-size:1.13rem; line-height:1.75; }
.hero-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:30px; }
.hero-meta { margin-top:44px; display:flex; gap:28px; flex-wrap:wrap; }
.hero-meta div { display:flex; flex-direction:column; padding-left:14px; border-left:2px solid rgba(255,77,46,.55); }
.hero-meta strong { font-size:1.15rem; }
.hero-meta span { font-size:.74rem; color:var(--muted); text-transform:uppercase; letter-spacing:.08em; margin-top:3px; }
.hero-panel { align-self:center; justify-self:end; width:min(100%, 390px); padding:32px; border:1px solid rgba(255,255,255,.12); background: linear-gradient(180deg, rgba(14,18,27,.88), rgba(10,13,20,.94)); backdrop-filter: blur(16px); border-radius:28px; box-shadow:var(--shadow); position:relative; overflow:hidden; }
.hero-panel::before { content:""; position:absolute; width:170px; height:170px; background:rgba(255,77,46,.18); filter:blur(70px); top:-40px; right:-40px; }
.hero-panel h2 { font-size:1.55rem; margin:18px 0 8px; }
.hero-panel > p { color:var(--muted); margin:0 0 20px; }
.pulse-ring { width:80px; height:80px; position:relative; display:grid; place-items:center; }
.pulse-ring::before, .pulse-ring::after { content:""; position:absolute; inset:0; border:1px solid rgba(255,77,46,.65); border-radius:50%; animation:ring 2.4s infinite ease-out; }
.pulse-ring::after { animation-delay:1.2s; }
@keyframes ring { from{transform:scale(.65);opacity:1} to{transform:scale(1.45);opacity:0} }
.pulse-core { width:58px; height:58px; display:grid; place-items:center; border-radius:18px; background:linear-gradient(135deg,var(--accent-2),var(--accent)); font-size:30px; font-weight:900; font-style:italic; box-shadow:0 16px 38px rgba(255,77,46,.28); }
.check-list { padding:0; margin:0; list-style:none; display:grid; gap:11px; }
.check-list li { display:flex; gap:10px; align-items:flex-start; color:#d0d7e1; font-size:.92rem; }
.check-list i { color:var(--success); margin-top:4px; }
.check-list.compact { margin-top:24px; }

/* Sections */
.section { padding: 92px 0; }
.section-shell { width:var(--shell); margin:0 auto; }
.section-dark { background: linear-gradient(180deg, #07090d, #0a0d13); border-top:1px solid rgba(255,255,255,.04); }
.section-panel { background: radial-gradient(circle at 78% 30%, rgba(255,77,46,.10), transparent 30%), #0a0d13; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.section-heading { max-width:700px; margin-bottom:40px; }
.section-heading.centered { text-align:center; margin:0 auto 46px; }
.section-heading h1, .section-heading h2 { margin:10px 0 12px; font-size: clamp(2rem, 4.2vw, 3.5rem); line-height:1.05; letter-spacing:-.035em; }
.section-heading h1 span { color:var(--accent-2); }
.section-heading p { color:var(--muted); font-size:1.03rem; }
.feature-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.feature-grid-4 { grid-template-columns:repeat(4,1fr); }
.feature-card { min-height:260px; padding:26px; border:1px solid var(--line); border-radius:var(--radius); background:linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.018)); transition:.25s ease; position:relative; overflow:hidden; }
.feature-card:hover { transform:translateY(-4px); border-color:rgba(255,77,46,.30); background:linear-gradient(180deg, rgba(255,77,46,.075), rgba(255,255,255,.02)); }
.feature-card::after { content:""; position:absolute; width:90px; height:90px; border-radius:50%; background:rgba(255,77,46,.12); filter:blur(30px); right:-20px; top:-20px; }
.feature-icon { width:46px; height:46px; display:grid; place-items:center; border-radius:14px; background:rgba(255,77,46,.10); border:1px solid rgba(255,77,46,.18); color:var(--accent-2); font-size:1.1rem; }
.feature-kicker { display:block; color:var(--accent-2); margin-top:28px; font-size:.69rem; letter-spacing:.15em; font-weight:800; text-transform:uppercase; }
.feature-card h3 { margin:7px 0 8px; font-size:1.25rem; }
.feature-card p { color:var(--muted); margin:0; font-size:.92rem; }
.split-section { display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center; }
.split-copy h2 { font-size:clamp(2.2rem,4vw,3.6rem); line-height:1.02; letter-spacing:-.04em; margin:12px 0 18px; }
.split-copy p { color:var(--muted); max-width:620px; }
.tag-row { display:flex; flex-wrap:wrap; gap:8px; margin-top:26px; }
.tag-row span { border:1px solid var(--line); background:rgba(255,255,255,.035); padding:7px 11px; border-radius:999px; color:#d6dce5; font-size:.8rem; }
.timeline-card { padding:28px; border:1px solid var(--line); border-radius:var(--radius); background:var(--panel); box-shadow:var(--shadow); }
.timeline-step { display:grid; grid-template-columns:90px 1fr; gap:4px 14px; position:relative; }
.timeline-step span { grid-row:1/3; color:var(--accent-2); font-size:.73rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; padding-top:3px; }
.timeline-step strong { font-size:1.15rem; }
.timeline-step small { color:var(--muted); }
.timeline-line { width:1px; height:34px; background:linear-gradient(var(--accent), rgba(255,255,255,.12)); margin:9px 0 9px 44px; }
.cta-strip { padding:56px 0; background:linear-gradient(90deg, rgba(255,77,46,.10), rgba(255,255,255,.02)); border-top:1px solid var(--line); }
.cta-strip-inner { display:flex; align-items:center; justify-content:space-between; gap:30px; }
.cta-strip h2 { margin:8px 0 0; }

/* Authentication */
.auth-page, .form-container { min-height:calc(100vh - 76px); display:grid; place-items:center; padding:70px 18px; background:linear-gradient(rgba(6,8,12,.90),rgba(6,8,12,.96)), url('/images/wallpaperflare.com_wallpaper.jpg') center/cover fixed; }
.auth-shell { width:min(1020px,100%); display:grid; grid-template-columns:1fr 480px; gap:56px; align-items:center; }
.auth-shell.single-card { grid-template-columns:minmax(0,520px); justify-content:center; }
.auth-aside h1 { font-size:clamp(2.4rem,5vw,4.2rem); letter-spacing:-.045em; line-height:1.03; margin:12px 0 18px; }
.auth-aside > p { color:var(--muted); max-width:520px; }
.auth-note { display:flex; gap:12px; margin-top:30px; padding:15px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.025); color:#b8c1cd; }
.auth-note i { color:var(--success); margin-top:4px; }
.auth-card, .form { width:100%; background:rgba(11,14,21,.92); backdrop-filter:blur(18px); border:1px solid rgba(255,255,255,.10); border-radius:26px; padding:30px; box-shadow:var(--shadow); }
.auth-card-head { display:flex; gap:14px; align-items:center; margin-bottom:26px; }
.auth-card-head h2 { margin:0; font-size:1.35rem; }
.auth-card-head p { margin:2px 0 0; color:var(--muted); font-size:.86rem; }
.auth-form { display:grid; gap:17px; }
.form-group { display:grid; gap:7px; margin:0; }
.form-label { color:#d6dce5; font-weight:650; font-size:.86rem; }
.muted { color:#667080; font-weight:500; }
.form-input, .filter-input {
    width:100%;
    min-height:48px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.10);
    background:#0b0f16;
    color:var(--text);
    padding:0 14px;
    outline:none;
    transition:.2s ease;
}
.form-input:focus, .filter-input:focus { border-color:rgba(255,77,46,.65); box-shadow:0 0 0 4px rgba(255,77,46,.08); }
.validation-message, .text-danger { color:#ff8793; font-size:.78rem; }
.validation-summary { color:#ff9aa4; font-size:.84rem; }
.validation-summary:empty { display:none; }
.form-links { display:flex; justify-content:space-between; gap:16px; margin-top:3px; }
.form-links.single { justify-content:center; }
.form-links a { color:#aab5c3; font-size:.83rem; text-decoration:none; }
.form-links a:hover { color:#fff; }
.button-group { display:flex; gap:10px; margin-top:8px; }
.form-title { margin:0 0 24px; }

/* Download */
.download-page { padding:94px 0; min-height:calc(100vh - 76px); }
.download-grid { display:grid; grid-template-columns:1.25fr 1fr 1fr; gap:18px; }
.download-card { position:relative; border:1px solid var(--line); background:var(--panel); border-radius:var(--radius); padding:28px; min-height:300px; display:flex; flex-direction:column; }
.download-card.featured { border-color:rgba(255,77,46,.30); background:linear-gradient(160deg,rgba(255,77,46,.10),rgba(14,18,27,.95)); }
.download-icon { width:50px; height:50px; display:grid; place-items:center; border-radius:15px; background:rgba(255,77,46,.10); color:var(--accent-2); }
.download-badge { position:absolute; top:22px; right:22px; font-size:.65rem; font-weight:900; letter-spacing:.13em; color:#1d1305; background:var(--gold); border-radius:999px; padding:5px 8px; }
.download-card h2 { margin:24px 0 7px; }
.download-card p { color:var(--muted); flex:1; }
.requirements-card { margin-top:18px; border:1px solid var(--line); border-radius:18px; display:grid; grid-template-columns:repeat(4,1fr); overflow:hidden; background:rgba(255,255,255,.022); }
.requirements-card div { padding:18px 20px; border-right:1px solid var(--line); display:flex; flex-direction:column; gap:3px; }
.requirements-card div:last-child { border:0; }
.requirements-card span { color:var(--muted); font-size:.72rem; text-transform:uppercase; letter-spacing:.09em; }
.setup-warning { margin-top:18px; display:flex; gap:10px; align-items:flex-start; padding:14px 16px; border-radius:13px; border:1px solid rgba(245,191,85,.25); background:rgba(245,191,85,.075); color:#e5c988; font-size:.87rem; }
.setup-warning code { color:#fff; }

/* Store */
.store-card { max-width:520px; margin:0 auto; }
.payment-amount { display:flex; justify-content:space-between; align-items:center; border:1px solid var(--line); background:rgba(255,255,255,.025); padding:14px 16px; border-radius:12px; }
.payment-amount span { color:var(--muted); }
.payment-amount strong { color:var(--gold); font-size:1.15rem; }
.qr-code-container { text-align:center; border:1px solid var(--line); padding:18px; border-radius:16px; background:#fff; color:#111; }
.qr-code-image { width:min(260px,100%); }

/* Market + Mining */
.market-container, .mining-container { min-height:calc(100vh - 76px); padding:70px 18px; }
.market-content, .mining-content { width:var(--shell); margin:0 auto; }
.market-content { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:24px; }
.market-title, .mining-title { font-size:clamp(2rem,4vw,3rem); margin:0 0 24px; letter-spacing:-.04em; }
.market-title span, .mining-title span { color:var(--accent-2); }
.market-filters, .mining-filters { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-bottom:15px; }
.table-container, .table-wrapper { overflow:auto; border:1px solid var(--line); border-radius:18px; background:var(--panel); }
.market-table, .mining-table, .wiki-table, .table { width:100%; border-collapse:collapse; color:#dbe1e9; }
.market-table th, .market-table td, .mining-table th, .mining-table td, .wiki-table th, .wiki-table td, .table th, .table td { padding:14px 16px; text-align:left; border-bottom:1px solid var(--line); }
.market-table th, .mining-table th, .wiki-table th, .table th { color:#8f9aaa; font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; background:rgba(255,255,255,.025); }
.market-table tr:last-child td, .mining-table tr:last-child td { border-bottom:0; }
.market-item:hover, .mining-item:hover { background:rgba(255,255,255,.025); }
.avatar-img { width:32px; height:32px; border-radius:10px; object-fit:cover; vertical-align:middle; margin-right:9px; }
.market-right { border:1px solid var(--line); border-radius:18px; background:var(--panel); padding:20px; height:max-content; }
.market-image { width:100%; border-radius:14px; }
.market-sidebar-title { margin:14px 0 0; }
.btn-clear { min-height:48px; background:rgba(255,255,255,.05); border-color:var(--line); color:#ddd; }
.pagination, .mining-pagination { display:flex; justify-content:center; gap:8px; margin-top:18px; }
.mining-pagination-btn { min-width:38px; height:38px; display:grid; place-items:center; border:1px solid var(--line); border-radius:10px; background:rgba(255,255,255,.04); color:#fff; text-decoration:none; }
.mining-pagination-btn.active { background:var(--accent); border-color:var(--accent); }

/* Wiki */
.wiki-container { width:var(--shell); margin:0 auto; padding:65px 0 90px; display:grid; grid-template-columns:260px minmax(0,1fr); gap:28px; }
.wiki-sidebar { position:sticky; top:96px; height:max-content; border:1px solid var(--line); background:var(--panel); border-radius:18px; padding:18px; }
.wiki-nav-title { font-weight:800; margin-bottom:10px; }
.wiki-nav-list, .wiki-subnav-list { list-style:none; padding:0; margin:0; }
.wiki-nav-link, .wiki-subnav-link { display:block; padding:9px 10px; color:#aeb8c5; text-decoration:none; border-radius:9px; font-size:.86rem; }
.wiki-nav-link:hover, .wiki-subnav-link:hover, .wiki-nav-link.active { color:#fff; background:rgba(255,255,255,.05); }
.wiki-subnav-list { padding-left:12px; }
.wiki-content { min-width:0; }
.wiki-title { font-size:clamp(2.5rem,5vw,4.3rem); margin:0; letter-spacing:-.05em; }
.wiki-intro, .wiki-section { border:1px solid var(--line); background:rgba(12,16,24,.76); border-radius:20px; padding:26px; margin-bottom:18px; }
.wiki-section-title { margin:0; font-size:1.8rem; }
.wiki-section-subtitle { color:var(--muted); margin-top:4px; }
.wiki-section-content p { color:#aeb8c5; }
.wiki-subsection { margin-top:26px; }
.wiki-subsection-title { border-left:3px solid var(--accent); padding-left:10px; }
.wiki-featured-grid, .wiki-vip-benefits, .wiki-event-list, .wiki-quest-list { display:grid; gap:14px; }
.wiki-featured-grid { grid-template-columns:repeat(3,1fr); }
.wiki-featured-card, .wiki-vip-benefit, .wiki-event-item, .wiki-quest-item, .wiki-news-item { border:1px solid var(--line); border-radius:15px; background:rgba(255,255,255,.025); padding:18px; }
.wiki-event-item { display:grid; grid-template-columns:180px 1fr; gap:20px; }
.wiki-event-img { width:100%; border-radius:12px; }
.wiki-vip-benefit { display:grid; grid-template-columns:44px 1fr; gap:14px; }
.wiki-vip-benefit-icon { width:44px; height:44px; border-radius:12px; display:grid; place-items:center; background:rgba(255,77,46,.10); color:var(--accent-2); }
.wiki-table-container { overflow:auto; border:1px solid var(--line); border-radius:14px; }
.wiki-breadcrumbs { color:var(--muted); font-size:.82rem; margin-bottom:12px; }
.wiki-breadcrumbs a { color:#c8d0da; text-decoration:none; }

/* Alerts/footer */
.toast-banner { width:var(--shell); margin:14px auto 0; padding:12px 14px; border-radius:12px; font-size:.88rem; border:1px solid var(--line); }
.toast-banner.success { background:rgba(65,209,125,.10); border-color:rgba(65,209,125,.26); color:#a9eac4; }
.toast-banner.error { background:rgba(255,99,116,.10); border-color:rgba(255,99,116,.26); color:#ffb2bb; }
.site-footer { border-top:1px solid var(--line); background:#07090d; }
.footer-shell { width:var(--shell); margin:0 auto; padding:42px 0 28px; display:grid; grid-template-columns:1.5fr .8fr .5fr; gap:30px; }
.footer-brand { font-size:1.3rem; font-weight:900; }
.footer-brand span { color:var(--accent-2); }
.footer-shell p { color:var(--muted); max-width:480px; font-size:.88rem; }
.footer-links { display:grid; align-content:start; gap:8px; }
.footer-links a { text-decoration:none; color:#adb7c4; font-size:.86rem; }
.footer-social { display:flex; gap:8px; }
.footer-social a { width:38px; height:38px; display:grid; place-items:center; border:1px solid var(--line); border-radius:11px; color:#c5ced9; text-decoration:none; }
.footer-bottom { border-top:1px solid var(--line); color:#67717f; text-align:center; font-size:.76rem; padding:14px 18px 18px; }

/* Legacy compatibility */
.features { padding:70px 0; }
.container { width:var(--shell); margin:0 auto; }
.section-title { font-size:2rem; }
.video-container, .social-sidebar, .logo-image { display:none !important; }
.text-center { text-align:center; }
.mb-3 { margin-bottom:1rem; }
.mt-4 { margin-top:1.5rem; }
.fw-bold { font-weight:800; }

@media (max-width: 1100px) {
    .main-nav { order:4; width:100%; margin-left:0; display:none; }
    .main-nav.open { display:block; }
    .nav-shell { flex-wrap:wrap; padding:10px 0; }
    .nav-links { flex-direction:column; align-items:stretch; gap:4px; padding:12px 0 6px; }
    .nav-link { display:block; padding:10px; border-radius:10px; }
    .nav-link:hover { background:rgba(255,255,255,.04); }
    .nav-link::after { display:none; }
    .navbar-toggler { display:block; }
    .header-actions { margin-left:auto; }
    .hero-shell { grid-template-columns:1fr; }
    .hero-panel { justify-self:start; }
    .feature-grid-4 { grid-template-columns:repeat(2,1fr); }
    .download-grid { grid-template-columns:1fr; }
    .requirements-card { grid-template-columns:repeat(2,1fr); }
    .market-content { grid-template-columns:1fr; }
    .market-right { display:none; }
}

@media (max-width: 800px) {
    .server-pill-suffix, .server-pill-label { display:none; }
    .user-chip { display:none; }
    .hero-pulseco { min-height:auto; }
    .hero-shell { padding:70px 0 60px; gap:42px; }
    .hero-copy h1 { font-size:clamp(3rem,15vw,5.2rem); }
    .feature-grid, .feature-grid-4 { grid-template-columns:1fr; }
    .split-section, .auth-shell, .footer-shell { grid-template-columns:1fr; }
    .auth-aside { display:none; }
    .cta-strip-inner { flex-direction:column; align-items:flex-start; }
    .market-filters, .mining-filters { grid-template-columns:1fr 1fr; }
    .wiki-container { grid-template-columns:1fr; }
    .wiki-sidebar { position:static; }
    .wiki-featured-grid { grid-template-columns:1fr; }
    .wiki-event-item { grid-template-columns:1fr; }
}

@media (max-width: 520px) {
    :root { --shell: min(100% - 24px, 1180px); }
    .brand-copy small { display:none; }
    .server-pill { display:none; }
    .header-actions { gap:6px; }
    .hero-meta { gap:18px; }
    .requirements-card { grid-template-columns:1fr; }
    .requirements-card div { border-right:0; border-bottom:1px solid var(--line); }
    .market-filters, .mining-filters { grid-template-columns:1fr; }
    .auth-card, .form { padding:22px; }
}

/* R3.10 - Events, quests and official store */
.highlight-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.highlight-card, .quest-highlight-card { border:1px solid var(--line); background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.018)); border-radius:var(--radius); padding:24px; position:relative; overflow:hidden; }
.highlight-card.featured, .quest-highlight-card.featured { border-color:rgba(245,191,85,.34); box-shadow:0 16px 50px rgba(0,0,0,.16); }
.highlight-card h3, .quest-highlight-card h3 { margin:18px 0 8px; font-size:1.28rem; }
.highlight-card > p, .quest-highlight-card > p { color:var(--muted); margin:0 0 18px; }
.highlight-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.highlight-icon { width:46px; height:46px; display:grid; place-items:center; border-radius:14px; background:rgba(255,77,46,.10); border:1px solid rgba(255,77,46,.18); color:var(--accent-2); }
.highlight-badge, .quest-level { display:inline-flex; width:max-content; padding:5px 8px; border-radius:999px; border:1px solid var(--line); background:rgba(255,255,255,.04); color:#cbd3df; font-size:.65rem; font-weight:850; letter-spacing:.10em; text-transform:uppercase; }
.reward-box { border:1px solid rgba(245,191,85,.18); background:rgba(245,191,85,.06); border-radius:14px; padding:13px 14px; display:grid; gap:3px; }
.reward-box span { color:#b9a36f; text-transform:uppercase; letter-spacing:.09em; font-size:.67rem; font-weight:800; }
.reward-box strong { color:#f4d98f; font-size:.92rem; }
.mini-rewards { list-style:none; padding:0; margin:14px 0 0; display:grid; gap:7px; color:#9ea9b7; font-size:.84rem; }
.mini-rewards li::before { content:'•'; color:var(--accent-2); margin-right:8px; }
.quest-highlight-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:15px; }
.quest-highlight-card { min-height:310px; display:flex; flex-direction:column; }
.quest-highlight-card .quest-prize { margin-top:auto; border-top:1px solid var(--line); padding-top:16px; display:grid; grid-template-columns:30px 1fr; gap:2px 10px; align-items:start; }
.quest-prize i { grid-row:1/3; color:var(--gold); margin-top:4px; }
.quest-prize span { color:var(--muted); font-size:.68rem; text-transform:uppercase; letter-spacing:.08em; }
.quest-prize strong { font-size:.86rem; color:#edf1f6; }
.content-more-row { display:flex; justify-content:flex-end; margin-top:22px; }
.store-teaser { background:radial-gradient(circle at 15% 30%,rgba(255,77,46,.15),transparent 32%),#090c12; border-top:1px solid var(--line); }
.store-teaser-grid { display:grid; grid-template-columns:1fr .8fr; gap:50px; align-items:center; }
.store-teaser h2 { font-size:clamp(2.2rem,4vw,3.7rem); line-height:1.02; letter-spacing:-.045em; margin:10px 0 16px; }
.store-teaser p { color:var(--muted); max-width:650px; }
.store-teaser-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.store-teaser-cards div { min-height:150px; border:1px solid var(--line); background:var(--panel); border-radius:18px; padding:20px; display:flex; flex-direction:column; justify-content:flex-end; }
.store-teaser-cards i { color:var(--accent-2); font-size:1.35rem; margin-bottom:auto; }
.store-teaser-cards strong { font-size:1.05rem; }
.store-teaser-cards span { color:var(--muted); font-size:.76rem; }

.storefront-hero { padding:92px 0 74px; border-bottom:1px solid var(--line); background:radial-gradient(circle at 70% 20%,rgba(255,77,46,.14),transparent 26%),linear-gradient(180deg,#080b10,#0a0d13); }
.storefront-hero-grid { display:grid; grid-template-columns:1.2fr .8fr; gap:60px; align-items:center; }
.storefront-hero h1 { margin:12px 0 18px; font-size:clamp(3rem,6vw,5.5rem); line-height:.94; letter-spacing:-.055em; text-transform:uppercase; }
.storefront-hero h1 span { color:var(--accent-2); }
.storefront-hero p { color:var(--muted); max-width:700px; font-size:1.03rem; }
.storefront-info-card { border:1px solid var(--line); background:var(--panel); border-radius:24px; padding:26px; box-shadow:var(--shadow); }
.storefront-info-card h2 { margin:18px 0 8px; }
.storefront-account { display:inline-flex; align-items:center; gap:8px; min-height:48px; padding:0 15px; border:1px solid rgba(65,209,125,.20); background:rgba(65,209,125,.07); border-radius:13px; color:#bceccc; }
.store-tabs { display:flex; gap:8px; margin-bottom:22px; flex-wrap:wrap; }
.store-tab { min-height:42px; padding:0 16px; border:1px solid var(--line); border-radius:999px; background:rgba(255,255,255,.035); color:#b7c0cc; font-weight:800; cursor:pointer; }
.store-tab.active { background:linear-gradient(135deg,var(--accent-2),var(--accent)); color:#fff; border-color:transparent; }
.storefront-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.store-product { border:1px solid var(--line); background:var(--panel); border-radius:22px; padding:24px; min-height:390px; display:flex; flex-direction:column; }
.store-product.featured { border-color:rgba(245,191,85,.34); background:linear-gradient(180deg,rgba(245,191,85,.05),var(--panel)); }
.store-product[hidden] { display:none !important; }
.store-product-top { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.store-product-icon { width:48px; height:48px; display:grid; place-items:center; border-radius:14px; background:rgba(255,77,46,.10); color:var(--accent-2); }
.store-product-badge { font-size:.64rem; letter-spacing:.10em; font-weight:900; color:#1d1305; background:var(--gold); padding:5px 8px; border-radius:999px; }
.store-product h3 { font-size:1.35rem; margin:22px 0 8px; }
.store-product > p { color:var(--muted); margin:0 0 18px; }
.store-product-meta { display:grid; gap:4px; border-top:1px solid var(--line); padding-top:16px; margin-top:auto; }
.store-product-meta span, .store-price small { color:#7f8997; font-size:.66rem; letter-spacing:.09em; text-transform:uppercase; }
.store-product-meta strong { color:#c9d0da; font-size:.80rem; font-weight:650; }
.store-product-footer { margin-top:18px; display:flex; align-items:end; justify-content:space-between; gap:12px; }
.store-price { display:grid; gap:2px; }
.store-price strong { color:var(--gold); font-size:1.12rem; }
.storefront-notice { margin-top:22px; display:flex; gap:12px; align-items:flex-start; padding:15px 17px; border:1px solid var(--line); border-radius:15px; background:rgba(255,255,255,.025); color:#b8c1cd; }
.storefront-notice i { color:var(--cyan); margin-top:4px; }
.storefront-notice span { color:var(--muted); }

@media (max-width: 1100px) {
    .highlight-grid { grid-template-columns:repeat(2,1fr); }
    .quest-highlight-grid { grid-template-columns:repeat(2,1fr); }
    .storefront-grid { grid-template-columns:repeat(2,1fr); }
    .store-teaser-grid, .storefront-hero-grid { grid-template-columns:1fr; }
}
@media (max-width: 700px) {
    .highlight-grid, .quest-highlight-grid, .storefront-grid, .store-teaser-cards { grid-template-columns:1fr; }
    .store-product-footer { align-items:stretch; flex-direction:column; }
    .store-product-footer form, .store-product-footer .btn { width:100%; }
}
