@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

:root {
    --bg-main: #06060b;
    --bg-secondary: #0c0c16;
    --glass-bg: rgba(18, 18, 32, 0.72);
    --glass-bg-hover: rgba(26, 26, 46, 0.85);
    --glass-border: rgba(139, 92, 246, 0.25);
    --purple: #8b5cf6;
    --purple-bright: #a78bfa;
    --blue: #3b82f6;
    --blue-bright: #60a5fa;
    --gold: #fbbf24;
    --gold-dark: #d97706;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --danger: #ef4444;
    --success: #10b981;
    --warning: #f59e0b;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Vazirmatn', Tahoma, sans-serif; background-color: var(--bg-main); color: var(--text-main); line-height: 1.75; direction: rtl; overflow-x: hidden; position: relative; }

.ambient-glow { position: fixed; border-radius: 50%; filter: blur(130px); pointer-events: none; z-index: -2; opacity: 0.35; }
.glow-purple { width: 450px; height: 450px; background: var(--purple); top: -120px; right: -100px; }
.glow-blue { width: 420px; height: 420px; background: var(--blue); bottom: 5%; left: -120px; }
.bg-grid { position: fixed; inset: 0; background-image: linear-gradient(to right, rgba(139, 92, 246, 0.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(59, 130, 246, 0.04) 1px, transparent 1px); background-size: 42px 42px; pointer-events: none; z-index: -1; }

a { color: inherit; text-decoration: none; transition: all 0.25s ease; }
.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 20px; }
.mt-1 { margin-top: 0.75rem; } .mt-2 { margin-top: 1.5rem; } .mb-1 { margin-bottom: 0.75rem; } .mb-2 { margin-bottom: 1.5rem; } .p-2 { padding: 1.5rem; }
.text-center { text-align: center; } .text-muted { color: var(--text-muted); } .text-danger { color: var(--danger); }
.purple-text { color: var(--purple-bright); } .blue-text { color: var(--blue-bright); }
.gold-text { color: var(--gold); text-shadow: 0 0 14px rgba(251, 191, 36, 0.35); }
.gradient-text { background: linear-gradient(135deg, var(--purple-bright) 0%, var(--blue-bright) 50%, var(--gold) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.flex-align { display: flex; align-items: center; flex-wrap: wrap; }
.gap-1 { gap: 0.6rem; } .gap-2 { gap: 1.2rem; }

.navbar { background: rgba(6, 6, 11, 0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--glass-border); position: sticky; top: 0; z-index: 1000; }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 42px; height: 42px; border-radius: 10px; box-shadow: 0 0 18px rgba(139, 92, 246, 0.45); }
.brand-logo-sm { width: 32px; height: 32px; border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-title { font-weight: 900; font-size: 1.3rem; letter-spacing: 0.5px; background: linear-gradient(90deg, #fff, var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.brand-sub { font-size: 0.72rem; color: var(--purple-bright); font-weight: 700; letter-spacing: 1px; }

.nav-links { display: flex; align-items: center; gap: 1.25rem; }
.nav-links a:not(.btn) { color: var(--text-muted); font-weight: 600; font-size: 0.94rem; }
.nav-links a:not(.btn):hover, .nav-links a:not(.btn).active { color: var(--gold); }
.nav-profile { display: inline-flex; align-items: center; gap: 8px; }
.coin-pill { background: rgba(251, 191, 36, 0.14); border: 1px solid rgba(251, 191, 36, 0.4); color: var(--gold); padding: 2px 9px; border-radius: 999px; font-size: 0.8rem; font-weight: 800; }

.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.mobile-toggle span { width: 26px; height: 3px; background: var(--gold); border-radius: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 22px; border-radius: 10px; font-family: inherit; font-weight: 700; font-size: 0.93rem; cursor: pointer; border: 1px solid transparent; transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1); }
.btn-sm { padding: 6px 14px; font-size: 0.84rem; border-radius: 8px; }
.btn-lg { padding: 13px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%); color: #fff; box-shadow: 0 6px 20px rgba(139, 92, 246, 0.38); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(59, 130, 246, 0.55); filter: brightness(1.08); }
.btn-gold { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); color: #09090b; font-weight: 800; box-shadow: 0 6px 20px rgba(251, 191, 36, 0.32); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(251, 191, 36, 0.55); }
.btn-outline { background: rgba(255, 255, 255, 0.03); color: var(--text-main); border-color: var(--glass-border); }
.btn-outline:hover { border-color: var(--purple-bright); background: rgba(139, 92, 246, 0.14); color: #fff; }
.btn-danger { background: rgba(239, 68, 68, 0.14); color: #fca5a5; border-color: rgba(239, 68, 68, 0.5); }
.btn-danger:hover { background: var(--danger); color: #fff; }

.glass-card { background: var(--glass-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--glass-border); border-radius: 16px; padding: 26px; box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45); transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; position: relative; }
.glass-box { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--glass-border); border-radius: 12px; padding: 12px; }

.hero { padding: 72px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.18fr 0.82fr; gap: 40px; align-items: center; }
.server-pill { display: inline-flex; align-items: center; gap: 10px; background: var(--glass-bg); border: 1px solid var(--glass-border); padding: 7px 18px; border-radius: 999px; font-size: 0.88rem; margin-bottom: 18px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; }
.status-dot.online { background: var(--success); box-shadow: 0 0 12px var(--success); }
.status-dot.offline { background: var(--danger); box-shadow: 0 0 12px var(--danger); }
.status-dot.standby { background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.hero-title { font-size: 2.8rem; font-weight: 900; line-height: 1.25; margin-bottom: 10px; }
.hero-slogan { font-size: 1.05rem; font-weight: 800; letter-spacing: 3.5px; color: var(--gold); margin-bottom: 16px; direction: ltr; text-align: right; }
.hero-desc { color: var(--text-muted); font-size: 1.04rem; margin-bottom: 28px; max-width: 610px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.spec-item { text-align: center; } .spec-label { display: block; font-size: 0.78rem; color: var(--text-muted); } .spec-val { font-weight: 800; font-size: 0.96rem; }

.connect-quick-card { border-color: rgba(251, 191, 36, 0.35); box-shadow: 0 0 40px rgba(139, 92, 246, 0.2); }
.mc-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.pulse-gem { width: 12px; height: 12px; border-radius: 3px; transform: rotate(45deg); background: var(--gold); box-shadow: 0 0 14px var(--gold); }
.ip-display { display: flex; flex-direction: column; gap: 14px; }
.ip-row { background: rgba(6, 6, 11, 0.65); border: 1px solid var(--glass-border); padding: 12px 15px; border-radius: 10px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ip-label { font-size: 0.88rem; color: var(--text-muted); }
.ip-copy-group { display: flex; align-items: center; gap: 8px; direction: ltr; }
.ip-copy-group code { color: var(--gold); font-family: monospace; font-size: 0.96rem; font-weight: bold; }
.copy-btn { background: rgba(139, 92, 246, 0.2); color: var(--purple-bright); border: 1px solid var(--purple); padding: 4px 11px; border-radius: 6px; cursor: pointer; font-family: inherit; font-size: 0.8rem; font-weight: 700; transition: 0.2s ease; }
.copy-btn:hover { background: var(--purple); color: #fff; }
.small-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 12px; text-align: center; }

.section { padding: 68px 0; }
.section-alt { background: rgba(12, 12, 22, 0.7); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-tag { display: inline-block; color: var(--gold); font-size: 0.8rem; font-weight: 800; letter-spacing: 2.5px; margin-bottom: 6px; }
.section-header h2 { font-size: 2.05rem; font-weight: 900; margin-bottom: 10px; }
.section-header p { color: var(--text-muted); }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card:hover { transform: translateY(-6px); border-color: var(--purple-bright); background: var(--glass-bg-hover); }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 14px; }
.icon-purple { background: rgba(139, 92, 246, 0.16); border: 1px solid rgba(139, 92, 246, 0.4); }
.icon-blue { background: rgba(59, 130, 246, 0.16); border: 1px solid rgba(59, 130, 246, 0.4); }
.icon-gold { background: rgba(251, 191, 36, 0.16); border: 1px solid rgba(251, 191, 36, 0.4); }
.feature-card h3 { font-size: 1.12rem; margin-bottom: 8px; color: #fff; }
.feature-card p { color: var(--text-muted); font-size: 0.92rem; }

.connect-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.c-box { background: rgba(6, 6, 11, 0.65); border: 1px solid var(--glass-border); padding: 16px; border-radius: 12px; }
.c-label { display: block; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 8px; }
.c-val-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.c-val-row code { color: var(--gold); font-size: 1rem; font-weight: bold; direction: ltr; }

.page-header { padding: 52px 0 32px; background: rgba(12, 12, 22, 0.8); border-bottom: 1px solid var(--glass-border); text-align: center; }
.shop-controls { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.shop-search-form { display: flex; gap: 8px; align-items: center; max-width: 480px; width: 100%; flex-wrap: wrap; }
.filter-tab { padding: 8px 16px; border-radius: 10px; background: var(--glass-bg); border: 1px solid var(--glass-border); color: var(--text-muted); font-weight: 600; font-size: 0.9rem; }
.filter-tab.active, .filter-tab:hover { border-color: var(--gold); color: var(--gold); background: rgba(251, 191, 36, 0.12); }

.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { display: flex; flex-direction: column; justify-content: space-between; padding: 20px; }
.product-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 14px 36px rgba(139, 92, 246, 0.25); }
.featured-card { border-color: rgba(251, 191, 36, 0.45); }
.ribbon-gold { position: absolute; top: 12px; left: 12px; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #000; font-size: 0.74rem; font-weight: 900; padding: 2px 10px; border-radius: 6px; z-index: 2; }
.product-visual { height: 115px; background: rgba(6, 6, 11, 0.6); border: 1px solid var(--glass-border); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; overflow: hidden; }
.product-img { width: 100%; height: 100%; object-fit: cover; }
.product-icon-box { font-size: 2.8rem; filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.5)); }
.product-badge { display: inline-block; background: rgba(139, 92, 246, 0.16); border: 1px solid rgba(139, 92, 246, 0.35); color: var(--purple-bright); font-size: 0.75rem; padding: 2px 10px; border-radius: 6px; margin-bottom: 8px; }
.product-body h3 { font-size: 1.08rem; margin-bottom: 6px; }
.product-short { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 14px; }
.product-price { font-size: 1.2rem; font-weight: 900; color: var(--gold); margin-bottom: 12px; }
.product-btn-group { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.product-detail-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 28px; align-items: start; }
.detail-header-box { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.detail-product-img { width: 96px; height: 96px; border-radius: 14px; object-fit: cover; border: 1px solid var(--gold); }
.detail-icon-large { width: 88px; height: 88px; border-radius: 16px; background: rgba(139, 92, 246, 0.16); border: 1px solid var(--purple); display: flex; align-items: center; justify-content: center; font-size: 2.6rem; }
.mc-divider { border: 0; border-top: 1px solid var(--glass-border); margin: 18px 0; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--glass-border); }
.total-row { font-size: 1.15rem; border-bottom: none; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-meta { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 10px; }
.news-card h3 { margin-bottom: 10px; color: var(--gold); }

.auth-container { max-width: 490px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 0.9rem; font-weight: 600; color: #e2e8f0; }
.form-control { width: 100%; padding: 11px 14px; background: rgba(6, 6, 11, 0.75); border: 1px solid var(--glass-border); border-radius: 10px; color: var(--text-main); font-family: inherit; font-size: 0.94rem; transition: 0.2s ease; }
.form-control:focus { outline: none; border-color: var(--purple-bright); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2); }
.form-control-sm { padding: 6px 10px; font-size: 0.84rem; border-radius: 8px; }

.alert { padding: 14px 18px; border-radius: 12px; border: 1px solid; font-size: 0.92rem; }
.alert-success { background: rgba(16, 185, 129, 0.14); border-color: var(--success); color: #6ee7b7; }
.alert-danger { background: rgba(239, 68, 68, 0.14); border-color: var(--danger); color: #fca5a5; }
.alert-warning { background: rgba(245, 158, 11, 0.14); border-color: var(--warning); color: #fcd34d; }
.alert-info { background: rgba(59, 130, 246, 0.14); border-color: var(--blue); color: #93c5fd; }
.error-list { padding-right: 18px; }

.badge-purple, .badge-gold, .badge-success, .badge-warning, .badge-danger { display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: 0.78rem; font-weight: 700; }
.badge-purple { background: rgba(139, 92, 246, 0.2); color: var(--purple-bright); border: 1px solid rgba(139, 92, 246, 0.4); }
.badge-gold { background: rgba(251, 191, 36, 0.18); color: var(--gold); border: 1px solid rgba(251, 191, 36, 0.4); }
.badge-success { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; }
.badge-warning { background: rgba(245, 158, 11, 0.2); color: #fcd34d; }
.badge-danger { background: rgba(239, 68, 68, 0.2); color: #fca5a5; }

.profile-header { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.profile-avatar { width: 68px; height: 68px; background: linear-gradient(135deg, var(--purple), var(--blue)); border: 2px solid var(--gold); color: #fff; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 900; box-shadow: 0 0 24px rgba(139, 92, 246, 0.4); }
.profile-meta { flex: 1; }
.profile-coins { background: rgba(6, 6, 11, 0.65); border: 1px solid rgba(251, 191, 36, 0.4); padding: 12px 22px; border-radius: 12px; text-align: center; }
.coins-label { display: block; font-size: 0.8rem; color: var(--text-muted); }
.coins-value { font-size: 1.35rem; color: var(--gold); }
.profile-grid { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 24px; align-items: start; }
.info-list div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--glass-border); }

.table-responsive { overflow-x: auto; }
.mc-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.mc-table th, .mc-table td { padding: 12px 10px; text-align: right; border-bottom: 1px solid var(--glass-border); font-size: 0.89rem; }
.mc-table th { color: var(--gold); background: rgba(6, 6, 11, 0.55); }

.admin-nav { display: flex; gap: 10px; flex-wrap: wrap; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-card { text-align: center; }
.stat-title { display: block; color: var(--text-muted); font-size: 0.9rem; }
.stat-num { font-size: 2.1rem; }
.admin-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.full-span { grid-column: 1 / -1; }
.checkbox-label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 0.9rem; }

.footer { background: #040408; border-top: 1px solid var(--glass-border); padding-top: 52px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr; gap: 32px; padding-bottom: 40px; }
.slogan-badge { display: inline-block; margin-top: 12px; padding: 4px 12px; border: 1px solid var(--gold); color: var(--gold); border-radius: 6px; font-size: 0.78rem; font-weight: 800; letter-spacing: 2px; direction: ltr; }
.footer-links { list-style: none; margin-top: 12px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a:hover { color: var(--gold); }
.footer-ip-box { background: var(--glass-bg); border: 1px solid var(--glass-border); padding: 14px; border-radius: 12px; margin-top: 12px; font-size: 0.9rem; }
.f-ip-row { display: flex; justify-content: space-between; margin-bottom: 4px; }
.footer-ip-box code { color: var(--gold); direction: ltr; }
.footer-bottom { border-top: 1px solid var(--glass-border); padding: 18px 0; text-align: center; color: var(--text-muted); font-size: 0.85rem; }

.toast { position: fixed; bottom: 24px; left: 24px; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #000; font-weight: 800; padding: 10px 20px; border-radius: 10px; box-shadow: 0 8px 25px rgba(251, 191, 36, 0.45); opacity: 0; transform: translateY(20px); pointer-events: none; transition: 0.3s ease; z-index: 2000; }
.toast.show { opacity: 1; transform: translateY(0); }
.fade-up { animation: fadeUp 0.65s ease forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) {
    .hero-grid, .features-grid, .news-grid, .connect-boxes, .product-detail-grid, .profile-grid, .stats-grid, .footer-grid, .admin-grid-2 { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .hero-specs { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 2.1rem; }
    .mobile-toggle { display: flex; }
    .nav-links { display: none; position: absolute; top: 78px; right: 0; left: 0; background: rgba(12, 12, 22, 0.96); flex-direction: column; padding: 20px; border-bottom: 1px solid var(--glass-border); }
    .nav-links.open { display: flex; }
    .admin-form-grid { grid-template-columns: 1fr; }
}


/* =========================================================
   KingLandSMP 4.3 — visual polish & responsive refinements
   ========================================================= */
:root {
    --glass-border: rgba(167, 139, 250, .28);
    --glass-bg: rgba(15, 18, 35, .78);
}
::selection { background: rgba(139, 92, 246, .38); color: #fff; }
body {
    background-image: radial-gradient(ellipse at 50% -20%, rgba(91, 33, 182, .16), transparent 48%);
    background-attachment: fixed;
}
.navbar { box-shadow: 0 10px 35px rgba(0,0,0,.22); }
.brand-logo { transition: transform .25s ease, box-shadow .25s ease; }
.brand:hover .brand-logo { transform: rotate(-5deg) scale(1.06); box-shadow: 0 0 26px rgba(167,139,250,.65); }
.nav-links a:not(.btn) { transition: color .2s ease, transform .2s ease; }
.nav-links a:not(.btn):hover { transform: translateY(-1px); }
.glass-card, .feature-card, .product-card, .stat-card {
    box-shadow: 0 14px 38px rgba(0,0,0,.25);
}
.glass-card:hover, .product-card:hover, .feature-card:hover {
    box-shadow: 0 18px 46px rgba(0,0,0,.34), 0 0 0 1px rgba(167,139,250,.12);
}
.btn:focus-visible, a:focus-visible, input:focus-visible, button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}
.btn-primary, .btn-gold, .btn-outline { position: relative; overflow: hidden; }
.btn-primary:active, .btn-gold:active { transform: translateY(1px) scale(.99); }
.form-control { min-height: 46px; }
.form-control::placeholder { color: #74809a; }
.auth-container { max-width: 520px; }
.auth-card {
    padding: clamp(24px, 5vw, 42px);
    border-color: rgba(167,139,250,.36);
    background: linear-gradient(145deg, rgba(20,20,42,.94), rgba(8,11,24,.94));
    box-shadow: 0 24px 70px rgba(0,0,0,.42), 0 0 42px rgba(91,33,182,.12);
    overflow: hidden;
}
.auth-card::before {
    content: "";
    display: block;
    height: 3px;
    position: absolute;
    top: 0; right: 0; left: 0;
    background: linear-gradient(90deg, var(--blue), var(--purple-bright), var(--gold));
}
.auth-card h2 { font-size: clamp(1.45rem, 4vw, 1.9rem); margin: 8px 0; }
.auth-card .form-group { margin-bottom: 19px; }
.auth-card .form-control { background: rgba(3,6,17,.72); border-color: rgba(148,163,184,.22); }
.auth-card .form-control:focus { border-color: var(--purple-bright); }
.remember-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    margin: 4px 0 20px;
    border: 1px solid rgba(167,139,250,.2);
    border-radius: 13px;
    background: rgba(139,92,246,.075);
    cursor: pointer;
    transition: .2s ease;
}
.remember-option:hover { border-color: rgba(167,139,250,.55); background: rgba(139,92,246,.12); }
.remember-option input {
    width: 18px; height: 18px; accent-color: var(--purple-bright);
    flex: 0 0 auto; cursor: pointer;
}
.remember-option span:last-child { display: flex; flex-direction: column; line-height: 1.5; }
.remember-option strong { font-size: .91rem; color: #f1f5f9; }
.remember-option small { color: var(--text-muted); font-size: .78rem; }
.login-submit { min-height: 49px; font-size: .98rem; }
.auth-footer { color: var(--text-muted); font-size: .9rem; }
.nav-profile {
    padding: 7px 10px;
    border: 1px solid rgba(167,139,250,.2);
    border-radius: 999px;
    background: rgba(139,92,246,.07);
}
.mc-table tr:hover td { background: rgba(139,92,246,.055); }
.product-img-wrap { background: radial-gradient(circle, rgba(139,92,246,.16), transparent 70%); }
@media (max-width: 960px) {
    .nav-links { box-shadow: 0 18px 28px rgba(0,0,0,.35); }
    .nav-profile { border-radius: 12px; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* =========================================================
   KingLandSMP 4.3.1 — mobile viewport / fit-to-screen fix
   ========================================================= */
html {
    width: 100%;
    min-width: 0;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: 88px;
}
body {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
}
img, video, iframe, canvas, svg {
    max-width: 100%;
}
input, select, textarea, button {
    max-width: 100%;
    font: inherit;
}
@media (max-width: 600px) {
    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 14px;
        padding-right: 14px;
    }
    .nav-container {
        min-width: 0;
        gap: 10px;
    }
    .brand {
        min-width: 0;
        gap: 8px;
    }
    .brand-text { min-width: 0; }
    .brand-title { font-size: clamp(1rem, 4.5vw, 1.25rem); }
    .brand-sub { font-size: clamp(.58rem, 2.5vw, .7rem); letter-spacing: .4px; }
    .hero { padding: 42px 0 36px; }
    .hero-title { font-size: clamp(1.7rem, 7vw, 2.1rem); line-height: 1.45; }
    .glass-card { padding: 18px; }
    .auth-card { padding: 22px 18px; }
    .table-wrap, .table-responsive { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}


/* KingLandSMP 4.3.2 — mobile profile header width fix */
.profile-header {
    width: 100%;
    min-width: 0;
    flex: 1 1 100%;
}
.profile-meta { min-width: 0; }
.profile-meta h2 { overflow-wrap: anywhere; }
.profile-coins { flex: 0 0 auto; }
@media (max-width: 600px) {
    .profile-header {
        display: grid;
        grid-template-columns: 56px minmax(0, 1fr);
        align-items: center;
        gap: 12px;
        width: 100%;
        padding: 16px;
    }
    .profile-avatar { width: 56px; height: 56px; font-size: 1.25rem; }
    .profile-meta { min-width: 0; }
    .profile-meta .flex-align { gap: 6px; }
    .profile-meta h2 { font-size: 1.05rem; }
    .profile-meta p { font-size: .78rem; overflow-wrap: anywhere; }
    .profile-coins { grid-column: 1 / -1; justify-self: stretch; width: 100%; }
    .profile-grid > * { min-width: 0; width: 100%; }
    .profile-grid .glass-card { width: 100%; }
}


/* KingLandSMP 4.4 — verified feature and command guide */
.guide-command { display: inline-block; direction: ltr; unicode-bidi: isolate; margin: 5px 4px 0 0; padding: 6px 9px; border-radius: 8px; border: 1px solid rgba(167,139,250,.28); background: rgba(5,8,20,.72); color: #fbbf24; font:  .82rem/1.5 monospace; overflow-wrap: anywhere; }
.feature-card p { line-height: 1.9; }
@media (max-width: 600px) { .guide-command { font-size: .75rem; } }

/* =========================================================
   KingLandSMP 4.4.3 — premium visual refresh
   ========================================================= */
:root {
    --bg-main: #070914;
    --bg-secondary: #0d1224;
    --glass-bg: rgba(17, 23, 45, .82);
    --glass-bg-hover: rgba(24, 33, 62, .94);
    --glass-border: rgba(116, 151, 255, .22);
    --purple: #7657f6;
    --purple-bright: #b7a5ff;
    --blue: #2878ed;
    --blue-bright: #82b8ff;
    --gold: #ffd166;
    --gold-dark: #d99a28;
    --text-main: #f5f7ff;
    --text-muted: #a5afc8;
}
body {
    background-image:
      radial-gradient(ellipse at 12% 0%, rgba(41, 113, 235, .16), transparent 34%),
      radial-gradient(ellipse at 88% 8%, rgba(119, 79, 246, .18), transparent 36%),
      linear-gradient(180deg, #080b18 0%, #070914 55%, #090d1c 100%);
    background-attachment: fixed;
}
.bg-grid {
    opacity: .55;
    background-image: linear-gradient(to right, rgba(139, 164, 255, .035) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(139, 164, 255, .035) 1px, transparent 1px);
    mask-image: linear-gradient(to bottom, black, transparent 88%);
}
.navbar {
    background: rgba(7, 10, 23, .88);
    border-bottom-color: rgba(135, 157, 255, .2);
    box-shadow: 0 12px 38px rgba(0,0,0,.32);
}
.nav-container { min-height: 78px; }
.brand-logo { border: 1px solid rgba(255, 209, 102, .48); box-shadow: 0 0 22px rgba(104, 113, 255, .35); }
.brand-title { letter-spacing: .8px; }
.nav-links a:not(.btn) { padding: 8px 2px; }
.nav-links a:not(.btn):hover, .nav-links a:not(.btn).active { text-shadow: 0 0 16px rgba(255,209,102,.32); }
.glass-card, .glass-box {
    background: linear-gradient(145deg, rgba(21, 29, 56, .91), rgba(12, 17, 35, .88));
    border-color: rgba(133, 157, 255, .22);
    box-shadow: 0 18px 48px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.035);
}
.glass-card { border-radius: 20px; }
.glass-card::before {
    content: ""; position: absolute; inset: 0 18% auto 18%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(173,190,255,.48), transparent);
    pointer-events: none;
}
.feature-card, .product-card, .news-card, .stat-card { border-radius: 19px; }
.feature-card:hover, .product-card:hover, .news-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,209,102,.48);
    box-shadow: 0 22px 48px rgba(0,0,0,.38), 0 0 26px rgba(85,111,255,.1);
}
.hero { padding-top: 84px; padding-bottom: 74px; }
.hero-title { letter-spacing: -.7px; text-shadow: 0 8px 34px rgba(91,110,255,.17); }
.hero-slogan { letter-spacing: 2.6px; text-shadow: 0 0 22px rgba(255,209,102,.2); }
.server-pill { background: rgba(19, 29, 55, .82); border-color: rgba(88, 205, 157, .25); }
.connect-quick-card {
    background: linear-gradient(145deg, rgba(25,31,61,.96), rgba(12,17,36,.96));
    border-color: rgba(255,209,102,.35);
    box-shadow: 0 24px 60px rgba(0,0,0,.38), 0 0 44px rgba(102,86,245,.16);
}
.ip-row { background: rgba(5,9,22,.68); border-color: rgba(130,155,255,.2); }
.ip-copy-group code, .footer-ip-box code { color: #ffe09a; }
.btn { border-radius: 12px; }
.btn-primary { background: linear-gradient(120deg, #7657f6, #2878ed); box-shadow: 0 9px 26px rgba(69,91,224,.28); }
.btn-gold { background: linear-gradient(120deg, #ffe29a, #e9ad3c); }
.btn-outline { border-color: rgba(145,164,255,.3); }
.section { padding-top: 76px; padding-bottom: 76px; }
.section-alt { background: linear-gradient(180deg, rgba(15,21,43,.7), rgba(11,16,34,.72)); border-color: rgba(135,157,255,.14); }
.section-tag { letter-spacing: 1.8px; }
.section-header h2 { text-shadow: 0 6px 28px rgba(98,112,255,.16); }
.feature-icon { border-radius: 15px; box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.form-control { background: rgba(5,9,22,.72); border-color: rgba(132,153,255,.25); border-radius: 12px; }
.form-control:focus { border-color: #9e91ff; box-shadow: 0 0 0 4px rgba(118,87,246,.15); }
.profile-avatar { border-radius: 20px; box-shadow: 0 12px 30px rgba(77,92,230,.25); }
.profile-coins { background: linear-gradient(145deg, rgba(58,43,15,.42), rgba(12,17,35,.82)); border-color: rgba(255,209,102,.36); }
.mc-table th { background: rgba(20,28,54,.85); }
.mc-table tr:hover td { background: rgba(105,126,230,.07); }
.footer { background: linear-gradient(180deg, #090d1c, #050710); border-top-color: rgba(135,157,255,.18); }
.toast { border-radius: 13px; }
@media (prefers-reduced-motion: no-preference) {
  .hero .glass-card, .hero-copy { animation: klFloatIn .65s ease both; }
  .hero-copy { animation-delay: .08s; }
  .feature-card, .product-card, .news-card { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
}
@keyframes klFloatIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) {
    .container { padding-left: 15px; padding-right: 15px; }
    .nav-container { height: 68px; }
    .brand-title { font-size: 1.08rem; }
    .brand-sub { font-size: .64rem; }
    .brand-logo { width: 38px; height: 38px; }
    .nav-links { top: 68px; padding: 18px 16px 22px; gap: 13px; }
    .hero { padding: 44px 0 42px; }
    .hero-title { font-size: clamp(1.8rem, 8vw, 2.25rem); }
    .hero-slogan { font-size: .83rem; letter-spacing: 1.3px; }
    .hero-desc { font-size: .94rem; }
    .hero-actions { gap: 9px; }
    .hero-actions .btn { flex: 1 1 145px; }
    .glass-card { padding: 20px 17px; border-radius: 17px; }
    .section { padding: 52px 0; }
    .section-header { margin-bottom: 28px; }
    .section-header h2 { font-size: 1.55rem; }
    .ip-row { align-items: flex-start; flex-direction: column; }
    .ip-copy-group { width: 100%; justify-content: space-between; }
    .ip-copy-group code { font-size: .83rem; overflow-wrap: anywhere; }
    .profile-header { align-items: flex-start; }
    .profile-coins { width: 100%; }
    .footer-grid { gap: 22px; }
}


/* v4.5 اختصاصی: پشتیبانی */
.support-ticket-link{display:flex;flex-direction:column;gap:8px;padding:14px;margin:10px 0;border:1px solid rgba(148,163,184,.2);border-radius:14px;background:rgba(255,255,255,.025);color:inherit;text-decoration:none;transition:.2s}
.support-ticket-link:hover{border-color:rgba(96,165,250,.65);transform:translateY(-2px);background:rgba(96,165,250,.06)}
.support-ticket-link small{color:var(--text-muted,#94a3b8)}
.support-thread{display:flex;flex-direction:column;gap:12px;margin-top:18px;max-height:560px;overflow:auto}
.support-message{padding:14px 16px;border-radius:14px;max-width:88%;border:1px solid rgba(148,163,184,.2);line-height:1.9;overflow-wrap:anywhere}
.support-message p{margin:6px 0;white-space:normal}.support-message small{opacity:.7;font-size:.78rem}
.support-user{align-self:flex-start;background:rgba(59,130,246,.09)}.support-admin{align-self:flex-end;background:rgba(245,158,11,.09);border-color:rgba(245,158,11,.28)}
@media(max-width:650px){.support-message{max-width:100%;width:100%}.support-ticket-link{padding:12px}}

/* Download center */
.download-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.download-platform{min-width:0}.download-platform h2{margin:8px 0}.download-icon{font-size:2.4rem}.download-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-top:1px solid var(--glass-border);margin-top:12px}.download-item p{margin-top:6px;color:var(--text-muted);font-size:.9rem}.download-meta,.download-empty{color:var(--text-muted);font-size:.85rem;margin-top:5px}.download-notice{border-color:rgba(251,191,36,.3)}@media(max-width:700px){.download-grid{grid-template-columns:1fr}.download-item{align-items:flex-start;flex-direction:column}.download-item .btn{width:100%;text-align:center}}
